From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 7 08:50:01 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 DF9E61065670 for ; Sun, 7 Feb 2010 08:50:01 +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 BE94F8FC25 for ; Sun, 7 Feb 2010 08:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o178o1s0018779 for ; Sun, 7 Feb 2010 08:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o178o1xw018778; Sun, 7 Feb 2010 08:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 7 Feb 2010 08:50:01 GMT Resent-Message-Id: <201002070850.o178o1xw018778@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, Martin Birgmeier Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91D5F1065693 for ; Sun, 7 Feb 2010 08:41:32 +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 837AB8FC1C for ; Sun, 7 Feb 2010 08:41:32 +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 o178fWme014711 for ; Sun, 7 Feb 2010 08:41:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o178fWCX014697; Sun, 7 Feb 2010 08:41:32 GMT (envelope-from nobody) Message-Id: <201002070841.o178fWCX014697@www.freebsd.org> Date: Sun, 7 Feb 2010 08:41:32 GMT From: Martin Birgmeier To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/143629: enable IPv6 for net-mgmt/pmacct 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 Feb 2010 08:50:02 -0000 >Number: 143629 >Category: ports >Synopsis: enable IPv6 for net-mgmt/pmacct >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 07 08:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Martin Birgmeier >Release: 7,2, 8.0 >Organization: MBi at home >Environment: FreeBSD campanula.xyzzy 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Thu Dec 31 13:33:35 CET 2009 root@campanula.xyzzy:/usr/VOL/OBJ/FreeBSD/RELENG_8_0_0_RELEASE/src/sys/XYZZY_SMP_NA i386 >Description: pmacct can do IPv6, offer the option to enable it. >How-To-Repeat: Make the port. >Fix: See attached patch. Patch attached with submission follows: --- ./net-mgmt/pmacct/Makefile.ORIG 2009-04-13 09:54:10.000000000 +0200 +++ ./net-mgmt/pmacct/Makefile 2009-12-31 18:01:25.000000000 +0100 @@ -22,7 +22,8 @@ PGSQL "Enable PostgreSQL support." Off \ SQLITE "Enable SQLite support." Off \ MMAP "Enable mmap(2) support." On \ - LAYER2 "Enable Layer-2 support: MAC Adresses and VLANs" On + LAYER2 "Enable Layer-2 support: MAC Adresses and VLANs" On \ + IPV6 "Enable IPv6 support." On .include @@ -68,6 +69,12 @@ CONFIGURE_ARGS+=--enable-l2 .endif +.if defined(WITHOUT_IPV6) +CONFIGURE_ARGS+=--disable-ipv6 +.else +CONFIGURE_ARGS+=--enable-ipv6 +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure >Release-Note: >Audit-Trail: >Unformatted: