r58099 - in /trunk/libpoe-component-server-simplehttp-perl: ./ debian/ lib/POE/Component/Server/ lib/POE/Component/Server/SimpleHTTP/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Wed May 19 23:56:25 UTC 2010


Author: jawnsy-guest
Date: Wed May 19 23:56:17 2010
New Revision: 58099

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=58099
Log:
New upstream release

Modified:
    trunk/libpoe-component-server-simplehttp-perl/Changes
    trunk/libpoe-component-server-simplehttp-perl/META.yml
    trunk/libpoe-component-server-simplehttp-perl/debian/changelog
    trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP.pm
    trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Connection.pm
    trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Response.pm
    trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/State.pm

Modified: trunk/libpoe-component-server-simplehttp-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-server-simplehttp-perl/Changes?rev=58099&op=diff
==============================================================================
--- trunk/libpoe-component-server-simplehttp-perl/Changes (original)
+++ trunk/libpoe-component-server-simplehttp-perl/Changes Wed May 19 23:56:17 2010
@@ -1,6 +1,19 @@
 ==============================
-9999-99-99 99:99:99 +0000 HEAD
-==============================
+2010-05-19 11:30:49 +0100 2.04
+==============================
+
+  commit 962ff9855c25fbe08f02579d6021a1f25e764561
+  Author: Chris 'BinGOs' Williams <chris at bingosnet.co.uk>
+  Date:   Wed May 19 11:30:49 2010 +0100
+  
+    Bump to version 2.04
+
+  commit 596632447b8f0450b1cd031af33e7daf78c57c4d
+  Author: Markus Jansen <markus.jansen at ericsson.com>
+  Date:   Wed May 19 11:12:10 2010 +0100
+  
+    Patch applied from Markus Jansen which adds 'sslintermediatecacert'
+    option.
 
   commit 5ab8239c11b6093a076eabae9c5be68ecba41a03
   Author: Chris 'BinGOs' Williams <chris at bingosnet.co.uk>

Modified: trunk/libpoe-component-server-simplehttp-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-server-simplehttp-perl/META.yml?rev=58099&op=diff
==============================================================================
--- trunk/libpoe-component-server-simplehttp-perl/META.yml (original)
+++ trunk/libpoe-component-server-simplehttp-perl/META.yml Wed May 19 23:56:17 2010
@@ -24,16 +24,16 @@
 provides:
   POE::Component::Server::SimpleHTTP:
     file: lib/POE/Component/Server/SimpleHTTP.pm
-    version: 2.02
+    version: 2.04
   POE::Component::Server::SimpleHTTP::Connection:
     file: lib/POE/Component/Server/SimpleHTTP/Connection.pm
-    version: 2.02
+    version: 2.04
   POE::Component::Server::SimpleHTTP::Response:
     file: lib/POE/Component/Server/SimpleHTTP/Response.pm
-    version: 2.02
+    version: 2.04
   POE::Component::Server::SimpleHTTP::State:
     file: lib/POE/Component/Server/SimpleHTTP/State.pm
-    version: 2.02
+    version: 2.04
 requires:
   Carp: 0
   HTTP::Date: 0
@@ -51,4 +51,4 @@
   homepage: http://github.com/bingos/poe-component-server-simplehttp/tree
   license: http://dev.perl.org/licenses/
   repository: git://github.com/bingos/poe-component-server-simplehttp.git
-version: 2.02
+version: 2.04

Modified: trunk/libpoe-component-server-simplehttp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-server-simplehttp-perl/debian/changelog?rev=58099&op=diff
==============================================================================
--- trunk/libpoe-component-server-simplehttp-perl/debian/changelog (original)
+++ trunk/libpoe-component-server-simplehttp-perl/debian/changelog Wed May 19 23:56:17 2010
@@ -1,4 +1,4 @@
-libpoe-component-server-simplehttp-perl (2.02-1) UNRELEASED; urgency=low
+libpoe-component-server-simplehttp-perl (2.04-1) UNRELEASED; urgency=low
 
   WAITS-FOR libmoosex-poe-perl 0.205
 
@@ -13,7 +13,7 @@
   [ Ryan Niebur ]
   * Update ryan52's email address
 
