summaryrefslogtreecommitdiff
path: root/package/netsnmp
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-25 21:05:38 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-25 21:05:38 +0100
commit31d34b42053be4ce472d5561e7b21a3bcf4d9dd7 (patch)
tree64cdf32e36058aa3b537dc30a21a97b310102039 /package/netsnmp
parentb208bd4daa01e9af421debe7276f2ff4fc3bb052 (diff)
netsnmp: bump version
Based on patch by Darcy Watkins <DWatkins@tranzeo.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/netsnmp')
-rw-r--r--package/netsnmp/netsnmp-5.5-no-ifxtable-module-fix.patch18
-rw-r--r--package/netsnmp/netsnmp.mk2
2 files changed, 19 insertions, 1 deletions
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
index 000000000..e13106f46
--- /dev/null
+++ b/package/netsnmp/netsnmp-5.5-no-ifxtable-module-fix.patch
@@ -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
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 336ffd741..cfe990596 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -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