4 |
|
|
5 |
%define name smeserver-dansguardian |
%define name smeserver-dansguardian |
6 |
%define version 2.10 |
%define version 2.10 |
7 |
%define release 1 |
%define release 3 |
8 |
|
|
9 |
Summary: Set up dansguardian to filter www content. |
Summary: Set up dansguardian to filter www content. |
10 |
Name: %{name} |
Name: %{name} |
20 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
BuildRoot: %{_tmppath}/%{name}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 9.0 |
24 |
Requires: dansguardian = 2.10.1.1-1%{?dist} |
Requires: dansguardian >= 2.10.1.1-1%{?dist} |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%description |
%description |
28 |
rpm to setup dansguardian.org web content filter |
rpm to setup dansguardian.org web content filter |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Fri Jan 11 2019 Terry Fage <tfage@yahoo.com.au> 2.10-3.sme |
32 |
|
- bump release syntax error in spec file [SME: 9613] |
33 |
|
|
34 |
|
* Mon Dec 10 2018 T Fage <tfage@yahoo.com.au> 2.10-2.sme |
35 |
|
- fix log file permissions |
36 |
|
- remove /tmp files clamav compatability [SME: 9613] |
37 |
|
- bump required e-smith-release version |
38 |
|
|
39 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.10-1.sme |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.10-1.sme |
40 |
- initial import to SME9 contribs |
- initial import to SME9 contribs |
41 |
|
|
141 |
fi |
fi |
142 |
|
|
143 |
# temp fix following rf dansguardian used |
# temp fix following rf dansguardian used |
144 |
chown clamav:clamav /var/log/dansguardian/* |
if [ -d /var/log/dansguardian/ ] ; then |
145 |
|
chown clamav:dansguardian /var/log/dansguardian |
146 |
|
fi |
147 |
|
if [ -d /var/log/dansguardian/* ] ; then |
148 |
|
chown clamav:dansguardian /var/log/dansguardian/* |
149 |
|
fi |
150 |
|
if [ -e /tmp/.dguardianipc ] || [ -e /tmp.dguardianurliupc ] ; then |
151 |
|
/bin/rm -f /tmp/.dguardian* |
152 |
|
fi |
153 |
|
|
154 |
%postun |
%postun |
155 |
|
|