1 |
# $Id: e-smith-proxy.spec,v 1.6 2017/04/12 21:24:57 unnilennium Exp $ |
# $Id: e-smith-proxy.spec,v 1.9 2021/03/16 18:52:33 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 7 |
%define release 10 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch4: e-smith-proxy-5.6.0-bz11116_systemd.patch |
18 |
|
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 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
Requires: e-smith-base |
Requires: e-smith-base |
35 |
e-smith server and gateway software - proxy module. |
e-smith server and gateway software - proxy module. |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Thu Oct 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme |
39 |
|
- fix squid starting before network [SME: 11713] |
40 |
|
also dropin file not expanded on install fixed |
41 |
|
|
42 |
|
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme |
43 |
|
- cleanup in /etc/rc.d and /var/service/squid [SME: 9692] |
44 |
|
|
45 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
46 |
|
- fix actions for e-smith-proxy-update event [SME: 11116] |
47 |
|
- add intercept for squid [SME: 9419] |
48 |
|
|
49 |
* Mon Nov 30 2020 Michel Begue <mab974@gmail.com> 2.6.0-7.sme |
* Mon Nov 30 2020 Michel Begue <mab974@gmail.com> 2.6.0-7.sme |
50 |
- move squid service to systemd [SME: 11116] |
- move squid service to systemd [SME: 11116] |
51 |
- add e-smith-proxy-update event [SME: 11151] |
- add e-smith-proxy-update event [SME: 11151] |
738 |
%patch2 -p1 |
%patch2 -p1 |
739 |
%patch3 -p1 |
%patch3 -p1 |
740 |
%patch4 -p1 |
%patch4 -p1 |
741 |
|
%patch5 -p1 |
742 |
|
%patch6 -p1 |
743 |
|
%patch7 -p1 |
744 |
|
|
745 |
|
rm -rf root/var/service/squid/ |
746 |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
747 |
|
|
748 |
%build |
%build |
767 |
%clean |
%clean |
768 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
769 |
|
|
770 |
|
%post |
771 |
|
if [ -d /var/service/squid ]; then |
772 |
|
rm -rf /var/service/squid |
773 |
|
fi |
774 |
|
|
775 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
776 |
%defattr(-,root,root) |
%defattr(-,root,root) |