Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23974/10.4-stable/main/finkinfo/libs/perlmods

Modified Files:
        net-server-pm.info 
Added Files:
        net-server-pm.patch 
Log Message:
fix test failure


--- NEW FILE: net-server-pm.patch ---
diff -Nurd -x'*~' Net-Server-2.007.orig/t/SSL_test.t 
Net-Server-2.007/t/SSL_test.t
--- Net-Server-2.007.orig/t/SSL_test.t  2013-01-10 02:25:33.000000000 -0500
+++ Net-Server-2.007/t/SSL_test.t       2013-07-07 03:01:26.000000000 -0400
@@ -53,6 +53,7 @@
 
 use_ok qw(Net::Server::Proto::SSL) or exit;
 require Net::Server;
+use IO::Socket::SSL 1.31;
 @Net::Server::Test::ISA = qw(Net::Server);
 
 sub accept {
@@ -76,6 +77,7 @@
         my $remote = IO::Socket::SSL->new(
             PeerAddr => $env->{'hostname'},
             PeerPort => $env->{'ports'}->[0],
+            SSL_verify_mode => SSL_VERIFY_NONE,
         ) || die "Couldn't open child to sock: $!";
 
         my $line = <$remote>;

Index: net-server-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/perlmods/net-server-pm.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- net-server-pm.info  30 May 2013 09:05:40 -0000      1.3
+++ net-server-pm.info  7 Jul 2013 07:04:51 -0000       1.4
@@ -15,6 +15,10 @@
 Source2: http://www.gnu.org/licenses/gpl-3.0.txt
 Source2-MD5: d32239bcb673463ab874e80d47fae504
 
+# Fix t/SSL_test.t: https://rt.cpan.org/Public/Bug/Display.html?id=86707
+PatchFile: %{ni}.patch
+PatchFile-MD5: 36bc6e5f5099e1852ea0ab39dae44891
+
 # various submodules have possible runtime use of other packages,
 # but not adding all their deps (users can install them if they
 # have need for these features/components) -- dmacks
@@ -23,6 +27,10 @@
        perl%type_pkg[perl]-core
 <<
 
+InfoTest: <<
+       TestDepends: io-socket-ssl-pm%type_pkg[perl] (>= 1.31)
+<<
+
 UpdatePOD: true
 
 InstallScript: <<


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to