Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Net-SSLeay for openSUSE:Factory
checked in at 2025-04-15 16:45:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-SSLeay (Old)
and /work/SRC/openSUSE:Factory/.perl-Net-SSLeay.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-SSLeay"
Tue Apr 15 16:45:16 2025 rev:39 rq:1269239 version:1.940.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-SSLeay/perl-Net-SSLeay.changes
2024-03-28 14:04:08.839016071 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Net-SSLeay.new.1907/perl-Net-SSLeay.changes
2025-04-15 16:48:23.593352881 +0200
@@ -1,0 +2,6 @@
+Wed Apr 9 20:34:23 UTC 2025 - Lucas Mulling <[email protected]>
+
+- Fix build with openssl >= 3.4.1
+ * Add patch test-32_x509_get_cert_info-allow-single-colon.patch
+
+-------------------------------------------------------------------
New:
----
test-32_x509_get_cert_info-allow-single-colon.patch
BETA DEBUG BEGIN:
New:- Fix build with openssl >= 3.4.1
* Add patch test-32_x509_get_cert_info-allow-single-colon.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Net-SSLeay.spec ++++++
--- /var/tmp/diff_new_pack.SaSB3A/_old 2025-04-15 16:48:24.473389730 +0200
+++ /var/tmp/diff_new_pack.SaSB3A/_new 2025-04-15 16:48:24.477389899 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Net-SSLeay
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/C/CH/CHRISN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
+# PATCH-FIX-UPSTREAM: Fix build with openssl >= 3.4.1
+Patch: test-32_x509_get_cert_info-allow-single-colon.patch
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(Net::SSLeay) = %{version}
@@ -47,7 +49,7 @@
libcrypto (a cryptography API).
%prep
-%autosetup -n %{cpan_name}-%{cpan_version}
+%autosetup -p1 -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod
644
++++++ test-32_x509_get_cert_info-allow-single-colon.patch ++++++
>From e73cf1139a6651a968828d1634be8fec5beb50ba Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <[email protected]>
Date: Wed, 16 Oct 2024 21:48:51 +0200
Subject: [PATCH 1/2] test: 32_x509_get_cert_info allow single colon.
Starting with 3.4.0 the double colon in emailAddress has been removed.
Adapt the test to allow a single colon in 3.4.0 and later.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
---
t/local/32_x509_get_cert_info.t | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/t/local/32_x509_get_cert_info.t b/t/local/32_x509_get_cert_info.t
index 0f7e2d5a..0fd1b689 100644
--- a/t/local/32_x509_get_cert_info.t
+++ b/t/local/32_x509_get_cert_info.t
@@ -188,6 +188,10 @@ for my $f (keys (%$dump)) {
) {
$ext_data =~ s{(othername:) [^, ]+}{$1<unsupported>}g;
}
+ # Starting with 3.4.0 the double colon in emailAddress has
been removed.
+ if (Net::SSLeay::SSLeay >= 0x30400000) {
+ $ext_data =~ s{emailAddress::}{emailAddress:};
+ }
}
elsif ( $nid == 89 ) {
# The output formatting for certificate policies has a
>From 800a8c1ea63ef9edd145e7b334c64a7d8f1ef1a7 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <[email protected]>
Date: Tue, 18 Feb 2025 18:57:15 +0100
Subject: [PATCH 2/2] tests: Address another formatting difference in OpenSSL
3.4.1
Since OpenSSL 3.4.1, commit 8a28bca8ee08 ("x509: add a newline after
printing Full Name") to be exact, there is another new line change.
Adapt the testsuite.
Fixes: #513
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
---
t/local/32_x509_get_cert_info.t | 3 +++
1 file changed, 3 insertions(+)
diff --git a/t/local/32_x509_get_cert_info.t b/t/local/32_x509_get_cert_info.t
index 0fd1b689..08316bf9 100644
--- a/t/local/32_x509_get_cert_info.t
+++ b/t/local/32_x509_get_cert_info.t
@@ -218,6 +218,9 @@ for my $f (keys (%$dump)) {
# OpenSSL 1.0.0 to 1.1.1:
$ext_data =~ s{(Full Name:\n )}{\n$1}g;
$ext_data .= "\n";
+ } elsif ( Net::SSLeay::SSLeay > 0x3040000f ) {
+ $ext_data =~ s{(\nFull Name:)}{\n$1}g;
+ $ext_data .= "\n";
}
}
elsif ( $nid == 126 ) {