public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "orbea" <orbea@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/libressl:master commit in: dev-perl/Net-SSLeay/files/, dev-perl/Net-SSLeay/
Date: Sun, 02 Mar 2025 15:37:04 +0000 (UTC)	[thread overview]
Message-ID: <1740929625.7aaec68133b87a2311bdf418cb6aba9477ff87c2.orbea@gentoo> (raw)

commit:     7aaec68133b87a2311bdf418cb6aba9477ff87c2
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sun Mar  2 15:33:45 2025 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Sun Mar  2 15:33:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=7aaec681

dev-perl/Net-SSLeay: add 1.940.0-r1, drop 1.940.0

Signed-off-by: orbea <orbea <AT> riseup.net>

 ...1.940.0.ebuild => Net-SSLeay-1.940.0-r1.ebuild} |  9 +++---
 ...Net-SSLeay-1.940.0-openssl-3.4-tests-more.patch | 36 ++++++++++++++++++++++
 .../Net-SSLeay-1.940.0-openssl-3.4-tests.patch     | 29 +++++++++++++++++
 3 files changed, 69 insertions(+), 5 deletions(-)

diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.940.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.940.0-r1.ebuild
similarity index 86%
rename from dev-perl/Net-SSLeay/Net-SSLeay-1.940.0.ebuild
rename to dev-perl/Net-SSLeay/Net-SSLeay-1.940.0-r1.ebuild
index eec5700..9da7e99 100644
--- a/dev-perl/Net-SSLeay/Net-SSLeay-1.940.0.ebuild
+++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.940.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,31 +17,30 @@ IUSE="minimal examples"
 
 RDEPEND="
 	dev-libs/openssl:=
-	virtual/perl-MIME-Base64
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
 	${RDEPEND}
-	virtual/perl-ExtUtils-MakeMaker
-	virtual/perl-File-Spec
 	test? (
 		!minimal? (
 			dev-perl/Test-Exception
 			dev-perl/Test-Warn
 			dev-perl/Test-NoWarnings
 		)
-		virtual/perl-Test-Simple
 	)
 "
 
 PATCHES=(
 	"${FILESDIR}/${PN}-1.88-fix-network-tests.patch"
 	"${FILESDIR}/${PN}-1.940.0-avoid-runtime-check.patch"
+	"${FILESDIR}/${PN}-1.940.0-openssl-3.4-tests.patch"
+	"${FILESDIR}/${PN}-1.940.0-openssl-3.4-tests-more.patch"
 	"${FILESDIR}/${PN}-1.94-libressl.patch" #903001
 )
 
 PERL_RM_FILES=(
 	# Author tests
+	# https://github.com/radiator-software/p5-net-ssleay/pull/393
 	't/local/01_pod.t'
 	't/local/02_pod_coverage.t'
 	't/local/kwalitee.t'

diff --git a/dev-perl/Net-SSLeay/files/Net-SSLeay-1.940.0-openssl-3.4-tests-more.patch b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.940.0-openssl-3.4-tests-more.patch
new file mode 100644
index 0000000..f36ba6f
--- /dev/null
+++ b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.940.0-openssl-3.4-tests-more.patch
@@ -0,0 +1,36 @@
+https://bugs.gentoo.org/949707
+https://github.com/radiator-software/p5-net-ssleay/issues/513
+https://github.com/sebastianas/p5-net-ssleay/commit/800a8c1ea63ef9edd145e7b334c64a7d8f1ef1a7
+(https://github.com/radiator-software/p5-net-ssleay/pull/514)
+
+From 800a8c1ea63ef9edd145e7b334c64a7d8f1ef1a7 Mon Sep 17 00:00:00 2001
+From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
+Date: Tue, 18 Feb 2025 18:57:15 +0100
+Subject: [PATCH] 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 <sebastian@breakpoint.cc>
+---
+ 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 0fd1b68..08316bf 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 ) {

diff --git a/dev-perl/Net-SSLeay/files/Net-SSLeay-1.940.0-openssl-3.4-tests.patch b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.940.0-openssl-3.4-tests.patch
new file mode 100644
index 0000000..ca20b5e
--- /dev/null
+++ b/dev-perl/Net-SSLeay/files/Net-SSLeay-1.940.0-openssl-3.4-tests.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/949707
+https://github.com/radiator-software/p5-net-ssleay/issues/493
+https://github.com/radiator-software/p5-net-ssleay/issues/494
+https://github.com/radiator-software/p5-net-ssleay/issues/511
+https://github.com/radiator-software/p5-net-ssleay/pull/487
+
+From e73cf1139a6651a968828d1634be8fec5beb50ba Mon Sep 17 00:00:00 2001
+From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
+Date: Wed, 16 Oct 2024 21:48:51 +0200
+Subject: [PATCH] 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 <sebastian@breakpoint.cc>
+--- 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
+


             reply	other threads:[~2025-03-02 15:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-02 15:37 orbea [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-04 19:07 [gentoo-commits] repo/proj/libressl:master commit in: dev-perl/Net-SSLeay/files/, dev-perl/Net-SSLeay/ orbea
2024-04-05 17:24 orbea
2024-03-11  0:42 orbea
2023-05-29 19:49 orbea
2022-11-15 21:18 Quentin Retornaz
2021-10-02 22:15 Quentin Retornaz
2019-08-17  2:29 Stefan Strogin
2019-03-25  5:50 Stefan Strogin
2019-02-21  1:30 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1740929625.7aaec68133b87a2311bdf418cb6aba9477ff87c2.orbea@gentoo \
    --to=orbea@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox