r68166 - in /trunk/libsocket-getaddrinfo-perl/debian: changelog copyright patches/ patches/no_network.patch patches/series

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Tue Feb 8 21:32:28 UTC 2011


Author: periapt-guest
Date: Tue Feb  8 21:32:01 2011
New Revision: 68166

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68166
Log:
* Added patch to skip tests requiring network
* Refreshed copyright

Added:
    trunk/libsocket-getaddrinfo-perl/debian/patches/
    trunk/libsocket-getaddrinfo-perl/debian/patches/no_network.patch
    trunk/libsocket-getaddrinfo-perl/debian/patches/series
Modified:
    trunk/libsocket-getaddrinfo-perl/debian/changelog
    trunk/libsocket-getaddrinfo-perl/debian/copyright

Modified: trunk/libsocket-getaddrinfo-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocket-getaddrinfo-perl/debian/changelog?rev=68166&op=diff
==============================================================================
--- trunk/libsocket-getaddrinfo-perl/debian/changelog (original)
+++ trunk/libsocket-getaddrinfo-perl/debian/changelog Tue Feb  8 21:32:01 2011
@@ -1,6 +1,4 @@
 libsocket-getaddrinfo-perl (0.20-1) UNRELEASED; urgency=low
-
-  FTBS: t/01getaddrinfo.t
 
   [ Ansgar Burchardt ]
   * Email change: Ansgar Burchardt -> ansgar at debian.org
@@ -10,6 +8,8 @@
   * Email change: Jonathan Yu -> jawnsy at cpan.org
   * Added generated .c and .h files to debian/clean
   * Updated dependency for libextutils-cchecker-perl
+  * Added patch to skip tests requiring network
+  * Refreshed copyright
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Sat, 29 Jan 2011 22:25:02 +0000
 

Modified: trunk/libsocket-getaddrinfo-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocket-getaddrinfo-perl/debian/copyright?rev=68166&op=diff
==============================================================================
--- trunk/libsocket-getaddrinfo-perl/debian/copyright (original)
+++ trunk/libsocket-getaddrinfo-perl/debian/copyright Tue Feb  8 21:32:01 2011
@@ -2,23 +2,22 @@
 Maintainer: Paul Evans <leonerd at leonerd.org.uk>
 Source: http://search.cpan.org/dist/Socket-GetAddrInfo/
 Name: Socket-GetAddrInfo
-DISCLAIMER: This copyright info was automatically extracted 
- from the perl module. It may not be accurate, so you better 
- check the module sources in order to ensure the module for its 
- inclusion in Debian or for general legal information. Please, 
- if licensing information is incorrectly generated, file a bug 
- on dh-make-perl.
- NOTE: Don't forget to remove this disclaimer once you are happy
- with this file.
 
 Files: *
-Copyright: Paul Evans <leonerd at leonerd.org.uk>
+Copyright: 2011, Paul Evans <leonerd at leonerd.org.uk>
+License: Artistic or GPL-1+
+
+Files: ppport.h
+Copyright: 2004-2009, Marcus Holland-Moritz <mhx-cpan at gmx.net>
+ 2001, Paul Marquess <pmqs at cpan.org> (Version 2.x)
+ 1999, Kenneth Albanowski <kjahds at kjahds.com> (Version 1.x)
 License: Artistic or GPL-1+
 
 Files: debian/*
-Copyright: 2009, 2010, Jonathan Yu <jawnsy at cpan.org>
+Copyright:
+ 2009-2010, Jonathan Yu <jawnsy at cpan.org>
  2009, Nathan Handler <nhandler at ubuntu.com>
- 2010, 2011, Nicholas Bamber <nicholas at periapt.co.uk>
+ 2010-2011, Nicholas Bamber <nicholas at periapt.co.uk>
  2010, Ansgar Burchardt <ansgar at debian.org>
 License: Artistic or GPL-1+
 

Added: trunk/libsocket-getaddrinfo-perl/debian/patches/no_network.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocket-getaddrinfo-perl/debian/patches/no_network.patch?rev=68166&op=file
==============================================================================
--- trunk/libsocket-getaddrinfo-perl/debian/patches/no_network.patch (added)
+++ trunk/libsocket-getaddrinfo-perl/debian/patches/no_network.patch Tue Feb  8 21:32:01 2011
@@ -1,0 +1,27 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Forwarded: no
+Last-Update: 2011-02-08
+Subject: Test requires network connectivity
+ Note that some of the disabled tests require not just network connectivity
+ but that there is an ftp entry in /etc/services. This entry need not 
+ be conventional.
+--- a/t/01getaddrinfo.t
++++ b/t/01getaddrinfo.t
+@@ -169,7 +169,7 @@
+ my $goodhost = "cpan.perl.org";
+ 
+ SKIP: {
+-   skip "Resolver has no answer for $goodhost", 2 unless gethostbyname( $goodhost );
++   skip "disabling test requiring network", 2;
+ 
+    ( $err, @res ) = getaddrinfo( "cpan.perl.org", "ftp", { socktype => SOCK_STREAM } );
+    is_err( $err, 0,  '$err == 0 for host=cpan.perl.org/service=ftp/socktype=STREAM' );
+@@ -184,7 +184,7 @@
+ # any request. We'd better check for them
+ 
+ SKIP: {
+-   skip "Resolver has an answer for $missinghost", 1 if gethostbyname( $missinghost );
++   skip "disabling test requiring network", 1;
+ 
+    # Some OSes return $err == 0 but no results
+    ( $err, @res ) = getaddrinfo( $missinghost, "ftp", { socktype => SOCK_STREAM } );

Added: trunk/libsocket-getaddrinfo-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocket-getaddrinfo-perl/debian/patches/series?rev=68166&op=file
==============================================================================
--- trunk/libsocket-getaddrinfo-perl/debian/patches/series (added)
+++ trunk/libsocket-getaddrinfo-perl/debian/patches/series Tue Feb  8 21:32:01 2011
@@ -1,0 +1,1 @@
+no_network.patch




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