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

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

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

Revision 1.3 by vip-ire, Thu May 12 21:12:35 2016 UTC Revision 1.9 by jpp, Tue Mar 16 18:52:33 2021 UTC
# Line 1  Line 1 
1  # $Id: e-smith-proxy.spec,v 1.2 2016/03/31 12:36:16 unnilennium Exp $  # $Id: e-smith-proxy.spec,v 1.8 2020/12/11 20:35:23 michel Exp $
2    
3  Summary: e-smith server and gateway - proxy module  Summary: e-smith server and gateway - proxy module
4  %define name e-smith-proxy  %define name e-smith-proxy
5  Name: %{name}  Name: %{name}
6  %define version 5.6.0  %define version 5.6.0
7  %define release 3  %define release 9
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-proxy-5.6.0-MANAGER.patch  Patch0: e-smith-proxy-5.6.0-MANAGER.patch
14    Patch1: e-smith-proxy-5.6.0-set_file_desc_limit.patch
15    Patch2: e-smith-proxy-5.6.0.bz79.redirect.squid.related.syslog.patch
16    Patch3: e-smith-proxy-5.6.0.bz9639.disablingSMTPproxyFromManager.patch
17    Patch4: e-smith-proxy-5.6.0-bz11116_systemd.patch
18    Patch5: e-smith-proxy-5.6.0-events_update-bz9419.patch
19    Patch6: e-smith-proxy-5.6.0-bz9692-cleanup.patch
20    
21  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22  BuildArchitectures: noarch  BuildArchitectures: noarch
23  Requires: e-smith-base  Requires: e-smith-base
# Line 27  AutoReqProv: no Line 34  AutoReqProv: no
34  e-smith server and gateway software - proxy module.  e-smith server and gateway software - proxy module.
35    
36  %changelog  %changelog
37    * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme
38    - cleanup in /etc/rc.d and /var/service/squid  [SME: 9692]
39    
40    * Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme
41    - fix actions for e-smith-proxy-update event [SME: 11116]
42    - add intercept for squid [SME: 9419]
43    
44    * Mon Nov 30 2020 Michel Begue <mab974@gmail.com> 2.6.0-7.sme
45    - move squid service to systemd [SME: 11116]
46    - add e-smith-proxy-update event [SME: 11151]
47    - fix bogus dates here
48    
49    * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme
50    - fix disabling smtp proxy via SM doesn't work [SME: 9639]
51    
52    * Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-5.sme
53    - redirect squid syslog messages to /var/log/squid/squid.log [SME: 79]
54    
55    * Thu Jan 5 2017 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-4.sme
56    - Allow custom file descriptor limit, and set default to 4096 [SME: 9912]
57    
58  * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-3.sme  * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-3.sme
59  - Rebuild for [SME: 9393]  - Rebuild for [SME: 9393]
60    
# Line 53  e-smith server and gateway software - pr Line 81  e-smith server and gateway software - pr
81  * Fri Sep 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-5.sme  * Fri Sep 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-5.sme
82  - Fix SMTP proxy wording in server-manager [SME: 6178]  - Fix SMTP proxy wording in server-manager [SME: 6178]
83    
84  * Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-4.sme  * Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-4.sme
85  - Fix missed enabled->transparent mapping [SME: 5574]  - Fix missed enabled->transparent mapping [SME: 5574]
86    
87  * Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-3.sme  * Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-3.sme
88  - Change enabled to transparent for mail proxy [SME: 5574]  - Change enabled to transparent for mail proxy [SME: 5574]
89    
90  * Thu Mar 25 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-2.sme  * Thu Mar 25 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-2.sme
# Line 701  e-smith server and gateway software - pr Line 729  e-smith server and gateway software - pr
729  %prep  %prep
730  %setup  %setup
731  %patch0 -p1  %patch0 -p1
732    %patch1 -p1
733    %patch2 -p1
734    %patch3 -p1
735    %patch4 -p1
736    %patch5 -p1
737    %patch6 -p1
738    
739    rm -rf root/var/service/squid/
740    mkdir -p root/usr/lib/systemd/system/squid.service.d
741    
742  %build  %build
743  perl createlinks  perl createlinks
# Line 712  rm -rf $RPM_BUILD_ROOT Line 747  rm -rf $RPM_BUILD_ROOT
747  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
748  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
749  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
     --dir '/var/service/squid' 'attr(1755,root,root)' \  
     --file '/var/service/squid/down' 'attr(0644,root,root)' \  
     --file '/var/service/squid/run' 'attr(0755,root,root)' \  
     --dir '/var/service/squid/supervise' 'attr(0700,root,root)' \  
     --dir '/var/service/squid/log' 'attr(1755,root,root)' \  
     --file '/var/service/squid/log/run' 'attr(0755,root,root)' \  
     --dir '/var/service/squid/log/supervise' 'attr(0700,root,root)' \  
     --dir '/var/log/squid.run' 'attr(0750,smelog,root)' \  
750      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
751    #    --dir '/var/service/squid' 'attr(1755,root,root)' \
752    #    --file '/var/service/squid/down' 'attr(0644,root,root)' \
753    #    --file '/var/service/squid/run' 'attr(0755,root,root)' \
754    #    --dir '/var/service/squid/supervise' 'attr(0700,root,root)' \
755    #    --dir '/var/service/squid/log' 'attr(1755,root,root)' \
756    #    --file '/var/service/squid/log/run' 'attr(0755,root,root)' \
757    #    --dir '/var/service/squid/log/supervise' 'attr(0700,root,root)' \
758    #    --dir '/var/log/squid.run' 'attr(0750,smelog,root)' \
759  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
760    
761  %clean  %clean
762  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
763    
764    %post
765    if [ -d /var/service/squid ]; then
766     rm -rf /var/service/squid
767    fi
768    
769  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
770  %defattr(-,root,root)  %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