diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-01-08 02:11:44 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-01-08 02:11:44 +0000 |
commit | 7d42c84fdac3437f032912bd91884f9e4875d1bd (patch) | |
tree | c3499ea610a3e6938b9f6c19516ff0fdad379e4a /www/dansguardian | |
parent | dc0cb7ddc0e41b5c5e8efca1f2d6fb5a1c65b78d (diff) | |
download | ports-7d42c84fdac3437f032912bd91884f9e4875d1bd.tar.gz ports-7d42c84fdac3437f032912bd91884f9e4875d1bd.zip |
Update to 2.6.1-11: bugfixes and better start/stop script; also, some
attempt to pacify gcc3.3.
PR: ports/61048
Submitted by: Freddie Cash <fcash@sd73.bc.ca> (maintainer)
Notes
Notes:
svn path=/head/; revision=97632
Diffstat (limited to 'www/dansguardian')
-rw-r--r-- | www/dansguardian/Makefile | 4 | ||||
-rw-r--r-- | www/dansguardian/distinfo | 2 | ||||
-rw-r--r-- | www/dansguardian/files/patch-autoconf::bsdv.in | 19 | ||||
-rw-r--r-- | www/dansguardian/files/patch-autoconf::fbsd.in | 152 | ||||
-rw-r--r-- | www/dansguardian/files/patch-configure | 85 |
5 files changed, 169 insertions, 93 deletions
diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile index d62e05f6f012..46d03b4d503f 100644 --- a/www/dansguardian/Makefile +++ b/www/dansguardian/Makefile @@ -6,7 +6,7 @@ # 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 @@ DISTNAME= DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source 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 --git a/www/dansguardian/distinfo b/www/dansguardian/distinfo index c01f8979476c..d2ef891e5ef5 100644 --- a/www/dansguardian/distinfo +++ b/www/dansguardian/distinfo @@ -1 +1 @@ -MD5 (DansGuardian-2.6.1-6.source.tar.gz) = 9f550a23fd692f3df0850b93dfefaf14 +MD5 (DansGuardian-2.6.1-11.source.tar.gz) = 74f30ec2f7915f1ea72ff03332359889 diff --git a/www/dansguardian/files/patch-autoconf::bsdv.in b/www/dansguardian/files/patch-autoconf::bsdv.in index d24178a4100e..7d96a4a31a74 100644 --- a/www/dansguardian/files/patch-autoconf::bsdv.in +++ b/www/dansguardian/files/patch-autoconf::bsdv.in @@ -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 --git a/www/dansguardian/files/patch-autoconf::fbsd.in b/www/dansguardian/files/patch-autoconf::fbsd.in index b6057b4bacb0..3ad57e66a60f 100644 --- a/www/dansguardian/files/patch-autoconf::fbsd.in +++ b/www/dansguardian/files/patch-autoconf::fbsd.in @@ -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 --git a/www/dansguardian/files/patch-configure b/www/dansguardian/files/patch-configure index ef2c05c721d3..3664a243c1d5 100644 --- a/www/dansguardian/files/patch-configure +++ b/www/dansguardian/files/patch-configure @@ -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 + |