Accepting request 1134614 from home:pmonrealgonzalez:branches:devel:languages:perl

- Fix the test t/core.t to build with OpenSSL 3.2.0. [bsc#1218342]
  * https://github.com/noxxi/p5-io-socket-ssl/issues/147
  * Add perl-IO-Socket-SSL-Openssl32.patch

OBS-URL: https://build.opensuse.org/request/show/1134614
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=148
This commit is contained in:
Dirk Stoecker 2024-01-02 09:35:14 +00:00 committed by Git OBS Bridge
parent f79f0bbddf
commit 2be064de89
3 changed files with 32 additions and 0 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

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 22 08:44:13 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
- Fix the test t/core.t to build with OpenSSL 3.2.0. [bsc#1218342]
* https://github.com/noxxi/p5-io-socket-ssl/issues/147
* Add perl-IO-Socket-SSL-Openssl32.patch
-------------------------------------------------------------------
Tue Nov 7 03:08:36 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@ -28,6 +28,8 @@ Source0: https://cpan.metacpan.org/authors/id/S/SU/SULLR/%{cpan_name}-%{c
Source1: cpanspec.yml
# PATCH-FIX-UPSTREAM (bsc1200295) perl-IO-Socket-SSL doesn't follow system "PROFILE=SYSTEM" openSSL ciphers - https://git.centos.org/rpms/perl-IO-Socket-SSL/blob/e0b0ae04f5cdb41b1f29cb7d76c23abba7ac35e9/f/SOURCES/IO-Socket-SSL-2.066-use-system-default-cipher-list.patch
Patch0: perl-IO-Socket-SSL-use-system-default-cipher-list.patch
# PATCH-FIX-UPSTREAM (bsc#1218342) Fix the test t/core.t to build with OpenSSL 3.2.0
Patch1: perl-IO-Socket-SSL-Openssl32.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros