1 |
%define version 1.6.0 |
%define version 1.6.0 |
2 |
%define release 3 |
%define release 14 |
3 |
%define name smeserver-dovecot |
%define name smeserver-dovecot |
4 |
|
|
5 |
|
|
13 |
|
|
14 |
Patch0: smeserver-dovecot-1.6.0-set_cipher_list.patch |
Patch0: smeserver-dovecot-1.6.0-set_cipher_list.patch |
15 |
Patch1: smeserver-dovecot-1.6.0-pop3.patch |
Patch1: smeserver-dovecot-1.6.0-pop3.patch |
16 |
|
Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch |
17 |
|
Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch |
18 |
|
Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch |
19 |
|
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 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-14.sme |
48 |
|
- add systemd drop-in expand in bootstrap-console-save, console-save, post-install, post-upgrade [SME: 11101] |
49 |
|
|
50 |
|
* Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme |
51 |
|
- move service to systemd [SME: 11101] |
52 |
|
- add imap idle notify interval setting [SME: 10947] |
53 |
|
|
54 |
|
* Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme |
55 |
|
- fix typo in enabling TLSv1.2 as default [SME: 10934] |
56 |
|
|
57 |
|
* Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-10.sme |
58 |
|
- fix typo in 35ssl template [SME: 10934] |
59 |
|
|
60 |
|
* Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-9.sme |
61 |
|
- fix typo in createlinks [SME: 10932] |
62 |
|
|
63 |
|
* Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-8.sme |
64 |
|
- revert property names with period in it [SME: 10934] |
65 |
|
|
66 |
|
* Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-7.sme |
67 |
|
- add property AcceptFullEmail with enabled as default [SME: 9865] |
68 |
|
* this allow to login using either username or username@domain.tld |
69 |
|
dovecot get the username part. |
70 |
|
|
71 |
|
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-5.sme |
72 |
|
- set TLSv1 and TLSv1.1 disabled as default [SME: 10934] |
73 |
|
* Amend cipher list |
74 |
|
* force cipher order |
75 |
|
* 4096 default dh parameter |
76 |
|
* property names without period to avoid issues |
77 |
|
|
78 |
* Sun Apr 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-3.sme |
* Sun Apr 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-3.sme |
79 |
- Use Dovecot for pop3 and pop3s [SME: 7510] |
- Use Dovecot for pop3 and pop3s [SME: 7510] |
80 |
*delete /etc/pam.d/pop3 if exists |
*delete /etc/pam.d/pop3 if exists |
163 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
164 |
%patch0 -p1 |
%patch0 -p1 |
165 |
%patch1 -p1 |
%patch1 -p1 |
166 |
|
%patch2 -p1 |
167 |
|
%patch3 -p1 |
168 |
|
%patch4 -p1 |
169 |
|
%patch5 -p1 |
170 |
|
rm -rf root/var/service |
171 |
|
mkdir -p root/etc/dovecot/ssl |
172 |
|
mkdir -p root/usr/lib/systemd/system/dovecot.service.d |
173 |
|
mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf |
174 |
|
%patch6 -p1 |
175 |
|
|
176 |
%build |
%build |
177 |
perl createlinks |
perl createlinks |
181 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
182 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
183 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
184 |
|
--file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\ |
185 |
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
186 |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
187 |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |