1 |
# $Id: e-smith-proxy.spec,v 1.8 2020/12/11 20:35:23 michel Exp $ |
# $Id: e-smith-proxy.spec,v 1.12 2022/04/17 18:59:57 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 9 |
%define release 12 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
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 |
|
Patch9: e-smith-proxy-5.6.0-bz11454-pidfile.patch |
23 |
|
|
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
28 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
29 |
Requires: iptables |
Requires: iptables |
30 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
31 |
|
Requires: e-smith-apache >= 2.6.0-19 |
32 |
Requires: e-smith-email >= 5.2.0-5 |
Requires: e-smith-email >= 5.2.0-5 |
33 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
34 |
Obsoletes: e-smith-transproxy |
Obsoletes: e-smith-transproxy |
38 |
e-smith server and gateway software - proxy module. |
e-smith server and gateway software - proxy module. |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Mon Feb 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-12.sme |
42 |
|
- fix issues where pid file is not removed [SME: 11454] |
43 |
|
|
44 |
|
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme |
45 |
|
- use httpd 2.4 access control syntax [SME: 11944] |
46 |
|
|
47 |
|
* Thu Oct 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme |
48 |
|
- fix squid starting before network [SME: 11713] |
49 |
|
also dropin file not expanded on install fixed |
50 |
|
|
51 |
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme |
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme |
52 |
- cleanup in /etc/rc.d and /var/service/squid [SME: 9692] |
- cleanup in /etc/rc.d and /var/service/squid [SME: 9692] |
53 |
|
|
749 |
%patch4 -p1 |
%patch4 -p1 |
750 |
%patch5 -p1 |
%patch5 -p1 |
751 |
%patch6 -p1 |
%patch6 -p1 |
752 |
|
%patch7 -p1 |
753 |
|
%patch8 -p1 |
754 |
|
%patch9 -p1 |
755 |
|
|
756 |
rm -rf root/var/service/squid/ |
rm -rf root/var/service/squid/ |
757 |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
758 |
|
rm -rf root/var/log/squid.run |
759 |
|
|
760 |
%build |
%build |
761 |
perl createlinks |
perl createlinks |