security/suricata: Remove unsupported DAG (Endace Capture) OPTION

This OPTION is non-functional as it requires hardware support and libdag from
Endace, which is not available in, nor recommended to be built via the ports
tree.

This OPTION also incorrectly added CONFIGURE_ARGS without adding any
LIB_DEPENDS, which broke configure: during build when the option was enabled.

Reported by:	mat (via pkg-fallout, via IRC)
This commit is contained in:
Kubilay Kocak 2013-12-05 11:58:23 +00:00
parent 79617def64
commit 991f0a8f2f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335661

View file

@ -3,6 +3,7 @@
PORTNAME= suricata
PORTVERSION= 1.4.6
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.openinfosecfoundation.org/download/ \
http://mirrors.rit.edu/zi/
@ -17,13 +18,12 @@ LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
libnet.so:${PORTSDIR}/net/libnet \
libyaml.so:${PORTSDIR}/textproc/libyaml
OPTIONS_DEFINE= IPFW PRELUDE PORTS_PCAP DAG TESTS
OPTIONS_DEFINE= IPFW PRELUDE PORTS_PCAP TESTS
OPTIONS_DEFAULT=IPFW
IPFW_DESC= Enable IPFW and IP Divert support for inline IDP
PRELUDE_DESC= Enable Prelude support for NIDS alerts
PORTS_PCAP_DESC=Use libpcap from ports
DAG_DESC= Enable Endace DAG capture support
TESTS_DESC= Enable unit tests in suricata binary
USE_AUTOTOOLS= autoconf libtool
@ -80,12 +80,6 @@ CONFIGURE_ARGS+= --with-libpcap-includes=/usr/include \
--with-libpcap-libraries=/usr/lib
.endif
.if ${PORT_OPTIONS:MDAG}
CONFIGURE_ARGS+= --enable-dag \
--with-dag-includes=${LOCALBASE}/include \
--with-dag-libraries=${LOCALBASE}/lib
.endif
.if ${PORT_OPTIONS:MTESTS}
CONFIGURE_ARGS+= --enable-unittests
.else