aboutsummaryrefslogtreecommitdiff
path: root/www/dansguardian-devel
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-08 13:02:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-08 13:02:08 +0000
commit988c692b7677a650ebe858905871be728dfec343 (patch)
treef903e786a3517083d44456bb9cf1da1adbb1c54b /www/dansguardian-devel
parent4a2fb110ae5c03ab7f9c1144b6a36340f7e6e1f9 (diff)
- Enable clamav, ICAP, Kaspersky options
PR: ports/95089 Submitted by: Freddie Cash <fcash@sd73.bc.ca> (maintainer)
Notes
Notes: svn path=/head/; revision=159115
Diffstat (limited to 'www/dansguardian-devel')
-rw-r--r--www/dansguardian-devel/Makefile32
-rw-r--r--www/dansguardian-devel/pkg-descr17
-rw-r--r--www/dansguardian-devel/pkg-message18
-rw-r--r--www/dansguardian-devel/pkg-plist3
4 files changed, 43 insertions, 27 deletions
diff --git a/www/dansguardian-devel/Makefile b/www/dansguardian-devel/Makefile
index 401fdad21af6..99e945dedc0c 100644
--- a/www/dansguardian-devel/Makefile
+++ b/www/dansguardian-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dansguardian
PORTVERSION= 2.9.6.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= # empty, see below
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -35,7 +36,7 @@ MAN8= dansguardian.8
OPTIONS= DG_APACHE "Enable Apache support for access denied page" on \
DG_DMGR "Enable the fancy download manager" on \
DG_CLAMD "Enable ClamAV daemon support (clamd)" off \
- DG_CLAMAV "Enable ClamAV support (libclamav) (broken)" off \
+ DG_CLAMAV "Enable ClamAV library support (libclamav)" off \
DG_ICAP "Enable ICAP AV content scanner support (broken)" off \
DG_KASP "Enable Kaspersky AV support (broken)" off
@@ -53,15 +54,12 @@ USE_APACHE= 1.3+
.endif
.if defined(WITH_DG_CLAMAV)
-#.if defined(WITH_DG_FORCE_CLAMAV)
-#CONFIGURE_ARGS+= --enable-clamav=yes
-#LIB_DEPENDS+= clamav.1:${PORTSDIR}/security/clamav
-#PLIST_SUB+= CLAMAVCONF=""
-#.else
-#PLIST_SUB+= CLAMAVCONF="@comment "
-#.endif
-#.else
-BROKEN= Please use the clamd plugin support. It's much more flexible, usable, tested, and just generally better
+#IGNORE= please use the clamd plugin support. It's much more flexible, usable, tested, and just generally better
+CONFIGURE_ARGS+= --enable-clamav=yes
+LIB_DEPENDS+= clamav.1:${PORTSDIR}/security/clamav
+PLIST_SUB+= CLAMAVCONF=""
+.else
+PLIST_SUB+= CLAMAVCONF="@comment "
.endif
.if defined(WITH_DG_CLAMD)
@@ -73,11 +71,19 @@ PLIST_SUB+= CLAMDCONF="@comment "
.endif
.if defined(WITH_DG_ICAP)
-BROKEN= I don't have access to ICAP AV, so I can't test this. If you have access to it, drop me an e-mail. Thanks
+#IGNORE= I don't have access to ICAP AV, so I can't test this. If you have access to it, drop me an e-mail. Thanks
+CONFIGURE_ARGS+= --enable-icap
+PLIST_SUB+= ICAPCONF=""
+.else
+PLIST_SUB+= ICAPCONF="@comment "
.endif
.if defined(WITH_DG_KASP)
-BROKEN= I don't have access to Kaspersky AV, so I can't test this. If you have access to it, drop me an e-mail. Thanks
+#IGNORE= I don't have access to Kaspersky AV, so I can't test this. If you have access to it, drop me an e-mail. Thanks
+CONFIGURE_ARGS+= --enable-kavd
+PLIST_SUB+= KAVDCONF=""
+.else
+PLIST_SUB+= KAVDCONF="@comment "
.endif
.if defined(WITH_DG_DMGR)
@@ -89,7 +95,7 @@ CONFIGURE_ARGS+= --enable-fancydm
# User needs to manually download the distfile
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) && !defined(PACKAGE_BUILDING)
-IGNORE="Commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
+IGNORE= commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make
.endif
post-install:
diff --git a/www/dansguardian-devel/pkg-descr b/www/dansguardian-devel/pkg-descr
index 14a53fa594b0..266283a8324e 100644
--- a/www/dansguardian-devel/pkg-descr
+++ b/www/dansguardian-devel/pkg-descr
@@ -3,20 +3,19 @@ and Solaris. It relies on a proxy server, such as Squid, for all fetching;
however, DansGuardian should work with any proxy server.
It filters using multiple methods, including:
- - URL and domain filtering
- - content phrase filtering
- - PICS filtering
- - MIME filtering
- - file extension filtering
- - POST filtering
- - user and source IP filtering
+ - URL and domain filtering - content phrase filtering
+ - PICS filtering - MIME filtering
+ - file extension filtering - POST filtering
+ - username and source IP filtering - virus filtering
This version also includes support for filter groups (simple ACLs),
-pre-emptive blocking, improved URL caches, and fork pooling for
+pre-emptive blocking, improved URL caches, and fork pooling for
improved performance under heavy load.
+This is the development version of DansGuardian and is still
+considered to be Alpha quality.
+
WWW: http://dansguardian.org
-WWW: http://backup.dansguardian.org
- Freddie Cash
fcash@sd73.bc.ca
diff --git a/www/dansguardian-devel/pkg-message b/www/dansguardian-devel/pkg-message
index c629acc57ad0..804acb3f4e61 100644
--- a/www/dansguardian-devel/pkg-message
+++ b/www/dansguardian-devel/pkg-message
@@ -1,10 +1,18 @@
===> Please Note:
*******************************************************************************
- 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.
+ All initial config files have been placed under a samples/ directory.
+ You will need to copy these files into the config directory before
+ running DansGuardian for the first time.
- WARNING: This port uses RCng. Please read the comments in the startup
- script for instructions on enabling the daemon.
+ This port has created a log file named dansguardian.log that can get
+ quite large. Please read the newsyslog(8) man page for instructions
+ on configuring log rotation and compression.
+
+ This port has been converted to the new RC framework and should work
+ correctly via rcorder. Please read the comments in the startup script
+ for instructions on enabling the daemon.
+
+ DG_CLAMAV, DG_ICAP, or DG_KASP are all experimental options that I am
+ not able to test. Let me know how these work (or not) for you.
*******************************************************************************
diff --git a/www/dansguardian-devel/pkg-plist b/www/dansguardian-devel/pkg-plist
index 99464022fe81..33cc0efaa47a 100644
--- a/www/dansguardian-devel/pkg-plist
+++ b/www/dansguardian-devel/pkg-plist
@@ -226,7 +226,10 @@ etc/dansguardian/lists/contentscanners/exceptionvirussitelist
etc/dansguardian/lists/contentscanners/exceptionvirusurllist
etc/dansguardian/downloadmanagers/default.conf
etc/dansguardian/downloadmanagers/fancy.conf
+%%CLAMAVCONF%%etc/dansguardian/contentscanners/clamav.conf
%%CLAMDCONF%%etc/dansguardian/contentscanners/clamdscan.conf
+%%KAVDCONF%%etc/dansguardian/contentscanners/kavdscan.conf
+%%ICAPCONF%%etc/dansguardian/contentscanners/icapscan.conf
etc/dansguardian/dansguardian.conf
etc/dansguardian/dansguardianf1.conf
@dirrm %%DATADIR%%/scripts