/[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.7 by jpp, Sat May 2 21:42:11 2020 UTC Revision 1.20 by jpp, Sat Jan 2 06:31:59 2021 UTC
# Line 1  Line 1 
1  %define version 1.6.0  %define version 1.6.0
2  %define release 7  %define release 17
3  %define name smeserver-dovecot  %define name smeserver-dovecot
4    
5    
# Line 15  Patch0: smeserver-dovecot-1.6.0-set_ciph Line 15  Patch0: smeserver-dovecot-1.6.0-set_ciph
15  Patch1: smeserver-dovecot-1.6.0-pop3.patch  Patch1: smeserver-dovecot-1.6.0-pop3.patch
16  Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch  Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch
17  Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch  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    
22  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
23  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 41  Configure the dovecot IMAP server with s Line 44  Configure the dovecot IMAP server with s
44  quota, ACL, extended logging, master user  quota, ACL, extended logging, master user
45    
46  %changelog  %changelog
47    * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-17.sme
48    - add Restart=always [SME: 11101]
49    
50    * Mon Dec 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-16.sme
51    - fix path for event -update [SME: 11101]
52    
53    * Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-15.sme
54    - cleanup /var/service/dovecot [SME: 11101]
55      close logger and service from previous runit instance before starting systemd one
56    
57    * Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-14.sme
58    - add systemd drop-in expand in bootstrap-console-save, console-save, post-install, post-upgrade  [SME: 11101]
59    
60    * Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme
61    - move service to systemd [SME: 11101]
62    - add imap idle notify interval setting [SME: 10947]
63    
64    * Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme
65    - fix typo in enabling TLSv1.2 as default [SME: 10934]
66    
67    * Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk>  1.6.0-10.sme
68    - fix typo in 35ssl template [SME: 10934]
69    
70    * Mon May 04 2020 John Crisp <jcrisp@safeandsoundit.co.uk>  1.6.0-9.sme
71    - fix typo in createlinks [SME: 10932]
72    
73    * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-8.sme
74    - revert property names with period in it [SME: 10934]
75    
76  * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-7.sme  * Sat May 02 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-7.sme
77  - add property AcceptFullEmail with enabled as default [SME: 9865]  - add property AcceptFullEmail with enabled as default [SME: 9865]
78    * this allow to login using either username or username@domain.tld    * this allow to login using either username or username@domain.tld
# Line 143  quota, ACL, extended logging, master use Line 175  quota, ACL, extended logging, master use
175  %patch1 -p1  %patch1 -p1
176  %patch2 -p1  %patch2 -p1
177  %patch3 -p1  %patch3 -p1
178    %patch4 -p1
179    %patch5 -p1
180    rm -rf root/var/service
181    mkdir -p root/etc/dovecot/ssl
182    mkdir -p root/usr/lib/systemd/system/dovecot.service.d
183    mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf
184    %patch6 -p1
185    
186  %build  %build
187  perl createlinks  perl createlinks
# Line 153  perl createlinks Line 191  perl createlinks
191  (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)
192  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
193  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
194     --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)' \  
195     --dir /var/log/dovecot 'attr(0750,smelog,smelog)' \     --dir /var/log/dovecot 'attr(0750,smelog,smelog)' \
196    > %{name}-%{version}-filelist    > %{name}-%{version}-filelist
197    
# Line 165  perl createlinks Line 201  perl createlinks
201  %clean  %clean
202  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
203    
204    
205  %pre  %pre
206    if [ $1 -gt 1 ] ; then
207      if [ -e /var/service/dovecot/run ] ; then
208            /usr/bin/sv d dovecot
209            /usr/bin/sv d dovecot/log
210      fi
211      if [ -e /var/service/dovecot ] ; then
212            rm -rf /var/service/dovecot
213      fi
214      if [ -e /var/service/pop3 ] ; then
215            rm -rf /var/service/pop3
216      fi
217      if [ -e /var/service/pop3s ] ; then
218            rm -rf /var/service/pop3s
219      fi
220    
221    fi
222  %post  %post
223    
224  %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