Compare commits

...

2 Commits

Author SHA1 Message Date
Jitka Plesnikova
9f2ccbaf80 Resolves: RHEL-40746 - Fixed test fail with OpenSSL 3.2 2024-06-19 10:45:56 +02:00
Michal Josef Špaček
1afba650d3 Resolves: rhbz#1968046 - Update to 2.073, which has official support for OpenSSL 3.0.0 2022-01-04 14:53:07 +01:00
3 changed files with 40 additions and 16 deletions

View File

@ -0,0 +1,23 @@
From 7c0798d6de3467603dff42253448e36aded7f5ac Mon Sep 17 00:00:00 2001
From: Steffen Ullrich <github@maulwuff.de>
Date: Fri, 22 Dec 2023 08:07:20 +0100
Subject: [PATCH] fixed test fail #147 with OpenSSL 3.2
---
t/core.t | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/core.t b/t/core.t
index e194811..22d78fb 100755
--- a/t/core.t
+++ b/t/core.t
@@ -74,7 +74,8 @@ unless (fork) {
LocalAddr => $localip,
);
print $client "Test\n";
- is( <$client>, "This server is SSL only", "Client non-SSL connection");
+
+ like( <$client>, qr/This server is SSL only/, "Client non-SSL connection");
close $client;
$client = IO::Socket::SSL->new(

View File

@ -6,8 +6,8 @@
%bcond_without perl_IO_Socket_SSL_test_IO_Socket_INET6 %bcond_without perl_IO_Socket_SSL_test_IO_Socket_INET6
Name: perl-IO-Socket-SSL Name: perl-IO-Socket-SSL
Version: 2.070 Version: 2.073
Release: 6%{?dist} Release: 2%{?dist}
Summary: Perl library for transparent SSL Summary: Perl library for transparent SSL
License: (GPL+ or Artistic) and MPLv2.0 License: (GPL+ or Artistic) and MPLv2.0
URL: https://metacpan.org/release/IO-Socket-SSL URL: https://metacpan.org/release/IO-Socket-SSL
@ -18,6 +18,7 @@ Patch1: IO-Socket-SSL-2.068-use-system-default-SSL-version.patch
# bug #1632660, requires openssl tool # bug #1632660, requires openssl tool
Patch2: IO-Socket-SSL-2.066-Test-client-performs-Post-Handshake-Authentication.patch Patch2: IO-Socket-SSL-2.066-Test-client-performs-Post-Handshake-Authentication.patch
Patch3: IO-Socket-SSL-2.068-openssl-1.1.1e.patch Patch3: IO-Socket-SSL-2.068-openssl-1.1.1e.patch
Patch4: IO-Socket-SSL-2.085-Fixed-test-fail-with-OpenSSL-3.2.patch
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
@ -86,28 +87,21 @@ mod_perl.
# Allow building with OpenSSL 1.1.1e as the Fedora package has the # Allow building with OpenSSL 1.1.1e as the Fedora package has the
# problematic EOF handling change reverted # problematic EOF handling change reverted
%patch3 %patch -P3
# Use system-wide default cipher list to support use of system-wide # Use system-wide default cipher list to support use of system-wide
# crypto policy (#1076390, #1127577, CPAN RT#97816) # crypto policy (#1076390, #1127577, CPAN RT#97816)
# https://fedoraproject.org/wiki/Changes/CryptoPolicy # https://fedoraproject.org/wiki/Changes/CryptoPolicy
%patch0 %patch -P0
# Use system-default SSL version too # Use system-default SSL version too
%patch1 %patch -P1
# Add a test for PHA # Add a test for PHA
%patch2 -p1 %patch -P2 -p1
# XXX rhbz#1968046 Remove failing tests. # Fixed test fail with OpenSSL 3.2
for F in \ %patch -P4 -p1
t/cert_formats.t \
t/connectSSL-timeout.t \
t/core.t \
t/readline.t \
; do
rm -f "$F"
done
%build %build
NO_NETWORK_TESTING=1 perl Makefile.PL \ NO_NETWORK_TESTING=1 perl Makefile.PL \
@ -141,6 +135,13 @@ make test
%{_mandir}/man3/IO::Socket::SSL::PublicSuffix.3* %{_mandir}/man3/IO::Socket::SSL::PublicSuffix.3*
%changelog %changelog
* Wed Jun 19 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.073-2
- Resolves: RHEL-40746 - Fixed test fail with OpenSSL 3.2
* Tue Jan 04 2022 Michal Josef Špaček <mspacek@redhat.com> - 2.073-1
- Update to 2.073, which has official support for OpenSSL 3.0.0
Related: rhbz#1968046
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.070-6 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.070-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688

View File

@ -1 +1 @@
SHA512 (IO-Socket-SSL-2.070.tar.gz) = 7c2e9f1265170334def6e0962623a0d96b1d6d4cb399c76630a4108c324b5f608a5774d9b2c09dfbd5ff690990ee156f49db0c00c9a791c9315ad187edaec910 SHA512 (IO-Socket-SSL-2.073.tar.gz) = f6c7e089dbe4012bdaf3fdea2a5bea01d856736a86b1895466aa860de0b45535b8ff31be576e846f41b5e550865e82f479a2b9d3f05ee384c8e595496b874f45