/[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.1 by stephdl, Fri Feb 5 21:48:49 2016 UTC Revision 1.11 by jpp, Sun Apr 17 18:59:18 2022 UTC
# Line 1  Line 1 
1  # $Id: e-smith-proxy.spec,v 1.5 2015/04/14 09:01:10 vip-ire Exp $  # $Id: e-smith-proxy.spec,v 1.10 2021/10/22 02:06:17 jpp 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 1  %define release 11
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
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    Patch7: e-smith-proxy-5.6.0-bz11713-networksystemd.patch
21    Patch8: e-smith-proxy-5.6.0-bz11944.patch
22    
23  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24  BuildArchitectures: noarch  BuildArchitectures: noarch
25  Requires: e-smith-base  Requires: e-smith-base
# Line 17  Requires: squid Line 27  Requires: squid
27  Requires: e-smith-lib >= 1.15.1-19  Requires: e-smith-lib >= 1.15.1-19
28  Requires: iptables  Requires: iptables
29  Requires: e-smith-formmagick >= 1.4.0-9  Requires: e-smith-formmagick >= 1.4.0-9
30    Requires: e-smith-apache >=
31  Requires: e-smith-email >= 5.2.0-5  Requires: e-smith-email >= 5.2.0-5
32  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
33  Obsoletes: e-smith-transproxy  Obsoletes: e-smith-transproxy
# Line 26  AutoReqProv: no Line 37  AutoReqProv: no
37  e-smith server and gateway software - proxy module.  e-smith server and gateway software - proxy module.
38    
39  %changelog  %changelog
40    * Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme
41    - use httpd 2.4 access control syntax [SME: 11944]
42    
43    * Thu Oct 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme
44    - fix squid starting before network [SME: 11713]
45      also dropin file not expanded on install fixed
46    
47    * Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme
48    - cleanup in /etc/rc.d and /var/service/squid  [SME: 9692]
49    
50    * Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme
51    - fix actions for e-smith-proxy-update event [SME: 11116]
52    - add intercept for squid [SME: 9419]
53    
54    * Mon Nov 30 2020 Michel Begue <mab974@gmail.com> 2.6.0-7.sme
55    - move squid service to systemd [SME: 11116]
56    - add e-smith-proxy-update event [SME: 11151]
57    - fix bogus dates here
58    
59    * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme
60    - fix disabling smtp proxy via SM doesn't work [SME: 9639]
61    
62    * Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-5.sme
63    - redirect squid syslog messages to /var/log/squid/squid.log [SME: 79]
64    
65    * Thu Jan 5 2017 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-4.sme
66    - Allow custom file descriptor limit, and set default to 4096 [SME: 9912]
67    
68    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-3.sme
69    - Rebuild for [SME: 9393]
70    
71    * Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-2.sme
72    - remove deprecated acl manager proto cache_object [SME: 9410]
73    
74  * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.6.0-1.sme  * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.6.0-1.sme
75  - Initial release to sme10  - Initial release to sme10
76    
# Line 46  e-smith server and gateway software - pr Line 91  e-smith server and gateway software - pr
91  * 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
92  - Fix SMTP proxy wording in server-manager [SME: 6178]  - Fix SMTP proxy wording in server-manager [SME: 6178]
93    
94  * 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
95  - Fix missed enabled->transparent mapping [SME: 5574]  - Fix missed enabled->transparent mapping [SME: 5574]
96    
97  * 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
98  - Change enabled to transparent for mail proxy [SME: 5574]  - Change enabled to transparent for mail proxy [SME: 5574]
99    
100  * 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 693  e-smith server and gateway software - pr Line 738  e-smith server and gateway software - pr
738    
739  %prep  %prep
740  %setup  %setup
741    %patch0 -p1
742    %patch1 -p1
743    %patch2 -p1
744    %patch3 -p1
745    %patch4 -p1
746    %patch5 -p1
747    %patch6 -p1
748    %patch7 -p1
749    %patch8 -p1
750    
751    rm -rf root/var/service/squid/
752    mkdir -p root/usr/lib/systemd/system/squid.service.d
753    rm -rf root/var/log/squid.run
754    
755  %build  %build
756  perl createlinks  perl createlinks
# Line 702  rm -rf $RPM_BUILD_ROOT Line 760  rm -rf $RPM_BUILD_ROOT
760  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
761  rm -f %{name}-%{version}-%{release}-filelist  rm -f %{name}-%{version}-%{release}-filelist
762  /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)' \  
763      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
764    #    --dir '/var/service/squid' 'attr(1755,root,root)' \
765    #    --file '/var/service/squid/down' 'attr(0644,root,root)' \
766    #    --file '/var/service/squid/run' 'attr(0755,root,root)' \
767    #    --dir '/var/service/squid/supervise' 'attr(0700,root,root)' \
768    #    --dir '/var/service/squid/log' 'attr(1755,root,root)' \
769    #    --file '/var/service/squid/log/run' 'attr(0755,root,root)' \
770    #    --dir '/var/service/squid/log/supervise' 'attr(0700,root,root)' \
771    #    --dir '/var/log/squid.run' 'attr(0750,smelog,root)' \
772  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
773    
774  %clean  %clean
775  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
776    
777    %post
778    if [ -d /var/service/squid ]; then
779     rm -rf /var/service/squid
780    fi
781    
782  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
783  %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