ports/108359: maintainer/update: www/dansguardian-devel to 2.9.8.2

Freddie Cash fcash at ocis.net
Thu Jan 25 23:50:26 UTC 2007


>Number:         108359
>Category:       ports
>Synopsis:       maintainer/update:  www/dansguardian-devel to 2.9.8.2
>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:   Thu Jan 25 23:50:21 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Freddie Cash
>Release:        6.1-RELEASE-p11
>Organization:
School District 73
>Environment:
FreeBSD freebsd-vm1.sd73.bc.ca 6.1-RELEASE-p11 FreeBSD 6.1-RELEASE-p11 #0: Thu Jan 18 02:00:14 PST 2007 root at freebsd-vm1.sd73.bc.ca:/usr/src/sys/i386/compile/FIREWALL i386
>Description:
Update Dansguardian-devel to latest release:  2.9.8.2

>From the changelog (since 2.9.8.0):
Mon 22nd January 2007 - DansGuardian 2.9.8.2 - beta
- "managedmimetypelist" and "managedextensionlist" made into an
either/or match, instead of both.
- Handle single dots on the end of domain names (e.g.
"http://www.cnn.com./").
- Typo fixes to a few error messages and config files.
- Allow WebDAV/OWA to work.
- Fix a bug in the phrase filtering that was introduced along with the
enhanced character encoding support.
- Add a little more info to error messages generated by failure to
connect to the URL cache, as some people seem to be having trouble with
it.

Fri 8th December 2006 - DansGuardian 2.9.8.1 - beta
- Pre-emptive blocking re-introduced, but for authed users only (don't
retrieve anything, even headers, from banned sites/URLs; helps defeat
trackers).
- Build option to record a backtrace on segmentation fault
("--enable-segv-backtrace").
- Rudimentary performance testing options (add -D__BENCHMARK to your
CXXFLAGS when compiling to make some extra command-line options
available; content to be tested is read in on standard input).
- Syslog logging support.
- Performance increase for weightedphrasemode 2.
- Reduce some ListContainer code duplication.
- FAQ and plugin documents added, see doc subdirectory.

>How-To-Repeat:

>Fix:
See attached patch (if it doesn't come through, I'll e-mail it as a follow-up).

Patch attached with submission follows:

diff -ruH dansguardian-devel/Makefile dansguardian-devel.new/Makefile
--- dansguardian-devel/Makefile	Wed Oct  4 09:36:30 2006
+++ dansguardian-devel.new/Makefile	Wed Jan 31 04:25:26 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dansguardian
-PORTVERSION=	2.9.8.0
+PORTVERSION=	2.9.8.2
 #PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	# empty, see below
@@ -15,7 +15,6 @@
 MAINTAINER=	fcash at sd73.bc.ca
 COMMENT=	A fast, feature-rich web content filter for Squid proxy servers
 
-LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
 RUN_DEPENDS=	${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid
 
 USE_GCC=	3.4+
@@ -28,12 +27,14 @@
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=/var \
+		--mandir=/usr/local/man \
 		--with-logdir=/var/log \
 		--with-piddir=/var/run
 
 MAN8=		dansguardian.8
 
 OPTIONS=	DG_APACHE  "Enable Apache support for access denied page" on \
+		DG_PCRE    "Enable PCRE support" on \
 		DG_DMGR    "Enable the fancy download manager" on \
 		DG_TRICKLE "Enable the trickle download manager" on \
 		DG_CLISCAN "Enable support for CLI content scanners" off \
@@ -42,7 +43,9 @@
 		DG_ICAP    "Enable ICAP AV content scanner support (testing)" off \
 		DG_KASP    "Enable Kaspersky AV support (testing)" off \
 		DG_NTLM    "Enable NTLM authentication plugin" off \
-		DG_EMAIL   "Enable e-mail reporting support" off
+		DG_EMAIL   "Enable e-mail reporting support" off \
+		DG_DEBUG   "Enable debug options - not for production use" off
+
 
 DG_URL=		http://dansguardian.org/index.php?page=copyright2
 CONFDIR=	${PREFIX}/etc/dansguardian
@@ -55,6 +58,10 @@
 USE_APACHE=	1.3+
 .endif
 
+.if !defined(WITHOUT_DG_PCRE)
+LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
+.endif
+
 .if !defined(WITHOUT_DG_TRICKLE)
 CONFIGURE_ARGS+=	--enable-trickledm
 .endif
@@ -124,6 +131,10 @@
 PLIST_SUB+=		EMAILCONF=""
 .else
 PLIST_SUB+=		EMAILCONF="@comment "
+.endif
+
+.if defined(WITH_DG_DEBUG)
+CONFIGURE_ARGS+=	--enable-dgdebug
 .endif
 
 # User needs to manually download the distfile
diff -ruH dansguardian-devel/distinfo dansguardian-devel.new/distinfo
--- dansguardian-devel/distinfo	Wed Oct  4 09:36:30 2006
+++ dansguardian-devel.new/distinfo	Wed Jan 31 04:25:26 2007
@@ -1,3 +1,3 @@
-MD5 (dansguardian-2.9.8.0.tar.gz) = 2171456df5f04d038c31a34f3a9ddabe
-SHA256 (dansguardian-2.9.8.0.tar.gz) = dd112f1169b7469f015b15425a879a01d83311d7659ea763e3913e149e5288f4
-SIZE (dansguardian-2.9.8.0.tar.gz) = 444242
+MD5 (dansguardian-2.9.8.2.tar.gz) = 6d6e002be64df2ba7a3842e29fb2dd36
+SHA256 (dansguardian-2.9.8.2.tar.gz) = 228b5240e34c6a59d1cfdf7cc7ed206c6552bb6d584ba4e9e16478fdbd688c55
+SIZE (dansguardian-2.9.8.2.tar.gz) = 469129

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list