ports/143629: enable IPv6 for net-mgmt/pmacct

Martin Birgmeier martin.birgmeier at aon.at
Sun Feb 7 08:50:02 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list