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