Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Oct 2002 11:33:07 -0700
From:      fcash@lug.kamloops.net
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43661: Port update:  www/dansguardian-devel
Message-ID:  <E17xXG7-00035K-00@lug.kamloops.net>

next in thread | raw e-mail | index | archive | help

>Number:         43661
>Category:       ports
>Synopsis:       Port update:  www/dansguardian-devel to 2.4.6-3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 04 10:10:14 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Freddie Cash
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
PhoenixTek Consulting
>Environment:
System: FreeBSD phoenix.sd73.bc.ca 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #1: Sun Aug 18 22:28:05 PDT 2002 root@phoenix.sd73.bc.ca:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	Updated port framework to support the latest release of DansGuardian: 2.4.6-3.
Also includes a fix for the auto-start mixup.  DG requires Squid to be running before it can start
but the squid.sh script in /usr/local/etc/rc.d/ executes *after* the dansguardian.sh script.  I've
renamed the DG startup script to start-dg.sh to fix this.

>How-To-Repeat:

>Fix:

--- dansguardian-devel-patch begins here ---
diff -ruHN dansguardian-devel-orig/Makefile dansguardian-devel/Makefile
--- dansguardian-devel-orig/Makefile	Fri Sep 13 11:36:30 2002
+++ dansguardian-devel/Makefile	Fri Sep 27 09:03:30 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dansguardian
-PORTVERSION=	2.4.5.2
+PORTVERSION=	2.4.6.3
 CATEGORIES=	www
 MASTER_SITES=	# empty, see below
 DISTNAME=	DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source
diff -ruHN dansguardian-devel-orig/distinfo dansguardian-devel/distinfo
--- dansguardian-devel-orig/distinfo	Fri Sep 13 11:36:30 2002
+++ dansguardian-devel/distinfo	Fri Sep 27 09:06:14 2002
@@ -1 +1 @@
-MD5 (DansGuardian-2.4.5-2.source.tar.gz) = 7a04dc4b50795bc836ef21f1755385b4
+MD5 (DansGuardian-2.4.6-3.source.tar.gz) = 3afce97a464212528169090a8d2d5e34
diff -ruHN dansguardian-devel-orig/files/patch-autoconf::fbsd.in dansguardian-devel/files/patch-autoconf::fbsd.in
--- dansguardian-devel-orig/files/patch-autoconf::fbsd.in	Fri Sep 13 11:36:30 2002
+++ dansguardian-devel/files/patch-autoconf::fbsd.in	Fri Sep 27 09:04:37 2002
@@ -65,7 +65,7 @@
 +	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 755 ./dansguardian.bsdv $I$(SYSVLOCATION)dansguardian.sh
++	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
  	chmod o+x $I$(CGIBINLOCATION)dansguardian.pl
 -	cp -f ./dansguardian.8.gz $I$(MANUALFILES)man8/dansguardian.8.gz
diff -ruHN dansguardian-devel-orig/pkg-descr dansguardian-devel/pkg-descr
--- dansguardian-devel-orig/pkg-descr	Fri Sep 13 11:36:30 2002
+++ dansguardian-devel/pkg-descr	Fri Sep 27 09:05:23 2002
@@ -12,7 +12,6 @@
   - user and source IP filtering
 
 WWW: http://dansguardian.org
-WWW: http://backup.dansguardian.org
 
 - Freddie Cash
 fcash@bigfoot.com
diff -ruHN dansguardian-devel-orig/pkg-message dansguardian-devel/pkg-message
--- dansguardian-devel-orig/pkg-message	Fri Sep 13 11:36:30 2002
+++ dansguardian-devel/pkg-message	Fri Sep 27 09:09:27 2002
@@ -1,7 +1,6 @@
 ===>   Please Note:
-
 *******************************************************************************
-       This port has placed a log file in /var/log/ named dansguardian.log
+       This port has placed a log file in /var/log named dansguardian.log
        This log file can get quite large.  Please read the newsyslog(8) man
        page for instructions on setting up log rotation and compression.
 *******************************************************************************
diff -ruHN dansguardian-devel-orig/pkg-plist dansguardian-devel/pkg-plist
--- dansguardian-devel-orig/pkg-plist	Fri Sep 13 11:36:30 2002
+++ dansguardian-devel/pkg-plist	Fri Sep 27 09:08:52 2002
@@ -21,9 +21,7 @@
 etc/dansguardian/weightedphraselist.pornsites
 etc/dansguardian/weightedphraselist.pornwords
 etc/dansguardian/weightedphraselist.warez
-etc/rc.d/dansguardian.sh
+etc/rc.d/start-dg.sh
 sbin/dansguardian
 www/cgi-bin/dansguardian.pl
 @dirrm etc/dansguardian
-@cwd /
-var/log/dansguardian.log
--- dansguardian-devel-patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
 To: FreeBSD-gnats-submit@freebsd.org
 From: Freddie Cash <fcash@bigfoot.com>
 Reply-To: Freddie Cash <fcash@bigfoot.com>
 Cc: 
 X-send-pr-version: 3.113
 X-GNATS-Notify: 
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17xXG7-00035K-00>