diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2026-04-02 14:56:50 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-02 16:05:46 +0000 |
| commit | 9546a4e07d62cd3fc0b8adce5634275d8f38acce (patch) | |
| tree | be12a39eed793ab330bd17708c0a0c9bc2fefb83 | |
| parent | 4ba9f5459da3c3cb941433c10a0a26981679a2b9 (diff) | |
| download | meta-openembedded-9546a4e07d62cd3fc0b8adce5634275d8f38acce.tar.gz | |
libnet-ssleay-perl: upgrade 1.94 -> 1.96
1.Changelog:
https://metacpan.org/dist/Net-SSLeay/changes
2.Remove following patches as merged upstream
0001-tests-Address-another-formatting-difference-in-OpenSSL-3.4.1.patch
0001-test-32_x509_get_cert_info-allow-single-colon.patch
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ssleay-perl/0001-test-32_x509_get_cert_info-allow-single-colon.patch | 29 | ||||
| -rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ssleay-perl/0001-tests-Address-another-formatting-difference-in-OpenSSL-3.4.1.patch | 32 | ||||
| -rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.96.bb (renamed from meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.94.bb) | 4 |
3 files changed, 1 insertions, 64 deletions
diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/0001-test-32_x509_get_cert_info-allow-single-colon.patch b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/0001-test-32_x509_get_cert_info-allow-single-colon.patch deleted file mode 100644 index 805a16d6c9..0000000000 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/0001-test-32_x509_get_cert_info-allow-single-colon.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | From 4068d585875d3ba99da2cbe41f60d0dd4f4290d1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | ||
| 3 | Date: Wed, 16 Oct 2024 21:48:51 +0200 | ||
| 4 | Subject: [PATCH] test: 32_x509_get_cert_info allow single colon. | ||
| 5 | |||
| 6 | Starting with 3.4.0 the double colon in emailAddress has been removed. | ||
| 7 | Adapt the test to allow a single colon in 3.4.0 and later. | ||
| 8 | |||
| 9 | Upstream-Status: Backport [https://github.com/radiator-software/p5-net-ssleay/commit/4068d585875d3ba99da2cbe41f60d0dd4f4290d1] | ||
| 10 | Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | ||
| 11 | --- | ||
| 12 | t/local/32_x509_get_cert_info.t | 4 ++++ | ||
| 13 | 1 file changed, 4 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/t/local/32_x509_get_cert_info.t b/t/local/32_x509_get_cert_info.t | ||
| 16 | index 0f7e2d5a..0fd1b689 100644 | ||
| 17 | --- a/t/local/32_x509_get_cert_info.t | ||
| 18 | +++ b/t/local/32_x509_get_cert_info.t | ||
| 19 | @@ -188,6 +188,10 @@ for my $f (keys (%$dump)) { | ||
| 20 | ) { | ||
| 21 | $ext_data =~ s{(othername:) [^, ]+}{$1<unsupported>}g; | ||
| 22 | } | ||
| 23 | + # Starting with 3.4.0 the double colon in emailAddress has been removed. | ||
| 24 | + if (Net::SSLeay::SSLeay >= 0x30400000) { | ||
| 25 | + $ext_data =~ s{emailAddress::}{emailAddress:}; | ||
| 26 | + } | ||
| 27 | } | ||
| 28 | elsif ( $nid == 89 ) { | ||
| 29 | # The output formatting for certificate policies has a | ||
diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/0001-tests-Address-another-formatting-difference-in-OpenSSL-3.4.1.patch b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/0001-tests-Address-another-formatting-difference-in-OpenSSL-3.4.1.patch deleted file mode 100644 index 17310908c1..0000000000 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/0001-tests-Address-another-formatting-difference-in-OpenSSL-3.4.1.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From eac7ac502b02f44a84a67920e9f634cce71ff335 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | ||
| 3 | Date: Tue, 18 Feb 2025 18:57:15 +0100 | ||
| 4 | Subject: [PATCH] tests: Address another formatting difference in OpenSSL 3.4.1 | ||
| 5 | |||
| 6 | Since OpenSSL 3.4.1, commit 8a28bca8ee08 ("x509: add a newline after | ||
| 7 | printing Full Name") to be exact, there is another new line change. | ||
| 8 | |||
| 9 | Adapt the testsuite. | ||
| 10 | |||
| 11 | Fixes: #513 | ||
| 12 | |||
| 13 | Upstream-Status: Backport [https://github.com/radiator-software/p5-net-ssleay/commit/eac7ac502b02f44a84a67920e9f634cce71ff335] | ||
| 14 | Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | ||
| 15 | --- | ||
| 16 | t/local/32_x509_get_cert_info.t | 3 +++ | ||
| 17 | 1 file changed, 3 insertions(+) | ||
| 18 | |||
| 19 | diff --git a/t/local/32_x509_get_cert_info.t b/t/local/32_x509_get_cert_info.t | ||
| 20 | index 0fd1b68..08316bf 100644 | ||
| 21 | --- a/t/local/32_x509_get_cert_info.t | ||
| 22 | +++ b/t/local/32_x509_get_cert_info.t | ||
| 23 | @@ -218,6 +218,9 @@ for my $f (keys (%$dump)) { | ||
| 24 | # OpenSSL 1.0.0 to 1.1.1: | ||
| 25 | $ext_data =~ s{(Full Name:\n )}{\n$1}g; | ||
| 26 | $ext_data .= "\n"; | ||
| 27 | + } elsif ( Net::SSLeay::SSLeay > 0x3040000f ) { | ||
| 28 | + $ext_data =~ s{(\nFull Name:)}{\n$1}g; | ||
| 29 | + $ext_data .= "\n"; | ||
| 30 | } | ||
| 31 | } | ||
| 32 | elsif ( $nid == 126 ) { | ||
diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.94.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.96.bb index 532744456d..d2c3bee645 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.94.bb +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.96.bb | |||
| @@ -24,10 +24,8 @@ RDEPENDS:${PN} += "\ | |||
| 24 | " | 24 | " |
| 25 | 25 | ||
| 26 | SRC_URI = "${CPAN_MIRROR}/authors/id/C/CH/CHRISN/Net-SSLeay-${PV}.tar.gz \ | 26 | SRC_URI = "${CPAN_MIRROR}/authors/id/C/CH/CHRISN/Net-SSLeay-${PV}.tar.gz \ |
| 27 | file://0001-tests-Address-another-formatting-difference-in-OpenSSL-3.4.1.patch \ | ||
| 28 | file://0001-test-32_x509_get_cert_info-allow-single-colon.patch \ | ||
| 29 | file://run-ptest" | 27 | file://run-ptest" |
| 30 | SRC_URI[sha256sum] = "9d7be8a56d1bedda05c425306cc504ba134307e0c09bda4a788c98744ebcd95d" | 28 | SRC_URI[sha256sum] = "ab213691685fb2a576c669cbc8d9266f8165a31563ad15b7c4030b94adfc0753" |
| 31 | 29 | ||
| 32 | S = "${UNPACKDIR}/Net-SSLeay-${PV}" | 30 | S = "${UNPACKDIR}/Net-SSLeay-${PV}" |
| 33 | 31 | ||
