/[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.2 by vip-ire, Fri Apr 22 21:26:31 2016 UTC Revision 1.12 by jpp, Fri Sep 10 04:24:21 2021 UTC
# Line 1  Line 1 
1  # $Id: e-smith-email.spec,v 1.1 2016/02/04 23:55:01 vip-ire Exp $  # $Id: e-smith-email.spec,v 1.11 2021/03/30 16:55:54 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 2  %define release 12
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  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    
23  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24  Requires: e-smith-base >= 4.15.0-39  Requires: e-smith-base >= 4.15.0-39
25  Requires: e-smith-tinydns >= 1.0.0-5  Requires: e-smith-tinydns >= 1.0.0-5
# Line 32  BuildRequires: e-smith-devtools >= 1.13. Line 41  BuildRequires: e-smith-devtools >= 1.13.
41  BuildArchitectures: noarch  BuildArchitectures: noarch
42  AutoReqProv: no  AutoReqProv: no
43    
44    %prep
45    %setup
46    %patch0 -p1
47    %patch1 -p1
48    %patch2 -p1
49    %patch3 -p1
50    %patch4 -p1
51    %patch5 -p1
52    rm -rf root/var/service/ root/service
53    %patch6 -p1
54    %patch7 -p1
55    %patch8 -p1
56    
57    %build
58    perl createlinks
59    
60    %postun
61    
62    %install
63    rm -rf $RPM_BUILD_ROOT
64    (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
65    rm -f %{name}-%{version}-%{release}-filelist
66    /sbin/e-smith/genfilelist $RPM_BUILD_ROOT       \
67        --dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \
68        --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \
69        --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \
70        --dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \
71        --dir '/home/e-smith/Maildir/.junkmail/tmp' 'attr(0700,admin,admin)' \
72        --dir '/home/e-smith/Maildir/.junkmail/new' 'attr(0700,admin,admin)' \
73        --dir '/home/e-smith/Maildir/.junkmail/cur' 'attr(0700,admin,admin)' \
74        > %{name}-%{version}-%{release}-filelist
75    echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
76    
77    %clean
78    rm -rf $RPM_BUILD_ROOT
79    
80    %files -f %{name}-%{version}-%{release}-filelist
81    %defattr(-,root,root)
82    
83    %pre
84    if [ $1 -gt 1 ] ; then
85      if [ -e /var/service/smtp-auth-proxy/run ] ; then
86           /usr/bin/sv d smtp-auth-proxy
87           /usr/bin/sv d smtp-auth-proxy/log
88      fi
89    fi
90    
91  %description  %description
92  e-smith server and gateway software - email module.  e-smith server and gateway software - email module.
93    
94  %changelog  %changelog
95    * Fri Sep 10 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-12.sme
96    - make /var/lock/fetchmail dir permanent [SME: 11634]
97    
98    * Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme
99    - add new RAR file signatures to default mailpatterns database [SME: 11265]
100    
101    * Thu Mar 11 2021 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-10.sme
102    - webmail is only SSL [SME: 11443]
103    
104    * Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-9.sme
105    - create -update event [SME: 11133]
106    - move smtp-auth-proxy to systemd [SME: 11102]
107    
108    * Sat Jun 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-7.sme
109    - allow creation of pseudonyms with setting of local only [SME: 3802]
110    
111    * Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme
112    - fix webmail status not displaying correctly in manager [SME: 9594]
113    
114    * Tue Jun 7 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-5.sme
115    - More change from smtpd to qpsmtpd in masq templates [SME: 9561]
116    
117    * Fri Jun 3 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-4.sme
118    - Replace smtpd with qpsmtpd in smtp-auth-proxy [SME: 9554]
119    
120    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-3.sme
121    - Rebuild for [SME: 9393]
122    
123  * Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-2.sme  * Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-2.sme
124  - Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478]  - Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478]
125    
# Line 1419  e-smith server and gateway software - em Line 1503  e-smith server and gateway software - em
1503  - [4.6.0-01]  - [4.6.0-01]
1504  - 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.
1505    
 %prep  
 %setup  
 %patch0 -p1  
   
 %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