From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 26 15:30:05 2009 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 9F6DD1065693 for ; Thu, 26 Mar 2009 15:30:05 +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 795628FC16 for ; Thu, 26 Mar 2009 15:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2QFU5br016386 for ; Thu, 26 Mar 2009 15:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2QFU5xi016383; Thu, 26 Mar 2009 15:30:05 GMT (envelope-from gnats) Resent-Date: Thu, 26 Mar 2009 15:30:05 GMT Resent-Message-Id: <200903261530.n2QFU5xi016383@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, Steve Polyack Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7A5C1065697 for ; Thu, 26 Mar 2009 15:25:24 +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 C48EF8FC2B for ; Thu, 26 Mar 2009 15:25:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2QFPOX7094142 for ; Thu, 26 Mar 2009 15:25:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2QFPOaM094141; Thu, 26 Mar 2009 15:25:24 GMT (envelope-from nobody) Message-Id: <200903261525.n2QFPOaM094141@www.freebsd.org> Date: Thu, 26 Mar 2009 15:25:24 GMT From: Steve Polyack To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133093: Net-SNMP port does not use menu options for IPv6, Perl, or 64-bit counter 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: Thu, 26 Mar 2009 15:30:06 -0000 >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@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: