netsnmp: bump version
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 25 Oct 2009 20:05:38 +0000 (21:05 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 25 Oct 2009 20:05:38 +0000 (21:05 +0100)
Based on patch by Darcy Watkins <DWatkins@tranzeo.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/netsnmp/netsnmp-5.5-no-ifxtable-module-fix.patch [new file with mode: 0644]
package/netsnmp/netsnmp.mk

diff --git a/CHANGES b/CHANGES
index a7e56c928a0ec13f2dadfacf2c4b9c77d0c05503..0b822547468c90fbbf02fde4d0598885713c26cf 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,10 +7,11 @@
        e2fsprogs, festival, gstreamer, gst-plugins-bad, gst-plugins-base,
        gst-plugins-good, imagemagick, iptables, kernel-headers, kismet,
        libevent, libglib2, liblockfile, libmad, libnl, libupnp, libuuid,
-       ltrace, lua, mdadm, ncftp, ncurses, netkittelnet, ntfs-3g, openssl,
-       php, python, quagga, radvd, rsync, samba, sawman, shared-mime-info,
-       speech-tools, sqlite, squashfs, syslinux, u-boot, util-linux,
-       valgrind, vsftpd, wipe, wpa-supplicant, xdata_xcursor-themes, zlib
+       ltrace, lua, mdadm, ncftp, ncurses, netkittelnet, netsnmp, ntfs-3g,
+       openssl, php, python, quagga, radvd, rsync, samba, sawman,
+       shared-mime-info, speech-tools, sqlite, squashfs, syslinux, u-boot,
+       util-linux, valgrind, vsftpd, wipe, wpa-supplicant,
+       xdata_xcursor-themes, zlib
 
        Removed package: mdnsresponder, mpatrol
 
diff --git a/package/netsnmp/netsnmp-5.5-no-ifxtable-module-fix.patch b/package/netsnmp/netsnmp-5.5-no-ifxtable-module-fix.patch
new file mode 100644 (file)
index 0000000..e13106f
--- /dev/null
@@ -0,0 +1,18 @@
+--- net-snmp-5.5.theorig/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c   2009-06-12 12:02:22.000000000 -0700
++++ net-snmp-5.5/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c   2009-10-20 11:29:41.000000000 -0700
+@@ -374,6 +374,7 @@ _check_interface_entry_for_updates(ifTab
+      */
+     if (oper_changed) {
+         rowreq_ctx->data.ifLastChange = netsnmp_get_agent_uptime();
++#ifdef USING_IF_MIB_IFXTABLE_IFXTABLE_MODULE
+         if (rowreq_ctx->data.ifLinkUpDownTrapEnable == 1) {
+             if (rowreq_ctx->data.ifOperStatus == IFOPERSTATUS_UP) {
+                 oid notification_oid[] = { 1, 3, 6, 1, 6, 3, 1, 1, 5, 4 };
+@@ -389,6 +390,7 @@ _check_interface_entry_for_updates(ifTab
+                                              rowreq_ctx->data.ifOperStatus);
+             }
+         }
++#endif
+     }
+     else
index 336ffd741424d69e0a155c026cbcdcd801a66a69..cfe99059691330a1cc5a377be5a7ab1424f44838 100644 (file)
@@ -3,7 +3,7 @@
 # netsnmp
 #
 #############################################################
-NETSNMP_VERSION:=5.4.2.1
+NETSNMP_VERSION:=5.5
 NETSNMP_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/net-snmp/
 NETSNMP_DIR:=$(BUILD_DIR)/net-snmp-$(NETSNMP_VERSION)
 NETSNMP_SOURCE:=net-snmp-$(NETSNMP_VERSION).tar.gz