head	1.8;
access;
symbols
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.7
	RELEASE_5_5_0:1.7
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.1;
locks; strict;
comment	@# @;


1.8
date	2009.02.01.18.28.44;	author amdmi3;	state dead;
branches;
next	1.7;

1.7
date	2005.03.05.07.26.11;	author sem;	state Exp;
branches;
next	1.6;

1.6
date	2004.07.28.10.28.59;	author vs;	state Exp;
branches;
next	1.5;

1.5
date	2004.05.06.20.09.41;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2004.01.08.02.11.44;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2003.09.04.01.09.23;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2002.04.08.01.48.41;	author cy;	state Exp;
branches;
next	1.1;

1.1
date	2002.03.28.02.25.13;	author cy;	state Exp;
branches;
next	;


desc
@@


1.8
log
@- Update to 2.10.0.2
- Update maintainer's email

PR:		130561
Submitted by:	Freddie Cash <fjwcash at gmail dot com> (maintainer)
@
text
@--- configure.orig	Mon Feb 28 10:34:34 2005
+++ configure	Mon Feb 28 10:37:32 2005
@@@@ -42,7 +42,7 @@@@
 runas_usr='nobody'
 runas_grp='nobody'
 mandir='/usr/man/'
-logdir='/var/log/dansguardian/'
+logdir='/var/log/'
 piddir='/var/run/'
 logrotatedir='/etc/logrotate.d/'
 gccver=`gcc -dumpversion | sed '1,$s/.[0-9]*$//'`
@@@@ -2480,7 +2480,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
@@@@ -2498,7 +2498,7 @@@@
   if [ -f /usr/include/ppc/endian.h ]; then
 	endianh='/usr/include/ppc/endian.h'
 else
-	endianh='<endian.h>'	
+	endianh='<endian.h>'
 fi
 fi
 fi
@@@@ -2834,7 +2834,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
@@@@ -3341,7 +3341,7 @@@@
 echo "" >>logrotation
 echo "LOG_DIR=$prefixdir$logdir" >>logrotation
 echo "NUM_LOGS=4" >>logrotation
-echo "LOG=\$LOG_DIR/access.log" >>logrotation
+echo "LOG=\$LOG_DIR/dansguardian.log" >>logrotation
 echo "" >>logrotation
 
 case `uname -s` in
@@@@ -3442,7 +3442,7 @@@@
 fi
 
 $extendedecho "$prefixdir$logdir\c" >>logrotate.dansguardian
-echo "access.log {" >>logrotate.dansguardian
+echo "dansguardian.log {" >>logrotate.dansguardian
 echo "  rotate 4" >>logrotate.dansguardian
 echo "  weekly" >>logrotate.dansguardian
 echo "  sharedscripts" >>logrotate.dansguardian
@


1.7
log
@- Update to 2.8.0.4
	* updated Big5 Chinese and Lithuanian language files
	* added Hebrew and Swedish language files
	* fixed several bugs in HTTP header handling
	* fixed a few bugs in the -r soft-restart feature
	* fixed a security issue with malformed URL processing
- install all default config files under samples/ directory

PR:		ports/78372
Submitted by:	maintainer
@
text
@@


1.6
log
@DansGuardian 2.8.0-0 has been released as the new stable version.  New features since 2.6.x include:
- Changed process model from fork-on-connect to fork-pool.  This dramatically improves the performance and allows it to scale to many more concurrent users.
- Improved internationalisation language file support.
- Image replacement for advert removal.
- Added support for fully qualified addresses in banned and exception IP lists.
- Added URL Greylists.
- Added filter group support so different filtering settings can be used for different groups of users.
- Added a '-g' gentle restart that does not kill current connections but filter group config is re-read.
- Ident now uses X-Forwarded-For when DansGuardian is configured to use it.
- Added a temporal denied page bypass facility.
- It is no longer needed to run as root to bind to a low port.

PR:		ports/69625
Submitted by:	Freddie Cash (maintainer)
@
text
@d1 12
a12 3
--- configure.orig	Wed Apr 28 09:36:01 2004
+++ configure	Thu May  6 10:56:21 2004
@@@@ -2543,7 +2543,7 @@@@
d21 10
a30 1
@@@@ -2896,7 +2896,7 @@@@
d39 18
@


1.5
log
@- Update to 2.6.1-13
- Convert rc script to RCng

PR:		ports/66333
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca> (maintainer)
@
text
@d1 3
a3 3
--- configure.orig	Wed May  5 14:46:40 2004
+++ configure	Wed May  5 14:47:23 2004
@@@@ -2540,7 +2540,7 @@@@
d12 9
@


