aboutsummaryrefslogtreecommitdiffstats
path: root/security/snort
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2010-12-09 09:36:35 +0800
committerclsung <clsung@FreeBSD.org>2010-12-09 09:36:35 +0800
commitf1e17bda1af57105a5a061179a3f643f43643c5d (patch)
treefb54285994e173348413deb75f38185016958213 /security/snort
parent66eb491a707b46eefedecffe545f4b11e6aff996 (diff)
downloadfreebsd-ports-gnome-f1e17bda1af57105a5a061179a3f643f43643c5d.tar.gz
freebsd-ports-gnome-f1e17bda1af57105a5a061179a3f643f43643c5d.tar.zst
freebsd-ports-gnome-f1e17bda1af57105a5a061179a3f643f43643c5d.zip
- add IPv6 option
PR: ports/152009 Submitted by: Trond Endrestøl <Trond dot Endrestol_AT_ximalas dot info>
Diffstat (limited to 'security/snort')
-rw-r--r--security/snort/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 2db72ad10198..0346e0e69cf7 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -26,7 +26,8 @@ OPTIONS= DYNAMIC "Enable dynamic plugin support" on \
POSTGRESQL "Enable PostgreSQL support" off \
PRELUDE "Enable Prelude NIDS integration" off \
PERPROFILE "Enable Performance Profiling" off \
- SNORTSAM "Enable output plugin to SnortSam" off
+ SNORTSAM "Enable output plugin to SnortSam" off \
+ IPV6 "Enable IPv6 support" off
USE_RC_SUBR= snort.sh
SUB_FILES= pkg-message
@@ -131,6 +132,10 @@ PATCH_SITES+=http://www.snortsam.net/files/snort-plugin/:snortsam
PATCHFILES+=snortsam-2.8.6.diff.gz:snortsam
.endif
+.if defined(WITH_IPV6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} '/SUBDIRS = /s/doc//' ${WRKSRC}/Makefile.in