[libnet-snmp-perl] 06/23: Import Debian changes 5.2.0-3

Roland Rosenfeld roland at moszumanska.debian.org
Mon Aug 21 20:43:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

roland pushed a commit to branch master
in repository libnet-snmp-perl.

commit 2095544416b1fabb8e436b0e710f4344753578d3
Author: Jochen Friedrich <jochen at scram.de>
Date:   Fri Oct 30 16:16:33 2009 +0100

    Import Debian changes 5.2.0-3
    
    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 <berni at birkenwald.de>.
      * Add examples back which have been lost in 5.2.0-2.
      * Build depend on netbase (Closes: #552939).
---
 debian/README.source                |  8 ++++++++
 debian/changelog                    |  9 +++++++++
 debian/control                      |  2 +-
 debian/patches/01_ipv6_export.patch | 36 ++++++++++++++++++++++++++++++++++++
 debian/patches/series               |  1 +
 debian/rules                        | 10 +++++++++-
 6 files changed, 64 insertions(+), 2 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..2051d6b
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,8 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.  Please see:
+
+    /usr/share/doc/quilt/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.
diff --git a/debian/changelog b/debian/changelog
index 7909089..016b23a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+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 <berni at birkenwald.de>.
+  * Add examples back which have been lost in 5.2.0-2.
+  * Build depend on netbase (Closes: #552939).
+
+ -- Jochen Friedrich <jochen at scram.de>  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.
diff --git a/debian/control b/debian/control
index 609a2f5..9f9dac6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Jochen Friedrich <jochen at scram.de>
 Priority: optional
 Section: perl
 Standards-Version: 3.8.3
-Build-Depends-Indep: debhelper (>> 7), perl
+Build-Depends-Indep: debhelper (>= 7.0.50~), perl (>> 5.10.0), quilt, netbase
 
 Package: libnet-snmp-perl
 Architecture: all
diff --git a/debian/patches/01_ipv6_export.patch b/debian/patches/01_ipv6_export.patch
new file mode 100644
index 0000000..c2684e0
--- /dev/null
+++ b/debian/patches/01_ipv6_export.patch
@@ -0,0 +1,36 @@
+Index: libnet-snmp-perl-5.2.0/lib/Net/SNMP/Transport/TCP6.pm
+===================================================================
+--- libnet-snmp-perl-5.2.0.orig/lib/Net/SNMP/Transport/TCP6.pm	2009-10-30 16:14:11.000000000 +0100
++++ libnet-snmp-perl-5.2.0/lib/Net/SNMP/Transport/TCP6.pm	2009-10-30 16:15:24.000000000 +0100
+@@ -22,10 +22,12 @@
+ use IO::Socket qw( SOCK_STREAM );
+ 
+ use Socket6 0.19 qw(
+-   in6addr_any in6addr_loopback getaddrinfo PF_INET6 pack_sockaddr_in6_all
++   in6addr_any in6addr_loopback getaddrinfo pack_sockaddr_in6_all
+    getnameinfo NI_NUMERICHOST NI_NUMERICSERV unpack_sockaddr_in6_all
+ );
+ 
++use Socket qw( PF_INET6 );
++
+ ## Version of the Net::SNMP::Transport::TCP6 module
+ 
+ our $VERSION = v2.0.0;
+Index: libnet-snmp-perl-5.2.0/lib/Net/SNMP/Transport/UDP6.pm
+===================================================================
+--- libnet-snmp-perl-5.2.0.orig/lib/Net/SNMP/Transport/UDP6.pm	2009-10-30 16:15:31.000000000 +0100
++++ libnet-snmp-perl-5.2.0/lib/Net/SNMP/Transport/UDP6.pm	2009-10-30 16:15:55.000000000 +0100
+@@ -22,10 +22,12 @@
+ use IO::Socket qw( SOCK_DGRAM );
+ 
+ use Socket6 0.19 qw(
+-   in6addr_any in6addr_loopback getaddrinfo PF_INET6 pack_sockaddr_in6_all
++   in6addr_any in6addr_loopback getaddrinfo pack_sockaddr_in6_all
+    getnameinfo NI_NUMERICHOST NI_NUMERICSERV unpack_sockaddr_in6_all
+ );
+ 
++use Socket qw( PF_INET6 );
++
+ ## Version of the Net::SNMP::Transport::UDP6 module
+ 
+ our $VERSION = v2.0.0;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ed6bad3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_ipv6_export.patch
diff --git a/debian/rules b/debian/rules
index cbe925d..3033e58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,11 @@
 #!/usr/bin/make -f
 %:
-	dh $@
+	dh --with quilt $@
+
+.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/*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-snmp-perl.git



More information about the Pkg-perl-cvs-commits mailing list