From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 22 01:30:14 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E2631065677 for ; Wed, 22 Jun 2011 01:30:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C5BC58FC0C for ; Wed, 22 Jun 2011 01:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5M1UDxf077254 for ; Wed, 22 Jun 2011 01:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5M1UD71077250; Wed, 22 Jun 2011 01:30:13 GMT (envelope-from gnats) Resent-Date: Wed, 22 Jun 2011 01:30:13 GMT Resent-Message-Id: <201106220130.p5M1UD71077250@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ryan Steinmetz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB6071065792 for ; Wed, 22 Jun 2011 01:23:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id BCAA38FC12 for ; Wed, 22 Jun 2011 01:23:41 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5M1NfbO021362 for ; Wed, 22 Jun 2011 01:23:41 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5M1NfHD021360; Wed, 22 Jun 2011 01:23:41 GMT (envelope-from nobody) Message-Id: <201106220123.p5M1NfHD021360@red.freebsd.org> Date: Wed, 22 Jun 2011 01:23:41 GMT From: Ryan Steinmetz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/158147: [patch] security/suricata - misc fixes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2011 01:30:14 -0000 >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 + +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: