--- rpms/e-smith-proxy/sme10/e-smith-proxy.spec 2017/04/10 18:56:22 1.5 +++ rpms/e-smith-proxy/sme10/e-smith-proxy.spec 2020/12/01 16:03:46 1.7 @@ -1,10 +1,10 @@ -# $Id: e-smith-proxy.spec,v 1.4 2017/01/05 16:35:01 vip-ire Exp $ +# $Id: e-smith-proxy.spec,v 1.6 2017/04/12 21:24:57 unnilennium Exp $ Summary: e-smith server and gateway - proxy module %define name e-smith-proxy Name: %{name} %define version 5.6.0 -%define release 5 +%define release 7 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -13,6 +13,8 @@ Source: %{name}-%{version}.tar.xz Patch0: e-smith-proxy-5.6.0-MANAGER.patch Patch1: e-smith-proxy-5.6.0-set_file_desc_limit.patch Patch2: e-smith-proxy-5.6.0.bz79.redirect.squid.related.syslog.patch +Patch3: e-smith-proxy-5.6.0.bz9639.disablingSMTPproxyFromManager.patch +Patch4: e-smith-proxy-5.6.0-bz11116_systemd.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-base @@ -29,6 +31,14 @@ AutoReqProv: no e-smith server and gateway software - proxy module. %changelog +* Mon Nov 30 2020 Michel Begue 2.6.0-7.sme +- move squid service to systemd [SME: 11116] +- add e-smith-proxy-update event [SME: 11151] +- fix bogus dates here + +* Wed Apr 12 2017 Jean-Philipe Pialasse 5.6.0-6.sme +- fix disabling smtp proxy via SM doesn't work [SME: 9639] + * Mon Apr 10 2017 Jean-Philipe Pialasse 5.6.0-5.sme - redirect squid syslog messages to /var/log/squid/squid.log [SME: 79] @@ -61,10 +71,10 @@ e-smith server and gateway software - pr * Fri Sep 23 2011 Jonathan Martens 5.2.0-5.sme - Fix SMTP proxy wording in server-manager [SME: 6178] -* Sun Sep 25 2010 Shad L. Lords 5.2.0-4.sme +* Sat Sep 25 2010 Shad L. Lords 5.2.0-4.sme - Fix missed enabled->transparent mapping [SME: 5574] -* Sun Sep 25 2010 Shad L. Lords 5.2.0-3.sme +* Sat Sep 25 2010 Shad L. Lords 5.2.0-3.sme - Change enabled to transparent for mail proxy [SME: 5574] * Thu Mar 25 2010 Federico Simoncelli 5.2.0-2.sme @@ -711,6 +721,9 @@ e-smith server and gateway software - pr %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +mkdir -p root/usr/lib/systemd/system/squid.service.d %build perl createlinks @@ -720,15 +733,15 @@ 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/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)' \ > %{name}-%{version}-%{release}-filelist +# --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)' \ echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist %clean