[SCM] Debian packaging of Crypt-SSLeay CPAN distribution branch, master, updated. debian/0.57-2-21-g33c9ef1

gregor herrmann gregoa at debian.org
Mon Jan 2 23:39:18 UTC 2012


The following commit has been merged in the master branch:
commit 4a8b57739a55293b7a148c89e1916b8c536fab45
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Jan 3 00:02:35 2012 +0100

    Add patch nossl2.patch (compatibility with openssl 1.0.0.).
    
    Closes: #623253

diff --git a/debian/patches/nossl2.patch b/debian/patches/nossl2.patch
new file mode 100644
index 0000000..ea130df
--- /dev/null
+++ b/debian/patches/nossl2.patch
@@ -0,0 +1,28 @@
+Description: adjust to openssl 1.0.0
+Origin: upstream bugtracker:
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=70565
+Bug-Debian: http://bugs.debian.org/623253
+Author: MSCHOUT [...] cpan.org
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-01-02
+
+diff --git a/SSLeay.xs b/SSLeay.xs
+index 9df9f58..8c26155 100644
+--- a/SSLeay.xs
++++ b/SSLeay.xs
+@@ -129,9 +129,15 @@ SSL_CTX_new(packname, ssl_version)
+             ctx = SSL_CTX_new(SSLv3_client_method());
+         }
+         else {
++#ifndef OPENSSL_NO_SSL2
+             /* v2 is the default */
+             ctx = SSL_CTX_new(SSLv2_client_method());
++#else
++            /* v3 is the default */
++            ctx = SSL_CTX_new(SSLv3_client_method());
++#endif
+         }                
++
+         SSL_CTX_set_options(ctx,SSL_OP_ALL|0);
+         SSL_CTX_set_default_verify_paths(ctx);
+         SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, NULL);
diff --git a/debian/patches/series b/debian/patches/series
index 25411ff..07a9c5b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 no-network.patch
+nossl2.patch

-- 
Debian packaging of Crypt-SSLeay CPAN distribution



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