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