ports/133093: Net-SNMP port does not use menu options for IPv6, Perl, or 64-bit counter
Steve Polyack
spolyack at collaborativefusion.com
Thu Mar 26 15:30:06 UTC 2009
>Number: 133093
>Category: ports
>Synopsis: Net-SNMP port does not use menu options for IPv6, Perl, or 64-bit counter
>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: Thu Mar 26 15:30:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Steve Polyack
>Release: FreeBSD 7.1-RELEASE-p2
>Organization:
Collaborative Fusion, Inc.
>Environment:
FreeBSD ********* 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #4: Mon Feb 9 13:57:50 EST 2009 root@*********:/usr/obj/usr/src/sys/GENERIC-DESKTOP i386
>Description:
The port does not support the menu-configurable options subsystem. Therefore, if you typically build the port with any specific options you must remember to set the correct env. variables each time.
While this doesn't seem like much of an issue for one system, it can become quite cumbersome to manage multiple servers without a way to maintain common options across port upgrades.
>How-To-Repeat:
>Fix:
I've attached a patch to use the ports options menu for toggling IPv6, MFD_REWRITES (64-bit interface counters), and Perl support.
Patch attached with submission follows:
diff -ur net-snmp.orig/Makefile net-snmp/Makefile
--- net-snmp.orig/Makefile 2009-03-07 10:51:25.000000000 -0500
+++ net-snmp/Makefile 2009-03-26 11:17:54.000000000 -0400
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.4.2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
@@ -17,6 +17,10 @@
MAINTAINER= kuriyama at FreeBSD.org
COMMENT= An extendable SNMP implementation
+OPTIONS= IPV6 "Build with IPv6 support" on \
+ MFD_REWRITES "Build with 64-bit Interface Counters" off \
+ PERL "Install additional perl modules" on
+
.if !defined(WITH_TKMIB)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-local:Makefile.in
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list