1 |
# $Id: e-smith-proxy.spec,v 1.4 2017/01/05 16:35:01 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 5 |
%define release 8 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
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 |
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 |
* 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] |
- redirect squid syslog messages to /var/log/squid/squid.log [SME: 79] |
49 |
|
|
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 |
726 |
%patch0 -p1 |
%patch0 -p1 |
727 |
%patch1 -p1 |
%patch1 -p1 |
728 |
%patch2 -p1 |
%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 |