Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Oct 2002 11:32:58 -0700
From:      fcash@lug.kamloops.net
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43660: Port update:  www/dansguardian
Message-ID:  <E17xXFy-00035G-00@lug.kamloops.net>

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

>Number:         43660
>Category:       ports
>Synopsis:       Port update:  www/dansguardian fix for lack of auto-start.
>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:10 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:
	DansGuardian depends on Squid in order to work; however, the dansguardian.sh script
is called before the squid.sh script at boot time, causing DansGuardian to fail.  This patch renames
the dansguardian.sh script to start-dg.sh in order for it to execute after squid.sh.
	
>How-To-Repeat:

>Fix:
--- dansguardian-patch begins here ---
diff -ruHN dansguardian-orig/Makefile dansguardian/Makefile
--- dansguardian-orig/Makefile	Fri Sep 27 09:17:32 2002
+++ dansguardian/Makefile	Fri Sep 27 09:21:24 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	dansguardian
 PORTVERSION=	2.2.10.0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	# empty, see below
 DISTNAME=	DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source
diff -ruHN dansguardian-orig/files/patch-autoconf::fbsd.in dansguardian/files/patch-autoconf::fbsd.in
--- dansguardian-orig/files/patch-autoconf::fbsd.in	Fri Sep 27 09:17:32 2002
+++ dansguardian/files/patch-autoconf::fbsd.in	Fri Sep 27 09:18:00 2002
@@ -56,7 +56,7 @@
 +	@install -m 644 -o root -g wheel ./exceptionuserlist $(CONFFILELOCATION)exceptionuserlist
 +	@install -m 644 -o root -g wheel ./exceptioniplist $(CONFFILELOCATION)exceptioniplist
 +	@install -m 644 -o root -g wheel ./pics $(CONFFILELOCATION)pics
-+	@install -m 755 -o root -g wheel ./dansguardian.bsdv $(SYSVLOCATION)dansguardian.sh
++	@install -m 755 -o root -g wheel ./dansguardian.bsdv $(SYSVLOCATION)start-dg.sh
 +	@install -m 755 -o root -g wheel ./dansguardian.pl $(CGIBINLOCATION)dansguardian.pl
 +	@install -m 644 -o root -g wheel ./dansguardian.8 $(MANUALFILES)man8/dansguardian.8
 +	@touch $(LOGLOCATION)dansguardian.log
--- dansguardian-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?E17xXFy-00035G-00>