r71062 - in /branches/upstream/libpoe-component-sslify-perl/current: ./ lib/POE/Component/ lib/POE/Component/SSLify/ t/

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Thu Mar 10 20:19:37 UTC 2011


Author: gregoa
Date: Thu Mar 10 20:19:26 2011
New Revision: 71062

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71062
Log:
[svn-upgrade] new version libpoe-component-sslify-perl (1.005)

Modified:
    branches/upstream/libpoe-component-sslify-perl/current/Build.PL
    branches/upstream/libpoe-component-sslify-perl/current/Changes
    branches/upstream/libpoe-component-sslify-perl/current/CommitLog
    branches/upstream/libpoe-component-sslify-perl/current/META.json
    branches/upstream/libpoe-component-sslify-perl/current/META.yml
    branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL
    branches/upstream/libpoe-component-sslify-perl/current/README
    branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE
    branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm
    branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm
    branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm
    branches/upstream/libpoe-component-sslify-perl/current/t/5_connfail_client.t
    branches/upstream/libpoe-component-sslify-perl/current/t/6_connfail_server.t

Modified: branches/upstream/libpoe-component-sslify-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/Build.PL?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/Build.PL (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/Build.PL Thu Mar 10 20:19:26 2011
@@ -24,7 +24,7 @@
     'Apocalypse <APOCAL at cpan.org>'
   ],
   'dist_name' => 'POE-Component-SSLify',
-  'dist_version' => '1.004',
+  'dist_version' => '1.005',
   'license' => 'perl',
   'module_name' => 'POE::Component::SSLify',
   'recommends' => {},

