From ede9ece2da6760d73516b14e6a39ea82d6425cbb6ff2a3df6a4a68272dcb00de Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 9 Jul 2013 09:44:17 +0000 Subject: [PATCH] Accepting request 181902 from home:lnussel:branches:devel:languages:perl - new version 1.55 * Added support for TLSV1_1 and TLSV1_2 methods with SSL_CTX_tlsv1_1_new(), SSL_CTX_tlsv1_2_new(), TLSv1_1_method() and TLSv1_2_method(), where available in the underlying openssl. * Added CRL support functions X509_CRL_get_ext(), X509_CRL_get_ext_by_NID(), X509_CRL_get_ext_count(). Patch from Franck Youssef. * Added support for SSL_get_tlsa_record_byname() required for DANE support in openssl*1.0.2 and later. SSL_get_tlsa_record_byname() was added to OpenSSL with the financial assistance of .SE. * Added X509_NAME_new and X509_NAME_hash, patched by Franck Youssef. * Added support for SSL_export_keying_material where present * Net::SSLeay::ASN1_INTEGER_get, since it works differntly on 32 and 64 bit platforms. Updated author and distribution location details to airspayce.com * Fixed a few compiler warnings in SSLeay.xs. Most of them are just signed/unsigned pointer mismatches but there is one that actually fixes returning what would be an arbitrary value off the stack from get_my_thread_id if it happened to be called in a non*threaded build. * Added SSL_set_tlsext_host_name, SSL_get_servername, SSL_get_servername_type, SSL_CTX_set_tlsext_servername_callback for server side Server Name Indication (SNI) support. Patched by kmx. * Improvements to Net::SSLeay::read to make it easier to use with non*blocking IO Added documentation about how to mitigatxe various SSL/TLS vulnerabilities. * initializes the SSL library at most once. * Patch from kmx to protect SSLeay_add_ssl_algorithms from multiple loads and reentrancy in multi*threaded perls. OBS-URL: https://build.opensuse.org/request/show/181902 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSLeay?expand=0&rev=19 --- Net-SSLeay-1.42.tar.gz | 3 --- Net-SSLeay-1.55.tar.gz | 3 +++ perl-Net-SSLeay-1.36-undefined.diff | 11 --------- perl-Net-SSLeay-1.36.diff | 10 -------- perl-Net-SSLeay.changes | 36 +++++++++++++++++++++++++++++ perl-Net-SSLeay.spec | 17 +++++--------- 6 files changed, 45 insertions(+), 35 deletions(-) delete mode 100644 Net-SSLeay-1.42.tar.gz create mode 100644 Net-SSLeay-1.55.tar.gz delete mode 100644 perl-Net-SSLeay-1.36-undefined.diff delete mode 100644 perl-Net-SSLeay-1.36.diff diff --git a/Net-SSLeay-1.42.tar.gz b/Net-SSLeay-1.42.tar.gz deleted file mode 100644 index 25845c9..0000000 --- a/Net-SSLeay-1.42.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6ca7719cd8568e60204f39027c1c68d19fa690b1f3fd380ed14031a1a70fd9d -size 146035 diff --git a/Net-SSLeay-1.55.tar.gz b/Net-SSLeay-1.55.tar.gz new file mode 100644 index 0000000..82c7c79 --- /dev/null +++ b/Net-SSLeay-1.55.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cd5f09722e07b4e436102cb3a4b93623d753c171665ca9752c3b39a62ea3a79 +size 394657 diff --git a/perl-Net-SSLeay-1.36-undefined.diff b/perl-Net-SSLeay-1.36-undefined.diff deleted file mode 100644 index c423e9f..0000000 --- a/perl-Net-SSLeay-1.36-undefined.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- SSLeay.xs -+++ SSLeay.xs -@@ -359,7 +359,7 @@ - char* key_str; - STRLEN key_len; - -- cb = New(0, cb, 1, ssleay_ctx_cert_verify_cb_t); -+ New(0, cb, 1, ssleay_ctx_cert_verify_cb_t); - - SvREFCNT_inc(func); - SvREFCNT_inc(data); diff --git a/perl-Net-SSLeay-1.36.diff b/perl-Net-SSLeay-1.36.diff deleted file mode 100644 index c1b4d84..0000000 --- a/perl-Net-SSLeay-1.36.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/Net/SSLeay.pm -+++ lib/Net/SSLeay.pm -@@ -57,6 +57,7 @@ - # listed in LICENSE file at the root of OpenSSL-0.9.7b - # distribution (i.e. free, but mandatory attribution and NO WARRANTY). - -+$ENV{'LANGUAGE'}='C'; - package Net::SSLeay; - - use strict; diff --git a/perl-Net-SSLeay.changes b/perl-Net-SSLeay.changes index 549d786..e5ab900 100644 --- a/perl-Net-SSLeay.changes +++ b/perl-Net-SSLeay.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Wed Jul 3 09:13:30 UTC 2013 - lnussel@suse.de + +- new version 1.55 + * Added support for TLSV1_1 and TLSV1_2 methods with + SSL_CTX_tlsv1_1_new(), SSL_CTX_tlsv1_2_new(), TLSv1_1_method() and + TLSv1_2_method(), where available in the underlying openssl. + * Added CRL support functions X509_CRL_get_ext(), + X509_CRL_get_ext_by_NID(), X509_CRL_get_ext_count(). Patch from + Franck Youssef. + * Added support for SSL_get_tlsa_record_byname() required for DANE + support in openssl*1.0.2 and later. SSL_get_tlsa_record_byname() + was added to OpenSSL with the financial assistance of .SE. + * Added X509_NAME_new and X509_NAME_hash, patched by Franck Youssef. + * Added support for SSL_export_keying_material where present + * Net::SSLeay::ASN1_INTEGER_get, since it works differntly on 32 and + 64 bit platforms. Updated author and distribution location details + to airspayce.com + * Fixed a few compiler warnings in SSLeay.xs. Most of them are just + signed/unsigned pointer mismatches but there is one that actually + fixes returning what would be an arbitrary value off the stack + from get_my_thread_id if it happened to be called in a + non*threaded build. + * Added SSL_set_tlsext_host_name, SSL_get_servername, + SSL_get_servername_type, SSL_CTX_set_tlsext_servername_callback + for server side Server Name Indication (SNI) support. Patched by + kmx. + * Improvements to Net::SSLeay::read to make it easier to use with + non*blocking IO Added documentation about how to mitigatxe various + SSL/TLS vulnerabilities. + * initializes the SSL library at most once. + * Patch from kmx to protect SSLeay_add_ssl_algorithms from multiple + loads and reentrancy in multi*threaded perls. +- remove perl-Net-SSLeay-1.36.diff: no obvious nor documented justification +- remove perl-Net-SSLeay-1.36-undefined.diff: no longer applies + ------------------------------------------------------------------- Thu Jun 14 09:28:09 UTC 2012 - cfarrell@suse.com diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec index 11231de..5bc36ca 100644 --- a/perl-Net-SSLeay.spec +++ b/perl-Net-SSLeay.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Net-SSLeay # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,17 +19,14 @@ %bcond_with test Name: perl-Net-SSLeay -Version: 1.42 +Version: 1.55 Release: 0 -License: OpenSSL %define cpan_name Net-SSLeay Summary: Perl extension for using OpenSSL -Url: http://search.cpan.org/dist/Net-SSLeay/ +License: OpenSSL Group: Development/Libraries/Perl -#Source: http://www.cpan.org/modules/by-module/Net/Net-SSLeay-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz -Patch0: perl-Net-SSLeay-1.36.diff -Patch1: perl-Net-SSLeay-1.36-undefined.diff +Url: http://search.cpan.org/dist/Net-SSLeay/ +Source: http://www.cpan.org/modules/by-module/Net/Net-SSLeay-%{version}.tar.gz BuildRequires: openssl BuildRequires: openssl-devel BuildRequires: perl @@ -52,8 +49,6 @@ documentation. %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -%patch1 # replace rest of /usr/local/bin/perl with /usr/bin/perl for f in $(find . -type f -exec grep -l "/usr/local/bin/perl" {} \; ); do sed -i -e "s@/usr/local/bin/perl@perl@g" $f @@ -82,6 +77,6 @@ rm -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root,-) -%doc Changes Credits QuickRef README TODO examples +%doc Changes Credits QuickRef README examples %changelog