ports/158147: [patch] security/suricata - misc fixes

Ryan Steinmetz rpsfa at rit.edu
Wed Jun 22 01:30:14 UTC 2011


>Number:         158147
>Category:       ports
>Synopsis:       [patch] security/suricata - misc fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 22 01:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        8.2-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
>Description:
-Add DAG Support
-Include bsd.port.options.mk for OPTIONS
-Fix build when using custom LOCALBASE/PREFIX
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/security/suricata/Makefile ./Makefile
--- /usr/ports/security/suricata/Makefile	2011-06-21 20:29:16.000000000 -0400
+++ ./Makefile	2011-06-21 21:18:52.000000000 -0400
@@ -28,7 +28,12 @@
 LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet11-config
 
 OPTIONS=	IPFW "Enable IPFW/IPDIVERT for IPS usage" on \
-		PRELUDE "Enable Prelude NIDS integration" off
+		PRELUDE "Enable Prelude NIDS integration" off \
+		DAG "Enable Endace DAG Support" off
+
+.include <bsd.port.options.mk>
+
+CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
 
 SUB_FILES=	pkg-message
 HAS_CONFIGURE=	yes
@@ -62,6 +67,10 @@
 CONFIGURE_ARGS+=	--enable-ipfw
 .endif
 
+.if defined(WITH_DAG)
+CONFIGURE_ARGS+=	--enable-dag
+.endif
+
 pre-install:
 	@${REINPLACE_CMD} -e 's|/etc/suricata|${PREFIX}/etc/suricata|g' ${WRKSRC}/suricata.yaml
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list