1.4
log
@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)
@
text
@d1 2
a2 2
--- configure.orig	Wed Jan  7 11:29:38 2004
+++ configure	Wed Jan  7 11:54:02 2004
a11 127
@@@@ -2665,27 +2665,6 @@@@
                         rm -f dansguardian.bsdv
                 fi
                 cat autoconf/bsdv.in > dansguardian.bsdv
-                $extendedecho "        [ -x $prefixdir$bindir\c" >> dansguardian.bsdv
-                $extendedecho "dansguardian ] && $prefixdir$bindir\c" >> dansguardian.bsdv
-                echo "dansguardian > /dev/null && $extendedecho ' dansguardian\c'" >> dansguardian.bsdv
-                echo "        ;;" >> dansguardian.bsdv
-                echo "stop)" >> dansguardian.bsdv
-                $extendedecho "        $prefixdir$bindir\c" >> dansguardian.bsdv
-                echo "dansguardian -q" >> dansguardian.bsdv
-                $extendedecho "        [ -r /tmp/\c" >> dansguardian.bsdv
-                echo ".dguardianipc ] && $extendedecho ' dansguardian\c'" >> dansguardian.bsdv
-                echo "        rm -f /tmp/.dguardianipc" >> dansguardian.bsdv
-                echo "        ;;" >> dansguardian.bsdv
-                echo "restart)" >> dansguardian.bsdv
-                echo "        \$0 stop" >> dansguardian.bsdv
-                echo "        \$0 start" >> dansguardian.bsdv
-                echo "        ;;" >> dansguardian.bsdv
-                echo "*)" >> dansguardian.bsdv
-                echo "        echo \"Usage: `basename \$0` {start|stop|restart}\" >&2" >> dansguardian.bsdv
-                echo "        ;;" >> dansguardian.bsdv
-                echo "esac" >> dansguardian.bsdv
-                echo "exit 0" >> dansguardian.bsdv
-                chmod u+x dansguardian.bsdv
 	;;
 	NetBSD*)
 		if [ -f dansguardian.bsdv ]; then
@@@@ -3082,7 +3061,7 @@@@
 echo "" >>logrotation
 echo "LOG_DIR=$prefixdir$logdir" >>logrotation
 echo "NUM_LOGS=4" >>logrotation
-echo "LOG=\$LOG_DIR/access.log" >>logrotation
+echo "LOG=\$LOG_DIR/dansguardian.log" >>logrotation
 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
 
 $extendedecho "$prefixdir$logdir\c" >>logrotate.dansguardian
-echo "access.log {" >>logrotate.dansguardian
+echo "dansguardian.log {" >>logrotate.dansguardian
 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
 
@


1.3
log
@port update: www/dansguardian to version 2.6.1-3

	The latest stable release of DansGuardian is 2.6.1-3.  This
	release fixes a few security glitches in earlier releases,
	and adds several new features to improve filtering, throughput,
	and resource usage.  A recommended update for all DG users.

PR:		ports/54199
Submitted by:	Freddie Cash <fcash@@sd73.bc.ca>
@
text
@d1 2
a2 2
--- configure.orig	Mon Jul  7 12:09:35 2003
+++ configure	Mon Jul  7 12:10:25 2003
d49 36
d94 45
@


1.2
log
@Update 2.2.7-1 -> 2.2.8-0.

PR:		36677
Submitted by:	MAINTAINER:  Freddie Cash <fcash@@bigfoot.com>
@
text
@d1 3
a3 3
--- configure.orig	Tue Apr  2 09:15:26 2002
+++ configure	Tue Apr  2 09:29:41 2002
@@@@ -2667,7 +2667,7 @@@@
d9 1
d12 46
a57 1
 echo "PIDDIR = $piddir" >>Makefile
@


1.1
log
@Add dansguardian 2.2.7.1, a fast, simple web content filter for
Squid proxy servers.

PR:		35382
Submitted by:	Freddie Cash <fcash@@bigfoot.com>
@
text
@d1 9
a9 22
--- configure.orig	Thu Mar 14 16:54:40 2002
+++ configure	Tue Mar 26 08:58:45 2002
@@@@ -43,6 +43,7 @@@@
 mandir='/usr/man/'
 logdir='/var/log/dansguardian/'
 piddir='/var/run/'
+with_pics_filter="yes"
 
 
 case `uname -s` in
