debian/0000755000000000000000000000000012152577776007211 5ustar debian/svn-deblayout0000644000000000000000000000011011723343213011674 0ustar tagsUrl=svn+ssh://svn.debian.org/svn/pkg-zenoss/tags/packages/pynetsnmp debian/watch0000644000000000000000000000013111723343213010211 0ustar version=3 http://dev.zenoss.org/svn/trunk/inst/externallibs/ pynetsnmp-([0-9.]+).tar.gz debian/rules0000755000000000000000000000171011737073660010257 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PKGNAME:=python-pynetsnmp build-arch: build build-indep: build build: build-stamp build-stamp: dh_testdir python setup.py build touch $@ clean: dh_testdir dh_testroot rm -f install-stamp build-stamp -python setup.py clean find . -name \*.pyc | xargs rm -f rm -rf build dh_clean install: install-stamp install-stamp: dh_testdir dh_testroot dh_prep dh_installdirs python setup.py install --root=debian/$(PKGNAME) dh_installdocs -A touch install-stamp binary-arch: build install # We have nothing to do by default. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installexamples dh_compress -X.py dh_fixperms dh_pysupport python debian/libdeps >> debian/$(PKGNAME).substvars dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/README.Debian0000644000000000000000000000066211723343213011232 0ustar pynetsnmp for Debian -------------------- pynetsnmp is very new and under heavy development. More functions, Unit tests and a documentation will be added later. It was developed to provide a well working twistedsnmp/pysnmp replacement for Zenoss. If you have any questions, please contact the Zenoss packaging team at . -- Bernd Zeimetz Tue, 8 May 2007 19:07:24 +0200 debian/libdeps0000644000000000000000000000043711723343213010536 0ustar #!/usr/bin/python import os import re child_stdin, child_stdout = os.popen2('dpkg -s libsnmp-dev') output = child_stdout.read() child_stdout.close() child_stdin.close() version = re.findall(r'^Depends:.*(libsnmp[0-9]+) \([^)]+\)', output, re.M)[0] print "libsnmp:Depends=" + version debian/examples0000644000000000000000000000000711723343213010723 0ustar test/* debian/copyright0000644000000000000000000000152611723343213011124 0ustar This package was debianized by Bernd Zeimetz on Tue, 8 May 2007 19:07:24 +0200. It was downloaded from http://dev.zenoss.org/svn/trunk/inst/externallibs/ Upstream Author: Eric C. Newton Copyright: Copyright © 2007 Zenoss, Inc. All rights reserved. License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. For complete information please visit: http://www.zenoss.com/oss/ On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is © 2007, Bernd Zeimetz and is maintained by Bhavani Shankar from March 2010 licensed under the GPL 2, see above. debian/source/0000755000000000000000000000000011723431236010470 5ustar debian/source/format0000644000000000000000000000001411723431236011676 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011723431226010616 5ustar debian/patches/00list0000644000000000000000000000002411723343213011646 0ustar examples-import-fix debian/patches/examples-import-fix.dpatch0000644000000000000000000000365411723431226015725 0ustar From: Bernd Zeimetz Subject: Fixiing tests to work as example diff -urNad pynetsnmp~/test/get.py pynetsnmp/test/get.py --- pynetsnmp~/test/get.py 2007-10-29 18:17:44.000000000 +0100 +++ pynetsnmp/test/get.py 2009-05-17 16:00:37.000000000 +0200 @@ -1,5 +1,5 @@ -import netsnmp -import twistedsnmp +from pynetsnmp import netsnmp +from pynetsnmp import twistedsnmp import sys from twisted.internet import reactor diff -urNad pynetsnmp~/test/getbulk.py pynetsnmp/test/getbulk.py --- pynetsnmp~/test/getbulk.py 2007-10-29 18:17:44.000000000 +0100 +++ pynetsnmp/test/getbulk.py 2009-05-17 16:00:37.000000000 +0200 @@ -1,5 +1,5 @@ -import netsnmp -import twistedsnmp +from pynetsnmp import netsnmp +from pynetsnmp import twistedsnmp import sys from twisted.internet import reactor diff -urNad pynetsnmp~/test/trap.py pynetsnmp/test/trap.py --- pynetsnmp~/test/trap.py 2007-10-30 14:30:19.000000000 +0100 +++ pynetsnmp/test/trap.py 2009-05-17 16:00:37.000000000 +0200 @@ -1,8 +1,8 @@ -import netsnmp +from pynetsnmp import netsnmp from ctypes import * from CONSTANTS import * -import twistedsnmp +from pynetsnmp import twistedsnmp from twisted.internet import reactor, defer def translateOid(oid): diff -urNad pynetsnmp~/test/twistget.py pynetsnmp/test/twistget.py --- pynetsnmp~/test/twistget.py 2007-04-07 20:48:28.000000000 +0200 +++ pynetsnmp/test/twistget.py 2009-05-17 16:00:37.000000000 +0200 @@ -1,4 +1,4 @@ -from twistedsnmp import AgentProxy +from pynetsnmp.twistedsnmp import AgentProxy from twisted.python import failure from twisted.internet import reactor diff -urNad pynetsnmp~/test/walk.py pynetsnmp/test/walk.py --- pynetsnmp~/test/walk.py 2007-10-29 18:17:44.000000000 +0100 +++ pynetsnmp/test/walk.py 2009-05-17 16:00:37.000000000 +0200 @@ -1,5 +1,5 @@ -import netsnmp -import twistedsnmp +from pynetsnmp import netsnmp +from pynetsnmp import twistedsnmp import sys from twisted.internet import reactor, defer debian/compat0000644000000000000000000000000211737072651010375 0ustar 9 debian/control0000644000000000000000000000211411737073660010601 0ustar Source: pynetsnmp Section: python Priority: optional Maintainer: Bhavani Shankar Build-Depends: debhelper (>= 9), python (>= 2.5) Build-Depends-Indep: libsnmp-dev, python-support Vcs-Svn: svn://svn.debian.org/svn/pkg-zenoss/packages/pynetsnmp/trunk/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-zenoss/packages/pynetsnmp/trunk/ Standards-Version: 3.9.3.1 XS-Python-Version: >= 2.5 Homepage: http://www.zenoss.com/ Package: python-pynetsnmp Architecture: all Depends: ${python:Depends}, ${libsnmp:Depends}, ${misc:Depends}, python-twisted-core Description: Python ctypes bindings for NET-SNMP with Twisted integration pynetsnmp is a set of Python ctypes binding for NET-SNMP, an implementation of the Simple Network Management Protocol (SNMP). . pynetsnmp is a replacement for the various Python bindings provided by PySNMP* implementations (available as the Debian packages python-pysnmp*). . It also implements a glue with the Python Twisted Matrix networking framework which replaces the TwistedSNMP implementation (available as the python-twisted-snmp Debian package). debian/changelog0000644000000000000000000001167612152577776011076 0ustar pynetsnmp (0.28.14-1.2build1) saucy; urgency=low * Rebuild for libsnmp30. -- Colin Watson Sun, 02 Jun 2013 09:19:10 +0100 pynetsnmp (0.28.14-1.2) unstable; urgency=low * Non-maintainer upload. * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt". * Update to Standards-Version to 3.9.3.1 and debhelper to 9. * Add build-arch and build-indep targets; use dh_prep in rules file. -- Jari Aalto Wed, 04 Apr 2012 19:24:05 +0300 pynetsnmp (0.28.14-1) unstable; urgency=low * New Maintainer Closes: #538261 * New upstream version * debian/control: + Add myself as Maintainer + Bump up Standards-Version to 3.8.4 * debian/copyright: + Mention my name as maintainer + Update copyright symbol instead of depreceated (C) symbol (I: Lintian) * Add README.source for dpatch (W: Lintian) -- Bhavani Shankar Sun, 28 Mar 2010 17:00:53 +0530 pynetsnmp (0.28.13-3) unstable; urgency=low * QA upload. * Build-depend on python (>= 2.5). * Add XS-Python-Version field. * Bump Standards-Version to 3.8.3. * Remove python-ctypes from Depends (Closes: #562477). -- Luca Falavigna Sun, 27 Dec 2009 16:01:00 +0100 pynetsnmp (0.28.13-2) unstable; urgency=low * Orphaning the package - setting maintainer to QA - removing myself and Bernd (with consensus) from Uploaders -- Stefano Zacchiroli Fri, 24 Jul 2009 15:14:02 +0200 pynetsnmp (0.28.13-1) unstable; urgency=low * New upstream version. * Fixing copyright informations. * Dropping netsmnp.py-64bit patch, applied upstream. * Bumping Standards-Version, no change needed. -- Bernd Zeimetz Sun, 17 May 2009 16:08:56 +0200 pynetsnmp (0.28.8-1) unstable; urgency=low * New upstream release. -- Bernd Zeimetz Wed, 16 Jul 2008 10:28:01 +0200 pynetsnmp (0.28.6-2) unstable; urgency=low * Fixing a bug which resulted in hangs on 64bit architectures. Thanks to John Kozak. (Closes: #471980) -- Bernd Zeimetz Sun, 06 Apr 2008 15:53:54 +0200 pynetsnmp (0.28.6-1) unstable; urgency=low * New upstream version. -- Bernd Zeimetz Sun, 02 Mar 2008 23:32:53 +0100 pynetsnmp (0.28.4-1) unstable; urgency=low * New upstream version. -- Bernd Zeimetz Thu, 14 Feb 2008 23:10:00 +0100 pynetsnmp (0.28.1-1) unstable; urgency=low * New upstream version. -- Bernd Zeimetz Sun, 27 Jan 2008 02:13:39 +0100 pynetsnmp (0.28.0-1) unstable; urgency=medium * New upstream version. * Medium urgency as requested by the RMs. * debian/control: - Updating my email address. - Updating Standards-Version to 3.7.3. - Adding dpatch to the build dependencies. * debian/examples: - Including test/* as examples. * debian/libdeps: - Relaxing libsnmp dependency to the current SONAME. * debian/patches: - Adding examples-import-fix.dpatch to make the test files working as examples. -- Bernd Zeimetz Fri, 14 Dec 2007 22:47:52 +0100 pynetsnmp (0.27.0-1) unstable; urgency=low * New upstream version * debian/libdeps: - Replacing the gcc way to detect the libsnmp soname and version by a Python script. * debian/rules, debian/control: - Getting rid of cdbs. - We don't need to use patches since several versions now, removing dpatch completely now. * debian/control: - Removing Homepage from the description, using the Homepage field now. - Renaming XS-Vcs-* to Vcs-* as they're supported by dpkg now. -- Bernd Zeimetz Tue, 27 Nov 2007 13:41:47 +0100 pynetsnmp (0.26.8-1) unstable; urgency=low * New upstream version * debian/control: - Fixing our version number - this is not a native Debian package. -- Stefano Zacchiroli Mon, 03 Sep 2007 09:08:50 +0200 pynetsnmp (0.26.7) unstable; urgency=low * new upstream version * debian/control: - moving python-support, libsnmp-dev to Build-Depends-Indep as they're not needed in the clean target of debian/rules -- Bernd Zeimetz Sun, 02 Sep 2007 13:13:45 +0200 pynetsnmp (0.26.5-1) unstable; urgency=low * new upstream version -- Bernd Zeimetz Fri, 20 Jul 2007 15:31:40 +0200 pynetsnmp (0.26.4-1) unstable; urgency=low [ Bernd Zeimetz ] * new upstream version * debian/patches: - remove setup-version, integrated upstream * debian/libdeps: - adding a small test.c file to be able to figure out the right snmp library dependency on build time * debian/control, debian/rules: - removing the hardcoded dep on libsnmp10, instead we build debian/libdeps/test and use dh_shlibdeps on it. -- Stefano Zacchiroli Wed, 04 Jul 2007 09:18:33 +0200 pynetsnmp (0.26-1) unstable; urgency=low * Initial release (Closes: #425280) -- Bernd Zeimetz Sun, 20 May 2007 18:10:11 +0200