1 |
stephdl |
1.1 |
%define version 1.6.0 |
2 |
jpp |
1.11 |
%define release 11 |
3 |
stephdl |
1.1 |
%define name smeserver-dovecot |
4 |
|
|
|
5 |
|
|
|
6 |
|
|
Summary: Dovecot IMAP server integration |
7 |
|
|
Name: %{name} |
8 |
|
|
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
|
|
|
14 |
vip-ire |
1.2 |
Patch0: smeserver-dovecot-1.6.0-set_cipher_list.patch |
15 |
jpp |
1.3 |
Patch1: smeserver-dovecot-1.6.0-pop3.patch |
16 |
jpp |
1.4 |
Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch |
17 |
jpp |
1.6 |
Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch |
18 |
jcrisp |
1.9 |
Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch |
19 |
jcrisp |
1.10 |
Patch5: smeserver-dovecot-1.6.0-fix-35ssl-typo.patch |
20 |
vip-ire |
1.2 |
|
21 |
stephdl |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
|
|
BuildArchitectures: noarch |
23 |
|
|
BuildRequires: e-smith-devtools |
24 |
|
|
|
25 |
|
|
Requires: e-smith-base >= 5.2.0 |
26 |
|
|
Requires: dovecot >= 2.0.9 |
27 |
|
|
|
28 |
|
|
Provides: e-smith-imap |
29 |
jpp |
1.3 |
Provides: e-smith-pop3 |
30 |
stephdl |
1.1 |
Obsoletes: e-smith-imap |
31 |
jpp |
1.3 |
Obsoletes: e-smith-pop3 |
32 |
stephdl |
1.1 |
Obsoletes: e-smith-ssl-imap |
33 |
|
|
Obsoletes: e-smith-wu-imap |
34 |
|
|
Obsoletes: imap |
35 |
|
|
Obsoletes: m4 <= 1.4.5 |
36 |
|
|
Obsoletes: mailfront <= 1.10 |
37 |
|
|
Obsoletes: stunnel <= 4.15 |
38 |
|
|
Obsoletes: stunnel-tls <= 3.22 |
39 |
|
|
Obsoletes: words <= 3.0 |
40 |
|
|
|
41 |
|
|
%description |
42 |
|
|
Configure the dovecot IMAP server with sieve scripts support, |
43 |
|
|
quota, ACL, extended logging, master user |
44 |
|
|
|
45 |
|
|
%changelog |
46 |
jpp |
1.11 |
* Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-11.sme |
47 |
|
|
- fix typo in enabling TLSv1.2 as default [SME: 10934] |
48 |
|
|
|
49 |
jcrisp |
1.10 |
* Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-10.sme |
50 |
|
|
- fix typo in 35ssl template [SME: 10934] |
51 |
|
|
|
52 |
|
|
* Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-9.sme |
53 |
|
|
- fix typo in createlinks [SME: 10932] |
54 |
jcrisp |
1.9 |
|
55 |
jpp |
1.8 |
* Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-8.sme |
56 |
|
|
- revert property names with period in it [SME: 10934] |
57 |
|
|
|
58 |
jpp |
1.7 |
* Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-7.sme |
59 |
|
|
- add property AcceptFullEmail with enabled as default [SME: 9865] |
60 |
jpp |
1.6 |
* this allow to login using either username or username@domain.tld |
61 |
|
|
dovecot get the username part. |
62 |
|
|
|
63 |
jpp |
1.5 |
* Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-5.sme |
64 |
jpp |
1.4 |
- set TLSv1 and TLSv1.1 disabled as default [SME: 10934] |
65 |
|
|
* Amend cipher list |
66 |
|
|
* force cipher order |
67 |
|
|
* 4096 default dh parameter |
68 |
jpp |
1.5 |
* property names without period to avoid issues |
69 |
jpp |
1.4 |
|
70 |
jpp |
1.3 |
* Sun Apr 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-3.sme |
71 |
|
|
- Use Dovecot for pop3 and pop3s [SME: 7510] |
72 |
|
|
*delete /etc/pam.d/pop3 if exists |
73 |
|
|
*listen on internal and external interface instead of * |
74 |
|
|
*update the service on ip-change |
75 |
|
|
*reuse the ListenIP prop in pop3* and added to imap* |
76 |
|
|
*migrate pop3* MemLimit to pop3 ProcessMemoryLimit as per imap |
77 |
|
|
*TODO make it ipv6 ready |
78 |
|
|
- smeserver-dovecot-upgrade event for update without reboot [SME: 10932] |
79 |
|
|
|
80 |
vip-ire |
1.2 |
* Thu Feb 23 2017 Daniel Berteaud <daniel@firewall-services.com> 1.6.0-2.sme |
81 |
|
|
- Better default cipher suite, and honor global suite [SME: 10110] |
82 |
|
|
|
83 |
stephdl |
1.1 |
* Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6.0-1.sme |
84 |
|
|
- Initial release to sme10 |
85 |
|
|
|
86 |
|
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-20.sme |
87 |
|
|
- Hook into the new ssl-update event [SME: 9152] |
88 |
|
|
|
89 |
|
|
* Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-19.sme |
90 |
|
|
- Allow settings SSL protocols from DB (and set TLSv1 back to enabled |
91 |
|
|
on a default install) [SME: 9175] |
92 |
|
|
|
93 |
|
|
* Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-18.sme |
94 |
|
|
- Disable TLSv1 [SME: 9175] |
95 |
|
|
|
96 |
|
|
* Wed Jan 7 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-17.sme |
97 |
|
|
- Allow custom passdb args [SME: 8778] |
98 |
|
|
|
99 |
|
|
* Thu Jan 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-16.sme |
100 |
|
|
- Remove limit props from the imaps DB entry [SME: 8082] |
101 |
|
|
|
102 |
|
|
* Tue Dec 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-15.sme |
103 |
|
|
- Apply process limits [SME: 8082] |
104 |
|
|
|
105 |
|
|
* Sun Jun 23 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-14.sme |
106 |
|
|
- Listen on loopback if disabled [SME: 7697] |
107 |
|
|
|
108 |
|
|
* Wed May 29 2013 chris burnat <devlist@burnat.com> - 1.4.0-13.sme |
109 |
|
|
- Reverse changes made in 1.4.0-12 [SME: 7597] |
110 |
|
|
|
111 |
|
|
* Fri May 24 2013 chris burnat <devlist@burnat.com> - 1.4.0-12.sme |
112 |
|
|
- Fix IMAP folders dont present correctly in Outlook 2007 [SME: 7597] |
113 |
|
|
|
114 |
|
|
* Sat May 18 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-11.sme |
115 |
|
|
- Fix permissions on imapd.pem as it's used by pop3s [SME: 7570] |
116 |
|
|
|
117 |
|
|
* Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-10.sme |
118 |
|
|
- Do not obsolete bglibs, it's required for cvm [SME: 7509] |
119 |
|
|
|
120 |
|
|
* Tue Apr 16 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-9.sme |
121 |
|
|
- Allow plaintext (unless explicitly disabled) [SME: 7549] |
122 |
|
|
|
123 |
|
|
* Wed Apr 10 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-8.sme |
124 |
|
|
- Do not obsolete cvm, it's still needed for qpsmtpd [SME: 7509] |
125 |
|
|
|
126 |
|
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-7.sme |
127 |
|
|
- Obsolete another el5 required by requires [SME: 7273] |
128 |
|
|
|
129 |
|
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-6.sme |
130 |
|
|
- Fix Obsolete el5 mailfront version [SME: 7273] |
131 |
|
|
|
132 |
|
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-5.sme |
133 |
|
|
- Obsolete el5 packages that were required by old requires [SME: 7273] |
134 |
|
|
|
135 |
|
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-4.sme |
136 |
|
|
- Obsolete older requires that are no longer needed [SME: 7273] |
137 |
|
|
|
138 |
|
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-3.sme |
139 |
|
|
- Remove requires for packages no longer needed [SME: 7405] |
140 |
|
|
|
141 |
|
|
* Thu Feb 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-2.sme |
142 |
|
|
- remove the IMAP acl and Sieve support [SME: 7405] |
143 |
|
|
- remove obsolete changelog (used in my previous buildsys) |
144 |
|
|
|
145 |
|
|
* Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
146 |
|
|
- store sharedmailbox dict file in /home/e-smith/db/dovecot |
147 |
|
|
|
148 |
|
|
* Tue Feb 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1 |
149 |
|
|
- Pass the recipient variable to dovcot-lda |
150 |
|
|
|
151 |
|
|
* Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1 |
152 |
|
|
- initial release |
153 |
|
|
|
154 |
|
|
%prep |
155 |
|
|
%setup -q -n %{name}-%{version} |
156 |
vip-ire |
1.2 |
%patch0 -p1 |
157 |
jpp |
1.3 |
%patch1 -p1 |
158 |
jpp |
1.4 |
%patch2 -p1 |
159 |
jpp |
1.6 |
%patch3 -p1 |
160 |
jcrisp |
1.9 |
%patch4 -p1 |
161 |
jcrisp |
1.10 |
%patch5 -p1 |
162 |
stephdl |
1.1 |
|
163 |
|
|
%build |
164 |
|
|
perl createlinks |
165 |
|
|
|
166 |
|
|
%install |
167 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
168 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
169 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
170 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
171 |
|
|
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
172 |
|
|
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
173 |
|
|
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
174 |
|
|
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
175 |
|
|
> %{name}-%{version}-filelist |
176 |
|
|
|
177 |
|
|
%files -f %{name}-%{version}-filelist |
178 |
|
|
%defattr(-,root,root) |
179 |
|
|
|
180 |
|
|
%clean |
181 |
|
|
rm -rf $RPM_BUILD_ROOT |
182 |
|
|
|
183 |
|
|
%pre |
184 |
|
|
|
185 |
|
|
%post |
186 |
|
|
|
187 |
|
|
%preun |
188 |
|
|
|