@@@@ -112,7 +113,10 @@@@
   --runas_usr=USER        run as user DEFAULT [$runas_usr]
   --runas_grp=GROUP       run as group DEFAULT [$runas_grp]
   --piddir=DIR            pid file in DIR [$piddir] (ignores prefix)
   --prefix=DIR            prefix root path DEFAULT [$prefixdir] (no trailing /)
+Features and packages:
+  --without-pics-filter   Disables PICS/ICRA filtering
+
 Do not forget the heading *and* trailing / except for prefix which only needs
 a heading /
 EOF
@@@@ -2668,6 +2672,13 @@@@
a11 61
 
+case "${with_pics_filter}" in
+	no)
+		$extendedecho "  Turning off PICS/ICRA filtering."
+		$extendedecho "\n\${PICS_FLAG} = -DWITHOUT_PICS_FILTER" >> Makefile
+	;;
+esac
+
 case `uname -s` in
 	SunOS*)
 		echo "#undef __BSD" >autoconf/platform.h
@@@@ -2740,31 +2751,24 @@@@
                 chmod u+x dansguardian.bsdv
 	;;
 	FreeBSD*)
-		if [ -f dansguardian.bsdv ]; then
-                        rm -f dansguardian.bsdv
-                fi
-                cat autoconf/bsdv.in > dansguardian.bsdv
-                $extendedecho "        [ -x $prefixdir$bindir\c" >> dansguardian.bsdv
-                $extendedecho "dansguardian ] && $prefixdir$bindir\c" >> dansguardian.bsdv
-                echo "dansguardian > /dev/null && $extendedecho ' dansguardian\c'" >> dansguardian.bsdv
-                echo "        ;;" >> dansguardian.bsdv
-                echo "stop)" >> dansguardian.bsdv
-                $extendedecho "        $prefixdir$bindir\c" >> dansguardian.bsdv
-                echo "dansguardian -q" >> dansguardian.bsdv
-                $extendedecho "        [ -r /tmp/\c" >> dansguardian.bsdv
-                echo ".dguardianipc ] && $extendedecho ' dansguardian\c'" >> dansguardian.bsdv
-                echo "        rm -f /tmp/.dguardianipc" >> dansguardian.bsdv
-                echo "        ;;" >> dansguardian.bsdv
-                echo "restart)" >> dansguardian.bsdv
-                echo "        \$0 stop" >> dansguardian.bsdv
-                echo "        \$0 start" >> dansguardian.bsdv
-                echo "        ;;" >> dansguardian.bsdv
-                echo "*)" >> dansguardian.bsdv
-                echo "        echo \"Usage: `basename \$0` {start|stop|restart}\" >&2" >> dansguardian.bsdv
-                echo "        ;;" >> dansguardian.bsdv
-                echo "esac" >> dansguardian.bsdv
-                echo "exit 0" >> dansguardian.bsdv
-                chmod u+x dansguardian.bsdv
+		cat autoconf/bsdv.in > dansguardian.bsdv
+		$extendedecho "\t[ -x /usr/local/sbin/dansguardian ] && /usr/local/sbin/dansguardian > /dev/null && echo -n \" dansguardian\"" >> dansguardian.bsdv
+		$extendedecho "\t;;" >> dansguardian.bsdv
+		$extendedecho "stop)" >> dansguardian.bsdv
+		$extendedecho "\t/usr/local/sbin/dansguardian -q" >> dansguardian.bsdv
+		$extendedecho "\t[ -r /tmp/.dguardianipc ] && echo -n \" dansguardian\"" >> dansguardian.bsdv
+		$extendedecho "\trm -f /tmp/.dguardianipc" >> dansguardian.bsdv
+		$extendedecho "\t;;" >> dansguardian.bsdv
+		$extendedecho "restart)" >> dansguardian.bsdv
+		$extendedecho "\t\$0 stop" >> dansguardian.bsdv
+		$extendedecho "\t\$0 start" >> dansguardian.bsdv
+		$extendedecho "\t;;" >> dansguardian.bsdv
+		$extendedecho "*)" >> dansguardian.bsdv
+		$extendedecho "\techo \"Usage: \$0 {start|stop|restart}\" >&2" >> dansguardian.bsdv
+		$extendedecho "\t;;" >> dansguardian.bsdv
+		$extendedecho "esac" >> dansguardian.bsdv
+		$extendedecho "exit 0" >> dansguardian.bsdv
+
 	;;
 	Linux*)
 		if [ -f dansguardian.sysv ]; then
@

