ports/71522: Fix for net-snmp under 6-CURRENT
Dominic Mitchell
dom at happygiraffe.net
Thu Sep 9 12:50:28 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list