Modified: branches/upstream/libpoe-component-sslify-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/Changes?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/Changes (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/Changes Thu Mar 10 20:19:26 2011
@@ -1,4 +1,9 @@
 Revision history for Perl extension POE::Component::SSLify.
+
+1.005
+	Released: 2011-03-10 07:55:30 UTC
+
+	Fix the connfail tests due to an incorrect assumption regards socket close value, thanks CPANTesters!
 
 1.004
 	Released: 2011-03-08 23:39:03 UTC

Modified: branches/upstream/libpoe-component-sslify-perl/current/CommitLog
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/CommitLog?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/CommitLog (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/CommitLog Thu Mar 10 20:19:26 2011
@@ -2,6 +2,48 @@
 9999-99-99 99:99:99 +0000 HEAD
 ==============================
 
+  commit d8b4c0e354acf683f17fd63186810226e101b54e
+  Author: Apocalypse <perl at 0ne.us>
+  Date:   Thu Mar 10 00:54:05 2011 -0700
+  
+    fix an incorrect assumption in the connfail tests, thanks CPANTesters 
+
+=======================================
+2011-03-08 16:43:43 -0700 release-1.004
+=======================================
+
+  commit 073ae0a4eb74e7c7bd24db3717653ee5764db6bb
+  Author: Apocalypse <perl at 0ne.us>
+  Date:   Tue Mar 8 16:43:43 2011 -0700
+  
+    New CPAN release of POE-Component-SSLify - v1.004
+
+    Released: 2011-03-08 23:39:03 UTC
+
+    We now load certificate files via CTX_use_certificate_chain_file(),
+    thanks Zephaniah E. Loss-Cutler-Hull <warp-spam_perl at aehallh.com>
+
+    OpenSSL docs suggest it -
+    http://www.openssl.org/docs/ssl/SSL_CTX_use_certificate.html#NOTES
+
+    PLEASE yell at me if you need the old functionality - the docs
+    suggest this is the "better" way to do it...
+
+    Add the ability to pass a subref to call on connection/negotiation
+    success, thanks Zephaniah E. Loss-Cutler-Hull
+    <warp-spam_perl at aehallh.com>
+
+    NOTE: This will not work if you do renegotiation or any other zany
+    SSL stuff!
+
+    Add the SSLify_GetStatus function to get the status of the connection
+
+    After staring at the Net::SSLeay/OpenSSL docs for a while I realized
+    we were missing support for sslv23 version, added!
+
+    After some investigation, we now load all default ENGINEs for OpenSSL
+    on startup, as it might provide a performance boost
+
   commit f9f664939980fdd646c3331815c7c9935e9ee248
   Author: Apocalypse <perl at 0ne.us>
   Date:   Tue Mar 8 16:29:27 2011 -0700

Modified: branches/upstream/libpoe-component-sslify-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/META.json?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/META.json (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/META.json Thu Mar 10 20:19:26 2011
@@ -58,15 +58,15 @@
    "provides" : {
       "POE::Component::SSLify" : {
          "file" : "lib/POE/Component/SSLify.pm",
-         "version" : "1.004"
+         "version" : "1.005"
       },
       "POE::Component::SSLify::ClientHandle" : {
          "file" : "lib/POE/Component/SSLify/ClientHandle.pm",
-         "version" : "1.004"
+         "version" : "1.005"
       },
       "POE::Component::SSLify::ServerHandle" : {
          "file" : "lib/POE/Component/SSLify/ServerHandle.pm",
-         "version" : "1.004"
+         "version" : "1.005"
       }
    },
    "release_status" : "stable",
@@ -85,7 +85,7 @@
          "web" : "http://github.com/apocalypse/perl-poe-sslify"
       }
    },
-   "version" : "1.004",
+   "version" : "1.005",
    "x_BuiltWith" : {
       "modules" : {
          "Exporter" : "5.63",

Modified: branches/upstream/libpoe-component-sslify-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/META.yml?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/META.yml (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/META.yml Thu Mar 10 20:19:26 2011
@@ -28,13 +28,13 @@
 provides:
   POE::Component::SSLify:
     file: lib/POE/Component/SSLify.pm
-    version: 1.004
+    version: 1.005
   POE::Component::SSLify::ClientHandle:
     file: lib/POE/Component/SSLify/ClientHandle.pm
-    version: 1.004
+    version: 1.005
   POE::Component::SSLify::ServerHandle:
     file: lib/POE/Component/SSLify/ServerHandle.pm
-    version: 1.004
+    version: 1.005
 requires:
   Exporter: 0
   IO::Handle: 1.28
@@ -49,7 +49,7 @@
   homepage: http://search.cpan.org/dist/POE-Component-SSLify/
   license: http://dev.perl.org/licenses/
   repository: git://github.com/apocalypse/perl-poe-sslify.git
-version: 1.004
+version: 1.005
 x_BuiltWith:
   modules:
     Exporter: 5.63

Modified: branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/Makefile.PL Thu Mar 10 20:19:26 2011
@@ -37,7 +37,7 @@
     'Task::Weaken' => '1.03',
     'parent' => '0'
   },
-  'VERSION' => '1.004',
+  'VERSION' => '1.005',
   'test' => {
     'TESTS' => 't/*.t'
   }

Modified: branches/upstream/libpoe-component-sslify-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/README?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/README (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/README Thu Mar 10 20:19:26 2011
@@ -2,7 +2,7 @@
     POE::Component::SSLify - Makes using SSL in the world of POE easy!
 
 VERSION
-      This document describes v1.004 of POE::Component::SSLify - released March 08, 2011 as part of POE-Component-SSLify.
+      This document describes v1.005 of POE::Component::SSLify - released March 10, 2011 as part of POE-Component-SSLify.
 
 SYNOPSIS
             # CLIENT-side usage

Modified: branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/SIGNATURE Thu Mar 10 20:19:26 2011
@@ -14,24 +14,24 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 d435f238e487d8142e8518150b7855a233764459 Build.PL
-SHA1 d477fdd7d574483d63226b8874bcd0987453cde5 Changes
-SHA1 1c9fcb841a38b09c4c6d3f19e0c9bc20a467aa54 CommitLog
+SHA1 74d0a53111acfd4b4b7f9c269175a06e77309d86 Build.PL
+SHA1 0e7543ad72ae31c532a8298fae8a3c98cdc87e86 Changes
+SHA1 375fe756ad481b99709cf16d1a5378a7dee530ef CommitLog
 SHA1 e3edc44697d1770c65fec99f6ebdb6ea55fb3050 INSTALL
 SHA1 263360e99a0de4d587fedefe1a919dcf61af1d10 LICENSE
 SHA1 1baae2c8b4d91da92fdf35c5542137380f00c9e4 MANIFEST
 SHA1 9dfc07c5655b958e800189837f3ddd37ca050bfe MANIFEST.SKIP
-SHA1 686569e354f905cd3de3f08e283ad6f0885f917c META.json
-SHA1 85808fcb1a01f2e2f546848f8bc99dce585ff3f0 META.yml
-SHA1 0924ab6ac3ea8b7346f282e17e43b89799507237 Makefile.PL
-SHA1 48b7720f1cf878407b686404c53aabbb542bd310 README
+SHA1 bfa76e8e9cf9ce09d4b4fd98883f6d1b0639a4f6 META.json
+SHA1 5a4ea0cc9966848930db2129a75c3cf6bea77a45 META.yml
+SHA1 842e80effc5a192dd7d9ca2176d58985abb70a4c Makefile.PL
+SHA1 781198b6246cacc4b4c336bbacb47320a658f024 README
 SHA1 41a5da1356107d097f6bbf72c62ee4da83e4119f dist.ini
 SHA1 96decb1c51052f9b024b6d069e428b4ccc19e909 examples/client.pl
 SHA1 d8f9b44df461cdcf6cbd7cffd79a9d49aade3947 examples/server.pl
 SHA1 c4a936c75d1d566e936dfb1776c9a01ea244c618 examples/serverclient.pl
-SHA1 509e2a8a6af679d403ed916538596a60c0ac74b3 lib/POE/Component/SSLify.pm
-SHA1 6b1e09306b20af6f2a8006cc207f73be4a0e5944 lib/POE/Component/SSLify/ClientHandle.pm
-SHA1 b3677ae1f14989accb68427bdede87370d19e32d lib/POE/Component/SSLify/ServerHandle.pm
+SHA1 21353f9c92b51a2a27604af460d08f6993da9a28 lib/POE/Component/SSLify.pm
+SHA1 620bcbd8febf6eb4d4f066479c895b90302dedfd lib/POE/Component/SSLify/ClientHandle.pm
+SHA1 444dbb2e912dc3d94494ddb316b1950612d38288 lib/POE/Component/SSLify/ServerHandle.pm
 SHA1 59afa28f138a14b956443f915d60a891d5b306b8 mylib/example.crt
 SHA1 f2ba02d28cfb207e0a86be7cb4f3c570f257bf93 mylib/example.key
 SHA1 fd48b12e3df15fb55695e7d1b4ee95dc3c0cd766 t/00-compile.t
@@ -40,13 +40,13 @@
 SHA1 0d6e08c744e377933f75c6d9fa25c37e3506d1a5 t/2_renegotiate.t
 SHA1 73790060e55b0189540d898a97c485e187f05ae9 t/3_upgrade.t
 SHA1 f8ba954e2a5bf546c3932eb9cc1ba9bf89a57385 t/4_connect_hook.t
-SHA1 2a8853ebcd7064c1f4d39243ecdf24adb2f85459 t/5_connfail_client.t
-SHA1 93c04d0f28c590f39f621d130e02fb8f77cda897 t/6_connfail_server.t
+SHA1 4c7ecc5d6221a593b5961f53205eb016a1eee3bd t/5_connfail_client.t
+SHA1 89fa487c62b3e6aadc33bd1025bec93f2aabdc1d t/6_connfail_server.t
 SHA1 e3b390873d4de642e25fcfb4b7d16c00b096d24a t/apocalypse.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)
 
-iEYEARECAAYFAk12viEACgkQGfr7vsGKgxxkLwCfXhTLn9YyxGmWs69o5LLplJMD
-aSMAoLGwA6VYx7eY7kXyhrHQpRik3/JI
-=6gBh
+iEYEARECAAYFAk14g/0ACgkQGfr7vsGKgxzbqQCfVAAlTNCFi81uhNCljGXLGqOp
+BC4AoIytDbvdcMRaIj3mHDJP7ugIZyd9
+=rNNR
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify.pm Thu Mar 10 20:19:26 2011
@@ -9,7 +9,7 @@
 use strict; use warnings;
 package POE::Component::SSLify;
 BEGIN {
-  $POE::Component::SSLify::VERSION = '1.004';
+  $POE::Component::SSLify::VERSION = '1.005';
 }
 BEGIN {
   $POE::Component::SSLify::AUTHORITY = 'cpan:APOCAL';
@@ -282,7 +282,7 @@
 
 =head1 VERSION
 
-  This document describes v1.004 of POE::Component::SSLify - released March 08, 2011 as part of POE-Component-SSLify.
+  This document describes v1.005 of POE::Component::SSLify - released March 10, 2011 as part of POE-Component-SSLify.
 
 =head1 SYNOPSIS
 

Modified: branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ClientHandle.pm Thu Mar 10 20:19:26 2011
@@ -9,7 +9,7 @@
 use strict; use warnings;
 package POE::Component::SSLify::ClientHandle;
 BEGIN {
-  $POE::Component::SSLify::ClientHandle::VERSION = '1.004';
+  $POE::Component::SSLify::ClientHandle::VERSION = '1.005';
 }
 BEGIN {
   $POE::Component::SSLify::ClientHandle::AUTHORITY = 'cpan:APOCAL';
@@ -73,7 +73,7 @@
 
 =head1 VERSION
 
-  This document describes v1.004 of POE::Component::SSLify::ClientHandle - released March 08, 2011 as part of POE-Component-SSLify.
+  This document describes v1.005 of POE::Component::SSLify::ClientHandle - released March 10, 2011 as part of POE-Component-SSLify.
 
 =head1 DESCRIPTION
 

Modified: branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/lib/POE/Component/SSLify/ServerHandle.pm Thu Mar 10 20:19:26 2011
@@ -9,7 +9,7 @@
 use strict; use warnings;
 package POE::Component::SSLify::ServerHandle;
 BEGIN {
-  $POE::Component::SSLify::ServerHandle::VERSION = '1.004';
+  $POE::Component::SSLify::ServerHandle::VERSION = '1.005';
 }
 BEGIN {
   $POE::Component::SSLify::ServerHandle::AUTHORITY = 'cpan:APOCAL';
@@ -225,7 +225,7 @@
 
 =head1 VERSION
 
-  This document describes v1.004 of POE::Component::SSLify::ServerHandle - released March 08, 2011 as part of POE-Component-SSLify.
+  This document describes v1.005 of POE::Component::SSLify::ServerHandle - released March 10, 2011 as part of POE-Component-SSLify.
 
 =head1 DESCRIPTION
 

Modified: branches/upstream/libpoe-component-sslify-perl/current/t/5_connfail_client.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/t/5_connfail_client.t?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/t/5_connfail_client.t (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/t/5_connfail_client.t Thu Mar 10 20:19:26 2011
@@ -66,18 +66,8 @@
 		# Thanks to H. Merijn Brand for spotting this FAIL in 5.12.0!
 		# The default PoCo::Server::TCP handler will throw a warning, which causes Test::NoWarnings to FAIL :(
 		my ($syscall, $errno, $error) = @_[ ARG0..ARG2 ];
-
-		# Since this test purposefully sends garbage, we expect a connection reset by peer
-		# not ok 7 - Got SERVER read error 104: Connection reset by peer
-
-		# TODO are there other "errors" that is harmless?
 		$error = "Normal disconnection" unless $error;
-		my $msg = "Got SERVER $syscall error $errno: $error";
-		unless ( $syscall eq 'read' and $errno == 104 ) {
-			fail( $msg );
-		} else {
-			diag( $msg ) if $ENV{TEST_VERBOSE};
-		}
+		diag( "Got SERVER $syscall error $errno: $error" ) if $ENV{TEST_VERBOSE};
 	},
 );
 
@@ -117,15 +107,8 @@
 		# Thanks to H. Merijn Brand for spotting this FAIL in 5.12.0!
 		# The default PoCo::Client::TCP handler will throw a warning, which causes Test::NoWarnings to FAIL :(
 		my ($syscall, $errno, $error) = @_[ ARG0..ARG2 ];
-
-		# TODO are there other "errors" that is harmless?
 		$error = "Normal disconnection" unless $error;
-		my $msg = "Got CLIENT $syscall error $errno: $error";
-		unless ( $syscall eq 'read' and $errno == 0 ) {
-			fail( $msg );
-		} else {
-			diag( $msg ) if $ENV{TEST_VERBOSE};
-		}
+		diag( "Got CLIENT $syscall error $errno: $error" ) if $ENV{TEST_VERBOSE};
 	},
 );
 

Modified: branches/upstream/libpoe-component-sslify-perl/current/t/6_connfail_server.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpoe-component-sslify-perl/current/t/6_connfail_server.t?rev=71062&op=diff
==============================================================================
--- branches/upstream/libpoe-component-sslify-perl/current/t/6_connfail_server.t (original)
+++ branches/upstream/libpoe-component-sslify-perl/current/t/6_connfail_server.t Thu Mar 10 20:19:26 2011
@@ -87,18 +87,8 @@
 		# Thanks to H. Merijn Brand for spotting this FAIL in 5.12.0!
 		# The default PoCo::Server::TCP handler will throw a warning, which causes Test::NoWarnings to FAIL :(
 		my ($syscall, $errno, $error) = @_[ ARG0..ARG2 ];
-
-		# Since this test purposefully sends garbage, we expect a connection reset by peer
-		# not ok 7 - Got SERVER read error 104: Connection reset by peer
-
-		# TODO are there other "errors" that is harmless?
 		$error = "Normal disconnection" unless $error;
-		my $msg = "Got SERVER $syscall error $errno: $error";
-		unless ( $syscall eq 'read' and $errno == 104 ) {
-			fail( $msg );
-		} else {
-			diag( $msg ) if $ENV{TEST_VERBOSE};
-		}
+		diag( "Got SERVER $syscall error $errno: $error" ) if $ENV{TEST_VERBOSE};
 	},
 );
 
@@ -124,18 +114,8 @@
 		# Thanks to H. Merijn Brand for spotting this FAIL in 5.12.0!
 		# The default PoCo::Client::TCP handler will throw a warning, which causes Test::NoWarnings to FAIL :(
 		my ($syscall, $errno, $error) = @_[ ARG0..ARG2 ];
-
-		# Since this test purposefully sends garbage, we expect a connection reset by peer
-		# not ok 7 - Got SERVER read error 104: Connection reset by peer
-
-		# TODO are there other "errors" that is harmless?
 		$error = "Normal disconnection" unless $error;
-		my $msg = "Got CLIENT $syscall error $errno: $error";
-		unless ( $syscall eq 'read' and $errno == 104 ) {
-			fail( $msg );
-		} else {
-			diag( $msg ) if $ENV{TEST_VERBOSE};
-		}
+		diag( "Got CLIENT $syscall error $errno: $error" ) if $ENV{TEST_VERBOSE};
 	},
 );
 




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