--- rpms/smeserver-dovecot/sme10/smeserver-dovecot.spec 2020/05/02 21:20:09 1.5 +++ rpms/smeserver-dovecot/sme10/smeserver-dovecot.spec 2020/12/07 04:49:02 1.13 @@ -1,5 +1,5 @@ %define version 1.6.0 -%define release 5 +%define release 13 %define name smeserver-dovecot @@ -14,6 +14,8 @@ Source: %{name}-%{version}.tar.xz Patch0: smeserver-dovecot-1.6.0-set_cipher_list.patch Patch1: smeserver-dovecot-1.6.0-pop3.patch Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch +Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch +Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -40,6 +42,26 @@ Configure the dovecot IMAP server with s quota, ACL, extended logging, master user %changelog +* Sun Dec 06 2020 Jean-Philipe Pialasse 1.6.0-13.sme +- move service to systemd [SME: 11101] + +* Mon May 04 2020 Jean-Philipe Pialasse 1.6.0-12.sme +- fix typo in enabling TLSv1.2 as default [SME: 10934] + +* Mon May 04 2020 John Crisp 1.6.0-10.sme +- fix typo in 35ssl template [SME: 10934] + +* Mon May 04 2020 John Crisp 1.6.0-9.sme +- fix typo in createlinks [SME: 10932] + +* Sat May 02 2020 Jean-Philipe Pialasse 1.6.0-8.sme +- revert property names with period in it [SME: 10934] + +* Sat May 02 2020 Jean-Philipe Pialasse 1.6.0-7.sme +- add property AcceptFullEmail with enabled as default [SME: 9865] + * this allow to login using either username or username@domain.tld + dovecot get the username part. + * Fri May 01 2020 Jean-Philipe Pialasse 1.6.0-5.sme - set TLSv1 and TLSv1.1 disabled as default [SME: 10934] * Amend cipher list @@ -136,6 +158,12 @@ quota, ACL, extended logging, master use %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +rm -rf root/var/service +mkdir -p root/etc/dovecot/ssl +mkdir -p root/usr/lib/systemd/system/dovecot.service.d +mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf %build perl createlinks @@ -145,6 +173,7 @@ perl createlinks (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_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)' \