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 2 |
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 |
|
* Mon Dec 10 2018 T Fage <tfage@yahoo.com.au> 2.10-2.sme |
32 |
|
- fix log file permissions |
33 |
|
- remove /tmp files clamav compatability [SME: 9613] |
34 |
|
- bump required e-smith-release version |
35 |
|
|
36 |
* 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 |
37 |
- initial import to SME9 contribs |
- initial import to SME9 contribs |
38 |
|
|
138 |
fi |
fi |
139 |
|
|
140 |
# temp fix following rf dansguardian used |
# temp fix following rf dansguardian used |
141 |
chown clamav:clamav /var/log/dansguardian/* |
if [ -d /var/log/dansguardian/ ] ; then |
142 |
|
chown clamav:dansguardian /var/log/dansguardian |
143 |
|
fi |
144 |
|
if [ -d /var/log/dansguardian/* ] ; then |
145 |
|
chown clamav:dansguardian /var/log/dansguardian/* |
146 |
|
fi |
147 |
|
if [ -e /tmp/.dguardianipc ] || [ -e /tmp.dguardianurliupc] ; then |
148 |
|
/bin/rm -f /tmp/.dguardian* |
149 |
|
fi |
150 |
|
|
151 |
%postun |
%postun |
152 |
|
|