Date: Wed, 22 Jun 2011 01:23:41 GMT From: Ryan Steinmetz <rpsfa@rit.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158147: [patch] security/suricata - misc fixes Message-ID: <201106220123.p5M1NfHD021360@red.freebsd.org> Resent-Message-ID: <201106220130.p5M1UD71077250@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106220123.p5M1NfHD021360>