From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 9 12:50:28 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B55B16A4CF for ; Thu, 9 Sep 2004 12:50:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0553A43D3F for ; Thu, 9 Sep 2004 12:50:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i89CoR1F076545 for ; Thu, 9 Sep 2004 12:50:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i89CoRdS076544; Thu, 9 Sep 2004 12:50:27 GMT (envelope-from gnats) Resent-Date: Thu, 9 Sep 2004 12:50:27 GMT Resent-Message-Id: <200409091250.i89CoRdS076544@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, Dominic Mitchell Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70E2F16A4CE for ; Thu, 9 Sep 2004 12:44:22 +0000 (GMT) Received: from happygiraffe.net (happygiraffe.net [81.6.215.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F69243D6D for ; Thu, 9 Sep 2004 12:44:22 +0000 (GMT) (envelope-from dom@happygiraffe.net) Received: from localhost (localhost.happygiraffe.net [127.0.0.1]) by happygiraffe.net (Postfix) with ESMTP id 075AFB99C for ; Thu, 9 Sep 2004 13:44:21 +0100 (BST) Received: from happygiraffe.net ([127.0.0.1]) by localhost (ppe.happygiraffe.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 86281-07 for ; Thu, 9 Sep 2004 13:44:16 +0100 (BST) Received: by happygiraffe.net (Postfix, from userid 1001) id 21F4AB99B; Thu, 9 Sep 2004 13:44:16 +0100 (BST) Message-Id: <20040909124416.21F4AB99B@happygiraffe.net> Date: Thu, 9 Sep 2004 13:44:16 +0100 (BST) From: Dominic Mitchell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71522: Fix for net-snmp under 6-CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dominic Mitchell List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 12:50:28 -0000 >Number: 71522 >Category: ports >Synopsis: Fix for net-snmp under 6-CURRENT >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 09 12:50:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Dominic Mitchell >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD ppe.happygiraffe.net 6.0-CURRENT FreeBSD 6.0-CURRENT #6: Sat Sep 4 03:03:48 BST 2004 root@ppe.happygiraffe.net:/usr/obj/usr/src/sys/PPE i386 net-snmp 5.1.2_1 >Description: Some of the builtin modules for net-snmp are no longer available when compiled under 6-current. >How-To-Repeat: Rebuild net-snmp on 6-CURRENT and then do: % snmpwalk -c public localhost UCD-SNMP-MIB::systemStats No output means the modules aren't available, but they should be (and are under 5-CURRENT). >Fix: This patch fixes the problem. I've bumped the portversion, just in case. diff -urN /usr/ports/net-mgmt/net-snmp/Makefile net-snmp/Makefile --- /usr/ports/net-mgmt/net-snmp/Makefile Mon Sep 6 00:50:09 2004 +++ net-snmp/Makefile Thu Sep 9 13:41:53 2004 @@ -7,7 +7,7 @@ PORTNAME= snmp PORTVERSION= 5.1.2 -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMEPREFIX= net- CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff -urN /usr/ports/net-mgmt/net-snmp/files/patch-ucd_snmp.h net-snmp/files/patch-ucd_snmp.h --- /usr/ports/net-mgmt/net-snmp/files/patch-ucd_snmp.h Thu Jan 1 01:00:00 1970 +++ net-snmp/files/patch-ucd_snmp.h Thu Sep 9 13:41:15 2004 @@ -0,0 +1,11 @@ +--- agent/mibgroup/ucd_snmp.h.orig Wed Sep 8 22:24:49 2004 ++++ agent/mibgroup/ucd_snmp.h Wed Sep 8 22:24:58 2004 +@@ -38,6 +38,8 @@ + config_arch_require(freebsd4, ucd-snmp/memory_freebsd2) + config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2) + config_arch_require(freebsd5, ucd-snmp/memory_freebsd2) ++config_arch_require(freebsd6, ucd-snmp/vmstat_freebsd2) ++config_arch_require(freebsd6, ucd-snmp/memory_freebsd2) + config_arch_require(netbsd1, ucd-snmp/vmstat_netbsd1) + config_arch_require(netbsd1, ucd-snmp/memory_netbsd1) + config_arch_require(openbsd2, ucd-snmp/vmstat_netbsd1) >Release-Note: >Audit-Trail: >Unformatted: