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.7 2020/12/01 16:03:46 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 1 |
%define release 8 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: e-smith-base |
Requires: e-smith-base |
32 |
e-smith server and gateway software - proxy module. |
e-smith server and gateway software - proxy module. |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
36 |
|
- fix actions for e-smith-proxy-update event [SME: 11116] |
37 |
|
- add intercept for squid [SME: 9419] |
38 |
|
|
39 |
|
* Mon Nov 30 2020 Michel Begue <mab974@gmail.com> 2.6.0-7.sme |
40 |
|
- move squid service to systemd [SME: 11116] |
41 |
|
- add e-smith-proxy-update event [SME: 11151] |
42 |
|
- fix bogus dates here |
43 |
|
|
44 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme |
45 |
|
- fix disabling smtp proxy via SM doesn't work [SME: 9639] |
46 |
|
|
47 |
|
* Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-5.sme |
48 |
|
- redirect squid syslog messages to /var/log/squid/squid.log [SME: 79] |
49 |
|
|
50 |
|
* Thu Jan 5 2017 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-4.sme |
51 |
|
- Allow custom file descriptor limit, and set default to 4096 [SME: 9912] |
52 |
|
|
53 |
|
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-3.sme |
54 |
|
- Rebuild for [SME: 9393] |
55 |
|
|
56 |
|
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-2.sme |
57 |
|
- remove deprecated acl manager proto cache_object [SME: 9410] |
58 |
|
|
59 |
* 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 |
60 |
- Initial release to sme10 |
- Initial release to sme10 |
61 |
|
|
76 |
* 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 |
77 |
- Fix SMTP proxy wording in server-manager [SME: 6178] |
- Fix SMTP proxy wording in server-manager [SME: 6178] |
78 |
|
|
79 |
* 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 |
80 |
- Fix missed enabled->transparent mapping [SME: 5574] |
- Fix missed enabled->transparent mapping [SME: 5574] |
81 |
|
|
82 |
* 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 |
83 |
- Change enabled to transparent for mail proxy [SME: 5574] |
- Change enabled to transparent for mail proxy [SME: 5574] |
84 |
|
|
85 |
* 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 |
723 |
|
|
724 |
%prep |
%prep |
725 |
%setup |
%setup |
726 |
|
%patch0 -p1 |
727 |
|
%patch1 -p1 |
728 |
|
%patch2 -p1 |
729 |
|
%patch3 -p1 |
730 |
|
%patch4 -p1 |
731 |
|
%patch5 -p1 |
732 |
|
|
733 |
|
rm -rf root/var/service/squid/ |
734 |
|
mkdir -p root/usr/lib/systemd/system/squid.service.d |
735 |
|
|
736 |
%build |
%build |
737 |
perl createlinks |
perl createlinks |
741 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
742 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
743 |
/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)' \ |
|
744 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
745 |
|
# --dir '/var/service/squid' 'attr(1755,root,root)' \ |
746 |
|
# --file '/var/service/squid/down' 'attr(0644,root,root)' \ |
747 |
|
# --file '/var/service/squid/run' 'attr(0755,root,root)' \ |
748 |
|
# --dir '/var/service/squid/supervise' 'attr(0700,root,root)' \ |
749 |
|
# --dir '/var/service/squid/log' 'attr(1755,root,root)' \ |
750 |
|
# --file '/var/service/squid/log/run' 'attr(0755,root,root)' \ |
751 |
|
# --dir '/var/service/squid/log/supervise' 'attr(0700,root,root)' \ |
752 |
|
# --dir '/var/log/squid.run' 'attr(0750,smelog,root)' \ |
753 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
754 |
|
|
755 |
%clean |
%clean |