Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= e2guardian |
4 |
PORTNAME= e2guardian |
5 |
PORTVERSION= 5.2.2 |
5 |
PORTVERSION= 5.3.1 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= www |
7 |
CATEGORIES= www |
8 |
|
8 |
|
Lines 17-22
Link Here
|
17 |
USES= autoreconf compiler:c++11-lang libtool pkgconfig python |
17 |
USES= autoreconf compiler:c++11-lang libtool pkgconfig python |
18 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
19 |
|
19 |
|
|
|
20 |
USE_CXXSTD= c++11 |
20 |
USE_RC_SUBR= e2guardian |
21 |
USE_RC_SUBR= e2guardian |
21 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_ARGS= --localstatedir=/var \ |
23 |
CONFIGURE_ARGS= --localstatedir=/var \ |
Lines 23-29
Link Here
|
23 |
--with-logdir=/var/log \ |
24 |
--with-logdir=/var/log \ |
24 |
--with-piddir=/var/run |
25 |
--with-piddir=/var/run |
25 |
|
26 |
|
26 |
OPTIONS_DEFINE= CLISCAN CLAMD ICAP KAV AVAST NTLM DNS EMAIL DEBUG DOCS SSL |
27 |
OPTIONS_RADIO= AV |
|
|
28 |
OPTIONS_RADIO_AV=AVAST CLAMD KAV |
29 |
OPTIONS_DEFINE= CLISCAN ICAP NTLM DNS EMAIL DEBUG DOCS SSL |
27 |
OPTIONS_DEFAULT=CLAMD DNS |
30 |
OPTIONS_DEFAULT=CLAMD DNS |
28 |
OPTIONS_SUB= yes |
31 |
OPTIONS_SUB= yes |
29 |
|
32 |
|
Lines 43-61
Link Here
|
43 |
CFLAGS+= -I${LOCALBASE}/include |
46 |
CFLAGS+= -I${LOCALBASE}/include |
44 |
|
47 |
|
45 |
CLISCAN_CONFIGURE_ENABLE= commandline |
48 |
CLISCAN_CONFIGURE_ENABLE= commandline |
46 |
CLAMD_CONFIGURE_ENABLE= clamd=yes |
49 |
CLAMD_CONFIGURE_ENABLE= clamd |
47 |
CLAMD_RUN_DEPENDS= ${LOCALBASE}/sbin/clamd:security/clamav |
50 |
CLAMD_RUN_DEPENDS= clamav>=0:security/clamav |
48 |
ICAP_CONFIGURE_ENABLE= icap |
51 |
ICAP_CONFIGURE_ENABLE= icap |
49 |
KAV_CONFIGURE_ENABLE= kavd |
52 |
KAV_CONFIGURE_ENABLE= kavd |
50 |
AVAST_CONFIGURE_ENABLE= avastd |
53 |
AVAST_CONFIGURE_ENABLE= avastd |
51 |
NTLM_CONFIGURE_ENABLE= ntlm |
54 |
NTLM_CONFIGURE_ENABLE= ntlm |
52 |
NTLM_RUN_DEPENDS= ${LOCALBASE}/bin/iconv:converters/libiconv |
|
|
53 |
NTLM_USES= iconv |
55 |
NTLM_USES= iconv |
54 |
DNS_CONFIGURE_ENABLE= dnsauth |
56 |
DNS_CONFIGURE_ENABLE= dnsauth |
55 |
EMAIL_CONFIGURE_ENABLE= email |
57 |
EMAIL_CONFIGURE_ENABLE= email |
56 |
DEBUG_CONFIGURE_ENABLE= dgdebug |
58 |
DEBUG_CONFIGURE_WITH= dgdebug |
57 |
SSL_LDFLAGS= -lssl -lcrypto |
59 |
SSL_USES= ssl |
58 |
SSL_CFLAGS= -D__SSLMITM -D__SSLCERT |
60 |
SSL_CONFIGURE_ENABLE= sslmitm |
|
|
61 |
SSL_CONFIGURE_ENV= OPENSSL_LIBS="-lssl -lcrypto" \ |
62 |
OPENSSL_CFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}" |
59 |
|
63 |
|
60 |
.include <bsd.port.options.mk> |
64 |
.include <bsd.port.options.mk> |
61 |
|
65 |
|
Lines 84-89
Link Here
|
84 |
${STAGEDIR}${ETCDIR}/lists/bannedrooms/default.sample |
88 |
${STAGEDIR}${ETCDIR}/lists/bannedrooms/default.sample |
85 |
@${MV} ${STAGEDIR}${ETCDIR}/lists/bannedsitelistwithbypass \ |
89 |
@${MV} ${STAGEDIR}${ETCDIR}/lists/bannedsitelistwithbypass \ |
86 |
${STAGEDIR}${ETCDIR}/lists/bannedsitelistwithbypass.sample |
90 |
${STAGEDIR}${ETCDIR}/lists/bannedsitelistwithbypass.sample |
|
|
91 |
@${MKDIR} ${STAGEDIR}${ETCDIR}/lists/contentscanners |
87 |
@${MV} ${STAGEDIR}${ETCDIR}/lists/exceptionvirusextensionlist.sample \ |
92 |
@${MV} ${STAGEDIR}${ETCDIR}/lists/exceptionvirusextensionlist.sample \ |
88 |
${STAGEDIR}${ETCDIR}/lists/contentscanners/ |
93 |
${STAGEDIR}${ETCDIR}/lists/contentscanners/ |
89 |
@${MV} ${STAGEDIR}${ETCDIR}/lists/exceptionvirussiteiplist.sample \ |
94 |
@${MV} ${STAGEDIR}${ETCDIR}/lists/exceptionvirussiteiplist.sample \ |