/[smeserver]/rpms/smeserver-dovecot/sme10/smeserver-dovecot.spec
ViewVC logotype

Contents of /rpms/smeserver-dovecot/sme10/smeserver-dovecot.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.13 - (show annotations) (download)
Mon Dec 7 04:49:02 2020 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
Changes since 1.12: +9 -1 lines
* Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme
- move service to systemd [SME: 11101]

1 %define version 1.6.0
2 %define release 13
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
14 Patch0: smeserver-dovecot-1.6.0-set_cipher_list.patch
15 Patch1: smeserver-dovecot-1.6.0-pop3.patch
16 Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch
17 Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch
18 Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch
19
20 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21 BuildArchitectures: noarch
22 BuildRequires: e-smith-devtools
23
24 Requires: e-smith-base >= 5.2.0
25 Requires: dovecot >= 2.0.9
26
27 Provides: e-smith-imap
28 Provides: e-smith-pop3
29 Obsoletes: e-smith-imap
30 Obsoletes: e-smith-pop3
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
41 Configure the dovecot IMAP server with sieve scripts support,
42 quota, ACL, extended logging, master user
43
44 %changelog
45 * Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme
46 - move service to systemd [SME: 11101]
47
48 * Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme
49 - fix typo in enabling TLSv1.2 as default [SME: 10934]
50
51 * Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-10.sme
52 - fix typo in 35ssl template [SME: 10934]
53
54 * Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-9.sme
55 - fix typo in createlinks [SME: 10932]
56
57 * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-8.sme
58 - revert property names with period in it [SME: 10934]
59
60 * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-7.sme
61 - add property AcceptFullEmail with enabled as default [SME: 9865]
62 * this allow to login using either username or username@domain.tld
63 dovecot get the username part.
64
65 * Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-5.sme
66 - set TLSv1 and TLSv1.1 disabled as default [SME: 10934]
67 * Amend cipher list
68 * force cipher order
69 * 4096 default dh parameter
70 * property names without period to avoid issues
71
72 * Sun Apr 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-3.sme
73 - Use Dovecot for pop3 and pop3s [SME: 7510]
74 *delete /etc/pam.d/pop3 if exists
75 *listen on internal and external interface instead of *
76 *update the service on ip-change
77 *reuse the ListenIP prop in pop3* and added to imap*
78 *migrate pop3* MemLimit to pop3 ProcessMemoryLimit as per imap
79 *TODO make it ipv6 ready
80 - smeserver-dovecot-upgrade event for update without reboot [SME: 10932]
81
82 * Thu Feb 23 2017 Daniel Berteaud <daniel@firewall-services.com> 1.6.0-2.sme
83 - Better default cipher suite, and honor global suite [SME: 10110]
84
85 * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6.0-1.sme
86 - Initial release to sme10
87
88 * Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-20.sme
89 - Hook into the new ssl-update event [SME: 9152]
90
91 * Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-19.sme
92 - Allow settings SSL protocols from DB (and set TLSv1 back to enabled
93 on a default install) [SME: 9175]
94
95 * Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-18.sme
96 - Disable TLSv1 [SME: 9175]
97
98 * Wed Jan 7 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-17.sme
99 - Allow custom passdb args [SME: 8778]
100
101 * Thu Jan 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-16.sme
102 - Remove limit props from the imaps DB entry [SME: 8082]
103
104 * Tue Dec 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-15.sme
105 - Apply process limits [SME: 8082]
106
107 * Sun Jun 23 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-14.sme
108 - Listen on loopback if disabled [SME: 7697]
109
110 * Wed May 29 2013 chris burnat <devlist@burnat.com> - 1.4.0-13.sme
111 - Reverse changes made in 1.4.0-12 [SME: 7597]
112
113 * Fri May 24 2013 chris burnat <devlist@burnat.com> - 1.4.0-12.sme
114 - Fix IMAP folders dont present correctly in Outlook 2007 [SME: 7597]
115
116 * Sat May 18 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-11.sme
117 - Fix permissions on imapd.pem as it's used by pop3s [SME: 7570]
118
119 * Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-10.sme
120 - Do not obsolete bglibs, it's required for cvm [SME: 7509]
121
122 * Tue Apr 16 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-9.sme
123 - Allow plaintext (unless explicitly disabled) [SME: 7549]
124
125 * Wed Apr 10 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-8.sme
126 - Do not obsolete cvm, it's still needed for qpsmtpd [SME: 7509]
127
128 * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-7.sme
129 - Obsolete another el5 required by requires [SME: 7273]
130
131 * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-6.sme
132 - Fix Obsolete el5 mailfront version [SME: 7273]
133
134 * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-5.sme
135 - Obsolete el5 packages that were required by old requires [SME: 7273]
136
137 * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-4.sme
138 - Obsolete older requires that are no longer needed [SME: 7273]
139
140 * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-3.sme
141 - Remove requires for packages no longer needed [SME: 7405]
142
143 * Thu Feb 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-2.sme
144 - remove the IMAP acl and Sieve support [SME: 7405]
145 - remove obsolete changelog (used in my previous buildsys)
146
147 * Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
148 - store sharedmailbox dict file in /home/e-smith/db/dovecot
149
150 * Tue Feb 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1
151 - Pass the recipient variable to dovcot-lda
152
153 * Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1
154 - initial release
155
156 %prep
157 %setup -q -n %{name}-%{version}
158 %patch0 -p1
159 %patch1 -p1
160 %patch2 -p1
161 %patch3 -p1
162 %patch4 -p1
163 rm -rf root/var/service
164 mkdir -p root/etc/dovecot/ssl
165 mkdir -p root/usr/lib/systemd/system/dovecot.service.d
166 mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf
167
168 %build
169 perl createlinks
170
171 %install
172 /bin/rm -rf $RPM_BUILD_ROOT
173 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
174 /bin/rm -f %{name}-%{version}-filelist
175 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
176 --file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\
177 --file /var/service/dovecot/run 'attr(0755,root,root)' \
178 --file /var/service/dovecot/log/run 'attr(0755,root,root)' \
179 --file /var/service/dovecot/control/1 'attr(0755,root,root)' \
180 --dir /var/log/dovecot 'attr(0750,smelog,smelog)' \
181 > %{name}-%{version}-filelist
182
183 %files -f %{name}-%{version}-filelist
184 %defattr(-,root,root)
185
186 %clean
187 rm -rf $RPM_BUILD_ROOT
188
189 %pre
190
191 %post
192
193 %preun
194

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed