From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 29 18:40:10 2011 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 6CB6C106566B for ; Fri, 29 Jul 2011 18:40:10 +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 40C238FC15 for ; Fri, 29 Jul 2011 18:40:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6TIeAm7033312 for ; Fri, 29 Jul 2011 18:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6TIeApJ033311; Fri, 29 Jul 2011 18:40:10 GMT (envelope-from gnats) Resent-Date: Fri, 29 Jul 2011 18:40:10 GMT Resent-Message-Id: <201107291840.p6TIeApJ033311@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, Dan Nelson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91D0C106566C for ; Fri, 29 Jul 2011 18:30:55 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 3FE418FC0A for ; Fri, 29 Jul 2011 18:30:55 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p6TIIRHx005868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Jul 2011 13:18:27 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id p6TIIQlx070599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Jul 2011 13:18:27 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id p6TIIPSL070598; Fri, 29 Jul 2011 13:18:25 -0500 (CDT) (envelope-from dan) Message-Id: <201107291818.p6TIIPSL070598@dan.emsphone.com> Date: Fri, 29 Jul 2011 13:18:25 -0500 (CDT) From: Dan Nelson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/159299: net-mgmt/net-snmp 5.7 doesn't include default mib modules X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Nelson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2011 18:40:10 -0000 >Number: 159299 >Category: ports >Synopsis: net-mgmt/net-snmp 5.7 doesn't include default mib modules >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jul 29 18:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Dan Nelson >Release: FreeBSD 8.2-STABLE i386 >Organization: >Environment: System: FreeBSD dan.emsphone.com 8.2-STABLE FreeBSD 8.2-STABLE #630 r223656M: Wed Jun 29 11:51:35 CDT 2011 zsh@dan.emsphone.com:/usr/src-svn/sys/i386/compile/DANSMP i386 >Description: The net-snmp port appends "CONFIGURE_ARGS+=--with-mib-modules ..." in two locations; once at the top along with a bunch of other configure flags, and once at the bottom, using the contents of ${NET_SNMP_WITH_MIB_MODULE_LIST}. The last option takes precedence, so if NET_SNMP_WITH_MIB_MODULE_LIST gets set, the default list of mibs "host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio" is lost. >How-To-Repeat: Build net-snmp on any FreeBSD older than OSVERSION 700028, and notice that the only additional mib configured is sctp-mib. >Fix: Apply this patch: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-mgmt/net-snmp/Makefile,v retrieving revision 1.188 diff -u -r1.188 Makefile --- Makefile 28 Jul 2011 12:41:49 -0000 1.188 +++ Makefile 29 Jul 2011 17:56:58 -0000 @@ -40,7 +40,6 @@ --with-sys-location="${NET_SNMP_SYS_LOCATION}" \ --with-logfile="${NET_SNMP_LOGFILE}" \ --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \ - --with-mib-modules="host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio" \ --with-gnu-ld --with-libwrap --with-ldflags="-lm -lkvm -ldevstat" .if defined(BATCH) @@ -107,6 +106,8 @@ NET_SNMP_LOGFILE?= /var/log/snmpd.log NET_SNMP_PERSISTENTDIR?=/var/net-snmp +NET_SNMP_WITH_MIB_MODULE_LIST+= host disman/event-mib smux mibII/mta_sendmail mibII/tcpTable ucd-snmp/diskio + .if ${OSVERSION} >= 700028 NET_SNMP_WITH_MIB_MODULE_LIST+= sctp-mib .endif >Release-Note: >Audit-Trail: >Unformatted: