Date: Wed, 7 Jan 2004 16:02:34 -0800 (PST) From: Freddie Cash <fcash@sd73.bc.ca> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61048: [maintainer update] www/dansguardian to version 2.6.1-11 Message-ID: <20040108000234.0CD7880AA@spark.sd73.bc.ca> Resent-Message-ID: <200401080010.i080AH6n076093@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61048 >Category: ports >Synopsis: [maintainer update] www/dansguardian to version 2.6.1-11 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jan 07 16:10:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: Freddie Cash >Release: FreeBSD 5.2-RC i386 >Organization: School District 73 >Environment: System: FreeBSD spark.sd73.bc.ca 5.2-RC FreeBSD 5.2-RC #6: Tue Jan 6 14:42:29 PST 2004 root@spark.sd73.bc.ca:/usr/obj/usr/src/sys/SPARK i386 >Description: Updates the www/dansguardian port to the latest stable version: 2.6.1-11 Port Changes: - added support for the new CONFLICTS variable - changed the dependency to use www/squid instead of www/squid24 - improved the wording of several comments in the various port files - all installed configuration files now have a .dist extension to prevent portupgrade from nuking your custom config - port now only deletes the config files with .dist extension - removed the no-longer needed FatController.cpp patch - added restart and graceful options to the startup script (patch submitted to DG coder) >How-To-Repeat: >Fix: --- dansguardian-2.6.1-11.diff begins here --- diff -ruN dansguardian.orig/Makefile dansguardian/Makefile --- dansguardian.orig/Makefile Wed Jan 7 00:33:41 2004 +++ dansguardian/Makefile Wed Jan 7 15:27:05 2004 @@ -2,11 +2,11 @@ # Date created: March 26, 2002 # Whom: Freddie Cash <fcash@sd73.bc.ca> # -# $FreeBSD: ports/www/dansguardian/Makefile,v 1.11 2004/01/07 08:33:41 linimon Exp $ +# $FreeBSD: ports/www/dansguardian/Makefile,v 1.10 2003/11/07 09:12:49 marcus Exp $ # PORTNAME= dansguardian -PORTVERSION= 2.6.1.6 +PORTVERSION= 2.6.1.11 CATEGORIES= www MASTER_SITES= # empty, see below DISTNAME= DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source @@ -14,7 +14,7 @@ MAINTAINER= fcash@sd73.bc.ca COMMENT= A fast, feature-rich web content filter for Squid proxy servers -RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24:install \ +RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid:install \ ${LOCALBASE}/sbin/httpd:${PORTSDIR}/${APACHE_PORT}:install CONFLICTS= dansguardian-devel diff -ruN dansguardian.orig/distinfo dansguardian/distinfo --- dansguardian.orig/distinfo Wed Jan 7 00:33:41 2004 +++ dansguardian/distinfo Wed Jan 7 11:07:36 2004 @@ -1 +1 @@ -MD5 (DansGuardian-2.6.1-6.source.tar.gz) = 9f550a23fd692f3df0850b93dfefaf14 +MD5 (DansGuardian-2.6.1-11.source.tar.gz) = 74f30ec2f7915f1ea72ff03332359889 diff -ruN dansguardian.orig/files/patch-autoconf::bsdv.in dansguardian/files/patch-autoconf::bsdv.in --- dansguardian.orig/files/patch-autoconf::bsdv.in Wed Sep 3 18:09:23 2003 +++ dansguardian/files/patch-autoconf::bsdv.in Wed Jan 7 11:28:48 2004 @@ -1,6 +1,6 @@ ---- autoconf/bsdv.in.orig Mon Jul 7 12:04:33 2003 -+++ autoconf/bsdv.in Mon Jul 7 12:07:11 2003 -@@ -1,16 +1,26 @@ +--- autoconf/bsdv.in.orig Wed Jan 7 11:28:16 2004 ++++ autoconf/bsdv.in Wed Jan 7 11:28:24 2004 +@@ -1,16 +1,32 @@ #!/bin/sh # -# BSD startup script for dansguardian @@ -15,9 +15,9 @@ +# banned phrases, MIME types, filename # extensions and PICS labling. # processname: dansguardian - + - --# See how we were called. + # See how we were called. - case "$1" in start) @@ -29,9 +29,14 @@ + rm -f /tmp/.dguardianipc + echo -n " dansguardian" + ;; ++restart) ++ /usr/local/sbin/dansguardian -r ++ ;; ++graceful) ++ /usr/local/sbin/dansguardian -g ++ ;; +*) -+ echo "Usage: $0 {start|stop|restart}" ++ echo "Usage: $0 {start|stop|restart|graceful}" + ;; +esac +exit 0 -+ diff -ruN dansguardian.orig/files/patch-autoconf::fbsd.in dansguardian/files/patch-autoconf::fbsd.in --- dansguardian.orig/files/patch-autoconf::fbsd.in Wed Jan 7 00:33:41 2004 +++ dansguardian/files/patch-autoconf::fbsd.in Wed Jan 7 14:49:03 2004 @@ -1,5 +1,5 @@ ---- autoconf/fbsd.in.orig Wed Nov 19 16:06:41 2003 -+++ autoconf/fbsd.in Mon Nov 24 11:14:17 2003 +--- autoconf/fbsd.in.orig Tue Dec 23 16:17:18 2003 ++++ autoconf/fbsd.in Wed Jan 7 14:48:42 2004 @@ -20,7 +20,7 @@ logrotate.dansguardian @@ -9,17 +9,31 @@ PASSVARS += -DCONFFILELOCATION=\"${CONFFILELOCATION}dansguardian.conf\" PASSVARS += -DPIDDIR=\"${PIDDIR}\" -@@ -41,52 +41,83 @@ - $(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$(CGIBINLOCATION) || install -d $I$(CGIBINLOCATION) -- @test -d $I$(MANUALFILES)man8/ || install -d $I$(MANUALFILES)man8/ +@@ -44,49 +44,79 @@ + @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)phraselists/chat || install -d $I$(CONFFILELOCATION)phraselists/chat ++ @test -d $I$(CONFFILELOCATION)phraselists/drugadvocacy || install -d $I$(CONFFILELOCATION)phraselists/drugadvocacy ++ @test -d $I$(CONFFILELOCATION)phraselists/dutchbadwords || install -d $I$(CONFFILELOCATION)phraselists/dutchbadwords ++ @test -d $I$(CONFFILELOCATION)phraselists/frenchbadwords || install -d $I$(CONFFILELOCATION)phraselists/frenchbadwords ++ @test -d $I$(CONFFILELOCATION)phraselists/gambling || install -d $I$(CONFFILELOCATION)phraselists/gambling ++ @test -d $I$(CONFFILELOCATION)phraselists/germanpornography || install -d $I$(CONFFILELOCATION)phraselists/germanpornography ++ @test -d $I$(CONFFILELOCATION)phraselists/goodphrases || install -d $I$(CONFFILELOCATION)phraselists/goodphrases ++ @test -d $I$(CONFFILELOCATION)phraselists/gore || install -d $I$(CONFFILELOCATION)phraselists/gore ++ @test -d $I$(CONFFILELOCATION)phraselists/illegaldrugs || install -d $I$(CONFFILELOCATION)phraselists/illegaldrugs ++ @test -d $I$(CONFFILELOCATION)phraselists/intolerance || install -d $I$(CONFFILELOCATION)phraselists/intolerance ++ @test -d $I$(CONFFILELOCATION)phraselists/italianbadwords || install -d $I$(CONFFILELOCATION)phraselists/italianbadwords ++ @test -d $I$(CONFFILELOCATION)phraselists/legaldrugs || install -d $I$(CONFFILELOCATION)phraselists/legaldrugs ++ @test -d $I$(CONFFILELOCATION)phraselists/personals || install -d $I$(CONFFILELOCATION)phraselists/personals ++ @test -d $I$(CONFFILELOCATION)phraselists/pornography || install -d $I$(CONFFILELOCATION)phraselists/pornography ++ @test -d $I$(CONFFILELOCATION)phraselists/violence || install -d $I$(CONFFILELOCATION)phraselists/violence ++ @test -d $I$(CONFFILELOCATION)phraselists/warezhacking || install -d $I$(CONFFILELOCATION)phraselists/warezhacking ++ @test -d $I$(CONFFILELOCATION)phraselists/weapons || install -d $I$(CONFFILELOCATION)phraselists/weapons + @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) + @test -d $I$(BINARYLOCATION) || install -d $I$(BINARYLOCATION) - cp -f ./dansguardian $I$(BINARYLOCATION)dansguardian - cp -f ./dansguardian.conf $I$(CONFFILELOCATION)dansguardian.conf - cp -f ./bannedphraselist $I$(CONFFILELOCATION)bannedphraselist @@ -50,86 +64,62 @@ - chmod -R u+wr $I$(LOGLOCATION) - chmod u+wrx $I$(LOGLOCATION) - if [ -d $(LOGROTATELOCATION) ]; then cp -f ./logrotate.dansguardian $I$(LOGROTATELOCATION)dansguardian; fi -+ install -d $I$(CONFFILELOCATION) -+ install -d $I$(CONFFILELOCATION)phraselists -+ install -d $I$(CONFFILELOCATION)phraselists/chat -+ install -d $I$(CONFFILELOCATION)phraselists/drugadvocacy -+ install -d $I$(CONFFILELOCATION)phraselists/dutchbadwords -+ install -d $I$(CONFFILELOCATION)phraselists/frenchbadwords -+ install -d $I$(CONFFILELOCATION)phraselists/gambling -+ install -d $I$(CONFFILELOCATION)phraselists/germanpornography -+ install -d $I$(CONFFILELOCATION)phraselists/goodphrases -+ install -d $I$(CONFFILELOCATION)phraselists/gore -+ install -d $I$(CONFFILELOCATION)phraselists/illegaldrugs -+ install -d $I$(CONFFILELOCATION)phraselists/intolerance -+ install -d $I$(CONFFILELOCATION)phraselists/italianbadwords -+ install -d $I$(CONFFILELOCATION)phraselists/legaldrugs -+ install -d $I$(CONFFILELOCATION)phraselists/personals -+ install -d $I$(CONFFILELOCATION)phraselists/pornography -+ install -d $I$(CONFFILELOCATION)phraselists/violence -+ install -d $I$(CONFFILELOCATION)phraselists/warezhacking -+ install -d $I$(CONFFILELOCATION)phraselists/weapons -+ install -d $I$(CGIBINLOCATION) -+ install -d $I$(MANUALFILES)man8/ -+ install -d $I$(LOGLOCATION) -+ install -d $I$(BINARYLOCATION) + install -o root -g wheel -m 755 ./dansguardian $I$(BINARYLOCATION)dansguardian -+ install -o root -g wheel -m 644 ./dansguardian.conf $I$(CONFFILELOCATION)dansguardian.conf -+ install -o root -g wheel -m 644 ./bannedphraselist $I$(CONFFILELOCATION)bannedphraselist -+ install -o root -g wheel -m 644 ./exceptionphraselist $I$(CONFFILELOCATION)exceptionphraselist -+ install -o root -g wheel -m 644 ./weightedphraselist $I$(CONFFILELOCATION)weightedphraselist -+ install -o root -g wheel -m 644 ./phraselists/chat/weighted $I$(CONFFILELOCATION)phraselists/chat/weighted -+ install -o root -g wheel -m 644 ./phraselists/drugadvocacy/weighted $I$(CONFFILELOCATION)phraselists/drugadvocacy/weighted -+ install -o root -g wheel -m 644 ./phraselists/dutchbadwords/weighted $I$(CONFFILELOCATION)phraselists/dutchbadwords/weighted -+ install -o root -g wheel -m 644 ./phraselists/frenchbadwords/weighted $I$(CONFFILELOCATION)phraselists/frenchbadwords/weighted -+ install -o root -g wheel -m 644 ./phraselists/gambling/banned $I$(CONFFILELOCATION)phraselists/gambling/banned -+ install -o root -g wheel -m 644 ./phraselists/gambling/weighted $I$(CONFFILELOCATION)phraselists/gambling/weighted -+ install -o root -g wheel -m 644 ./phraselists/germanpornography/weighted $I$(CONFFILELOCATION)phraselists/germanpornography/weighted -+ install -o root -g wheel -m 644 ./phraselists/goodphrases/exception $I$(CONFFILELOCATION)phraselists/goodphrases/exception -+ install -o root -g wheel -m 644 ./phraselists/goodphrases/weighted $I$(CONFFILELOCATION)phraselists/goodphrases/weighted -+ install -o root -g wheel -m 644 ./phraselists/gore/weighted $I$(CONFFILELOCATION)phraselists/gore/weighted -+ install -o root -g wheel -m 644 ./phraselists/illegaldrugs/banned $I$(CONFFILELOCATION)phraselists/illegaldrugs/banned -+ install -o root -g wheel -m 644 ./phraselists/illegaldrugs/weighted $I$(CONFFILELOCATION)phraselists/illegaldrugs/weighted -+ install -o root -g wheel -m 644 ./phraselists/intolerance/banned $I$(CONFFILELOCATION)phraselists/intolerance/banned -+ install -o root -g wheel -m 644 ./phraselists/intolerance/weighted $I$(CONFFILELOCATION)phraselists/intolerance/weighted -+ install -o root -g wheel -m 644 ./phraselists/italianbadwords/weighted $I$(CONFFILELOCATION)phraselists/italianbadwords/weighted -+ install -o root -g wheel -m 644 ./phraselists/legaldrugs/weighted $I$(CONFFILELOCATION)phraselists/legaldrugs/weighted -+ install -o root -g wheel -m 644 ./phraselists/personals/weighted $I$(CONFFILELOCATION)phraselists/personals/weighted -+ install -o root -g wheel -m 644 ./phraselists/pornography/banned $I$(CONFFILELOCATION)phraselists/pornography/banned -+ install -o root -g wheel -m 644 ./phraselists/pornography/weighted $I$(CONFFILELOCATION)phraselists/pornography/weighted -+ install -o root -g wheel -m 644 ./phraselists/violence/weighted $I$(CONFFILELOCATION)phraselists/violence/weighted -+ install -o root -g wheel -m 644 ./phraselists/warezhacking/weighted $I$(CONFFILELOCATION)phraselists/warezhacking/weighted -+ install -o root -g wheel -m 644 ./phraselists/weapons/weighted $I$(CONFFILELOCATION)phraselists/weapons/weighted -+ install -o root -g wheel -m 644 ./bannediplist $I$(CONFFILELOCATION)bannediplist -+ install -o root -g wheel -m 644 ./banneduserlist $I$(CONFFILELOCATION)banneduserlist -+ install -o root -g wheel -m 644 ./bannedextensionlist $I$(CONFFILELOCATION)bannedextensionlist -+ install -o root -g wheel -m 644 ./bannedmimetypelist $I$(CONFFILELOCATION)bannedmimetypelist -+ install -o root -g wheel -m 644 ./bannedurllist $I$(CONFFILELOCATION)bannedurllist -+ install -o root -g wheel -m 644 ./bannedregexpurllist $I$(CONFFILELOCATION)bannedregexpurllist -+ install -o root -g wheel -m 644 ./bannedsitelist $I$(CONFFILELOCATION)bannedsitelist -+ install -o root -g wheel -m 644 ./contentregexplist $I$(CONFFILELOCATION)contentregexplist -+ install -o root -g wheel -m 644 ./exceptionsitelist $I$(CONFFILELOCATION)exceptionsitelist -+ install -o root -g wheel -m 644 ./exceptionurllist $I$(CONFFILELOCATION)exceptionurllist -+ install -o root -g wheel -m 644 ./exceptionuserlist $I$(CONFFILELOCATION)exceptionuserlist -+ install -o root -g wheel -m 644 ./exceptioniplist $I$(CONFFILELOCATION)exceptioniplist -+ install -o root -g wheel -m 644 ./pics $I$(CONFFILELOCATION)pics -+ install -o root -g wheel -m 644 ./template.html $I$(CONFFILELOCATION)template.html -+ install -o root -g wheel -m 644 ./messages $I$(CONFFILELOCATION)messages -+ install -o root -g wheel -m 755 ./dansguardian.bsdv $I$(SYSVLOCATION)start-dg.sh -+ install -o root -g wheel -m 755 ./dansguardian.pl $I$(CGIBINLOCATION)dansguardian.pl ++ 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 ./phraselists/chat/weighted $I$(CONFFILELOCATION)phraselists/chat/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/drugadvocacy/weighted $I$(CONFFILELOCATION)phraselists/drugadvocacy/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/dutchbadwords/weighted $I$(CONFFILELOCATION)phraselists/dutchbadwords/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/frenchbadwords/weighted $I$(CONFFILELOCATION)phraselists/frenchbadwords/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/gambling/banned $I$(CONFFILELOCATION)phraselists/gambling/banned.dist ++ install -o root -g wheel -m 644 ./phraselists/gambling/weighted $I$(CONFFILELOCATION)phraselists/gambling/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/germanpornography/weighted $I$(CONFFILELOCATION)phraselists/germanpornography/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/goodphrases/exception $I$(CONFFILELOCATION)phraselists/goodphrases/exception.dist ++ install -o root -g wheel -m 644 ./phraselists/goodphrases/weighted $I$(CONFFILELOCATION)phraselists/goodphrases/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/gore/weighted $I$(CONFFILELOCATION)phraselists/gore/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/illegaldrugs/banned $I$(CONFFILELOCATION)phraselists/illegaldrugs/banned.dist ++ install -o root -g wheel -m 644 ./phraselists/illegaldrugs/weighted $I$(CONFFILELOCATION)phraselists/illegaldrugs/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/intolerance/weighted $I$(CONFFILELOCATION)phraselists/intolerance/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/italianbadwords/weighted $I$(CONFFILELOCATION)phraselists/italianbadwords/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/legaldrugs/weighted $I$(CONFFILELOCATION)phraselists/legaldrugs/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/personals/weighted $I$(CONFFILELOCATION)phraselists/personals/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/pornography/banned $I$(CONFFILELOCATION)phraselists/pornography/banned.dist ++ install -o root -g wheel -m 644 ./phraselists/pornography/weighted $I$(CONFFILELOCATION)phraselists/pornography/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/violence/weighted $I$(CONFFILELOCATION)phraselists/violence/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/warezhacking/weighted $I$(CONFFILELOCATION)phraselists/warezhacking/weighted.dist ++ install -o root -g wheel -m 644 ./phraselists/weapons/weighted $I$(CONFFILELOCATION)phraselists/weapons/weighted.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 ./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 ./template.html $I$(CONFFILELOCATION)template.html.dist ++ install -o root -g wheel -m 644 ./messages $I$(CONFFILELOCATION)messages.dist ++ install -o root -g wheel -m 755 ./dansguardian.bsdv $I$(SYSVLOCATION)start-dg.sh.dist ++ 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 ++ @test -f $I$(LOGLOCATION)/dansguardian.log || install -o nobody -g nogroup -m 644 /dev/null $I$(LOGLOCATION)dansguardian.log uninstall: rm -f $(BINARYLOCATION)dansguardian rm -f $(SYSVLOCATION)dansguardian rm -f $(CGIBINLOCATION)dansguardian.pl - rm -f $(MANUALFILES)man8/dansguardian.8.gz -+ rm -f $(MANUALFILES)man8/dansguardian.8* ++ rm -fr $(MANUALFILES)man8/dansguardian.8* rm -fr $(CONFFILELOCATION) - rm -fr $(LOGLOCATION) - if [ -f $(LOGROTATELOCATION)dansguardian ]; then rm -f $(LOGROTATELOCATION)dansguardian; fi -+ rm -fr $(LOGLOCATION)dansguardian.log ++ rm -f $(LOGLOCATION)/dansguardian.log clean: rm -f $(OBJ) $(PROG) diff -ruN dansguardian.orig/files/patch-configure dansguardian/files/patch-configure --- dansguardian.orig/files/patch-configure Wed Sep 3 18:09:23 2003 +++ dansguardian/files/patch-configure Wed Jan 7 11:54:47 2004 @@ -1,5 +1,5 @@ ---- configure.orig Mon Jul 7 12:09:35 2003 -+++ configure Mon Jul 7 12:10:25 2003 +--- configure.orig Wed Jan 7 11:29:38 2004 ++++ configure Wed Jan 7 11:54:02 2004 @@ -2540,7 +2540,7 @@ $extendedecho "SYSVLOCATION = \${PREFIX}$sysvdir" >>Makefile $extendedecho "CGIBINLOCATION = \${PREFIX}$cgidir" >>Makefile @@ -46,6 +46,42 @@ echo "" >>logrotation case `uname -s` in +@@ -3098,7 +3077,7 @@ + ;; + FreeBSD*) + $extendedecho "$prefixdir$sysvdir\c" >>logrotation +- echo "dansguardian.sh stop > /dev/null" >>logrotation ++ echo "start-dg.sh stop > /dev/null" >>logrotation + echo "" >>logrotation + ;; + NetBSD*) +@@ -3114,7 +3093,7 @@ + Linux*) + $extendedecho "$prefixdir$sysvdir\c" >>logrotation + echo "dansguardian stop > /dev/null" >>logrotation +- echo "" >>logrotation ++ echo "" >>logrotation + ;; + esac + +@@ -3148,7 +3127,7 @@ + ;; + FreeBSD*) + $extendedecho "$prefixdir$sysvdir\c" >>logrotation +- echo "dansguardian.sh start > /dev/null" >>logrotation ++ echo "start-dg.sh start > /dev/null" >>logrotation + echo "" >>logrotation + ;; + NetBSD*) +@@ -3164,7 +3143,7 @@ + Linux*) + $extendedecho "$prefixdir$sysvdir\c" >>logrotation + echo "dansguardian start > /dev/null" >>logrotation +- echo "" >>logrotation ++ echo "" >>logrotation + ;; + esac + @@ -3176,7 +3155,7 @@ fi @@ -55,3 +91,48 @@ echo " rotate 4" >>logrotate.dansguardian echo " weekly" >>logrotate.dansguardian echo " sharedscripts" >>logrotate.dansguardian +@@ -3192,7 +3171,7 @@ + ;; + FreeBSD*) + $extendedecho " $prefixdir$sysvdir\c" >>logrotate.dansguardian +- echo "dansguardian.sh stop > /dev/null" >>logrotate.dansguardian ++ echo "start-dg.sh stop > /dev/null" >>logrotate.dansguardian + ;; + NetBSD*) + $extendedecho " $prefixdir$sysvdir\c" >>logrotate.dansguardian +@@ -3201,7 +3180,7 @@ + Darwin*) + $extendedecho " $prefixdir$sysvdir\c" >>logrotate.dansguardian + echo "dansguardian.sh stop > /dev/null" >>logrotate.dansguardian +- ;; ++ ;; + Linux*) + echo " killall dansguardian > /dev/null" >>logrotate.dansguardian + echo " sleep 5" >>logrotate.dansguardian +@@ -3223,7 +3202,7 @@ + ;; + FreeBSD*) + $extendedecho " $prefixdir$sysvdir\c" >>logrotate.dansguardian +- echo "dansguardian.sh start > /dev/null" >>logrotate.dansguardian ++ echo "start-dg.sh start > /dev/null" >>logrotate.dansguardian + ;; + NetBSD*) + $extendedecho " $prefixdir$sysvdir\c" >>logrotate.dansguardian +@@ -3232,7 +3211,7 @@ + Darwin*) + $extendedecho " $prefixdir$sysvdir\c" >>logrotate.dansguardian + echo "dansguardian.sh start > /dev/null" >>logrotate.dansguardian +- ;; ++ ;; + Linux*) + $extendedecho " $prefixdir$bindir\c" >>logrotate.dansguardian + echo "dansguardian > /dev/null" >>logrotate.dansguardian +@@ -3241,7 +3220,7 @@ + echo " endscript" >>logrotate.dansguardian + echo "}" >>logrotate.dansguardian + +-# END DansGuardian ++# END DansGuardian + + trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + diff -ruN dansguardian.orig/pkg-plist dansguardian/pkg-plist --- dansguardian.orig/pkg-plist Wed Jan 7 00:33:41 2004 +++ dansguardian/pkg-plist Wed Jan 7 15:09:35 2004 @@ -17,50 +17,49 @@ @exec mkdir -p etc/dansguardian/phraselists/violence @exec mkdir -p etc/dansguardian/phraselists/warezhacking @exec mkdir -p etc/dansguardian/phraselists/weapons -etc/dansguardian/bannedextensionlist -etc/dansguardian/bannediplist -etc/dansguardian/bannedmimetypelist -etc/dansguardian/bannedphraselist -etc/dansguardian/bannedregexpurllist -etc/dansguardian/bannedsitelist -etc/dansguardian/bannedurllist -etc/dansguardian/banneduserlist -etc/dansguardian/contentregexplist -etc/dansguardian/dansguardian.conf -etc/dansguardian/exceptioniplist -etc/dansguardian/exceptionphraselist -etc/dansguardian/exceptionsitelist -etc/dansguardian/exceptionurllist -etc/dansguardian/exceptionuserlist -etc/dansguardian/messages -etc/dansguardian/phraselists/chat/weighted -etc/dansguardian/phraselists/drugadvocacy/weighted -etc/dansguardian/phraselists/dutchbadwords/weighted -etc/dansguardian/phraselists/frenchbadwords/weighted -etc/dansguardian/phraselists/gambling/banned -etc/dansguardian/phraselists/gambling/weighted -etc/dansguardian/phraselists/germanpornography/weighted -etc/dansguardian/phraselists/goodphrases/exception -etc/dansguardian/phraselists/goodphrases/weighted -etc/dansguardian/phraselists/gore/weighted -etc/dansguardian/phraselists/illegaldrugs/banned -etc/dansguardian/phraselists/illegaldrugs/weighted -etc/dansguardian/phraselists/intolerance/banned -etc/dansguardian/phraselists/intolerance/weighted -etc/dansguardian/phraselists/italianbadwords/weighted -etc/dansguardian/phraselists/legaldrugs/weighted -etc/dansguardian/phraselists/personals/weighted -etc/dansguardian/phraselists/pornography/banned -etc/dansguardian/phraselists/pornography/weighted -etc/dansguardian/phraselists/violence/weighted -etc/dansguardian/phraselists/warezhacking/weighted -etc/dansguardian/phraselists/weapons/weighted -etc/dansguardian/pics -etc/dansguardian/template.html -etc/dansguardian/weightedphraselist +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/exceptioniplist.dist +etc/dansguardian/exceptionphraselist.dist +etc/dansguardian/exceptionurllist.dist +etc/dansguardian/exceptionuserlist.dist +etc/dansguardian/exceptionsitelist.dist +etc/dansguardian/messages.dist +etc/dansguardian/phraselists/chat/weighted.dist +etc/dansguardian/phraselists/drugadvocacy/weighted.dist +etc/dansguardian/phraselists/dutchbadwords/weighted.dist +etc/dansguardian/phraselists/frenchbadwords/weighted.dist +etc/dansguardian/phraselists/gambling/banned.dist +etc/dansguardian/phraselists/gambling/weighted.dist +etc/dansguardian/phraselists/germanpornography/weighted.dist +etc/dansguardian/phraselists/goodphrases/exception.dist +etc/dansguardian/phraselists/goodphrases/weighted.dist +etc/dansguardian/phraselists/gore/weighted.dist +etc/dansguardian/phraselists/illegaldrugs/banned.dist +etc/dansguardian/phraselists/illegaldrugs/weighted.dist +etc/dansguardian/phraselists/intolerance/weighted.dist +etc/dansguardian/phraselists/italianbadwords/weighted.dist +etc/dansguardian/phraselists/legaldrugs/weighted.dist +etc/dansguardian/phraselists/personals/weighted.dist +etc/dansguardian/phraselists/pornography/banned.dist +etc/dansguardian/phraselists/pornography/weighted.dist +etc/dansguardian/phraselists/violence/weighted.dist +etc/dansguardian/phraselists/warezhacking/weighted.dist +etc/dansguardian/phraselists/weapons/weighted.dist +etc/dansguardian/pics.dist +etc/dansguardian/template.html.dist +etc/dansguardian/weightedphraselist.dist etc/rc.d/start-dg.sh sbin/dansguardian -www/cgi-bin/dansguardian.pl +www/cgi-bin/dansguardian.pl.dist @dirrm etc/dansguardian/phraselists/chat @dirrm etc/dansguardian/phraselists/drugadvocacy @dirrm etc/dansguardian/phraselists/dutchbadwords @@ -81,3 +80,4 @@ @dirrm etc/dansguardian/phraselists @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 --- dansguardian-2.6.1-11.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040108000234.0CD7880AA>