[Python-modules-commits] r541 - in /packages/python-pysnmp4-apps/trunk/debian: patches/ patches/00_version.patch rules

jluebbe-guest at users.alioth.debian.org jluebbe-guest at users.alioth.debian.org
Tue May 9 16:24:37 UTC 2006


Author: jluebbe-guest
Date: Tue May  9 16:24:36 2006
New Revision: 541

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=541
Log:
Add patch to use API v4

Added:
    packages/python-pysnmp4-apps/trunk/debian/patches/
    packages/python-pysnmp4-apps/trunk/debian/patches/00_version.patch
Modified:
    packages/python-pysnmp4-apps/trunk/debian/rules

Added: packages/python-pysnmp4-apps/trunk/debian/patches/00_version.patch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-apps/trunk/debian/patches/00_version.patch?rev=541&op=file
==============================================================================
--- packages/python-pysnmp4-apps/trunk/debian/patches/00_version.patch (added)
+++ packages/python-pysnmp4-apps/trunk/debian/patches/00_version.patch Tue May  9 16:24:36 2006
@@ -1,0 +1,52 @@
+diff -urN pysnmp-apps-0.2.3a.orig/tools/pysnmpbulkwalk pysnmp-apps-0.2.3a/tools/pysnmpbulkwalk
+--- pysnmp-apps-0.2.3a.orig/tools/pysnmpbulkwalk	2006-05-09 18:11:11.000000000 +0200
++++ pysnmp-apps-0.2.3a/tools/pysnmpbulkwalk	2006-05-09 18:11:44.000000000 +0200
+@@ -4,6 +4,9 @@
+ #
+ # Copyright 1999-2005 by Ilya Etingof <ilya at glas.net>.
+ #
++import os
++os.environ['PYSNMP_API_VERSION'] = 'v4'
++
+ import string, sys
+ from pysnmp_apps.cli import main, msgmod, secmod, target, pdu, mibview, base
+ from pysnmp.entity import engine
+diff -urN pysnmp-apps-0.2.3a.orig/tools/pysnmpget pysnmp-apps-0.2.3a/tools/pysnmpget
+--- pysnmp-apps-0.2.3a.orig/tools/pysnmpget	2006-05-09 18:11:11.000000000 +0200
++++ pysnmp-apps-0.2.3a/tools/pysnmpget	2006-05-09 18:12:01.000000000 +0200
+@@ -4,6 +4,9 @@
+ #
+ # Copyright 1999-2005 by Ilya Etingof <ilya at glas.net>.
+ #
++import os
++os.environ['PYSNMP_API_VERSION'] = 'v4'
++
+ import string, sys
+ from pysnmp_apps.cli import main, msgmod, secmod, target, pdu, mibview, base
+ from pysnmp.entity import engine
+diff -urN pysnmp-apps-0.2.3a.orig/tools/pysnmpset pysnmp-apps-0.2.3a/tools/pysnmpset
+--- pysnmp-apps-0.2.3a.orig/tools/pysnmpset	2006-05-09 18:11:11.000000000 +0200
++++ pysnmp-apps-0.2.3a/tools/pysnmpset	2006-05-09 18:12:08.000000000 +0200
+@@ -4,6 +4,9 @@
+ #
+ # Copyright 1999-2005 by Ilya Etingof <ilya at glas.net>.
+ #
++import os
++os.environ['PYSNMP_API_VERSION'] = 'v4'
++
+ import string, sys
+ from pysnmp_apps.cli import main, msgmod, secmod, target, pdu, mibview, base
+ from pysnmp.entity import engine
+diff -urN pysnmp-apps-0.2.3a.orig/tools/pysnmpwalk pysnmp-apps-0.2.3a/tools/pysnmpwalk
+--- pysnmp-apps-0.2.3a.orig/tools/pysnmpwalk	2006-05-09 18:11:11.000000000 +0200
++++ pysnmp-apps-0.2.3a/tools/pysnmpwalk	2006-05-09 18:11:54.000000000 +0200
+@@ -4,6 +4,9 @@
+ #
+ # Copyright 1999-2005 by Ilya Etingof <ilya at glas.net>.
+ #
++import os
++os.environ['PYSNMP_API_VERSION'] = 'v4'
++
+ import string, sys
+ from pysnmp_apps.cli import main, msgmod, secmod, target, pdu, mibview, base
+ from pysnmp.entity import engine

Modified: packages/python-pysnmp4-apps/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-pysnmp4-apps/trunk/debian/rules?rev=541&op=diff
==============================================================================
--- packages/python-pysnmp4-apps/trunk/debian/rules (original)
+++ packages/python-pysnmp4-apps/trunk/debian/rules Tue May  9 16:24:36 2006
@@ -3,6 +3,7 @@
 # python-distutils before debhelper to avoid it calling dh_python by itself
 include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/pysnmp4-apps
 




More information about the Python-modules-commits mailing list