aboutsummaryrefslogtreecommitdiff
path: root/www/dansguardian-devel
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-02-18 13:14:31 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-02-18 13:14:31 +0000
commit998ea2184e3b3ad4aa14d50bc581c803f7a8b251 (patch)
tree7c07cae13b2b663ac7b1ec24eed3579949d4722e /www/dansguardian-devel
parent85a72c9f821b0557cb5eb95f7075972d9b5e608d (diff)
downloadports-998ea2184e3b3ad4aa14d50bc581c803f7a8b251.tar.gz
ports-998ea2184e3b3ad4aa14d50bc581c803f7a8b251.zip
Notes
Diffstat (limited to 'www/dansguardian-devel')
-rw-r--r--www/dansguardian-devel/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/dansguardian-devel/Makefile b/www/dansguardian-devel/Makefile
index 0ac045f90b99..2b8d70697737 100644
--- a/www/dansguardian-devel/Makefile
+++ b/www/dansguardian-devel/Makefile
@@ -40,7 +40,8 @@ OPTIONS= APACHE "Enable Apache support for access denied page" on \
KAV "Enable Kaspersky AV support (testing)" off \
NTLM "Enable NTLM authentication plugin" off \
EMAIL "Enable e-mail reporting support" off \
- DEBUG "Enable debug options - not for production use" off
+ DEBUG "Enable debug options - not for production use" off \
+ SSL "Enable SSL Cert verify and filtering (experimental)" off
DG_URL= http://dansguardian.org/index.php?page=copyright2
CONFDIR= ${PREFIX}/etc/dansguardian
@@ -130,6 +131,12 @@ post-patch:
@${REINPLACE_CMD} -e '/install-data-am/ s|install-dist_docDATA||' \
${WRKSRC}/doc/Makefile.in
.endif
+.if defined(WITH_SSL)
+ @${REINPLACE_CMD} -e 's|ifdef __SSLCERT|ifdef __SSLCERT_ERROR_AUTH|' \
+ ${WRKSRC}/src/Auth.cpp
+LDFLAGS+= -lssl -lcrypto
+CFLAGS+= -D__SSLMITM -D__SSLCERT
+.endif
post-install:
# Display post-install message