From 5c5f120ac98d840d22e0835d86a3455aca073e14 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sat, 16 Jul 2016 13:40:15 +0100 Subject: [PATCH] Update to 2.033 - New upstream release 2.033 - Support for session ticket reuse over multiple contexts and processes (if supported by Net::SSLeay) - Small optimizations, like saving various Net::SSLeay constants into variables and access variables instead of calling the constant sub all the time - Make t/dhe.t work with openssl 1.1.0 - Update patches as needed --- ...SL-2.033-use-system-default-SSL-version.patch | 8 ++++---- ...SL-2.033-use-system-default-cipher-list.patch | 4 ++-- perl-IO-Socket-SSL.spec | 16 +++++++++++++--- sources | 2 +- 4 files changed, 20 insertions(+), 10 deletions(-) rename IO-Socket-SSL-2.031-use-system-default-SSL-version.patch => IO-Socket-SSL-2.033-use-system-default-SSL-version.patch (88%) rename IO-Socket-SSL-2.026-use-system-default-cipher-list.patch => IO-Socket-SSL-2.033-use-system-default-cipher-list.patch (97%) diff --git a/IO-Socket-SSL-2.031-use-system-default-SSL-version.patch b/IO-Socket-SSL-2.033-use-system-default-SSL-version.patch similarity index 88% rename from IO-Socket-SSL-2.031-use-system-default-SSL-version.patch rename to IO-Socket-SSL-2.033-use-system-default-SSL-version.patch index d4eee47..c96b158 100644 --- a/IO-Socket-SSL-2.031-use-system-default-SSL-version.patch +++ b/IO-Socket-SSL-2.033-use-system-default-SSL-version.patch @@ -1,6 +1,6 @@ --- lib/IO/Socket/SSL.pm +++ lib/IO/Socket/SSL.pm -@@ -85,7 +85,7 @@ my $algo2digest = do { +@@ -93,7 +93,7 @@ my $algo2digest = do { # global defaults my %DEFAULT_SSL_ARGS = ( SSL_check_crl => 0, @@ -9,9 +9,9 @@ SSL_verify_callback => undef, SSL_verifycn_scheme => undef, # fallback cn verification SSL_verifycn_publicsuffix => undef, # fallback default list verification -@@ -2186,7 +2186,7 @@ sub new { - $ssl_op |= &Net::SSLeay::OP_SINGLE_DH_USE; - $ssl_op |= &Net::SSLeay::OP_SINGLE_ECDH_USE if $can_ecdh; +@@ -2204,7 +2204,7 @@ sub new { + + my $ssl_op = $DEFAULT_SSL_OP; - my $ver; + my $ver = ''; diff --git a/IO-Socket-SSL-2.026-use-system-default-cipher-list.patch b/IO-Socket-SSL-2.033-use-system-default-cipher-list.patch similarity index 97% rename from IO-Socket-SSL-2.026-use-system-default-cipher-list.patch rename to IO-Socket-SSL-2.033-use-system-default-cipher-list.patch index fa5500d..20fd31f 100644 --- a/IO-Socket-SSL-2.026-use-system-default-cipher-list.patch +++ b/IO-Socket-SSL-2.033-use-system-default-cipher-list.patch @@ -1,6 +1,6 @@ --- lib/IO/Socket/SSL.pm +++ lib/IO/Socket/SSL.pm -@@ -93,10 +93,10 @@ my %DEFAULT_SSL_ARGS = ( +@@ -101,10 +101,10 @@ my %DEFAULT_SSL_ARGS = ( SSL_npn_protocols => undef, # meaning depends whether on server or client side SSL_alpn_protocols => undef, # list of protocols we'll accept/send, for example ['http/1.1','spdy/3.1'] @@ -15,7 +15,7 @@ ); my %DEFAULT_SSL_CLIENT_ARGS = ( -@@ -106,63 +106,6 @@ my %DEFAULT_SSL_CLIENT_ARGS = ( +@@ -114,63 +114,6 @@ my %DEFAULT_SSL_CLIENT_ARGS = ( SSL_ca_file => undef, SSL_ca_path => undef, diff --git a/perl-IO-Socket-SSL.spec b/perl-IO-Socket-SSL.spec index 0a201a4..1ee5987 100644 --- a/perl-IO-Socket-SSL.spec +++ b/perl-IO-Socket-SSL.spec @@ -1,13 +1,13 @@ Name: perl-IO-Socket-SSL -Version: 2.032 +Version: 2.033 Release: 1%{?dist} Summary: Perl library for transparent SSL Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/IO-Socket-SSL/ Source0: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz -Patch0: IO-Socket-SSL-2.026-use-system-default-cipher-list.patch -Patch1: IO-Socket-SSL-2.031-use-system-default-SSL-version.patch +Patch0: IO-Socket-SSL-2.033-use-system-default-cipher-list.patch +Patch1: IO-Socket-SSL-2.033-use-system-default-SSL-version.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # Module Build @@ -116,6 +116,16 @@ rm -rf %{buildroot} %{_mandir}/man3/IO::Socket::SSL::Utils.3* %changelog +* Sat Jul 16 2016 Paul Howarth - 2.033-1 +- Update to 2.033 + - Support for session ticket reuse over multiple contexts and processes (if + supported by Net::SSLeay) + - Small optimizations, like saving various Net::SSLeay constants into + variables and access variables instead of calling the constant sub all the + time + - Make t/dhe.t work with openssl 1.1.0 +- Update patches as needed + * Tue Jul 12 2016 Paul Howarth - 2.032-1 - Update to 2.032 - Set session id context only on the server side; even if the documentation diff --git a/sources b/sources index 2fab3c0..ad61db6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5c862771592819b3e45369a07ab5cc7f IO-Socket-SSL-2.032.tar.gz +1bc2c9a00561e7cfc01dc51aad612653 IO-Socket-SSL-2.033.tar.gz