1 |
%define version 1.6.0 |
%define version 1.6.0 |
2 |
%define release 13 |
%define release 16 |
3 |
%define name smeserver-dovecot |
%define name smeserver-dovecot |
4 |
|
|
5 |
|
|
17 |
Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch |
Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch |
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 |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
44 |
quota, ACL, extended logging, master user |
quota, ACL, extended logging, master user |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Mon Dec 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-16.sme |
48 |
|
- fix path for event -update [SME: 11101] |
49 |
|
|
50 |
|
* Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-15.sme |
51 |
|
- cleanup /var/service/dovecot [SME: 11101] |
52 |
|
close logger and service from previous runit instance before starting systemd one |
53 |
|
|
54 |
|
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-14.sme |
55 |
|
- add systemd drop-in expand in bootstrap-console-save, console-save, post-install, post-upgrade [SME: 11101] |
56 |
|
|
57 |
* Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme |
* Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme |
58 |
- move service to systemd [SME: 11101] |
- move service to systemd [SME: 11101] |
59 |
|
- add imap idle notify interval setting [SME: 10947] |
60 |
|
|
61 |
* Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme |
* Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme |
62 |
- fix typo in enabling TLSv1.2 as default [SME: 10934] |
- fix typo in enabling TLSv1.2 as default [SME: 10934] |
178 |
mkdir -p root/etc/dovecot/ssl |
mkdir -p root/etc/dovecot/ssl |
179 |
mkdir -p root/usr/lib/systemd/system/dovecot.service.d |
mkdir -p root/usr/lib/systemd/system/dovecot.service.d |
180 |
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 |
181 |
|
%patch6 -p1 |
182 |
|
|
183 |
%build |
%build |
184 |
perl createlinks |
perl createlinks |
201 |
%clean |
%clean |
202 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
203 |
|
|
204 |
|
|
205 |
%pre |
%pre |
206 |
|
if [ $1 -gt 1 ] ; then |
207 |
|
if [ -e /var/service/dovecot/run ] ; then |
208 |
|
/usr/bin/sv d dovecot |
209 |
|
/usr/bin/sv d dovecot/log |
210 |
|
fi |
211 |
|
if [ -e /var/service/dovecot ] ; then |
212 |
|
rm -rf /var/service/dovecot |
213 |
|
fi |
214 |
|
if [ -e /var/service/pop3 ] ; then |
215 |
|
rm -rf /var/service/pop3 |
216 |
|
fi |
217 |
|
if [ -e /var/service/pop3s ] ; then |
218 |
|
rm -rf /var/service/pop3s |
219 |
|
fi |
220 |
|
|
221 |
|
fi |
222 |
%post |
%post |
223 |
|
|
224 |
%preun |
%preun |