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: |