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

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

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

Revision 1.1 by stephdl, Fri Feb 5 23:44:07 2016 UTC Revision 1.23 by jpp, Mon Aug 14 16:39:25 2023 UTC
# Line 1  Line 1 
1  %define version 1.6.0  %define version 1.6.0
2  %define release 1  %define release 20
3  %define name smeserver-dovecot  %define name smeserver-dovecot
4    
5    
# Line 11  License: GPL Line 11  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.xz  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    Patch5: smeserver-dovecot-1.6.0-bz11101-systemd.patch
20    Patch6: smeserver-dovecot-1.6.0-bz10947-idle_notify.patch
21    Patch7: smeserver-dovecot-1.6.0-bz11601-ssl-templated.patch
22    
23  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24  BuildArchitectures: noarch  BuildArchitectures: noarch
25  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 19  Requires: e-smith-base >= 5.2.0 Line 28  Requires: e-smith-base >= 5.2.0
28  Requires: dovecot >= 2.0.9  Requires: dovecot >= 2.0.9
29    
30  Provides: e-smith-imap  Provides: e-smith-imap
31    Provides: e-smith-pop3
32  Obsoletes: e-smith-imap  Obsoletes: e-smith-imap
33    Obsoletes: e-smith-pop3
34  Obsoletes: e-smith-ssl-imap  Obsoletes: e-smith-ssl-imap
35  Obsoletes: e-smith-wu-imap  Obsoletes: e-smith-wu-imap
36  Obsoletes: imap  Obsoletes: imap
# Line 27  Obsoletes: m4 <= 1.4.5 Line 38  Obsoletes: m4 <= 1.4.5
38  Obsoletes: mailfront <= 1.10  Obsoletes: mailfront <= 1.10
39  Obsoletes: stunnel <= 4.15  Obsoletes: stunnel <= 4.15
40  Obsoletes: stunnel-tls <= 3.22  Obsoletes: stunnel-tls <= 3.22
 Obsoletes: words <= 3.0  
41    
42  %description  %description
43  Configure the dovecot IMAP server with sieve scripts support,  Configure the dovecot IMAP server with sieve scripts support,
44  quota, ACL, extended logging, master user  quota, ACL, extended logging, master user
45    
46  %changelog  %changelog
47    * Mon Aug 14 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-20.sme
48    - remove obsoletes word as it prevents unrelated packages to install [SME: 12393]
49    
50    * Sun May 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-19.sme
51    - ssl pem update via template expand in place of copy [SME: 11601]
52    
53    * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6.0-18.sme
54    - clean rsyslog syntax for dovecot [SME: 11422]
55    
56    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-17.sme
57    - add Restart=always [SME: 11101]
58    
59    * Mon Dec 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-16.sme
60    - fix path for event -update [SME: 11101]
61    
62    * Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-15.sme
63    - cleanup /var/service/dovecot [SME: 11101]
64      close logger and service from previous runit instance before starting systemd one
65    
66    * Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-14.sme
67    - add systemd drop-in expand in bootstrap-console-save, console-save, post-install, post-upgrade  [SME: 11101]
68    
69    * Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme
70    - move service to systemd [SME: 11101]
71    - add imap idle notify interval setting [SME: 10947]
72    
73    * Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme
74    - fix typo in enabling TLSv1.2 as default [SME: 10934]
75    
76    * Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk>  1.6.0-10.sme
77    - fix typo in 35ssl template [SME: 10934]
78    
79    * Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk>  1.6.0-9.sme
80    - fix typo in createlinks [SME: 10932]
81    
82    * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-8.sme
83    - revert property names with period in it [SME: 10934]
84    
85    * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-7.sme
86    - add property AcceptFullEmail with enabled as default [SME: 9865]
87      * this allow to login using either username or username@domain.tld
88        dovecot get the username part.
89    
90    * Fri May 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-5.sme
91    - set TLSv1 and TLSv1.1 disabled as default  [SME: 10934]
92      * Amend cipher list
93      * force cipher order
94      * 4096 default dh parameter
95      * property names without period to avoid issues
96    
97    * Sun Apr 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-3.sme
98    - Use Dovecot for pop3 and pop3s [SME: 7510]
99      *delete /etc/pam.d/pop3 if exists
100      *listen on internal and external interface instead of *
101      *update the service on ip-change
102      *reuse the ListenIP prop in pop3* and added to imap*
103      *migrate pop3* MemLimit to pop3 ProcessMemoryLimit as per imap
104      *TODO make it ipv6 ready
105    - smeserver-dovecot-upgrade event for update without reboot [SME: 10932]
106    
107    * Thu Feb 23 2017 Daniel Berteaud <daniel@firewall-services.com> 1.6.0-2.sme
108    - Better default cipher suite, and honor global suite [SME: 10110]
109    
110  * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6.0-1.sme  * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6.0-1.sme
111  - Initial release to sme10  - Initial release to sme10
112    
# Line 107  quota, ACL, extended logging, master use Line 180  quota, ACL, extended logging, master use
180    
181  %prep  %prep
182  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
183    %patch0 -p1
184    %patch1 -p1
185    %patch2 -p1
186    %patch3 -p1
187    %patch4 -p1
188    %patch5 -p1
189    rm -rf root/var/service
190    mkdir -p root/etc/dovecot/ssl
191    mkdir -p root/usr/lib/systemd/system/dovecot.service.d
192    mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf
193    %patch6 -p1
194    %patch7 -p1
195    
196  %build  %build
197  perl createlinks  perl createlinks
# Line 116  perl createlinks Line 201  perl createlinks
201  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
202  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
203  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
204     --file /var/service/dovecot/run 'attr(0755,root,root)' \     --file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\
    --file /var/service/dovecot/log/run 'attr(0755,root,root)' \  
    --file /var/service/dovecot/control/1 'attr(0755,root,root)' \  
205     --dir /var/log/dovecot 'attr(0750,smelog,smelog)' \     --dir /var/log/dovecot 'attr(0750,smelog,smelog)' \
206    > %{name}-%{version}-filelist    > %{name}-%{version}-filelist
207    
# Line 128  perl createlinks Line 211  perl createlinks
211  %clean  %clean
212  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
213    
214    
215  %pre  %pre
216    if [ $1 -gt 1 ] ; then
217      if [ -e /var/service/dovecot/run ] ; then
218            /usr/bin/sv d dovecot
219            /usr/bin/sv d dovecot/log
220      fi
221      if [ -e /var/service/dovecot ] ; then
222            rm -rf /var/service/dovecot
223      fi
224      if [ -e /var/service/pop3 ] ; then
225            rm -rf /var/service/pop3
226      fi
227      if [ -e /var/service/pop3s ] ; then
228            rm -rf /var/service/pop3s
229      fi
230    
231    fi
232  %post  %post
233    
234  %preun  %preun


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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