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

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

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


Revision 1.24 - (hide annotations) (download)
Wed Aug 16 03:38:04 2023 UTC (9 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: smeserver-dovecot-1_6_0-21_el7_sme, HEAD
Changes since 1.23: +7 -1 lines
* Tue Aug 15 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-21.sme
- force imap and dovecot satus=enabled to allow auth for webmail and smtp [SME: 12399]
  also migrate imap imaps pop3 pop3s as configuration, not service

1 stephdl 1.1 %define version 1.6.0
2 jpp 1.24 %define release 21
3 stephdl 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    
14 vip-ire 1.2 Patch0: smeserver-dovecot-1.6.0-set_cipher_list.patch
15 jpp 1.3 Patch1: smeserver-dovecot-1.6.0-pop3.patch
16 jpp 1.4 Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch
17 jpp 1.6 Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch
18 jcrisp 1.9 Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch
19 jpp 1.14 Patch5: smeserver-dovecot-1.6.0-bz11101-systemd.patch
20 jpp 1.15 Patch6: smeserver-dovecot-1.6.0-bz10947-idle_notify.patch
21 jpp 1.22 Patch7: smeserver-dovecot-1.6.0-bz11601-ssl-templated.patch
22 jpp 1.24 Patch8: smeserver-dovecot-1.6.0-bz12399-forceimapdovecot.patch
23 vip-ire 1.2
24 stephdl 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25     BuildArchitectures: noarch
26     BuildRequires: e-smith-devtools
27    
28     Requires: e-smith-base >= 5.2.0
29     Requires: dovecot >= 2.0.9
30    
31     Provides: e-smith-imap
32 jpp 1.3 Provides: e-smith-pop3
33 stephdl 1.1 Obsoletes: e-smith-imap
34 jpp 1.3 Obsoletes: e-smith-pop3
35 stephdl 1.1 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    
43     %description
44     Configure the dovecot IMAP server with sieve scripts support,
45     quota, ACL, extended logging, master user
46    
47     %changelog
48 jpp 1.24 * Tue Aug 15 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-21.sme
49     - force imap and dovecot satus=enabled to allow auth for webmail and smtp [SME: 12399]
50     also migrate imap imaps pop3 pop3s as configuration, not service
51    
52 jpp 1.23 * Mon Aug 14 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-20.sme
53     - remove obsoletes word as it prevents unrelated packages to install [SME: 12393]
54    
55 jpp 1.22 * Sun May 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-19.sme
56     - ssl pem update via template expand in place of copy [SME: 11601]
57    
58 jpp 1.21 * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-18.sme
59     - clean rsyslog syntax for dovecot [SME: 11422]
60    
61 jpp 1.20 * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-17.sme
62     - add Restart=always [SME: 11101]
63    
64 jpp 1.19 * Mon Dec 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-16.sme
65     - fix path for event -update [SME: 11101]
66    
67 jpp 1.17 * Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-15.sme
68     - cleanup /var/service/dovecot [SME: 11101]
69     close logger and service from previous runit instance before starting systemd one
70    
71 jpp 1.16 * Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-14.sme
72     - add systemd drop-in expand in bootstrap-console-save, console-save, post-install, post-upgrade [SME: 11101]
73    
74 jpp 1.13 * Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme
75     - move service to systemd [SME: 11101]
76 jpp 1.15 - add imap idle notify interval setting [SME: 10947]
77 jpp 1.13
78 jpp 1.12 * Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme
79 jpp 1.11 - fix typo in enabling TLSv1.2 as default [SME: 10934]
80    
81 jcrisp 1.10 * Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-10.sme
82     - fix typo in 35ssl template [SME: 10934]
83    
84     * Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.6.0-9.sme
85     - fix typo in createlinks [SME: 10932]
86 jcrisp 1.9
87 jpp 1.8 * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-8.sme
88     - revert property names with period in it [SME: 10934]
89    
90 jpp 1.7 * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-7.sme
91     - add property AcceptFullEmail with enabled as default [SME: 9865]
92 jpp 1.6 * this allow to login using either username or username@domain.tld
93     dovecot get the username part.
94    
95 jpp 1.5 * Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-5.sme
96 jpp 1.4 - set TLSv1 and TLSv1.1 disabled as default [SME: 10934]
97     * Amend cipher list
98     * force cipher order
99     * 4096 default dh parameter
100 jpp 1.5 * property names without period to avoid issues
101 jpp 1.4
102 jpp 1.3 * Sun Apr 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-3.sme
103     - Use Dovecot for pop3 and pop3s [SME: 7510]
104     *delete /etc/pam.d/pop3 if exists
105     *listen on internal and external interface instead of *
106     *update the service on ip-change
107     *reuse the ListenIP prop in pop3* and added to imap*
108     *migrate pop3* MemLimit to pop3 ProcessMemoryLimit as per imap
109     *TODO make it ipv6 ready
110     - smeserver-dovecot-upgrade event for update without reboot [SME: 10932]
111    
112 vip-ire 1.2 * Thu Feb 23 2017 Daniel Berteaud <daniel@firewall-services.com> 1.6.0-2.sme
113     - Better default cipher suite, and honor global suite [SME: 10110]
114    
115 stephdl 1.1 * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6.0-1.sme
116     - Initial release to sme10
117    
118     * Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-20.sme
119     - Hook into the new ssl-update event [SME: 9152]
120    
121     * Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-19.sme
122     - Allow settings SSL protocols from DB (and set TLSv1 back to enabled
123     on a default install) [SME: 9175]
124    
125     * Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-18.sme
126     - Disable TLSv1 [SME: 9175]
127    
128     * Wed Jan 7 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-17.sme
129     - Allow custom passdb args [SME: 8778]
130    
131     * Thu Jan 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-16.sme
132     - Remove limit props from the imaps DB entry [SME: 8082]
133    
134     * Tue Dec 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-15.sme
135     - Apply process limits [SME: 8082]
136    
137     * Sun Jun 23 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-14.sme
138     - Listen on loopback if disabled [SME: 7697]
139    
140     * Wed May 29 2013 chris burnat <devlist@burnat.com> - 1.4.0-13.sme
141     - Reverse changes made in 1.4.0-12 [SME: 7597]
142    
143     * Fri May 24 2013 chris burnat <devlist@burnat.com> - 1.4.0-12.sme
144     - Fix IMAP folders dont present correctly in Outlook 2007 [SME: 7597]
145    
146     * Sat May 18 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-11.sme
147     - Fix permissions on imapd.pem as it's used by pop3s [SME: 7570]
148    
149     * Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-10.sme
150     - Do not obsolete bglibs, it's required for cvm [SME: 7509]
151    
152     * Tue Apr 16 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-9.sme
153     - Allow plaintext (unless explicitly disabled) [SME: 7549]
154    
155     * Wed Apr 10 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-8.sme
156     - Do not obsolete cvm, it's still needed for qpsmtpd [SME: 7509]
157    
158     * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-7.sme
159     - Obsolete another el5 required by requires [SME: 7273]
160    
161     * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-6.sme
162     - Fix Obsolete el5 mailfront version [SME: 7273]
163    
164     * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-5.sme
165     - Obsolete el5 packages that were required by old requires [SME: 7273]
166    
167     * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-4.sme
168     - Obsolete older requires that are no longer needed [SME: 7273]
169    
170     * Thu Feb 28 2013 Shad L. Lords <slords@mail.com> - 1.4.0-3.sme
171     - Remove requires for packages no longer needed [SME: 7405]
172    
173     * Thu Feb 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 1.4.0-2.sme
174     - remove the IMAP acl and Sieve support [SME: 7405]
175     - remove obsolete changelog (used in my previous buildsys)
176    
177     * Tue Feb 26 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
178     - store sharedmailbox dict file in /home/e-smith/db/dovecot
179    
180     * Tue Feb 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1
181     - Pass the recipient variable to dovcot-lda
182    
183     * Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1
184     - initial release
185    
186     %prep
187     %setup -q -n %{name}-%{version}
188 vip-ire 1.2 %patch0 -p1
189 jpp 1.3 %patch1 -p1
190 jpp 1.4 %patch2 -p1
191 jpp 1.6 %patch3 -p1
192 jcrisp 1.9 %patch4 -p1
193 jpp 1.14 %patch5 -p1
194 jpp 1.13 rm -rf root/var/service
195     mkdir -p root/etc/dovecot/ssl
196     mkdir -p root/usr/lib/systemd/system/dovecot.service.d
197     mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf
198 jpp 1.15 %patch6 -p1
199 jpp 1.22 %patch7 -p1
200 jpp 1.24 %patch8 -p1
201 stephdl 1.1
202     %build
203     perl createlinks
204    
205     %install
206     /bin/rm -rf $RPM_BUILD_ROOT
207     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
208     /bin/rm -f %{name}-%{version}-filelist
209     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
210 jpp 1.13 --file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\
211 stephdl 1.1 --dir /var/log/dovecot 'attr(0750,smelog,smelog)' \
212     > %{name}-%{version}-filelist
213    
214     %files -f %{name}-%{version}-filelist
215     %defattr(-,root,root)
216    
217     %clean
218     rm -rf $RPM_BUILD_ROOT
219    
220 jpp 1.17
221 stephdl 1.1 %pre
222 jpp 1.17 if [ $1 -gt 1 ] ; then
223     if [ -e /var/service/dovecot/run ] ; then
224     /usr/bin/sv d dovecot
225     /usr/bin/sv d dovecot/log
226     fi
227     if [ -e /var/service/dovecot ] ; then
228     rm -rf /var/service/dovecot
229     fi
230 jpp 1.18 if [ -e /var/service/pop3 ] ; then
231     rm -rf /var/service/pop3
232     fi
233     if [ -e /var/service/pop3s ] ; then
234     rm -rf /var/service/pop3s
235     fi
236 stephdl 1.1
237 jpp 1.17 fi
238 stephdl 1.1 %post
239    
240     %preun
241    

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