From 6a30f8ffc4824bb1233527a394d3003b4def97a0 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Fri, 6 Jan 2017 14:34:50 +0000 Subject: [PATCH] Update to 2.043 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New upstream release 2.043 - Enable session ticket callback with Net::SSLeay ≥ 1.80 - Make t/session_ticket.t work with OpenSSL 1.1.0; with this version the session no longer gets reused if it was not properly closed, which is now done using an explicit close by the client - Update patches as needed --- ...-SSL-2.042-use-system-default-SSL-version.patch | 4 ++-- ...-SSL-2.042-use-system-default-cipher-list.patch | 4 ++-- perl-IO-Socket-SSL.spec | 14 +++++++++++--- sources | 2 +- 4 files changed, 16 insertions(+), 8 deletions(-) rename IO-Socket-SSL-2.041-use-system-default-SSL-version.patch => IO-Socket-SSL-2.042-use-system-default-SSL-version.patch (95%) rename IO-Socket-SSL-2.041-use-system-default-cipher-list.patch => IO-Socket-SSL-2.042-use-system-default-cipher-list.patch (97%) diff --git a/IO-Socket-SSL-2.041-use-system-default-SSL-version.patch b/IO-Socket-SSL-2.042-use-system-default-SSL-version.patch similarity index 95% rename from IO-Socket-SSL-2.041-use-system-default-SSL-version.patch rename to IO-Socket-SSL-2.042-use-system-default-SSL-version.patch index 7d7c0af..406b4df 100644 --- a/IO-Socket-SSL-2.041-use-system-default-SSL-version.patch +++ b/IO-Socket-SSL-2.042-use-system-default-SSL-version.patch @@ -1,6 +1,6 @@ --- lib/IO/Socket/SSL.pm +++ lib/IO/Socket/SSL.pm -@@ -98,7 +98,7 @@ my $algo2digest = do { +@@ -97,7 +97,7 @@ my $algo2digest = do { # global defaults my %DEFAULT_SSL_ARGS = ( SSL_check_crl => 0, @@ -9,7 +9,7 @@ SSL_verify_callback => undef, SSL_verifycn_scheme => undef, # fallback cn verification SSL_verifycn_publicsuffix => undef, # fallback default list verification -@@ -2220,7 +2220,7 @@ sub new { +@@ -2219,7 +2219,7 @@ sub new { my $ssl_op = $DEFAULT_SSL_OP; diff --git a/IO-Socket-SSL-2.041-use-system-default-cipher-list.patch b/IO-Socket-SSL-2.042-use-system-default-cipher-list.patch similarity index 97% rename from IO-Socket-SSL-2.041-use-system-default-cipher-list.patch rename to IO-Socket-SSL-2.042-use-system-default-cipher-list.patch index 1c8531d..982ec02 100644 --- a/IO-Socket-SSL-2.041-use-system-default-cipher-list.patch +++ b/IO-Socket-SSL-2.042-use-system-default-cipher-list.patch @@ -1,6 +1,6 @@ --- lib/IO/Socket/SSL.pm +++ lib/IO/Socket/SSL.pm -@@ -106,10 +106,10 @@ my %DEFAULT_SSL_ARGS = ( +@@ -105,10 +105,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 = ( -@@ -119,63 +119,6 @@ my %DEFAULT_SSL_CLIENT_ARGS = ( +@@ -118,63 +118,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 c8a49f6..bbfb25d 100644 --- a/perl-IO-Socket-SSL.spec +++ b/perl-IO-Socket-SSL.spec @@ -1,13 +1,13 @@ Name: perl-IO-Socket-SSL -Version: 2.041 +Version: 2.043 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.041-use-system-default-cipher-list.patch -Patch1: IO-Socket-SSL-2.041-use-system-default-SSL-version.patch +Patch0: IO-Socket-SSL-2.042-use-system-default-cipher-list.patch +Patch1: IO-Socket-SSL-2.042-use-system-default-SSL-version.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # Module Build @@ -116,6 +116,14 @@ rm -rf %{buildroot} %{_mandir}/man3/IO::Socket::SSL::Utils.3* %changelog +* Fri Jan 6 2017 Paul Howarth - 2.043-1 +- Update to 2.043 + - Enable session ticket callback with Net::SSLeay ≥ 1.80 + - Make t/session_ticket.t work with OpenSSL 1.1.0; with this version the + session no longer gets reused if it was not properly closed, which is now + done using an explicit close by the client +- Update patches as needed + * Wed Jan 4 2017 Paul Howarth - 2.041-1 - Update to 2.041 - Leave session ticket callback off for now until the needed patch is diff --git a/sources b/sources index 7e981d7..6389dd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (IO-Socket-SSL-2.041.tar.gz) = 7baeb69ba66eba21ff5ebec829a9dd986e749754abc2a9433f197875bc6e0d34d4f42ce1a45438501134e09dae92118c4d2bed93bdee012315dae24ca35cb975 +SHA512 (IO-Socket-SSL-2.043.tar.gz) = 91a49211c8aea107bdcfd886b276e3329f3e62fccce94c1700cd881d2282236b1f5714263dd4a9a3192c9f0bac0b73e11a0e19d18949855252994ed400462886