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