Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dansguardian |
8 |
PORTNAME= dansguardian |
9 |
PORTVERSION= 2.9.8.0 |
9 |
PORTVERSION= 2.9.8.2 |
10 |
#PORTREVISION= 1 |
10 |
#PORTREVISION= 1 |
11 |
CATEGORIES= www |
11 |
CATEGORIES= www |
12 |
MASTER_SITES= # empty, see below |
12 |
MASTER_SITES= # empty, see below |
Lines 15-21
Link Here
|
15 |
MAINTAINER= fcash@sd73.bc.ca |
15 |
MAINTAINER= fcash@sd73.bc.ca |
16 |
COMMENT= A fast, feature-rich web content filter for Squid proxy servers |
16 |
COMMENT= A fast, feature-rich web content filter for Squid proxy servers |
17 |
|
17 |
|
18 |
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre |
|
|
19 |
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid |
18 |
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid |
20 |
|
19 |
|
21 |
USE_GCC= 3.4+ |
20 |
USE_GCC= 3.4+ |
Lines 28-39
Link Here
|
28 |
|
27 |
|
29 |
GNU_CONFIGURE= yes |
28 |
GNU_CONFIGURE= yes |
30 |
CONFIGURE_ARGS= --localstatedir=/var \ |
29 |
CONFIGURE_ARGS= --localstatedir=/var \ |
|
|
30 |
--mandir=/usr/local/man \ |
31 |
--with-logdir=/var/log \ |
31 |
--with-logdir=/var/log \ |
32 |
--with-piddir=/var/run |
32 |
--with-piddir=/var/run |
33 |
|
33 |
|
34 |
MAN8= dansguardian.8 |
34 |
MAN8= dansguardian.8 |
35 |
|
35 |
|
36 |
OPTIONS= DG_APACHE "Enable Apache support for access denied page" on \ |
36 |
OPTIONS= DG_APACHE "Enable Apache support for access denied page" on \ |
|
|
37 |
DG_PCRE "Enable PCRE support" on \ |
37 |
DG_DMGR "Enable the fancy download manager" on \ |
38 |
DG_DMGR "Enable the fancy download manager" on \ |
38 |
DG_TRICKLE "Enable the trickle download manager" on \ |
39 |
DG_TRICKLE "Enable the trickle download manager" on \ |
39 |
DG_CLISCAN "Enable support for CLI content scanners" off \ |
40 |
DG_CLISCAN "Enable support for CLI content scanners" off \ |
Lines 42-48
Link Here
|
42 |
DG_ICAP "Enable ICAP AV content scanner support (testing)" off \ |
43 |
DG_ICAP "Enable ICAP AV content scanner support (testing)" off \ |
43 |
DG_KASP "Enable Kaspersky AV support (testing)" off \ |
44 |
DG_KASP "Enable Kaspersky AV support (testing)" off \ |
44 |
DG_NTLM "Enable NTLM authentication plugin" off \ |
45 |
DG_NTLM "Enable NTLM authentication plugin" off \ |
45 |
DG_EMAIL "Enable e-mail reporting support" off |
46 |
DG_EMAIL "Enable e-mail reporting support" off \ |
|
|
47 |
DG_DEBUG "Enable debug options - not for production use" off |
48 |
|
46 |
|
49 |
|
47 |
DG_URL= http://dansguardian.org/index.php?page=copyright2 |
50 |
DG_URL= http://dansguardian.org/index.php?page=copyright2 |
48 |
CONFDIR= ${PREFIX}/etc/dansguardian |
51 |
CONFDIR= ${PREFIX}/etc/dansguardian |
Lines 55-60
Link Here
|
55 |
USE_APACHE= 1.3+ |
58 |
USE_APACHE= 1.3+ |
56 |
.endif |
59 |
.endif |
57 |
|
60 |
|
|
|
61 |
.if !defined(WITHOUT_DG_PCRE) |
62 |
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre |
63 |
.endif |
64 |
|
58 |
.if !defined(WITHOUT_DG_TRICKLE) |
65 |
.if !defined(WITHOUT_DG_TRICKLE) |
59 |
CONFIGURE_ARGS+= --enable-trickledm |
66 |
CONFIGURE_ARGS+= --enable-trickledm |
60 |
.endif |
67 |
.endif |
Lines 124-129
Link Here
|
124 |
PLIST_SUB+= EMAILCONF="" |
131 |
PLIST_SUB+= EMAILCONF="" |
125 |
.else |
132 |
.else |
126 |
PLIST_SUB+= EMAILCONF="@comment " |
133 |
PLIST_SUB+= EMAILCONF="@comment " |
|
|
134 |
.endif |
135 |
|
136 |
.if defined(WITH_DG_DEBUG) |
137 |
CONFIGURE_ARGS+= --enable-dgdebug |
127 |
.endif |
138 |
.endif |
128 |
|
139 |
|
129 |
# User needs to manually download the distfile |
140 |
# User needs to manually download the distfile |