1 |
%define version 1.4.0 |
%define version 1.4.0 |
2 |
%define release 1 |
%define release 17 |
3 |
%define name smeserver-dovecot |
%define name smeserver-dovecot |
4 |
|
|
5 |
|
|
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
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 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
|
|
26 |
Requires: e-smith-base >= 5.2.0 |
Requires: e-smith-base >= 5.2.0 |
27 |
Requires: dovecot >= 2.0.9 |
Requires: dovecot >= 2.0.9 |
|
Requires: dovecot-pigeonhole >= 2.0.9 |
|
|
Requires: acl |
|
28 |
|
|
29 |
Provides: e-smith-imap |
Provides: e-smith-imap |
30 |
Obsoletes: e-smith-imap |
Obsoletes: e-smith-imap |
31 |
|
Obsoletes: e-smith-ssl-imap |
32 |
|
Obsoletes: e-smith-wu-imap |
33 |
|
Obsoletes: imap |
34 |
|
Obsoletes: m4 <= 1.4.5 |
35 |
|
Obsoletes: mailfront <= 1.10 |
36 |
|
Obsoletes: stunnel <= 4.15 |
37 |
|
Obsoletes: stunnel-tls <= 3.22 |
38 |
|
Obsoletes: words <= 3.0 |
39 |
|
|
40 |
%description |
%description |
41 |
Configure the dovecot IMAP server with sieve scripts support, |
Configure the dovecot IMAP server with sieve scripts support, |
42 |
quota, ACL, extended logging, master user |
quota, ACL, extended logging, master user |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Wed Jan 7 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-17.sme |
46 |
|
- Allow custom passdb args [SME: 8778] |
47 |
|
|
48 |
|
* Thu Jan 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-16.sme |
49 |
|
- Remove limit props from the imaps DB entry [SME: 8082] |
50 |
|
|
51 |
|
* Tue Dec 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-15.sme |
52 |
|
- Apply process limits [SME: 8082] |
53 |
|
|
54 |
|
* Sun Jun 23 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-14.sme |
55 |
|
- Listen on loopback if disabled [SME: 7697] |
56 |
|
|
57 |
|
* Wed May 29 2013 chris burnat <devlist@burnat.com> - 1.4.0-13.sme |
58 |
|
- Reverse changes made in 1.4.0-12 [SME: 7597] |
59 |
|
|
60 |
|
* Fri May 24 2013 chris burnat <devlist@burnat.com> - 1.4.0-12.sme |
61 |
|
- Fix IMAP folders dont present correctly in Outlook 2007 [SME: 7597] |
62 |
|
|
63 |
|
* Sat May 18 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-11.sme |
64 |
|
- Fix permissions on imapd.pem as it's used by pop3s [SME: 7570] |
65 |
|
|
66 |
|
* Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-10.sme |
67 |
|
- Do not obsolete bglibs, it's required for cvm [SME: 7509] |
68 |
|
|
69 |
|
* Tue Apr 16 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-9.sme |
70 |
|
- Allow plaintext (unless explicitly disabled) [SME: 7549] |
71 |
|
|
72 |
|
* Wed Apr 10 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-8.sme |
73 |
|
- Do not obsolete cvm, it's still needed for qpsmtpd [SME: 7509] |
74 |
|
|
75 |
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-7.sme |
76 |
|
- Obsolete another el5 required by requires [SME: 7273] |
77 |
|
|
78 |
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-6.sme |
79 |
|
- Fix Obsolete el5 mailfront version [SME: 7273] |
80 |
|
|
81 |
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-5.sme |
82 |
|
- Obsolete el5 packages that were required by old requires [SME: 7273] |
83 |
|
|
84 |
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-4.sme |
85 |
|
- Obsolete older requires that are no longer needed [SME: 7273] |
86 |
|
|
87 |
|
* Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-3.sme |
88 |
|
- Remove requires for packages no longer needed [SME: 7405] |
89 |
|
|
90 |
|
* Thu Feb 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-2.sme |
91 |
|
- remove the IMAP acl and Sieve support [SME: 7405] |
92 |
|
- remove obsolete changelog (used in my previous buildsys) |
93 |
|
|
94 |
* Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
* Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
95 |
- store sharedmailbox dict file in /home/e-smith/db/dovecot |
- store sharedmailbox dict file in /home/e-smith/db/dovecot |
96 |
|
|
102 |
|
|
103 |
%prep |
%prep |
104 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
105 |
|
%patch1 -p1 |
106 |
|
%patch2 -p1 |
107 |
|
%patch3 -p1 |
108 |
|
%patch4 -p1 |
109 |
|
%patch5 -p1 |
110 |
|
%patch6 -p1 |
111 |
|
%patch7 -p1 |
112 |
|
%patch8 -p1 |
113 |
|
|
114 |
%build |
%build |
115 |
perl createlinks |
perl createlinks |
123 |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
124 |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
125 |
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
|
--dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \ |
|
|
--file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \ |
|
|
--file /usr/bin/imap-postlogin 'attr(0755,root,root)' \ |
|
126 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
127 |
|
|
128 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
132 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
133 |
|
|
134 |
%pre |
%pre |
|
/usr/sbin/groupadd -g 439 sharedmailbox 2> /dev/null || : |
|
135 |
|
|
136 |
%post |
%post |
137 |
|
|