debian/0000755000000000000000000000000011625215444007172 5ustar debian/clean0000644000000000000000000000001011266104541010162 0ustar snmpkey debian/changelog0000644000000000000000000001242711625214753011054 0ustar libnet-snmp-perl (6.0.1-2) unstable; urgency=low * Replace Digest:SHA1 by Digest:SHA (Closes: #636857) -- Jochen Friedrich Wed, 24 Aug 2011 17:33:35 +0200 libnet-snmp-perl (6.0.1-1) unstable; urgency=low * New upstream release (Closes: #617916, #626906) * Bump Standards version to 3.9.2 * Remove 01_ipv6_export.patch. This is implemented differently now. -- Jochen Friedrich Tue, 31 May 2011 16:52:27 +0200 libnet-snmp-perl (5.2.0-4) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format * Bump Standards version to 3.8.4 -- Jochen Friedrich Tue, 18 May 2010 18:03:10 +0200 libnet-snmp-perl (5.2.0-3) unstable; urgency=low * Depend on perl > 5.10.0 and add patch for IPv6 sockets. (Closes: #489014). Thanks to Bernhard Schmidt . * Add examples back which have been lost in 5.2.0-2. * Build depend on netbase (Closes: #552939). -- Jochen Friedrich Fri, 30 Oct 2009 16:16:33 +0100 libnet-snmp-perl (5.2.0-2) unstable; urgency=low * Update debhelper to version 7 and simplify rules. * Bump standards version to 3.8.3. -- Jochen Friedrich Fri, 16 Oct 2009 17:00:54 +0200 libnet-snmp-perl (5.2.0-1) unstable; urgency=low * New upstream release o Removed the dependency on the IO::Socket::INET and IO::Socket::INET6 modules. The IO::Socket module is now used for all socket objects. o The port information can now be included as part of the transport address specified with the session() Transport Domain arguments. o Added support for specifying the scope zone index for IPv6 addresses as described in RFC 4007 - "IPv6 Scoped Address Architecture". o The default value for the agent-addr in SNMPv1 Trap-PDUs is now the IP address associated with the interface on which the trap will be transmitted. -- Jochen Friedrich Mon, 31 Oct 2005 17:04:44 +0100 libnet-snmp-perl (5.1.0-1) unstable; urgency=low * New upstream release o Support of the AES privacy protocol was updated to be compliant with RFC 3826 - "The Advanced Encryption Standard (AES) Cipher Algorithm in the SNMP User-based Security Model". o Corrected an issue where any non-blocking SNMPv3 message queued prior to calling snmp_dispatcher() was sent with an empty contextEngineID. o The first SNMPv3 discovery message is again being sent with a zero- length msgUserName as suggested by RFC 3414. o All sockets are now flagged as non-blocking to prevent a possible deadlock due to an interaction between recv() and select(). o The sending of messages is now bounded by the receive processing rate to avoid receive buffer overflows. o The return value of select() is now checked for both "undef" and -1. o The "usm.t" tests are now skipped if any of the non-core modules required by the Net::SNMP::Security::USM module are not present. * Bumped policy to 3.6.2 -- Jochen Friedrich Fri, 5 Aug 2005 15:09:58 +0200 libnet-snmp-perl (5.0.1-1) unstable; urgency=low * New maintainer (Closes: #279795) * New upstream release * Updated policy to 3.6.1 * Added watch file -- Jochen Friedrich Sat, 13 Nov 2004 13:18:01 +0100 libnet-snmp-perl (4.0.3-1) unstable; urgency=low * New maintainer. * New upstream release which should address memory leaks, Closes: #165659, #178075 * Alter path to perl in examples, Closes: #166767 -- Stephen Zander Mon, 24 Feb 2003 04:40:32 -0800 libnet-snmp-perl (4.0.2-1) unstable; urgency=low * New upstream release * Added link to /usr/share/doc/perl/copyright (Closes: #157631) -- Javier Fernandez-Sanguino Pen~a Mon, 2 Sep 2002 20:54:48 +0200 libnet-snmp-perl (3.6-7) unstable; urgency=low * Comply with modern Perl policy to avoid installing unnecessary .packlist files in /etc (closes: #114596, #132176). * Added changes suggested by Colin Watson (patch, this fix obsoletes the changes made but not commited in 3.6-6) -- Javier Fernandez-Sanguino Pen~a Sat, 9 Feb 2002 14:41:24 +0000 libnet-snmp-perl (3.6-6) unstable; urgency=low * Fixed examples /usr/local/bin * Removed senseless /etc/auto dirs -- Javier Fernandez-Sanguino Pen~a Tue, 11 Sep 2001 23:20:22 +0200 libnet-snmp-perl (3.6-5) unstable; urgency=low * Changed debian/rules which should make it install the correct files -- Javier Fernandez-Sanguino Pen~a Tue, 11 Sep 2001 22:45:00 +0200 libnet-snmp-perl (3.6-4) unstable; urgency=high * Fixed wrong location of directories due to PREFIX (Closes: #111843) -- Javier Fernandez-Sanguino Pen~a Mon, 10 Sep 2001 18:37:17 +0200 libnet-snmp-perl (3.6-3) unstable; urgency=low * Fixed lintian errors, added build-depends -- Javier Fernandez-Sanguino Pen~a Sat, 8 Sep 2001 19:16:24 +0200 libnet-snmp-perl (3.6-2) unstable; urgency=low * Fixed standards version (Closes 79706) -- Javier Fernandez-Sanguino Pen~a Mon, 11 Jun 2001 21:39:57 +0200 libnet-snmp-perl (3.6-1) unstable; urgency=low * Initial debianization -- Javier Fernandez-Sanguino Pen~a Mon, 16 Oct 2000 10:13:00 +0200 debian/compat0000644000000000000000000000000211266104554010370 0ustar 7 debian/control0000644000000000000000000000204011625215264010571 0ustar Source: libnet-snmp-perl Maintainer: Jochen Friedrich Priority: optional Section: perl Standards-Version: 3.9.2 Build-Depends-Indep: debhelper (>= 7.0.50~), perl (>> 5.10.0), netbase Package: libnet-snmp-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends} Suggests: libcrypt-des-perl, libdigest-hmac-perl, libio-socket-inet6-perl Description: Script SNMP connections The module Net::SNMP implements an object oriented interface to the Simple Network Management Protocol. Perl applications can use the module to retrieve or update information on a remote host using the SNMP protocol. Net::SNMP is implemented completely in Perl, requires no compiling, and uses only standard Perl modules. SNMPv1 and SNMPv2c (Community-Based SNMPv2), as well as SNMPv3 with USM are supported by the module. SNMP over UDP as well as TCP with both IPv4 and IPv6 can be used. The Net::SNMP module assumes that the user has a basic understanding of the Simple Network Management Protocol and related network management concepts. debian/source/0000755000000000000000000000000011374534542010476 5ustar debian/source/format0000644000000000000000000000001411374534542011704 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000161011266104144011116 0ustar This is the Debian GNU/Linux version of the Net::SNMP Perl module. It has been downloaded from the CPAN archive: http://www.cpan.org/modules/by-module/Net/ From the README: COPYRIGHT Copyright (c) 1998-2004 David M. Town. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. Perl is distributed under either the Artistic licence or the GPL. The full text of the GPL is available on Debian systems in /usr/share/common-licenses/GPL The full text of the Artistic Licence is available on Debian systems in /usr/share/common-licenses/Artistic. This package has been through multiple maintainers (for a list see /usr/share/doc/libnet-snmp-perl/changelog.Debian.gz). Current Debian specific changes are copyright (c) 2003 Stephen Zander . Copyright (c) 2004 Jochen Friedrich debian/patches/0000755000000000000000000000000011625215275010623 5ustar debian/patches/series0000644000000000000000000000003211625215155012030 0ustar replace_digest_sha1.patch debian/patches/replace_digest_sha1.patch0000644000000000000000000001175311625215275015541 0ustar Description: Upstream changes introduced in version 6.0.1-2 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . libnet-snmp-perl (6.0.1-2) unstable; urgency=low . * Replace Digest:SHA1 by Digest:SHA (Closes: #636857) . The person named in the Author field signed this changelog entry. Author: Jochen Friedrich Bug-Debian: http://bugs.debian.org/636857 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: Index: libnet-snmp-perl-6.0.1/Build.PL =================================================================== --- libnet-snmp-perl-6.0.1.orig/Build.PL 2011-08-24 17:36:51.000000000 +0200 +++ libnet-snmp-perl-6.0.1/Build.PL 2011-08-24 17:36:55.000000000 +0200 @@ -37,7 +37,6 @@ recommends => { Crypt::DES => '2.03', # SNMPv3 Digest::MD5 => '2.11', # SNMPv3 - Digest::SHA1 => '1.02', # SNMPv3 Digest::HMAC => '1.00', # SNMPv3 Crypt::Rijndael => '1.02', # SNMPv3 - AES Cipher Algorithm Socket6 => '0.23', # UDP/IPv6 or TCP/IPv6 Transport Domain Index: libnet-snmp-perl-6.0.1/Makefile.PL =================================================================== --- libnet-snmp-perl-6.0.1.orig/Makefile.PL 2011-08-24 17:36:51.000000000 +0200 +++ libnet-snmp-perl-6.0.1/Makefile.PL 2011-08-24 17:36:55.000000000 +0200 @@ -40,7 +40,6 @@ Math::BigInt => 0, Crypt::DES => '2.03', # SNMPv3 Digest::MD5 => '2.11', # SNMPv3 - Digest::SHA1 => '1.02', # SNMPv3 Digest::HMAC => '1.00', # SNMPv3 }, dist => { Index: libnet-snmp-perl-6.0.1/META.yml =================================================================== --- libnet-snmp-perl-6.0.1.orig/META.yml 2011-08-24 17:36:51.000000000 +0200 +++ libnet-snmp-perl-6.0.1/META.yml 2011-08-24 17:36:55.000000000 +0200 @@ -63,7 +63,6 @@ Crypt::Rijndael: 1.02 Digest::HMAC: 1.00 Digest::MD5: 2.11 - Digest::SHA1: 1.02 Socket6: 0.23 requires: Carp: 0 Index: libnet-snmp-perl-6.0.1/lib/Net/SNMP.pm =================================================================== --- libnet-snmp-perl-6.0.1.orig/lib/Net/SNMP.pm 2011-08-24 17:36:51.000000000 +0200 +++ libnet-snmp-perl-6.0.1/lib/Net/SNMP.pm 2011-08-24 17:36:55.000000000 +0200 @@ -3550,7 +3550,7 @@ =item * -The non-core modules F, F, F, and +The non-core modules F, F, and F are required to support SNMPv3. =item * Index: libnet-snmp-perl-6.0.1/lib/Net/SNMP/Security/USM.pm =================================================================== --- libnet-snmp-perl-6.0.1.orig/lib/Net/SNMP/Security/USM.pm 2011-08-24 17:36:51.000000000 +0200 +++ libnet-snmp-perl-6.0.1/lib/Net/SNMP/Security/USM.pm 2011-08-24 17:36:55.000000000 +0200 @@ -25,7 +25,7 @@ use Crypt::DES(); use Digest::MD5(); -use Digest::SHA1(); +use Digest::SHA(); use Digest::HMAC(); ## Version of the Net::SNMP::Security::USM module @@ -1146,7 +1146,7 @@ } elsif ($this->{_auth_protocol} eq AUTH_PROTOCOL_HMACSHA) { $this->{_auth_data} = - Digest::HMAC->new($this->{_auth_key}, 'Digest::SHA1'); + Digest::HMAC->new($this->{_auth_key}, 'Digest::SHA'); } else { @@ -1391,7 +1391,7 @@ if ($this->{_auth_protocol} eq AUTH_PROTOCOL_HMACMD5) { $this->{_priv_data}->{hash} = Digest::MD5->new(); } elsif ($this->{_auth_protocol} eq AUTH_PROTOCOL_HMACSHA) { - $this->{_priv_data}->{hash} = Digest::SHA1->new(); + $this->{_priv_data}->{hash} = Digest::SHA->new(); } return TRUE; @@ -1626,7 +1626,7 @@ my $key_len = { AUTH_PROTOCOL_HMACMD5, [ 16, 'HMAC-MD5' ], - AUTH_PROTOCOL_HMACSHA, [ 20, 'HMAC-SHA1' ], + AUTH_PROTOCOL_HMACSHA, [ 20, 'HMAC-SHA' ], }; if (!exists $key_len->{$this->{_auth_protocol}}) { @@ -1681,7 +1681,7 @@ if ($this->{_auth_protocol} eq AUTH_PROTOCOL_HMACMD5) { $hnnn = Digest::MD5->new(); } elsif ($this->{_auth_protocol} eq AUTH_PROTOCOL_HMACSHA) { - $hnnn = Digest::SHA1->new(); + $hnnn = Digest::SHA->new(); } else { return $this->_error( 'The authProtocol "%s" is unknown', $this->{_auth_protocol} @@ -1783,7 +1783,7 @@ my $digests = { AUTH_PROTOCOL_HMACMD5, 'Digest::MD5', - AUTH_PROTOCOL_HMACSHA, 'Digest::SHA1', + AUTH_PROTOCOL_HMACSHA, 'Digest::SHA', }; if (!exists $digests->{$this->{_auth_protocol}}) { debian/rules0000755000000000000000000000043411374534473010262 0ustar #!/usr/bin/make -f %: dh $@ .PHONY: override_dh_auto_install override_dh_auto_install: dh_auto_install dh_installdocs README dh_installexamples examples/. perl -pi -e 's!/usr/local/bin/perl!/usr/bin/perl!g;' \ debian/libnet-snmp-perl/usr/share/doc/libnet-snmp-perl/examples/* debian/watch0000644000000000000000000000041711571201602010214 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # Site Version Action version=2 http://www.cpan.org/modules/by-module/Net/ Net-SNMP-v([0-9].*)\.tar\.gz debian uupdate