[SCM] Debian packaging of libio-socket-socks-perl branch, master, updated. debian/0.61-1-1-ga84efef

Jonathan Yu jawnsy at cpan.org
Thu Feb 9 01:22:03 UTC 2012


The following commit has been merged in the master branch:
commit a84efef364a92fac017ed68a57c2585a61d9dc3f
Author: Jonathan Yu <jawnsy at cpan.org>
Date:   Wed Feb 8 20:21:32 2012 -0500

    releasing version 0.61-2

diff --git a/debian/changelog b/debian/changelog
index 8c42a1f..265194c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+libio-socket-socks-perl (0.61-2) unstable; urgency=low
+
+  * Team upload.
+  * Disable tests requiring network access unless HAS_INTERNET
+    is true (Closes: #658394)
+  * Update URL of copyright format specification (DEP5)
+
+ -- Jonathan Yu <jawnsy at cpan.org>  Wed, 08 Feb 2012 19:50:43 -0500
+
 libio-socket-socks-perl (0.61-1) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/copyright b/debian/copyright
index c34aae1..06df5cf 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
-Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135
-Maintainer: Oleg G <oleg at cpan.org>
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: IO-Socket-Socks
+Upstream-Contact: Oleg G <oleg at cpan.org>
 Source: http://search.cpan.org/dist/IO-Socket-Socks/
-Name: IO-Socket-Socks
 
 Files: *
 Copyright:
diff --git a/debian/patches/fix-internet-tests.patch b/debian/patches/fix-internet-tests.patch
new file mode 100644
index 0000000..7610930
--- /dev/null
+++ b/debian/patches/fix-internet-tests.patch
@@ -0,0 +1,44 @@
+Description: disable tests requiring network connectivity
+ To run tests requiring network connectivity, set the
+ HAS_INTERNET environment variable to a true value.
+Author: Jonathan Yu <jawnsy at cpan.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658394
+Forwarded: no
+Origin: vendor
+ 
+--- a/t/4_accept4.t
++++ b/t/4_accept4.t
+@@ -5,6 +5,9 @@
+ use IO::Select;
+ use strict;
+ 
++plan skip_all => 'test requires network access, set HAS_INTERNET=1 to enable'
++  unless $ENV{HAS_INTERNET};
++
+ my $server = IO::Socket::Socks->new(Listen => 10, Blocking => 0, SocksVersion => 4)
+ 	or die $@;
+ my $read_select = IO::Select->new($server);
+--- a/t/6_accept_nb4.t
++++ b/t/6_accept_nb4.t
+@@ -75,6 +75,9 @@
+ 
+ use constant CONN_CNT => 3;
+ 
++plan skip_all => 'test requires network access, set HAS_INTERNET=1 to enable'
++  unless $ENV{HAS_INTERNET};
++
+ if( $^O eq 'MSWin32' ) {
+ 	plan skip_all => 'Fork and Windows are incompatible';
+ }
+--- a/t/7_accept_nb5.t
++++ b/t/7_accept_nb5.t
+@@ -89,6 +89,9 @@
+ 
+ use constant CONN_CNT => 3;
+ 
++plan skip_all => 'test requires network access, set HAS_INTERNET=1 to enable'
++  unless $ENV{HAS_INTERNET};
++
+ if( $^O eq 'MSWin32' ) {
+ 	plan skip_all => 'Fork and Windows are incompatible';
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d7a8520
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-internet-tests.patch

-- 
Debian packaging of libio-socket-socks-perl



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