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