1 |
# $Id$ |
# $Id: smeserver-dansguardian.spec,v 1.2 2008/04/02 15:03:56 slords Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-dansguardian |
%define name smeserver-dansguardian |
6 |
%define version 2.9 |
%define version 2.9 |
7 |
%define release 3 |
%define release 4 |
8 |
|
|
9 |
Summary: Set up dansguardian to filter www content. |
Summary: Set up dansguardian to filter www content. |
10 |
Name: %{name} |
Name: %{name} |
15 |
Group: SMEserver/addon |
Group: SMEserver/addon |
16 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
17 |
Patch0: smeserver-dansguardian-2.9-unblock80.patch |
Patch0: smeserver-dansguardian-2.9-unblock80.patch |
18 |
|
Patch1: smeserver-dansguardian-2.9-block8080.patch |
19 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
BuildRoot: %{_tmppath}/%{name}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
rpm to setup dansguardian.org web content filter |
rpm to setup dansguardian.org web content filter |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Fri May 30 2008 Stephen Noble <support@dungog.net> 2.9-4 |
31 |
|
- $dansguardian{portblocking} = yes, blocks external 8080 |
32 |
|
|
33 |
* Thu Jul 05 2007 Stephen Noble <support@dungog.net> 2.9-3 |
* Thu Jul 05 2007 Stephen Noble <support@dungog.net> 2.9-3 |
34 |
- $dansguardian{portblocking} = yes, just blocks 3128 |
- $dansguardian{portblocking} = yes, just blocks 3128 |
35 |
|
|
73 |
%prep |
%prep |
74 |
%setup |
%setup |
75 |
%patch0 -p1 |
%patch0 -p1 |
76 |
|
%patch1 -p1 |
77 |
|
|
78 |
%build |
%build |
79 |
perl createlinks |
perl createlinks |
99 |
|
|
100 |
%preun |
%preun |
101 |
%post |
%post |
|
#new installs |
|
|
#if [ $1 = 1 ] ; then |
|
|
#fi |
|
|
#/etc/e-smith/events/actions/initialize-default-databases |
|
102 |
|
|
103 |
#gzip old log files |
#gzip old log files |
104 |
if [ -z /var/log/dansguardian/access.log.1 ] ; then |
if [ -z /var/log/dansguardian/access.log.1 ] ; then |