--- libsnmp-info-perl-1.04.orig/debian/rules +++ libsnmp-info-perl-1.04/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we delete them from the deb: + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 + + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot +# dh_installcron +# dh_installmenu +# dh_installexamples + dh_installdocs README + dh_installchangelogs ChangeLog + dh_perl + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libsnmp-info-perl-1.04.orig/debian/changelog +++ libsnmp-info-perl-1.04/debian/changelog @@ -0,0 +1,17 @@ +libsnmp-info-perl (1.04-1) unstable; urgency=low + + [ Oliver Gorwits ] + * Initial Release. + * Closes ITP Debian Bug #434518 + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + + [ Christoph Martin ] + * add Uploaders: line + * correct Depends: line (perl dependencies) + * correct phrasing and line breaks in Description + + -- Christoph Martin Thu, 18 Oct 2007 10:31:49 +0200 --- libsnmp-info-perl-1.04.orig/debian/copyright +++ libsnmp-info-perl-1.04/debian/copyright @@ -0,0 +1,46 @@ +This is the debian package for the SNMP-Info module. +It was created by Oliver Gorwits using dh-make-perl. + +Changes from the stock dh-make-perl output are Copyright (c) 2007, University +of Oxford. All Rights Reserved. + +The Debian packaging is free software; you can redistribute it and/or modify it +under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation. The Debian packaging is distributed in the hope +that it will be useful, but WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. You should have received a copy of the +GNU General Public License along with this program; if not, write to the Free +Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 +USA. Alternatively, you may have a copy at /usr/share/common-licenses/GPL-2. + +Upstream Author: Max Baker, Eric Miller, Bill Fenner + +Upstream Copyright: from version 0.7 2003,2004 Max Baker +Upstream Copyright: 2002,2003 Regents of the University of California + +Upstream License: + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the University of California, Santa Cruz nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + --- libsnmp-info-perl-1.04.orig/debian/compat +++ libsnmp-info-perl-1.04/debian/compat @@ -0,0 +1 @@ +5 --- libsnmp-info-perl-1.04.orig/debian/watch +++ libsnmp-info-perl-1.04/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/SNMP/SNMP-Info-(.*).(tar.gz|tar|tgz) --- libsnmp-info-perl-1.04.orig/debian/control +++ libsnmp-info-perl-1.04/debian/control @@ -0,0 +1,31 @@ +Source: libsnmp-info-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0), libsnmp-perl (>= 5.1) +Build-Depends-Indep: perl (>= 5.6.0-16) +Maintainer: Oliver Gorwits +Uploaders: Christoph Martin +Standards-Version: 3.7.2 +Homepage: http://search.cpan.org/dist/SNMP-Info/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsnmp-info-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libsnmp-info-perl/ + +Package: libsnmp-info-perl +Architecture: all +Depends: ${perl:Depends}, perl-modules, libsnmp-perl (>= 5.1) +Recommends: netdisco-mibs +Description: Object Oriented Perl5 Interface to Network devices and MIBs through SNMP + SNMP::Info gives an object oriented interface to information obtained + through SNMP. + . + The idea behind this module is to give a common interface to data + from network devices, leaving the device-specific hacks behind the + scenes in subclasses. + . + The interface avoids use of OIDs in favour of methods representing + leaf names, either for single values or tables represented as Perl + hashes. + . + Information is grouped more logically than in the MIB trees. Adding + support for new devices is easy, and takes little or no SNMP + knowledge.