Date: Sun, 7 Feb 2010 08:41:32 GMT From: Martin Birgmeier <martin.birgmeier@aon.at> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/143629: enable IPv6 for net-mgmt/pmacct Message-ID: <201002070841.o178fWCX014697@www.freebsd.org> Resent-Message-ID: <201002070850.o178o1xw018778@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002070841.o178fWCX014697>