View | Details | Raw Unified | Return to bug 95089
Collapse All | Expand All

(-)/usr/ports/www/dansguardian-devel/Makefile (-13 / +19 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	dansguardian
8
PORTNAME=	dansguardian
9
PORTVERSION=	2.9.6.1
9
PORTVERSION=	2.9.6.1
10
PORTREVISION=	1
10
CATEGORIES=	www
11
CATEGORIES=	www
11
MASTER_SITES=	# empty, see below
12
MASTER_SITES=	# empty, see below
12
DISTNAME=	${PORTNAME}-${PORTVERSION}
13
DISTNAME=	${PORTNAME}-${PORTVERSION}
Lines 35-41 Link Here
35
OPTIONS=	DG_APACHE  "Enable Apache support for access denied page" on \
36
OPTIONS=	DG_APACHE  "Enable Apache support for access denied page" on \
36
		DG_DMGR    "Enable the fancy download manager" on \
37
		DG_DMGR    "Enable the fancy download manager" on \
37
		DG_CLAMD   "Enable ClamAV daemon support (clamd)" off \
38
		DG_CLAMD   "Enable ClamAV daemon support (clamd)" off \
38
		DG_CLAMAV  "Enable ClamAV support (libclamav) (broken)" off \
39
		DG_CLAMAV  "Enable ClamAV library support (libclamav)" off \
39
		DG_ICAP    "Enable ICAP AV content scanner support (broken)" off \
40
		DG_ICAP    "Enable ICAP AV content scanner support (broken)" off \
40
		DG_KASP    "Enable Kaspersky AV support (broken)" off
41
		DG_KASP    "Enable Kaspersky AV support (broken)" off
41
42
Lines 53-67 Link Here
53
.endif
54
.endif
54
55
55
.if defined(WITH_DG_CLAMAV)
56
.if defined(WITH_DG_CLAMAV)
56
#.if defined(WITH_DG_FORCE_CLAMAV)
57
#IGNORE=		please use the clamd plugin support.  It's much more flexible, usable, tested, and just generally better
57
#CONFIGURE_ARGS+=	--enable-clamav=yes
58
CONFIGURE_ARGS+=	--enable-clamav=yes
58
#LIB_DEPENDS+=		clamav.1:${PORTSDIR}/security/clamav
59
LIB_DEPENDS+=		clamav.1:${PORTSDIR}/security/clamav
59
#PLIST_SUB+=		CLAMAVCONF=""
60
PLIST_SUB+=		CLAMAVCONF=""
60
#.else
61
.else
61
#PLIST_SUB+=		CLAMAVCONF="@comment "
62
PLIST_SUB+=		CLAMAVCONF="@comment "
62
#.endif
63
#.else
64
BROKEN=	Please use the clamd plugin support.  It's much more flexible, usable, tested, and just generally better
65
.endif
63
.endif
66
64
67
.if defined(WITH_DG_CLAMD)
65
.if defined(WITH_DG_CLAMD)
Lines 73-83 Link Here
73
.endif
71
.endif
74
72
75
.if defined(WITH_DG_ICAP)
73
.if defined(WITH_DG_ICAP)
76
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
74
#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
75
CONFIGURE_ARGS+=	--enable-icap
76
PLIST_SUB+=		ICAPCONF=""
77
.else
78
PLIST_SUB+=		ICAPCONF="@comment "
77
.endif
79
.endif
78
80
79
.if defined(WITH_DG_KASP)
81
.if defined(WITH_DG_KASP)
80
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
82
#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
83
CONFIGURE_ARGS+=	--enable-kavd
84
PLIST_SUB+=		KAVDCONF=""
85
.else
86
PLIST_SUB+=		KAVDCONF="@comment "
81
.endif
87
.endif
82
88
83
.if defined(WITH_DG_DMGR)
89
.if defined(WITH_DG_DMGR)
Lines 89-95 Link Here
89
95
90
# User needs to manually download the distfile
96
# User needs to manually download the distfile
91
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) && !defined(PACKAGE_BUILDING)
97
.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) && !defined(PACKAGE_BUILDING)
92
IGNORE="Commercial source download is restricted.  Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make"
98
IGNORE=	commercial source download is restricted.  Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make
93
.endif
99
.endif
94
100
95
post-install:
101
post-install:
(-)/usr/ports/www/dansguardian-devel/pkg-descr (-9 / +8 lines)
Lines 3-22 Link Here
3
however, DansGuardian should work with any proxy server.
3
however, DansGuardian should work with any proxy server.
4
4
5
It filters using multiple methods, including:
5
It filters using multiple methods, including:
6
  - URL and domain filtering
6
  - URL and domain filtering            - content phrase filtering
7
  - content phrase filtering
7
  - PICS filtering                      - MIME filtering
8
  - PICS filtering
8
  - file extension filtering            - POST filtering
9
  - MIME filtering
9
  - username and source IP filtering    - virus filtering
10
  - file extension filtering
11
  - POST filtering
12
  - user and source IP filtering
13
10
14
This version also includes support for filter groups (simple ACLs),
11
This version also includes support for filter groups (simple ACLs),
15
pre-emptive blocking, improved URL caches,  and fork pooling for
12
pre-emptive blocking, improved URL caches, and fork pooling for
16
improved performance under heavy load.
13
improved performance under heavy load.
17
14
15
This is the development version of DansGuardian and is still
16
considered to be Alpha quality.
17
18
WWW: http://dansguardian.org
18
WWW: http://dansguardian.org
19
WWW: http://backup.dansguardian.org
20
19
21
- Freddie Cash
20
- Freddie Cash
22
fcash@sd73.bc.ca
21
fcash@sd73.bc.ca
(-)/usr/ports/www/dansguardian-devel/pkg-message (-5 / +13 lines)
Lines 1-10 Link Here
1
===>   Please Note:
1
===>   Please Note:
2
2
3
*******************************************************************************
3
*******************************************************************************
4
       This port has placed a log file in /var/log/ named dansguardian.log
4
       All initial config files have been placed under a samples/ directory.
5
       This log file can get quite large.  Please read the newsyslog(8) man
5
       You will need to copy these files into the config directory before
6
       page for instructions on setting up log rotation and compression.
6
       running DansGuardian for the first time.
7
7
8
       WARNING:  This port uses RCng.  Please read the comments in the startup
8
       This port has created a log file named dansguardian.log that can get
9
       script for instructions on enabling the daemon.
9
       quite large.  Please read the newsyslog(8) man page for instructions
10
       on configuring log rotation and compression.
11
12
       This port has been converted to the new RC framework and should work
13
       correctly via rcorder.  Please read the comments in the startup script
14
       for instructions on enabling the daemon.
15
16
       DG_CLAMAV, DG_ICAP, or DG_KASP are all experimental options that I am
17
       not able to test.  Let me know how these work (or not) for you.
10
*******************************************************************************
18
*******************************************************************************
(-)/usr/ports/www/dansguardian-devel/pkg-plist (+3 lines)
Lines 226-232 Link Here
226
etc/dansguardian/lists/contentscanners/exceptionvirusurllist
226
etc/dansguardian/lists/contentscanners/exceptionvirusurllist
227
etc/dansguardian/downloadmanagers/default.conf
227
etc/dansguardian/downloadmanagers/default.conf
228
etc/dansguardian/downloadmanagers/fancy.conf
228
etc/dansguardian/downloadmanagers/fancy.conf
229
%%CLAMAVCONF%%etc/dansguardian/contentscanners/clamav.conf
229
%%CLAMDCONF%%etc/dansguardian/contentscanners/clamdscan.conf
230
%%CLAMDCONF%%etc/dansguardian/contentscanners/clamdscan.conf
231
%%KAVDCONF%%etc/dansguardian/contentscanners/kavdscan.conf
232
%%ICAPCONF%%etc/dansguardian/contentscanners/icapscan.conf
230
etc/dansguardian/dansguardian.conf
233
etc/dansguardian/dansguardian.conf
231
etc/dansguardian/dansguardianf1.conf
234
etc/dansguardian/dansguardianf1.conf
232
@dirrm %%DATADIR%%/scripts
235
@dirrm %%DATADIR%%/scripts

Return to bug 95089