aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-10-25 17:07:51 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-10-25 17:07:51 +0000
commit9ead6bca4f221b642f03d7eaf89537b794c6aeb3 (patch)
tree2d56d87126206082353f8fe7c5374f86b6ed4827 /www
parent83bc46861a1c2824c0da318e923ec52e5418d6f0 (diff)
downloadports-9ead6bca4f221b642f03d7eaf89537b794c6aeb3.tar.gz
ports-9ead6bca4f221b642f03d7eaf89537b794c6aeb3.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/dansguardian-devel/Makefile61
-rw-r--r--www/dansguardian-devel/distinfo4
-rw-r--r--www/dansguardian-devel/files/patch-autoconf::fbsd.in88
-rw-r--r--www/dansguardian-devel/files/patch-configure20
-rw-r--r--www/dansguardian-devel/files/patch-dansguardian.811
-rw-r--r--www/dansguardian-devel/pkg-plist400
6 files changed, 288 insertions, 296 deletions
diff --git a/www/dansguardian-devel/Makefile b/www/dansguardian-devel/Makefile
index 8e63a0a82882..13c7bcc65856 100644
--- a/www/dansguardian-devel/Makefile
+++ b/www/dansguardian-devel/Makefile
@@ -6,38 +6,41 @@
#
PORTNAME= dansguardian
-PORTVERSION= 2.7.7.9
+PORTVERSION= 2.9.0.1
CATEGORIES= www
MASTER_SITES= # empty, see below
-DISTNAME= DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source
+DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= fcash@sd73.bc.ca
COMMENT= A fast, feature-rich web content filter for Squid proxy servers
+LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid \
${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
-IGNORE= "currently at lower revision than www/dansguardian"
+#IGNORE= "currently at lower revision than www/dansguardian"
+
+USE_GCC= 3.4+
USE_RC_SUBR= yes
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
-CONFLICTS= dansguardian-2.6*
+CONFLICTS= dansguardian-2.[678]*
LATEST_LINK= dansguardian-devel
-WRKSRC= ${WRKDIR}/DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --bindir=/sbin/ \
- --sysconfdir=/etc/dansguardian/ \
- --sysvdir=/etc/rc.d/ \
- --mandir=/man/ \
- --logdir=/var/log/ \
- --cgidir=/www/cgi-bin/ \
- --piddir=/var/run/
+CONFIGURE_ARGS= --localstatedir=/var \
+ --with-logdir=/var/log \
+ --with-piddir=/var/run
+
MAN8= dansguardian.8
-OPTIONS= DG_GCC3 "Compile using GCC 3.3 on FreeBSD 4.x." off \
- DG_PHRASELISTS "Install new phraselists. (Overwrites existing.)" off
+OPTIONS= DG_CLAMAV "Enable ClamAV support (libclamav)" off \
+ DG_CLAMD "Enable ClamAV daemon support (clamd)" off \
+ DG_ICAP "Enable ICAP AV content scanner support" off \
+ DG_KASP "Enable Kaspersky AV support" off \
+ DG_DMGR "Enable the fancy download manager" off
+# DG_PHRASELISTS "Install new phraselists. (Overwrites existing.)" off
DG_URL= http://dansguardian.org/index.php?page=copyright2
CONFDIR= ${PREFIX}/etc/dansguardian
@@ -48,12 +51,30 @@ RESTRICTED= ${NO_PACKAGE}
.include <bsd.port.pre.mk>
-# On FreeBSD 4.x, user can choose which GCC version to use
-.if ${OSVERSION} > 500000 || defined(WITH_DG_GCC3)
-CONFIGURE_ARGS+= --gccver=3
-USE_GCC= 3.4
-.else
-CONFIGURE_ARGS+= --gccver=2
+.if defined(WITH_DG_CLAMAV) && defined(WITH_DG_CLAMD)
+BROKEN= "You have select both ClamAV integration options, which is known to cause issues. Please select only one of the ClamAV options. Run make config to change the options"
+.endif
+
+.if defined(WITH_DG_CLAMAV)
+CONFIGURE_ARGS+= --enable-clamav=yes
+LIB_DEPENDS= clamav.1:${PORTSDIR}/security/clamav:install
+.endif
+
+.if defined(WITH_DG_CLAMD)
+CONFIGURE_ARGS+= --enable-clamd=yes
+RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
+.endif
+
+.if defined(WITH_DG_ICAP)
+BROKEN= "I don't have access to ICAP AV, so I can't test this. If you have access to it, drop me an e-mail. Thanks"
+.endif
+
+.if defined(WITH_DG_KASP)
+BROKEN= "I don't have access to Kaspersky AV, so I can't test this. If you have access to it, drop me an e-mail. Thanks"
+.endif
+
+.if defined(WITH_DG_DMGR)
+CONFIGURE_ARGS+= --enable-fancydm
.endif
# User needs to manually download the distfile
diff --git a/www/dansguardian-devel/distinfo b/www/dansguardian-devel/distinfo
index 6218a195b7dd..1f5b2b3662b2 100644
--- a/www/dansguardian-devel/distinfo
+++ b/www/dansguardian-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (DansGuardian-2.7.7-9.source.tar.gz) = d7837b07adf1d04848db752f3fdd7b44
-SIZE (DansGuardian-2.7.7-9.source.tar.gz) = 187652
+MD5 (dansguardian-2.9.0.1.tar.gz) = 116546bd776adf18cbf148b29037b903
+SIZE (dansguardian-2.9.0.1.tar.gz) = 338417
diff --git a/www/dansguardian-devel/files/patch-autoconf::fbsd.in b/www/dansguardian-devel/files/patch-autoconf::fbsd.in
deleted file mode 100644
index 3eb8a782ba95..000000000000
--- a/www/dansguardian-devel/files/patch-autoconf::fbsd.in
+++ /dev/null
@@ -1,88 +0,0 @@
---- autoconf/fbsd.in.orig Tue Jun 29 10:21:27 2004
-+++ autoconf/fbsd.in Tue Jun 29 10:23:52 2004
-@@ -28,7 +28,7 @@
- #Some advanced options:
- #WARNING = -Wall
- #OPTIMISE = -O2
--+OPTIMISE = ${CXXFLAGS}
-+OPTIMISE = ${CXXFLAGS}
- #DEBUG += -DDGDEBUG
- #STATIC = -static
-
-@@ -43,48 +43,37 @@
- $(CPP) -o dansguardian $(DGCFLAGS) $(DEBUG) $(OBJ) $(LIBS) dansguardian.cpp
-
- install:
-- @test -d $I$(SYSVLOCATION) || install -d $I$(SYSVLOCATION)
- @test -d $I$(CONFFILELOCATION) || install -d $I$(CONFFILELOCATION)
-- @test -d $I$(CONFFILELOCATION)phraselists || install -d $I$(CONFFILELOCATION)phraselists
-- @test -d $I$(CONFFILELOCATION)languages || install -d $I$(CONFFILELOCATION)languages
- @test -d $I$(CGIBINLOCATION) || install -d $I$(CGIBINLOCATION)
-- @test -d $I$(MANUALFILES)man8/ || install -d $I$(MANUALFILES)man8/
-- @test -d $I$(LOGLOCATION) || install -d $I$(LOGLOCATION)
- @test -d $I$(BINARYLOCATION) || install -d $I$(BINARYLOCATION)
-- cp -f ./filtergroupslist $I$(CONFFILELOCATION)filtergroupslist
-- cp -f ./dansguardianf1.conf $I$(CONFFILELOCATION)dansguardianf1.conf
-- cp -f ./dansguardian $I$(BINARYLOCATION)dansguardian
-- cp -f ./dansguardian.conf $I$(CONFFILELOCATION)dansguardian.conf
-- cp -f ./bannedphraselist $I$(CONFFILELOCATION)bannedphraselist
-- cp -f ./exceptionphraselist $I$(CONFFILELOCATION)exceptionphraselist
-- cp -f ./weightedphraselist $I$(CONFFILELOCATION)weightedphraselist
-- cp -f -R ./phraselists/* $I$(CONFFILELOCATION)phraselists/
-- cp -f -R ./languages/* $I$(CONFFILELOCATION)languages/
-- cp -f ./bannediplist $I$(CONFFILELOCATION)bannediplist
-- cp -f ./banneduserlist $I$(CONFFILELOCATION)banneduserlist
-- cp -f ./bannedextensionlist $I$(CONFFILELOCATION)bannedextensionlist
-- cp -f ./bannedmimetypelist $I$(CONFFILELOCATION)bannedmimetypelist
-- cp -f ./bannedurllist $I$(CONFFILELOCATION)bannedurllist
-- cp -f ./bannedregexpurllist $I$(CONFFILELOCATION)bannedregexpurllist
-- cp -f ./bannedsitelist $I$(CONFFILELOCATION)bannedsitelist
-- cp -f ./contentregexplist $I$(CONFFILELOCATION)contentregexplist
-- cp -f ./greysitelist $I$(CONFFILELOCATION)greysitelist
-- cp -f ./greyurllist $I$(CONFFILELOCATION)greyurllist
-- cp -f ./exceptionsitelist $I$(CONFFILELOCATION)exceptionsitelist
-- cp -f ./exceptionurllist $I$(CONFFILELOCATION)exceptionurllist
-- cp -f ./exceptionuserlist $I$(CONFFILELOCATION)exceptionuserlist
-- cp -f ./exceptioniplist $I$(CONFFILELOCATION)exceptioniplist
-- cp -f ./pics $I$(CONFFILELOCATION)pics
-- cp -f ./transparent1x1.gif $I$(CONFFILELOCATION)transparent1x1.gif
-- cp -f ./logrotation $I$(CONFFILELOCATION)logrotation
-- cp -f ./dansguardian.bsdv $I$(SYSVLOCATION)dansguardian.sh
-- cp -f ./dansguardian.pl $I$(CGIBINLOCATION)dansguardian.pl
-- chmod o+x $I$(CGIBINLOCATION)dansguardian.pl
-- cp -f ./dansguardian.8.gz $I$(MANUALFILES)man8/dansguardian.8.gz
-- chown -R $(PROXYUSER):$(PROXYGROUP) $I$(LOGLOCATION)
-- chmod -R u+wr $I$(LOGLOCATION)
-- chmod u+wrx $I$(LOGLOCATION)
-- if [ -d $(LOGROTATELOCATION) ]; then cp -f ./logrotate.dansguardian $I$(LOGROTATELOCATION)dansguardian; fi
-+ @test -d $I$(CONFFILELOCATION)languages || install -d $I$(CONFFILELOCATION)languages
-+ cp -fR ./languages/* $I$(CONFFILELOCATION)languages/
-+ install -o root -g wheel -m 644 ./filtergroupslist $I$(CONFFILELOCATION)filtergroupslist.dist
-+ install -o root -g wheel -m 644 ./dansguardianf1.conf $I$(CONFFILELOCATION)dansguardianf1.conf.dist
-+ install -o root -g wheel -m 755 ./dansguardian $I$(BINARYLOCATION)dansguardian
-+ install -o root -g wheel -m 644 ./dansguardian.conf $I$(CONFFILELOCATION)dansguardian.conf.dist
-+ install -o root -g wheel -m 644 ./bannedphraselist $I$(CONFFILELOCATION)bannedphraselist.dist
-+ install -o root -g wheel -m 644 ./exceptionphraselist $I$(CONFFILELOCATION)exceptionphraselist.dist
-+ install -o root -g wheel -m 644 ./weightedphraselist $I$(CONFFILELOCATION)weightedphraselist.dist
-+ install -o root -g wheel -m 644 ./bannediplist $I$(CONFFILELOCATION)bannediplist.dist
-+ install -o root -g wheel -m 644 ./banneduserlist $I$(CONFFILELOCATION)banneduserlist.dist
-+ install -o root -g wheel -m 644 ./bannedextensionlist $I$(CONFFILELOCATION)bannedextensionlist.dist
-+ install -o root -g wheel -m 644 ./bannedmimetypelist $I$(CONFFILELOCATION)bannedmimetypelist.dist
-+ install -o root -g wheel -m 644 ./bannedurllist $I$(CONFFILELOCATION)bannedurllist.dist
-+ install -o root -g wheel -m 644 ./bannedregexpurllist $I$(CONFFILELOCATION)bannedregexpurllist.dist
-+ install -o root -g wheel -m 644 ./bannedsitelist $I$(CONFFILELOCATION)bannedsitelist.dist
-+ install -o root -g wheel -m 644 ./contentregexplist $I$(CONFFILELOCATION)contentregexplist.dist
-+ install -o root -g wheel -m 644 ./greysitelist $I$(CONFFILELOCATION)greysitelist.dist
-+ install -o root -g wheel -m 644 ./greyurllist $I$(CONFFILELOCATION)greyurllist.dist
-+ install -o root -g wheel -m 644 ./exceptionsitelist $I$(CONFFILELOCATION)exceptionsitelist.dist
-+ install -o root -g wheel -m 644 ./exceptionurllist $I$(CONFFILELOCATION)exceptionurllist.dist
-+ install -o root -g wheel -m 644 ./exceptionuserlist $I$(CONFFILELOCATION)exceptionuserlist.dist
-+ install -o root -g wheel -m 644 ./exceptioniplist $I$(CONFFILELOCATION)exceptioniplist.dist
-+ install -o root -g wheel -m 644 ./pics $I$(CONFFILELOCATION)pics.dist
-+ install -o root -g wheel -m 644 ./transparent1x1.gif $I$(CONFFILELOCATION)transparent1x1.gif
-+ install -o root -g wheel -m 755 ./dansguardian.pl $I$(CGIBINLOCATION)dansguardian.pl.dist
-+ install -o root -g wheel -m 644 ./dansguardian.8 $I$(MANUALFILES)man8/dansguardian.8
-+ install -o nobody -g nogroup -m 644 /dev/null $I$(LOGLOCATION)dansguardian.log
-
- uninstall:
- rm -f $(BINARYLOCATION)dansguardian
diff --git a/www/dansguardian-devel/files/patch-configure b/www/dansguardian-devel/files/patch-configure
deleted file mode 100644
index ef0968964c91..000000000000
--- a/www/dansguardian-devel/files/patch-configure
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig Wed Apr 28 09:36:01 2004
-+++ configure Thu May 6 10:56:21 2004
-@@ -2543,7 +2543,7 @@
- $extendedecho "SYSVLOCATION = \${PREFIX}$sysvdir" >>Makefile
- $extendedecho "CGIBINLOCATION = \${PREFIX}$cgidir" >>Makefile
- $extendedecho "MANUALFILES = \${PREFIX}$mandir" >>Makefile
--$extendedecho "LOGLOCATION = \${PREFIX}$logdir" >>Makefile
-+$extendedecho "LOGLOCATION = $logdir" >>Makefile
- $extendedecho "LOGROTATELOCATION = \${PREFIX}$logrotatedir" >>Makefile
- echo "PROXYUSER = $runas_usr" >>Makefile
- echo "PROXYGROUP = $runas_grp" >>Makefile
-@@ -2896,7 +2896,7 @@
- echo "# Log file location" >>dansguardian.conf
- echo "# " >>dansguardian.conf
- echo "# Defines the log directory and filename." >>dansguardian.conf
--echo "#loglocation = '/var/log/dansguardian/access.log'" >>dansguardian.conf
-+echo "loglocation = '/var/log/dansguardian.log'" >>dansguardian.conf
- echo "" >>dansguardian.conf
- echo "" >>dansguardian.conf
- echo "# Network Settings" >>dansguardian.conf
diff --git a/www/dansguardian-devel/files/patch-dansguardian.8 b/www/dansguardian-devel/files/patch-dansguardian.8
deleted file mode 100644
index 084843f5b112..000000000000
--- a/www/dansguardian-devel/files/patch-dansguardian.8
+++ /dev/null
@@ -1,11 +0,0 @@
---- dansguardian.8.orig Wed May 5 10:54:57 2004
-+++ dansguardian.8 Wed May 5 10:55:18 2004
-@@ -3,7 +3,7 @@
- .SH NAME
- DansGuardian 2
- .SH SYNOPSIS
--/etc/rc.d/init.d/dansguardian [stop|start|status|restart]
-+/usr/local/etc/rc.d/start-dg.sh [start|stop|restart|status]
- .SH DESCRIPTION
- A Introduction
-
diff --git a/www/dansguardian-devel/pkg-plist b/www/dansguardian-devel/pkg-plist
index 9eb1c229d616..1ccadaeac9dc 100644
--- a/www/dansguardian-devel/pkg-plist
+++ b/www/dansguardian-devel/pkg-plist
@@ -1,160 +1,250 @@
@exec mkdir -p etc/dansguardian
-@exec mkdir -p etc/dansguardian/languages
-@exec mkdir -p etc/dansguardian/languages/arspanish
-@exec mkdir -p etc/dansguardian/languages/bulgarian
-@exec mkdir -p etc/dansguardian/languages/chinesebig5
-@exec mkdir -p etc/dansguardian/languages/chineseb2312
-@exec mkdir -p etc/dansguardian/languages/czech
-@exec mkdir -p etc/dansguardian/languages/danish
-@exec mkdir -p etc/dansguardian/languages/french
-@exec mkdir -p etc/dansguardian/languages/german
-@exec mkdir -p etc/dansguardian/languages/german2
-@exec mkdir -p etc/dansguardian/languages/indonesian
-@exec mkdir -p etc/dansguardian/languages/italian
-@exec mkdir -p etc/dansguardian/languages/lithuanian
-@exec mkdir -p etc/dansguardian/languages/mxspanish
-@exec mkdir -p etc/dansguardian/languages/polish
-@exec mkdir -p etc/dansguardian/languages/portuguese
-@exec mkdir -p etc/dansguardian/languages/turkish
-@exec mkdir -p etc/dansguardian/languages/ukenglish
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/chat
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/drugadvocacy
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/dutchbadwords
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/frenchbadwords
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/gambling
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/germanpornography
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/goodphrases
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/gore
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/illegaldrugs
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/intolerance
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/italianbadwords
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/legaldrugs
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/personals
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/pornography
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/violence
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/warezhacking
-%%PHRASELISTS%%@exec mkdir -p etc/dansguardian/phraselists/weapons
-etc/dansguardian/bannedextensionlist.dist
-etc/dansguardian/bannediplist.dist
-etc/dansguardian/bannedmimetypelist.dist
-etc/dansguardian/bannedphraselist.dist
-etc/dansguardian/bannedregexpurllist.dist
-etc/dansguardian/bannedsitelist.dist
-etc/dansguardian/bannedurllist.dist
-etc/dansguardian/banneduserlist.dist
-etc/dansguardian/contentregexplist.dist
-etc/dansguardian/dansguardian.conf.dist
-etc/dansguardian/dansguardianf1.conf.dist
-etc/dansguardian/exceptioniplist.dist
-etc/dansguardian/exceptionphraselist.dist
-etc/dansguardian/exceptionsitelist.dist
-etc/dansguardian/exceptionurllist.dist
-etc/dansguardian/exceptionuserlist.dist
-etc/dansguardian/filtergroupslist.dist
-etc/dansguardian/greysitelist.dist
-etc/dansguardian/greyurllist.dist
-etc/dansguardian/pics.dist
-etc/dansguardian/transparent1x1.gif
-etc/dansguardian/weightedphraselist.dist
-etc/dansguardian/languages/ReadMe
-etc/dansguardian/languages/arspanish/messages
-etc/dansguardian/languages/arspanish/template.html
-etc/dansguardian/languages/bulgarian/messages
-etc/dansguardian/languages/bulgarian/template.html
-etc/dansguardian/languages/chinesebig5/messages
-etc/dansguardian/languages/chinesebig5/template.html
-etc/dansguardian/languages/chinesegb2312/messages
-etc/dansguardian/languages/chinesegb2312/template.html
-etc/dansguardian/languages/czech/messages
-etc/dansguardian/languages/czech/template.html
-etc/dansguardian/languages/danish/messages
-etc/dansguardian/languages/danish/template.html
-etc/dansguardian/languages/dutch/messages
-etc/dansguardian/languages/dutch/template.html
-etc/dansguardian/languages/french/messages
-etc/dansguardian/languages/french/template.html
-etc/dansguardian/languages/german/messages
-etc/dansguardian/languages/german/template.html
-etc/dansguardian/languages/german2/messages
-etc/dansguardian/languages/german2/template.html
-etc/dansguardian/languages/indonesian/messages
-etc/dansguardian/languages/indonesian/template.html
-etc/dansguardian/languages/italian/messages
-etc/dansguardian/languages/italian/template.html
-etc/dansguardian/languages/lithuanian/messages
-etc/dansguardian/languages/lithuanian/template.html
-etc/dansguardian/languages/mxspanish/messages
-etc/dansguardian/languages/mxspanish/template.html
-etc/dansguardian/languages/polish/messages
-etc/dansguardian/languages/polish/template.html
-etc/dansguardian/languages/portuguese/messages
-etc/dansguardian/languages/portuguese/template.html
-etc/dansguardian/languages/turkish/messages
-etc/dansguardian/languages/turkish/template.html
-etc/dansguardian/languages/ukenglish/messages
-etc/dansguardian/languages/ukenglish/template.html
-%%PHRASELISTS%%etc/dansguardian/phraselists/chat/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/drugadvocacy/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/dutchbadwords/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/frenchbadwords/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/gambling/banned
-%%PHRASELISTS%%etc/dansguardian/phraselists/gambling/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/germanpornography/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/goodphrases/exception
-%%PHRASELISTS%%etc/dansguardian/phraselists/goodphrases/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/gore/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/illegaldrugs/banned
-%%PHRASELISTS%%etc/dansguardian/phraselists/illegaldrugs/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/intolerance/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/italianbadwords/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/legaldrugs/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/personals/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/pornography/banned
-%%PHRASELISTS%%etc/dansguardian/phraselists/pornography/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/violence/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/warezhacking/weighted
-%%PHRASELISTS%%etc/dansguardian/phraselists/weapons/weighted
-etc/rc.d/start-dg.sh
+@exec mkdir -p etc/dansguardian/contentscanners
+@exec mkdir -p etc/dansguardian/downloadmanagers
+@exec mkdir -p etc/dansguardian/lists
+@exec mkdir -p etc/dansguardian/lists/contentscanners
+@exec mkdir -p etc/dansguardian/lists/phraselists
+@exec mkdir -p etc/dansguardian/lists/phraselists/badwords
+@exec mkdir -p etc/dansguardian/lists/phraselists/chat
+@exec mkdir -p etc/dansguardian/lists/phraselists/drugadvocacy
+@exec mkdir -p etc/dansguardian/lists/phraselists/gambling
+@exec mkdir -p etc/dansguardian/lists/phraselists/games
+@exec mkdir -p etc/dansguardian/lists/phraselists/goodphrases
+@exec mkdir -p etc/dansguardian/lists/phraselists/googlesearches
+@exec mkdir -p etc/dansguardian/lists/phraselists/gore
+@exec mkdir -p etc/dansguardian/lists/phraselists/illegaldrugs
+@exec mkdir -p etc/dansguardian/lists/phraselists/intolerance
+@exec mkdir -p etc/dansguardian/lists/phraselists/legaldrugs
+@exec mkdir -p etc/dansguardian/lists/phraselists/malware
+@exec mkdir -p etc/dansguardian/lists/phraselists/news
+@exec mkdir -p etc/dansguardian/lists/phraselists/nudism
+@exec mkdir -p etc/dansguardian/lists/phraselists/peer2peer
+@exec mkdir -p etc/dansguardian/lists/phraselists/personals
+@exec mkdir -p etc/dansguardian/lists/phraselists/pornography
+@exec mkdir -p etc/dansguardian/lists/phraselists/proxies
+@exec mkdir -p etc/dansguardian/lists/phraselists/sport
+@exec mkdir -p etc/dansguardian/lists/phraselists/violence
+@exec mkdir -p etc/dansguardian/lists/phraselists/warezhacking
+@exec mkdir -p etc/dansguardian/lists/phraselists/weapons
+@exec mkdir -p etc/dansguardian/lists/phraselists/webmail
+@exec mkdir -p %%DATADIR%%
+@exec mkdir -p %%DATADIR%%/languages
+@exec mkdir -p %%DATADIR%%/languages/arspanish
+@exec mkdir -p %%DATADIR%%/languages/bulgarian
+@exec mkdir -p %%DATADIR%%/languages/chinesebig5
+@exec mkdir -p %%DATADIR%%/languages/chinesegb2312
+@exec mkdir -p %%DATADIR%%/languages/czech
+@exec mkdir -p %%DATADIR%%/languages/danish
+@exec mkdir -p %%DATADIR%%/languages/dutch
+@exec mkdir -p %%DATADIR%%/languages/french
+@exec mkdir -p %%DATADIR%%/languages/german
+@exec mkdir -p %%DATADIR%%/languages/hebrew
+@exec mkdir -p %%DATADIR%%/languages/indonesian
+@exec mkdir -p %%DATADIR%%/languages/italian
+@exec mkdir -p %%DATADIR%%/languages/lithuanian
+@exec mkdir -p %%DATADIR%%/languages/mxspanish
+@exec mkdir -p %%DATADIR%%/languages/polish
+@exec mkdir -p %%DATADIR%%/languages/portuguese
+@exec mkdir -p %%DATADIR%%/languages/russian-1251
+@exec mkdir -p %%DATADIR%%/languages/russian-koi8-r
+@exec mkdir -p %%DATADIR%%/languages/slovak
+@exec mkdir -p %%DATADIR%%/languages/swedish
+@exec mkdir -p %%DATADIR%%/languages/turkish
+@exec mkdir -p %%DATADIR%%/languages/ukenglish
+@exec mkdir -p %%DATADIR%%/scripts
sbin/dansguardian
-www/cgi-bin/dansguardian.pl.dist
-@dirrm etc/dansguardian/languages/arspanish
-@dirrm etc/dansguardian/languages/bulgarian
-@dirrm etc/dansguardian/languages/chinesebig5
-@dirrm etc/dansguardian/languages/chinesegb2312
-@dirrm etc/dansguardian/languages/czech
-@dirrm etc/dansguardian/languages/danish
-@dirrm etc/dansguardian/languages/dutch
-@dirrm etc/dansguardian/languages/french
-@dirrm etc/dansguardian/languages/german
-@dirrm etc/dansguardian/languages/german2
-@dirrm etc/dansguardian/languages/indonesian
-@dirrm etc/dansguardian/languages/italian
-@dirrm etc/dansguardian/languages/lithuanian
-@dirrm etc/dansguardian/languages/mxspanish
-@dirrm etc/dansguardian/languages/polish
-@dirrm etc/dansguardian/languages/portuguese
-@dirrm etc/dansguardian/languages/turkish
-@dirrm etc/dansguardian/languages/ukenglish
-@dirrm etc/dansguardian/languages
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/chat
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/drugadvocacy
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/dutchbadwords
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/frenchbadwords
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/gambling
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/germanpornography
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/goodphrases
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/gore
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/illegaldrugs
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/intolerance
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/italianbadwords
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/legaldrugs
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/personals
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/pornography
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/violence
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/warezhacking
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists/weapons
-%%PHRASELISTS%%@dirrm etc/dansguardian/phraselists
+%%DATADIR%%/languages/arspanish/messages
+%%DATADIR%%/languages/arspanish/template.html
+%%DATADIR%%/languages/czech/messages
+%%DATADIR%%/languages/czech/template.html
+%%DATADIR%%/languages/hebrew/messages
+%%DATADIR%%/languages/hebrew/template.html
+%%DATADIR%%/languages/turkish/messages
+%%DATADIR%%/languages/turkish/template.html
+%%DATADIR%%/languages/bulgarian/messages
+%%DATADIR%%/languages/bulgarian/template.html
+%%DATADIR%%/languages/danish/messages
+%%DATADIR%%/languages/danish/template.html
+%%DATADIR%%/languages/indonesian/messages
+%%DATADIR%%/languages/indonesian/template.html
+%%DATADIR%%/languages/russian-1251/messages
+%%DATADIR%%/languages/russian-1251/template.html
+%%DATADIR%%/languages/ukenglish/messages
+%%DATADIR%%/languages/ukenglish/template.html
+%%DATADIR%%/languages/chinesebig5/messages
+%%DATADIR%%/languages/chinesebig5/template.html
+%%DATADIR%%/languages/dutch/messages
+%%DATADIR%%/languages/dutch/template.html
+%%DATADIR%%/languages/italian/messages
+%%DATADIR%%/languages/italian/template.html
+%%DATADIR%%/languages/mxspanish/messages
+%%DATADIR%%/languages/mxspanish/template.html
+%%DATADIR%%/languages/russian-koi8-r/messages
+%%DATADIR%%/languages/russian-koi8-r/template.html
+%%DATADIR%%/languages/chinesegb2312/messages
+%%DATADIR%%/languages/chinesegb2312/template.html
+%%DATADIR%%/languages/french/messages
+%%DATADIR%%/languages/french/template.html
+%%DATADIR%%/languages/lithuanian/messages
+%%DATADIR%%/languages/lithuanian/template.html
+%%DATADIR%%/languages/polish/messages
+%%DATADIR%%/languages/polish/template.html
+%%DATADIR%%/languages/slovak/messages
+%%DATADIR%%/languages/slovak/template.html
+%%DATADIR%%/languages/german/messages
+%%DATADIR%%/languages/german/template.html
+%%DATADIR%%/languages/portuguese/messages
+%%DATADIR%%/languages/portuguese/template.html
+%%DATADIR%%/languages/swedish/messages
+%%DATADIR%%/languages/swedish/template.html
+%%DATADIR%%/transparent1x1.gif
+%%DATADIR%%/dansguardian.pl
+%%DATADIR%%/scripts/dansguardian
+%%DATADIR%%/scripts/logrotation
+%%DATADIR%%/scripts/bsd-init
+%%DATADIR%%/scripts/solaris-init
+%%DATADIR%%/scripts/systemv-init
+etc/dansguardian/lists/phraselists/badwords/weighted_dutch
+etc/dansguardian/lists/phraselists/badwords/weighted_french
+etc/dansguardian/lists/phraselists/badwords/weighted_german
+etc/dansguardian/lists/phraselists/badwords/weighted_portuguese
+etc/dansguardian/lists/phraselists/badwords/weighted_spanish
+etc/dansguardian/lists/phraselists/chat/weighted
+etc/dansguardian/lists/phraselists/chat/weighted_italian
+etc/dansguardian/lists/phraselists/drugadvocacy/weighted
+etc/dansguardian/lists/phraselists/gambling/weighted
+etc/dansguardian/lists/phraselists/gambling/weighted_portuguese
+etc/dansguardian/lists/phraselists/gambling/banned
+etc/dansguardian/lists/phraselists/gambling/banned_portuguese
+etc/dansguardian/lists/phraselists/games/weighted
+etc/dansguardian/lists/phraselists/goodphrases/weighted_general
+etc/dansguardian/lists/phraselists/goodphrases/weighted_general_danish
+etc/dansguardian/lists/phraselists/goodphrases/weighted_general_portuguese
+etc/dansguardian/lists/phraselists/goodphrases/weighted_news
+etc/dansguardian/lists/phraselists/goodphrases/exception
+etc/dansguardian/lists/phraselists/goodphrases/exception_email
+etc/dansguardian/lists/phraselists/googlesearches/banned
+etc/dansguardian/lists/phraselists/gore/weighted
+etc/dansguardian/lists/phraselists/gore/weighted_portuguese
+etc/dansguardian/lists/phraselists/illegaldrugs/weighted
+etc/dansguardian/lists/phraselists/illegaldrugs/weighted_portuguese
+etc/dansguardian/lists/phraselists/illegaldrugs/banned
+etc/dansguardian/lists/phraselists/intolerance/weighted
+etc/dansguardian/lists/phraselists/intolerance/weighted_portuguese
+etc/dansguardian/lists/phraselists/intolerance/banned_portuguese
+etc/dansguardian/lists/phraselists/legaldrugs/weighted
+etc/dansguardian/lists/phraselists/malware/weighted
+etc/dansguardian/lists/phraselists/news/weighted
+etc/dansguardian/lists/phraselists/nudism/weighted
+etc/dansguardian/lists/phraselists/peer2peer/weighted
+etc/dansguardian/lists/phraselists/personals/weighted
+etc/dansguardian/lists/phraselists/personals/weighted_portuguese
+etc/dansguardian/lists/phraselists/pornography/weighted
+etc/dansguardian/lists/phraselists/pornography/weighted_danish
+etc/dansguardian/lists/phraselists/pornography/weighted_dutch
+etc/dansguardian/lists/phraselists/pornography/weighted_french
+etc/dansguardian/lists/phraselists/pornography/weighted_german
+etc/dansguardian/lists/phraselists/pornography/weighted_italian
+etc/dansguardian/lists/phraselists/pornography/weighted_portuguese
+etc/dansguardian/lists/phraselists/pornography/weighted_spanish
+etc/dansguardian/lists/phraselists/pornography/banned
+etc/dansguardian/lists/phraselists/pornography/banned_portuguese
+etc/dansguardian/lists/phraselists/proxies/weighted
+etc/dansguardian/lists/phraselists/sport/weighted
+etc/dansguardian/lists/phraselists/violence/weighted
+etc/dansguardian/lists/phraselists/violence/weighted_portuguese
+etc/dansguardian/lists/phraselists/warezhacking/weighted
+etc/dansguardian/lists/phraselists/weapons/weighted
+etc/dansguardian/lists/phraselists/weapons/weighted_portuguese
+etc/dansguardian/lists/phraselists/webmail/weighted
+etc/dansguardian/lists/bannedextensionlist
+etc/dansguardian/lists/bannediplist
+etc/dansguardian/lists/bannedmimetypelist
+etc/dansguardian/lists/bannedregexpurllist
+etc/dansguardian/lists/bannedsitelist
+etc/dansguardian/lists/bannedurllist
+etc/dansguardian/lists/banneduserlist
+etc/dansguardian/lists/contentregexplist
+etc/dansguardian/lists/exceptioniplist
+etc/dansguardian/lists/exceptionsitelist
+etc/dansguardian/lists/exceptionurllist
+etc/dansguardian/lists/exceptionuserlist
+etc/dansguardian/lists/filtergroupslist
+etc/dansguardian/lists/greysitelist
+etc/dansguardian/lists/greyurllist
+etc/dansguardian/lists/pics
+etc/dansguardian/lists/bannedphraselist
+etc/dansguardian/lists/weightedphraselist
+etc/dansguardian/lists/exceptionphraselist
+etc/dansguardian/lists/urlregexplist
+etc/dansguardian/lists/exceptionregexpurllist
+etc/dansguardian/lists/contentscanners/exceptionvirusmimetypelist
+etc/dansguardian/lists/contentscanners/exceptionvirusextensionlist
+etc/dansguardian/lists/contentscanners/exceptionvirussitelist
+etc/dansguardian/lists/contentscanners/exceptionvirusurllist
+etc/dansguardian/downloadmanagers/default.conf
+etc/dansguardian/downloadmanagers/fancy.conf
+etc/dansguardian/contentscanners/clamav.conf
+etc/dansguardian/contentscanners/clamdscan.conf
+etc/dansguardian/contentscanners/icapscan.conf
+etc/dansguardian/contentscanners/kavav.conf
+etc/dansguardian/contentscanners/kavdscan.conf
+etc/dansguardian/dansguardian.conf
+etc/dansguardian/dansguardianf1.conf
+etc/rc.d/start-dg.sh
+@dirrm %%DATADIR%%/scripts
+@dirrm %%DATADIR%%/languages/arspanish
+@dirrm %%DATADIR%%/languages/bulgarian
+@dirrm %%DATADIR%%/languages/chinesebig5
+@dirrm %%DATADIR%%/languages/chinesegb2312
+@dirrm %%DATADIR%%/languages/czech
+@dirrm %%DATADIR%%/languages/danish
+@dirrm %%DATADIR%%/languages/dutch
+@dirrm %%DATADIR%%/languages/french
+@dirrm %%DATADIR%%/languages/german
+@dirrm %%DATADIR%%/languages/hebrew
+@dirrm %%DATADIR%%/languages/indonesian
+@dirrm %%DATADIR%%/languages/italian
+@dirrm %%DATADIR%%/languages/lithuanian
+@dirrm %%DATADIR%%/languages/mxspanish
+@dirrm %%DATADIR%%/languages/polish
+@dirrm %%DATADIR%%/languages/portuguese
+@dirrm %%DATADIR%%/languages/russian-1251
+@dirrm %%DATADIR%%/languages/russian-koi8-r
+@dirrm %%DATADIR%%/languages/slovak
+@dirrm %%DATADIR%%/languages/swedish
+@dirrm %%DATADIR%%/languages/turkish
+@dirrm %%DATADIR%%/languages/ukenglish
+@dirrm %%DATADIR%%/languages
+@dirrm %%DATADIR%%
+@dirrm etc/dansguardian/lists/contentscanners
+@dirrm etc/dansguardian/lists/phraselists/badwords
+@dirrm etc/dansguardian/lists/phraselists/chat
+@dirrm etc/dansguardian/lists/phraselists/drugadvocacy
+@dirrm etc/dansguardian/lists/phraselists/gambling
+@dirrm etc/dansguardian/lists/phraselists/games
+@dirrm etc/dansguardian/lists/phraselists/goodphrases
+@dirrm etc/dansguardian/lists/phraselists/googlesearches
+@dirrm etc/dansguardian/lists/phraselists/gore
+@dirrm etc/dansguardian/lists/phraselists/illegaldrugs
+@dirrm etc/dansguardian/lists/phraselists/intolerance
+@dirrm etc/dansguardian/lists/phraselists/legaldrugs
+@dirrm etc/dansguardian/lists/phraselists/malware
+@dirrm etc/dansguardian/lists/phraselists/news
+@dirrm etc/dansguardian/lists/phraselists/nudism
+@dirrm etc/dansguardian/lists/phraselists/peer2peer
+@dirrm etc/dansguardian/lists/phraselists/personals
+@dirrm etc/dansguardian/lists/phraselists/pornography
+@dirrm etc/dansguardian/lists/phraselists/proxies
+@dirrm etc/dansguardian/lists/phraselists/sport
+@dirrm etc/dansguardian/lists/phraselists/violence
+@dirrm etc/dansguardian/lists/phraselists/warezhacking
+@dirrm etc/dansguardian/lists/phraselists/weapons
+@dirrm etc/dansguardian/lists/phraselists/webmail
+@dirrm etc/dansguardian/lists/phraselists
+@dirrm etc/dansguardian/lists
+@dirrm etc/dansguardian/downloadmanagers
+@dirrm etc/dansguardian/contentscanners
@dirrm etc/dansguardian
@unexec echo If permanently deleting this package, /var/log/dansguardian.log must be removed manually
@unexec echo If permanently deleting this package, custom configuration files must be removed manually