1 |
# $Id: e-smith-proxy.spec,v 1.5 2017/04/10 18:56:22 unnilennium Exp $ |
# $Id: e-smith-proxy.spec,v 1.6 2017/04/12 21:24:57 unnilennium 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 6 |
%define release 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch3: e-smith-proxy-5.6.0.bz9639.disablingSMTPproxyFromManager.patch |
17 |
|
Patch4: e-smith-proxy-5.6.0-bz11116_systemd.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-base |
Requires: e-smith-base |
31 |
e-smith server and gateway software - proxy module. |
e-smith server and gateway software - proxy module. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Mon Nov 30 2020 Michel Begue <mab974@gmail.com> 2.6.0-7.sme |
35 |
|
- move squid service to systemd [SME: 11116] |
36 |
|
- add e-smith-proxy-update event [SME: 11151] |
37 |
|
- fix bogus dates here |
38 |
|
|
39 |
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme |
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme |
40 |
- fix disabling smtp proxy via SM doesn't work [SME: 9639] |
- fix disabling smtp proxy via SM doesn't work [SME: 9639] |
41 |
|
|
71 |
* 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 |
72 |
- Fix SMTP proxy wording in server-manager [SME: 6178] |
- Fix SMTP proxy wording in server-manager [SME: 6178] |
73 |
|
|
74 |
* 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 |
75 |
- Fix missed enabled->transparent mapping [SME: 5574] |
- Fix missed enabled->transparent mapping [SME: 5574] |
76 |
|
|
77 |
* 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 |
78 |
- Change enabled to transparent for mail proxy [SME: 5574] |
- Change enabled to transparent for mail proxy [SME: 5574] |
79 |
|
|
80 |
* 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 |
722 |
%patch1 -p1 |
%patch1 -p1 |
723 |
%patch2 -p1 |
%patch2 -p1 |
724 |
%patch3 -p1 |
%patch3 -p1 |
725 |
|
%patch4 -p1 |
726 |
|
mkdir -p root/usr/lib/systemd/system/squid.service.d |
727 |
|
|
728 |
%build |
%build |
729 |
perl createlinks |
perl createlinks |
733 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
734 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
735 |
/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)' \ |
|
736 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
737 |
|
# --dir '/var/service/squid' 'attr(1755,root,root)' \ |
738 |
|
# --file '/var/service/squid/down' 'attr(0644,root,root)' \ |
739 |
|
# --file '/var/service/squid/run' 'attr(0755,root,root)' \ |
740 |
|
# --dir '/var/service/squid/supervise' 'attr(0700,root,root)' \ |
741 |
|
# --dir '/var/service/squid/log' 'attr(1755,root,root)' \ |
742 |
|
# --file '/var/service/squid/log/run' 'attr(0755,root,root)' \ |
743 |
|
# --dir '/var/service/squid/log/supervise' 'attr(0700,root,root)' \ |
744 |
|
# --dir '/var/log/squid.run' 'attr(0750,smelog,root)' \ |
745 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
746 |
|
|
747 |
%clean |
%clean |