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