1 |
# $Id: e-smith-email.spec,v 1.5 2016/06/07 06:57:30 vip-ire Exp $ |
# $Id: e-smith-email.spec,v 1.7 2020/06/28 03:52:15 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - email module |
Summary: e-smith server and gateway - email module |
4 |
%define name e-smith-email |
%define name e-smith-email |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 5.6.0 |
%define version 5.6.0 |
7 |
%define release 6 |
%define release 8 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
14 |
Patch1: e-smith-email-5.6.0-qpsmtpd_in_auth_proxy.patch |
Patch1: e-smith-email-5.6.0-qpsmtpd_in_auth_proxy.patch |
15 |
Patch2: e-smith-email-5.6.0-qpsmtpd_in_masq_templates.patch |
Patch2: e-smith-email-5.6.0-qpsmtpd_in_masq_templates.patch |
16 |
Patch3: e-smith-email-5.6.0-mysqld2mariadb.patch |
Patch3: e-smith-email-5.6.0-mysqld2mariadb.patch |
17 |
|
Patch4: e-smith-email-5.6.0-bz3802-create-local-pseudo.patch |
18 |
|
Patch5: e-smith-email-5.6.0-bz11133-bz11102-systemd-update.patch |
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
Requires: e-smith-base >= 4.15.0-39 |
Requires: e-smith-base >= 4.15.0-39 |
22 |
Requires: e-smith-tinydns >= 1.0.0-5 |
Requires: e-smith-tinydns >= 1.0.0-5 |
44 |
%patch1 -p1 |
%patch1 -p1 |
45 |
%patch2 -p1 |
%patch2 -p1 |
46 |
%patch3 -p1 |
%patch3 -p1 |
47 |
|
%patch4 -p1 |
48 |
|
%patch5 -p1 |
49 |
|
rm -rf root/var/service/ |
50 |
|
|
51 |
%build |
%build |
52 |
perl createlinks |
perl createlinks |
59 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
60 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
61 |
--dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \ |
--dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \ |
|
--dir '/var/service/smtp-auth-proxy' 'attr(1755,root,root)' \ |
|
|
--file '/var/service/smtp-auth-proxy/down' 'attr(0644,root,root)' \ |
|
|
--file '/var/service/smtp-auth-proxy/run' 'attr(0755,root,root)' \ |
|
|
--dir '/var/service/smtp-auth-proxy/supervise' 'attr(0700,root,root)' \ |
|
|
--dir '/var/service/smtp-auth-proxy/log' 'attr(0755,root,root)' \ |
|
|
--file '/var/service/smtp-auth-proxy/log/run' 'attr(0755,root,root)' \ |
|
|
--file '/var/service/smtp-auth-proxy/log/supervise' 'attr(0700,root,root)' \ |
|
62 |
--dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \ |
--dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \ |
63 |
--file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \ |
--file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \ |
64 |
--dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \ |
--dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \ |
74 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
75 |
%defattr(-,root,root) |
%defattr(-,root,root) |
76 |
|
|
77 |
|
%pre |
78 |
|
if [ $1 -gt 1 ] ; then |
79 |
|
if [ -e /var/service/smtp-auth-proxy/run ] ; then |
80 |
|
/usr/bin/sv d smtp-auth-proxy |
81 |
|
/usr/bin/sv d smtp-auth-proxy/log |
82 |
|
fi |
83 |
|
fi |
84 |
|
|
85 |
%description |
%description |
86 |
e-smith server and gateway software - email module. |
e-smith server and gateway software - email module. |
87 |
|
|
88 |
%changelog |
%changelog |
89 |
|
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-8.sme |
90 |
|
- create -update event [SME: 11133] |
91 |
|
- move smtp-auth-proxy to systemd [SME: 11102] |
92 |
|
|
93 |
|
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme |
94 |
|
- allow creation of pseudonyms with setting of local only [SME: 3802] |
95 |
|
|
96 |
* Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme |
* Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme |
97 |
- fix webmail status not displaying correctly in manager [SME: 9594] |
- fix webmail status not displaying correctly in manager [SME: 9594] |
98 |
|
|