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