1 |
# $Id: e-smith-email.spec,v 1.6 2016/06/15 08:30:29 unnilennium Exp $ |
# $Id: e-smith-email.spec,v 1.10 2021/03/11 16:42:41 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 7 |
%define release 11 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
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 |
|
Patch6: e-smith-email-5.6.0-bz11443-webmailOnlySSL.patch |
20 |
|
Patch7: e-smith-email-5.6.0-bz11265-rar.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
Requires: e-smith-base >= 4.15.0-39 |
Requires: e-smith-base >= 4.15.0-39 |
47 |
%patch2 -p1 |
%patch2 -p1 |
48 |
%patch3 -p1 |
%patch3 -p1 |
49 |
%patch4 -p1 |
%patch4 -p1 |
50 |
|
%patch5 -p1 |
51 |
|
rm -rf root/var/service/ root/service |
52 |
|
%patch6 -p1 |
53 |
|
%patch7 -p1 |
54 |
|
|
55 |
%build |
%build |
56 |
perl createlinks |
perl createlinks |
63 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
64 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
65 |
--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)' \ |
|
66 |
--dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \ |
--dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \ |
67 |
--file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \ |
--file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \ |
68 |
--dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \ |
--dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \ |
78 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
79 |
%defattr(-,root,root) |
%defattr(-,root,root) |
80 |
|
|
81 |
|
%pre |
82 |
|
if [ $1 -gt 1 ] ; then |
83 |
|
if [ -e /var/service/smtp-auth-proxy/run ] ; then |
84 |
|
/usr/bin/sv d smtp-auth-proxy |
85 |
|
/usr/bin/sv d smtp-auth-proxy/log |
86 |
|
fi |
87 |
|
fi |
88 |
|
|
89 |
%description |
%description |
90 |
e-smith server and gateway software - email module. |
e-smith server and gateway software - email module. |
91 |
|
|
92 |
%changelog |
%changelog |
93 |
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme |
94 |
|
- add new RAR file signatures to default mailpatterns database [SME: 11265] |
95 |
|
|
96 |
|
* Thu Mar 11 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-10.sme |
97 |
|
- webmail is only SSL [SME: 11443] |
98 |
|
|
99 |
|
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-9.sme |
100 |
|
- create -update event [SME: 11133] |
101 |
|
- move smtp-auth-proxy to systemd [SME: 11102] |
102 |
|
|
103 |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme |
* Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme |
104 |
- allow creation of pseudonyms with setting of local only [SME: 3802] |
- allow creation of pseudonyms with setting of local only [SME: 3802] |
105 |
|
|