- -- Jonathan Yu <jawnsy at cpan.org>  Fri, 14 May 2010 20:10:10 -0400
+ -- Jonathan Yu <jawnsy at cpan.org>  Wed, 19 May 2010 20:26:33 -0400
 
 libpoe-component-server-simplehttp-perl (1.58-2) unstable; urgency=low
 

Modified: trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP.pm?rev=58099&op=diff
==============================================================================
--- trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP.pm (original)
+++ trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP.pm Wed May 19 23:56:17 2010
@@ -5,7 +5,7 @@
 
 use vars qw($VERSION);
 
-$VERSION = '2.02';
+$VERSION = '2.04';
 
 use POE;
 use POE::Wheel::SocketFactory;
@@ -74,6 +74,11 @@
 has 'sslkeycert' => (
   is => 'ro',
   isa => subtype 'ArrayRef' => where { scalar @$_ == 2 },
+);
+
+has 'sslintermediatecacert' => (
+  is => 'ro',
+  isa => 'Str',
 );
 
 has 'headers' => (
@@ -176,12 +181,18 @@
      eval {
        require POE::Component::SSLify;
        import POE::Component::SSLify
-         qw( SSLify_Options SSLify_GetSocket Server_SSLify SSLify_GetCipher );
+         qw( SSLify_Options SSLify_GetSocket Server_SSLify SSLify_GetCipher SSLify_GetCTX );
        SSLify_Options( @{ $args{sslkeycert} } );
      };
      if ($@) {
         warn "Unable to load PoCo::SSLify -> $@" if DEBUG;
 	delete $args{sslkeycert};
+     }
+     else {
+	if ( $args{sslintermediatecacert} ) {
+	  my $ctx = SSLify_GetCTX();
+	  Net::SSLeay::CTX_load_verify_locations($ctx, $args{sslintermediatecacert}, '');
+	}
      }
   }
 
@@ -1200,7 +1211,8 @@
 		},
 
 		# In the testing phase...
-		'SSLKEYCERT'	=>	[ 'public-key.pem', 'public-cert.pem' ],
+		'SSLKEYCERT'	=>	[ 'private-key.pem', 'public-cert.pem' ],
+		'SSLINTERMEDIATECACERT'	=>	'intermediate-ca-cert.pem',
 	) or die 'Unable to create the HTTP Server';
 
 	# Create our own session to receive events from SimpleHTTP
@@ -1468,10 +1480,14 @@
 
 =item C<SSLKEYCERT>
 
-This should be an arrayref of only 2 elements - the public key and certificate location. Now, this is still in the experimental stage, and testing
+This should be an arrayref of only 2 elements - the private key and public certificate locations. Now, this is still in the experimental stage, and testing
 is greatly welcome!
 
 Again, this will automatically turn every incoming connection into a SSL socket. Once enough testing has been done, this option will be augmented with more SSL stuff!
+
+=item C<SSLINTERMEDIATECACERT>
+
+This option is needed in case the SSL certificate references an intermediate certification authority certificate.
 
 =item C<PROXYMODE>
 

Modified: trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Connection.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Connection.pm?rev=58099&op=diff
==============================================================================
--- trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Connection.pm (original)
+++ trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Connection.pm Wed May 19 23:56:17 2010
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '2.02';
+our $VERSION = '2.04';
 
 use Socket qw( inet_ntoa unpack_sockaddr_in );
 use POE;

Modified: trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Response.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Response.pm?rev=58099&op=diff
==============================================================================
--- trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Response.pm (original)
+++ trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/Response.pm Wed May 19 23:56:17 2010
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '2.02';
+our $VERSION = '2.04';
 
 use base qw( HTTP::Response );
 

Modified: trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/State.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/State.pm?rev=58099&op=diff
==============================================================================
--- trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/State.pm (original)
+++ trunk/libpoe-component-server-simplehttp-perl/lib/POE/Component/Server/SimpleHTTP/State.pm Wed May 19 23:56:17 2010
@@ -4,7 +4,7 @@
 use warnings;
 use POE::Wheel::ReadWrite;
 
-our $VERSION = '2.02';
+our $VERSION = '2.04';
 
 use Moose;
 




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