1 |
# $Id: e-smith-proxy.spec,v 1.6 2017/04/12 21:24:57 unnilennium Exp $ |
# $Id: e-smith-proxy.spec,v 1.8 2020/12/11 20:35:23 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 7 |
%define release 9 |
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 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
Requires: e-smith-base |
Requires: e-smith-base |
34 |
e-smith server and gateway software - proxy module. |
e-smith server and gateway software - proxy module. |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme |
38 |
|
- cleanup in /etc/rc.d and /var/service/squid [SME: 9692] |
39 |
|
|
40 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
41 |
|
- fix actions for e-smith-proxy-update event [SME: 11116] |
42 |
|
- add intercept for squid [SME: 9419] |
43 |
|
|
44 |
* 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 |
45 |
- move squid service to systemd [SME: 11116] |
- move squid service to systemd [SME: 11116] |
46 |
- add e-smith-proxy-update event [SME: 11151] |
- add e-smith-proxy-update event [SME: 11151] |
733 |
%patch2 -p1 |
%patch2 -p1 |
734 |
%patch3 -p1 |
%patch3 -p1 |
735 |
%patch4 -p1 |
%patch4 -p1 |
736 |
|
%patch5 -p1 |
737 |
|
%patch6 -p1 |
738 |
|
|
739 |
|
rm -rf root/var/service/squid/ |
740 |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
741 |
|
|
742 |
%build |
%build |
761 |
%clean |
%clean |
762 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
763 |
|
|
764 |
|
%post |
765 |
|
if [ -d /var/service/squid ]; then |
766 |
|
rm -rf /var/service/squid |
767 |
|
fi |
768 |
|
|
769 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
770 |
%defattr(-,root,root) |
%defattr(-,root,root) |