1 |
# $Id: e-smith-proxy.spec,v 1.7 2020/12/01 16:03:46 michel Exp $ |
# $Id: e-smith-proxy.spec,v 1.10 2021/10/22 02:06:17 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 8 |
%define release 11 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch4: e-smith-proxy-5.6.0-bz11116_systemd.patch |
18 |
Patch5: e-smith-proxy-5.6.0-events_update-bz9419.patch |
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 |
|
|
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
Requires: e-smith-base |
Requires: e-smith-base |
27 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
28 |
Requires: iptables |
Requires: iptables |
29 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
30 |
|
Requires: e-smith-apache >= |
31 |
Requires: e-smith-email >= 5.2.0-5 |
Requires: e-smith-email >= 5.2.0-5 |
32 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
33 |
Obsoletes: e-smith-transproxy |
Obsoletes: e-smith-transproxy |
37 |
e-smith server and gateway software - proxy module. |
e-smith server and gateway software - proxy module. |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme |
41 |
|
- use httpd 2.4 access control syntax [SME: 11944] |
42 |
|
|
43 |
|
* Thu Oct 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme |
44 |
|
- fix squid starting before network [SME: 11713] |
45 |
|
also dropin file not expanded on install fixed |
46 |
|
|
47 |
|
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme |
48 |
|
- cleanup in /etc/rc.d and /var/service/squid [SME: 9692] |
49 |
|
|
50 |
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
51 |
- fix actions for e-smith-proxy-update event [SME: 11116] |
- fix actions for e-smith-proxy-update event [SME: 11116] |
52 |
- add intercept for squid [SME: 9419] |
- add intercept for squid [SME: 9419] |
744 |
%patch3 -p1 |
%patch3 -p1 |
745 |
%patch4 -p1 |
%patch4 -p1 |
746 |
%patch5 -p1 |
%patch5 -p1 |
747 |
|
%patch6 -p1 |
748 |
|
%patch7 -p1 |
749 |
|
%patch8 -p1 |
750 |
|
|
751 |
rm -rf root/var/service/squid/ |
rm -rf root/var/service/squid/ |
752 |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
753 |
|
rm -rf root/var/log/squid.run |
754 |
|
|
755 |
%build |
%build |
756 |
perl createlinks |
perl createlinks |
774 |
%clean |
%clean |
775 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
776 |
|
|
777 |
|
%post |
778 |
|
if [ -d /var/service/squid ]; then |
779 |
|
rm -rf /var/service/squid |
780 |
|
fi |
781 |
|
|
782 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
783 |
%defattr(-,root,root) |
%defattr(-,root,root) |