View | Details | Raw Unified | Return to bug 235879 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-8 / +13 lines)
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 \
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1539686941
1
TIMESTAMP = 1551365013
2
SHA256 (e2guardian-e2guardian-v5.2.2_GH0.tar.gz) = 219160755592ee0d05b2f25698ee5a4257330ff2e15ae3ca716df2df0db8b00b
2
SHA256 (e2guardian-e2guardian-v5.3.1_GH0.tar.gz) = 3ccab41663b63c6a654fd9f7bf44f8598689e9940b02434a724dc137961633a9
3
SIZE (e2guardian-e2guardian-v5.2.2_GH0.tar.gz) = 2000439
3
SIZE (e2guardian-e2guardian-v5.3.1_GH0.tar.gz) = 2008811
(-)pkg-plist (-1 / +1 lines)
Lines 10-16 Link Here
10
%%ICAP%%@sample %%ETCDIR%%/contentscanners/icapscan.conf.sample
10
%%ICAP%%@sample %%ETCDIR%%/contentscanners/icapscan.conf.sample
11
%%CLISCAN%%@sample %%ETCDIR%%/contentscanners/commandlinescan.conf.sample
11
%%CLISCAN%%@sample %%ETCDIR%%/contentscanners/commandlinescan.conf.sample
12
%%KAV%%@sample %%ETCDIR%%/contentscanners/kavdscan.conf.sample
12
%%KAV%%@sample %%ETCDIR%%/contentscanners/kavdscan.conf.sample
13
%%AVAST%%@sample %%ETCDIR%%/contentscanners/avastd.conf.sample
13
%%AVAST%%@sample %%ETCDIR%%/contentscanners/avastdscan.conf.sample
14
@sample %%ETCDIR%%/downloadmanagers/default.conf.sample
14
@sample %%ETCDIR%%/downloadmanagers/default.conf.sample
15
@sample %%ETCDIR%%/e2guardian.conf.sample
15
@sample %%ETCDIR%%/e2guardian.conf.sample
16
@sample %%ETCDIR%%/e2guardianf1.conf.sample
16
@sample %%ETCDIR%%/e2guardianf1.conf.sample

Return to bug 235879