1 |
%define version 1.6.0 |
%define version 1.6.0 |
2 |
%define release 16 |
%define release 20 |
3 |
%define name smeserver-dovecot |
%define name smeserver-dovecot |
4 |
|
|
5 |
|
|
18 |
Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch |
Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch |
19 |
Patch5: smeserver-dovecot-1.6.0-bz11101-systemd.patch |
Patch5: smeserver-dovecot-1.6.0-bz11101-systemd.patch |
20 |
Patch6: smeserver-dovecot-1.6.0-bz10947-idle_notify.patch |
Patch6: smeserver-dovecot-1.6.0-bz10947-idle_notify.patch |
21 |
|
Patch7: smeserver-dovecot-1.6.0-bz11601-ssl-templated.patch |
22 |
|
|
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
Obsoletes: mailfront <= 1.10 |
Obsoletes: mailfront <= 1.10 |
39 |
Obsoletes: stunnel <= 4.15 |
Obsoletes: stunnel <= 4.15 |
40 |
Obsoletes: stunnel-tls <= 3.22 |
Obsoletes: stunnel-tls <= 3.22 |
|
Obsoletes: words <= 3.0 |
|
41 |
|
|
42 |
%description |
%description |
43 |
Configure the dovecot IMAP server with sieve scripts support, |
Configure the dovecot IMAP server with sieve scripts support, |
44 |
quota, ACL, extended logging, master user |
quota, ACL, extended logging, master user |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Mon Aug 14 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-20.sme |
48 |
|
- remove obsoletes word as it prevents unrelated packages to install [SME: 12393] |
49 |
|
|
50 |
|
* Sun May 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-19.sme |
51 |
|
- ssl pem update via template expand in place of copy [SME: 11601] |
52 |
|
|
53 |
|
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-18.sme |
54 |
|
- clean rsyslog syntax for dovecot [SME: 11422] |
55 |
|
|
56 |
|
* Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-17.sme |
57 |
|
- add Restart=always [SME: 11101] |
58 |
|
|
59 |
* Mon Dec 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-16.sme |
* Mon Dec 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-16.sme |
60 |
- fix path for event -update [SME: 11101] |
- fix path for event -update [SME: 11101] |
61 |
|
|
191 |
mkdir -p root/usr/lib/systemd/system/dovecot.service.d |
mkdir -p root/usr/lib/systemd/system/dovecot.service.d |
192 |
mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf |
mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf |
193 |
%patch6 -p1 |
%patch6 -p1 |
194 |
|
%patch7 -p1 |
195 |
|
|
196 |
%build |
%build |
197 |
perl createlinks |
perl createlinks |
202 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
203 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
204 |
--file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\ |
--file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\ |
|
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
|
|
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
|
|
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
|
205 |
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
206 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
207 |
|
|