Date: Thu, 9 Sep 2004 13:44:16 +0100 (BST) From: Dominic Mitchell <dom@happygiraffe.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/71522: Fix for net-snmp under 6-CURRENT Message-ID: <20040909124416.21F4AB99B@happygiraffe.net> Resent-Message-ID: <200409091250.i89CoRdS076544@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040909124416.21F4AB99B>