From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 7 10:30:10 2010 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 A620B106566C for ; Sun, 7 Nov 2010 10:30:10 +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 8139B8FC13 for ; Sun, 7 Nov 2010 10:30:10 +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 oA7AUA6p053899 for ; Sun, 7 Nov 2010 10:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA7AUAVj053883; Sun, 7 Nov 2010 10:30:10 GMT (envelope-from gnats) Resent-Date: Sun, 7 Nov 2010 10:30:10 GMT Resent-Message-Id: <201011071030.oA7AUAVj053883@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, Trond Endrestøl Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 947F7106566C for ; Sun, 7 Nov 2010 10:24:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 81C138FC0C for ; Sun, 7 Nov 2010 10:24:34 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oA7AOVmJ044386 for ; Sun, 7 Nov 2010 10:24:31 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id oA7AOVOL044385; Sun, 7 Nov 2010 10:24:31 GMT (envelope-from nobody) Message-Id: <201011071024.oA7AOVOL044385@www.freebsd.org> Date: Sun, 7 Nov 2010 10:24:31 GMT From: Trond Endrestøl To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/152009: security/snort should give the user a choice of enabling IPv6 support or not 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: Sun, 07 Nov 2010 10:30:10 -0000 >Number: 152009 >Category: ports >Synopsis: security/snort should give the user a choice of enabling IPv6 support or not >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 07 10:30:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Trond Endrestøl >Release: 8.1-STABLE >Organization: Private >Environment: >Description: snort has had IPv6 support since 2.8.4. IPv6 is not enabled by default nor is it available unless you manually tweek the Makefile or build snort yourself. security/snort/Makefile should be amended with the necessary logic to let the user choose to enable IPv6 if indeed snort IPv6 support is wanted. The attached patch can be used as a starting point. >How-To-Repeat: Build security/snort using the current Makefile (CVS rev 1.124). >Fix: Patch attached with submission follows: --- Makefile.orig 2010-09-24 18:51:56.000000000 +0200 +++ Makefile 2010-11-07 11:10:54.000000000 +0100 @@ -26,7 +26,8 @@ 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 @@ 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 >Release-Note: >Audit-Trail: >Unformatted: