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