[Pkg-net-snmp-commits] r302 - branches/net-snmp54/debian/patches
Jochen Friedrich
jochen at alioth.debian.org
Thu Nov 12 14:42:01 UTC 2009
Author: jochen
Date: 2009-11-12 14:42:00 +0000 (Thu, 12 Nov 2009)
New Revision: 302
Added:
branches/net-snmp54/debian/patches/59_fix_python.README
branches/net-snmp54/debian/patches/59_fix_python.patch
Modified:
branches/net-snmp54/debian/patches/series
Log:
Apply upstream revision R17470
Added: branches/net-snmp54/debian/patches/59_fix_python.README
===================================================================
--- branches/net-snmp54/debian/patches/59_fix_python.README (rev 0)
+++ branches/net-snmp54/debian/patches/59_fix_python.README 2009-11-12 14:42:00 UTC (rev 302)
@@ -0,0 +1,2 @@
+Explicitly added key UseNumeric with value 0 and disabled some debug info
+Bug has been fixed upstream with the patch provided at R17470
Added: branches/net-snmp54/debian/patches/59_fix_python.patch
===================================================================
--- branches/net-snmp54/debian/patches/59_fix_python.patch (rev 0)
+++ branches/net-snmp54/debian/patches/59_fix_python.patch 2009-11-12 14:42:00 UTC (rev 302)
@@ -0,0 +1,21 @@
+Index: net-snmp-5.4.2.1/python/netsnmp/client.py
+===================================================================
+--- net-snmp-5.4.2.1.orig/python/netsnmp/client.py 2008-03-21 18:45:33.000000000 +0100
++++ net-snmp-5.4.2.1/python/netsnmp/client.py 2009-11-12 14:03:27.000000000 +0100
+@@ -28,6 +28,7 @@
+ 'Context':'',
+ 'Engineboots':0,
+ 'Enginetime':0,
++ 'UseNumeric':0,
+ }
+ keys = kargs.keys()
+ for key in keys:
+@@ -234,8 +235,6 @@
+ var_list.append(arg)
+ else:
+ var_list.append(Varbind(arg))
+- for var in var_list:
+- print " ",var.tag, var.iid, "=", var.val, '(',var.type,')'
+ res = sess.walk(var_list)
+ return res
+
Modified: branches/net-snmp54/debian/patches/series
===================================================================
--- branches/net-snmp54/debian/patches/series 2009-11-12 12:41:29 UTC (rev 301)
+++ branches/net-snmp54/debian/patches/series 2009-11-12 14:42:00 UTC (rev 302)
@@ -12,3 +12,4 @@
56_manpage.patch
57_fix_ipv6_memleak.patch
58_download_mibs.patch
+59_fix_python.patch
More information about the Pkg-net-snmp-commits
mailing list