/[smeserver]/rpms/e-smith-email/sme10/e-smith-email.spec
ViewVC logotype

Diff of /rpms/e-smith-email/sme10/e-smith-email.spec

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

Revision 1.1 by vip-ire, Thu Feb 4 23:55:01 2016 UTC Revision 1.20 by jpp, Mon Aug 1 18:04:52 2022 UTC
# Line 1  Line 1 
1  # $Id: e-smith-email.spec,v 1.14 2015/02/06 07:13:39 stephdl Exp $  # $Id: e-smith-email.spec,v 1.19 2022/07/30 02:28:01 jpp Exp $
2    
3  Summary: e-smith server and gateway - email module  Summary: e-smith server and gateway - email module
4  %define name e-smith-email  %define name e-smith-email
5  Name: %{name}  Name: %{name}
6  %define version 5.6.0  %define version 5.6.0
7  %define release 1  %define release 19
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13    Patch0: e-smith-email-5.6.0-smtpd_to_qpsmtpd.patch
14    Patch1: e-smith-email-5.6.0-qpsmtpd_in_auth_proxy.patch
15    Patch2: e-smith-email-5.6.0-qpsmtpd_in_masq_templates.patch
16    Patch3: e-smith-email-5.6.0-mysqld2mariadb.patch
17    Patch4: e-smith-email-5.6.0-bz3802-create-local-pseudo.patch
18    Patch5: e-smith-email-5.6.0-bz11133-bz11102-systemd-update.patch
19    Patch6: e-smith-email-5.6.0-bz11443-webmailOnlySSL.patch
20    Patch7: e-smith-email-5.6.0-bz11265-rar.patch
21    Patch8: e-smith-email-5.6.0-bz11634-lock.patch
22    Patch9: e-smith-email-5.6.0-bz11690-fixtypo.patch
23    Patch10: e-smith-email-5.6.0-bz11716-untaint.patch
24    Patch11: e-smith-email-5.6.0-bz11799.patch
25    Patch12: e-smith-email-5.6.0-bz12131-fetchids.patch
26    
27  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
28  Requires: e-smith-base >= 4.15.0-39  Requires: e-smith-base >= 4.15.0-39
29  Requires: e-smith-tinydns >= 1.0.0-5  Requires: e-smith-tinydns >= 1.0.0-5
# Line 27  Requires: runit Line 41  Requires: runit
41  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
42  Obsoletes: e-smith-smtp-authentication  Obsoletes: e-smith-smtp-authentication
43  Obsoletes: e-smith-securemail  Obsoletes: e-smith-securemail
44    Conflicts: smeserver-fetchmail < 1.6-24
45  BuildRequires: e-smith-devtools >= 1.13.0-03  BuildRequires: e-smith-devtools >= 1.13.0-03
46  BuildArchitectures: noarch  BuildArchitectures: noarch
47  AutoReqProv: no  AutoReqProv: no
48    
49    %prep
50    %setup
51    %patch0 -p1
52    %patch1 -p1
53    %patch2 -p1
54    %patch3 -p1
55    %patch4 -p1
56    %patch5 -p1
57    rm -rf root/var/service/ root/service
58    %patch6 -p1
59    %patch7 -p1
60    %patch8 -p1
61    %patch9 -p1
62    %patch10 -p1
63    %patch11 -p1
64    mkdir -p root/var/lib/fetchmail
65    %patch12 -p1
66    
67    %build
68    perl createlinks
69    
70    %postun
71    
72    %install
73    rm -rf $RPM_BUILD_ROOT
74    (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
75    rm -f %{name}-%{version}-%{release}-filelist
76    /sbin/e-smith/genfilelist $RPM_BUILD_ROOT       \
77        --dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \
78        --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \
79        --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \
80        --dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \
81        --dir '/home/e-smith/Maildir/.junkmail/tmp' 'attr(0700,admin,admin)' \
82        --dir '/home/e-smith/Maildir/.junkmail/new' 'attr(0700,admin,admin)' \
83        --dir '/home/e-smith/Maildir/.junkmail/cur' 'attr(0700,admin,admin)' \
84        --dir '/var/lib/fetchmail' 'attr(0750,qmailr,qmail)' \
85        > %{name}-%{version}-%{release}-filelist
86    echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
87    
88    %clean
89    rm -rf $RPM_BUILD_ROOT
90    
91    %files -f %{name}-%{version}-%{release}-filelist
92    %defattr(-,root,root)
93    
94    %pre
95    if [ $1 -gt 1 ] ; then
96      if [ -e /var/service/smtp-auth-proxy/run ] ; then
97           /usr/bin/sv d smtp-auth-proxy
98           /usr/bin/sv d smtp-auth-proxy/log
99      fi
100    fi
101    
102  %description  %description
103  e-smith server and gateway software - email module.  e-smith server and gateway software - email module.
104    
105  %changelog  %changelog
106    * Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-19.sme
107    - add quote around filename to .fetchids moving script [SME: 12131]
108    
109    * Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-18.sme
110    - move fetchids from /run and avoid its loss on reboot [SME: 12131]
111      similar changes in contrib smesevrer-fetchmail
112    
113    * Thu May 19 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-17.sme
114    - fix typo in regex [SME: 11799]
115    
116    * Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-16.sme
117    - fix missing dot in regex for untainting [SME: 11799]
118      would delete any account named with the string before the dot
119    
120    * Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-15.sme
121    - untainting string correctly [SME: 11716]
122    
123    * Thu Sep 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-14.sme
124    - fix typo for mailpattern for rar files [SME: 11690]
125    
126    * Fri Sep 10 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-13.sme
127    - fix perms for /var/lock/fetchmail [SME: 11634]
128    
129    * Fri Sep 10 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-12.sme
130    - make /var/lock/fetchmail dir permanent [SME: 11634]
131    
132    * Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme
133    - add new RAR file signatures to default mailpatterns database [SME: 11265]
134    
135    * Thu Mar 11 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme
136    - webmail is only SSL [SME: 11443]
137    
138    * Fri Dec 11 2020 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme
139    - create -update event [SME: 11133]
140    - move smtp-auth-proxy to systemd [SME: 11102]
141    
142    * Sat Jun 27 2020 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-7.sme
143    - allow creation of pseudonyms with setting of local only [SME: 3802]
144    
145    * Wed Jun 15 2016 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-6.sme
146    - fix webmail status not displaying correctly in manager [SME: 9594]
147    
148    * Tue Jun 7 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-5.sme
149    - More change from smtpd to qpsmtpd in masq templates [SME: 9561]
150    
151    * Fri Jun 3 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-4.sme
152    - Replace smtpd with qpsmtpd in smtp-auth-proxy [SME: 9554]
153    
154    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-3.sme
155    - Rebuild for [SME: 9393]
156    
157    * Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-2.sme
158    - Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478]
159    
160  * Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-1.sme  * Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-1.sme
161  - Roll new stream for sme10  - Roll new stream for sme10
162    
# Line 104  e-smith server and gateway software - em Line 226  e-smith server and gateway software - em
226  * Mon Oct 4 2010 Shad L. Lords <slords@mail.com> 5.2.0-11.sme  * Mon Oct 4 2010 Shad L. Lords <slords@mail.com> 5.2.0-11.sme
227  - Enable auth for smtp traffic and migrate if necessary [SME: 5575]  - Enable auth for smtp traffic and migrate if necessary [SME: 5575]
228    
229  * Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-10.sme  * Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-10.sme
230      Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or ....
231  - Change enabled to transparent for mail proxy [SME: 5574]  - Change enabled to transparent for mail proxy [SME: 5574]
232    
233  * Tue May 8 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-9.sme  * Sat May 08 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-9.sme
234      Tue May 08 2010 --> Tue May 04 2010 or Sat May 08 2010 or Tue May 11 2010 or ....
235  - Fix migrate fragment [SME: 5922]  - Fix migrate fragment [SME: 5922]
236    
237  * Tue May 4 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-8.sme  * Tue May 4 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-8.sme
# Line 221  e-smith server and gateway software - em Line 345  e-smith server and gateway software - em
345  * Tue Sep 26 2006 Gavin Weight <gweight@gmail.com> 4.16.0-09  * Tue Sep 26 2006 Gavin Weight <gweight@gmail.com> 4.16.0-09
346  - Incorrect quoting in purge-junkmail-folders diagnostic. [SME: 1936]  - Incorrect quoting in purge-junkmail-folders diagnostic. [SME: 1936]
347    
348  * Tue Sep 20 2006 Gavin Weight <gweight@gmail.com> 4.16.0-08  * Wed Sep 20 2006 Gavin Weight <gweight@gmail.com> 4.16.0-08
349      Tue Sep 20 2006 --> Tue Sep 19 2006 or Wed Sep 20 2006 or Tue Sep 26 2006 or ....
350  - Updated virus description in panel. [SME: 1729]  - Updated virus description in panel. [SME: 1729]
351    
352  * Wed Jun 21 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-07  * Wed Jun 21 2006 Gordon Rowell <gordonr@gormand.com.au> 4.16.0-07
# Line 1415  e-smith server and gateway software - em Line 1540  e-smith server and gateway software - em
1540  - [4.6.0-01]  - [4.6.0-01]
1541  - Rolled version number to 4.6.0-01. Includes patches upto 4.5.0-20.  - Rolled version number to 4.6.0-01. Includes patches upto 4.5.0-20.
1542    
 %prep  
 %setup  
   
 %build  
 perl createlinks  
   
 %postun  
   
 %install  
 rm -rf $RPM_BUILD_ROOT  
 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  
 rm -f %{name}-%{version}-%{release}-filelist  
 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT       \  
     --dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \  
     --dir '/var/service/smtp-auth-proxy' 'attr(1755,root,root)' \  
     --file '/var/service/smtp-auth-proxy/down' 'attr(0644,root,root)' \  
     --file '/var/service/smtp-auth-proxy/run' 'attr(0755,root,root)' \  
     --dir '/var/service/smtp-auth-proxy/supervise' 'attr(0700,root,root)' \  
     --dir '/var/service/smtp-auth-proxy/log' 'attr(0755,root,root)' \  
     --file '/var/service/smtp-auth-proxy/log/run' 'attr(0755,root,root)' \  
     --file '/var/service/smtp-auth-proxy/log/supervise' 'attr(0700,root,root)' \  
     --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \  
     --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \  
     --dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \  
     --dir '/home/e-smith/Maildir/.junkmail/tmp' 'attr(0700,admin,admin)' \  
     --dir '/home/e-smith/Maildir/.junkmail/new' 'attr(0700,admin,admin)' \  
     --dir '/home/e-smith/Maildir/.junkmail/cur' 'attr(0700,admin,admin)' \  
     > %{name}-%{version}-%{release}-filelist  
 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  
   
 %clean  
 rm -rf $RPM_BUILD_ROOT  
   
 %files -f %{name}-%{version}-%{release}-filelist  
 %defattr(-,root,root)  


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