From 1d4584100562ec207452125a1c8291aaf9cd8806 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sat, 3 Sep 2022 13:01:41 +0100 Subject: [PATCH] Update to 2.075 - New upstream release 2.075 - Treat SSL_write returning 0 same as previously -1, as suggested by both OpenSSL and LibreSSL documentation - Propagate error from SSL_shutdown, unless the shutdown is caused by an outer SSL error, in which case keep the original error - Small test fixes - Use SPDX-format license tag --- ...2.075-use-system-default-SSL-version.patch | 2 +- perl-IO-Socket-SSL.spec | 21 +++++++++++++------ sources | 2 +- 3 files changed, 17 insertions(+), 8 deletions(-) rename IO-Socket-SSL-2.074-use-system-default-SSL-version.patch => IO-Socket-SSL-2.075-use-system-default-SSL-version.patch (97%) diff --git a/IO-Socket-SSL-2.074-use-system-default-SSL-version.patch b/IO-Socket-SSL-2.075-use-system-default-SSL-version.patch similarity index 97% rename from IO-Socket-SSL-2.074-use-system-default-SSL-version.patch rename to IO-Socket-SSL-2.075-use-system-default-SSL-version.patch index fda4dc5..bee1a9d 100644 --- a/IO-Socket-SSL-2.074-use-system-default-SSL-version.patch +++ b/IO-Socket-SSL-2.075-use-system-default-SSL-version.patch @@ -9,7 +9,7 @@ SSL_verify_callback => undef, SSL_verifycn_scheme => undef, # fallback cn verification SSL_verifycn_publicsuffix => undef, # fallback default list verification -@@ -2386,7 +2386,7 @@ sub new { +@@ -2393,7 +2393,7 @@ sub new { my $ssl_op = $DEFAULT_SSL_OP; diff --git a/perl-IO-Socket-SSL.spec b/perl-IO-Socket-SSL.spec index 047738a..a320877 100644 --- a/perl-IO-Socket-SSL.spec +++ b/perl-IO-Socket-SSL.spec @@ -6,14 +6,14 @@ %bcond_without perl_IO_Socket_SSL_test_IO_Socket_INET6 Name: perl-IO-Socket-SSL -Version: 2.074 -Release: 4%{?dist} +Version: 2.075 +Release: 1%{?dist} Summary: Perl library for transparent SSL -License: (GPL+ or Artistic) and MPLv2.0 +License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND MPL-2.0 URL: https://metacpan.org/release/IO-Socket-SSL Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Socket-SSL-%{version}.tar.gz Patch0: IO-Socket-SSL-2.074-use-system-default-cipher-list.patch -Patch1: IO-Socket-SSL-2.074-use-system-default-SSL-version.patch +Patch1: IO-Socket-SSL-2.075-use-system-default-SSL-version.patch # A test for Enable-Post-Handshake-Authentication-TLSv1.3-feature.patch, # bug #1632660, requires openssl tool Patch2: IO-Socket-SSL-2.066-Test-client-performs-Post-Handshake-Authentication.patch @@ -109,7 +109,7 @@ NO_NETWORK_TESTING=1 perl Makefile.PL \ make test %files -# GPL+ or Artistic +# GPL-1.0-or-later OR Artistic-1.0-Perl %doc BUGS Changes README docs/ example/ %dir %{perl_vendorlib}/IO/ %dir %{perl_vendorlib}/IO/Socket/ @@ -121,11 +121,20 @@ make test %{_mandir}/man3/IO::Socket::SSL.3* %{_mandir}/man3/IO::Socket::SSL::Intercept.3* %{_mandir}/man3/IO::Socket::SSL::Utils.3* -# MPLv2.0 +# MPL-2.0 %{perl_vendorlib}/IO/Socket/SSL/PublicSuffix.pm %{_mandir}/man3/IO::Socket::SSL::PublicSuffix.3* %changelog +* Sat Sep 3 2022 Paul Howarth - 2.075-1 +- Update to 2.075 + - Treat SSL_write returning 0 same as previously -1, as suggested by both + OpenSSL and LibreSSL documentation + - Propagate error from SSL_shutdown, unless the shutdown is caused by an outer + SSL error, in which case keep the original error + - Small test fixes +- Use SPDX-format license tag + * Fri Jul 22 2022 Fedora Release Engineering - 2.074-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 688393a..0fa65fa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (IO-Socket-SSL-2.074.tar.gz) = cafbf11a986b8fb5ce06bdf1e7a83741e2eef74d4bf054f0e0cd490959eddf54d32d3d4e786de52750dccc07139d8a1b5d5979080d0f1c1464e0004ccf98a6b0 +SHA512 (IO-Socket-SSL-2.075.tar.gz) = ed693aa360e669401d5d2b81d988d6d2bd39f042452d7194cc8a7ec2dccf1dfa213ecb29572178a3abfdd20af999217d19a3d9a4c7978207a2edaac5148c9853