summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-10-25 16:26:18 +0200
committerKhem Raj <raj.khem@gmail.com>2025-10-25 08:45:03 -0700
commit2d1e7f17161c3195ff6e64fde943c6bc90d12e44 (patch)
tree4489d80ad4694cf0a85a2ff8095063791851db05
parent683fe62c998463dba83ffe031030ad35aa0d0811 (diff)
downloadmeta-openembedded-2d1e7f17161c3195ff6e64fde943c6bc90d12e44.tar.gz
libnet-dns-sec-perl: upgrade 1.10 -> 1.26
Also fix ptests. Changelog: 1.26: -Avoid test failure on RedHat by requiring DSA-SHA1 opt-in. -Fix: Rocky linux 9: libcrypto error 1.25: -Suppress AUTOLOAD for Net::DNS::SEC::Private::_index. -Abandon support for OpenSSL pre-1.1.1 API. -Fix: Tests exhibiting signatures with SHA-1 fail since Fedora 41 -Fix: Net::DNS minimum version dependency 1.24: -Eliminate deprecated RSA CRT parameter names. -Add support for SM3 digest. 1.23: -Code refactoring of XS component. 1.22: -Enable Ed25519 sign/verify for BoringSSL & LibreSSL. -Use EC curve names instead of literal NIDs. -Circumvent sign/verify test failures on EBCDIC platforms. -Fix: openssl-SNAP-20230831 breaks RSA sign/verify 1.21: -Add new t/TestToolkit.pm -Rework pre-installation test scripts. - Fix: libressl-3.7.1 breaks DSA verify 1.20: -Improve Net::DNS::SEC::Keyset tests and error reporting. -Avoid test failures if/when DSA|MD5|SHA1 become unsupported. 1.19: -Discontinue support for obsolete ECC-GOST. -Add LICENSE file to comply with Fedora/RedHat announcement and WARNING of restrictions on use of strong cryptography. 1.18: -Eliminate bareword filehandle usage. -Eliminate indirect object syntax. -Eliminate grep/map <expression>. 1.17: -Recognise BIND private key accessed via symbolic link. 1.16: -Improve testing of verify() functions. -Rework code in Digest.pm -SEC.xs code reduction. 1.15: -Provide access to OpenSSL message digest implementations. 1.14: -Improve exception capture in test scripts. -Support more efficient algorithm mapping in Net::DNS. 1.13: -Tweaks to resolve compilation errors with BoringSSL. 1.12: -Avoid use of EC_POINT_set_affine_coordinates_GFp which is deprecated in OpenSSL 3.0.0 -Reduce level of support for OpenSSL non-LTS releases. 1.11: -Explain why compilation aborted in Net::DNS::SEC::DSA et al. -Fix Makefile.PL to suppress parallel test execution. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-perl/conf/include/ptest-packagelists-meta-perl.inc2
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb30
-rw-r--r--meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.26.bb46
3 files changed, 47 insertions, 31 deletions
diff --git a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc
index 612754635b..fc32c709bc 100644
--- a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc
+++ b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc
@@ -26,6 +26,7 @@ PTESTS_FAST_META_PERL = "\
26 libmime-types-perl \ 26 libmime-types-perl \
27 libmozilla-ca-perl \ 27 libmozilla-ca-perl \
28 libnet-dns-perl \ 28 libnet-dns-perl \
29 libnet-dns-sec-perl \
29 libnet-ldap-perl \ 30 libnet-ldap-perl \
30 libnet-ssleay-perl \ 31 libnet-ssleay-perl \
31 libstrictures-perl \ 32 libstrictures-perl \
@@ -48,7 +49,6 @@ PTESTS_PROBLEMS_META_PERL = "\
48 libconfig-autoconf-perl \ 49 libconfig-autoconf-perl \
49 libhtml-parser-perl \ 50 libhtml-parser-perl \
50 libmodule-build-tiny-perl \ 51 libmodule-build-tiny-perl \
51 libnet-dns-sec-perl \
52 libunix-statgrab \ 52 libunix-statgrab \
53 libxml-libxml-perl \ 53 libxml-libxml-perl \
54" 54"
diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb
deleted file mode 100644
index ee365f9328..0000000000
--- a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1DESCRIPTION = "DNSSEC extensions to Net::DNS"
2HOMEPAGE = "http://www.net-dns.org/"
3SECTION = "libs"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://README;beginline=165;endline=192;md5=6ef523fa09e8c272675839e21de16bde"
7
8SRC_URI = "${CPAN_MIRROR}/authors/id/W/WI/WILLEM/Net-DNS-SEC-${PV}.tar.gz"
9SRC_URI[sha256sum] = "37a47d4def72d7338f3cc7cd807ec19bd9e2ae638ae656fa536cf0314801989e"
10
11DEPENDS += "openssl"
12
13UPSTREAM_CHECK_REGEX = "Net\-DNS\-SEC\-(?P<pver>(\d+\.\d+))(?!_\d+).tar"
14
15S = "${UNPACKDIR}/Net-DNS-SEC-${PV}"
16
17EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_BASELIBDIR} -lcrypto'"
18
19inherit cpan ptest-perl
20
21RDEPENDS:${PN} = " \
22 libnet-dns-perl \
23 libcrypto \
24 perl-module-dynaloader \
25 perl-module-file-find \
26 perl-module-file-spec \
27 perl-module-io-file \
28 perl-module-mime-base64 \
29 perl-module-test-more \
30"
diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.26.bb b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.26.bb
new file mode 100644
index 0000000000..d0e46783d5
--- /dev/null
+++ b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.26.bb
@@ -0,0 +1,46 @@
1DESCRIPTION = "DNSSEC extensions to Net::DNS"
2HOMEPAGE = "http://www.net-dns.org/"
3SECTION = "libs"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=2b7e4176275d57d0b036bdccbc01a0e7"
7
8SRC_URI = "${CPAN_MIRROR}/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-${PV}.tar.gz"
9SRC_URI[sha256sum] = "88592c65487fb7b4d05134f2f9c48e649a9cd533a8493c50189b649b4ea711a6"
10
11DEPENDS += "openssl"
12
13UPSTREAM_CHECK_REGEX = "Net\-DNS\-SEC\-(?P<pver>(\d+\.\d+))(?!_\d+).tar"
14
15S = "${UNPACKDIR}/Net-DNS-SEC-${PV}"
16
17EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_BASELIBDIR} -lcrypto'"
18
19inherit cpan ptest-perl
20
21RDEPENDS:${PN} = " \
22 libnet-dns-perl \
23 libcrypto \
24 perl-module-dynaloader \
25 perl-module-file-find \
26 perl-module-file-spec \
27 perl-module-io-file \
28 perl-module-mime-base64 \
29 perl-module-test-more \
30"
31
32do_install_ptest_perl:append(){
33 cp ${D}${PTEST_PATH}/t/TestToolkit.pm ${D}${PTEST_PATH}
34
35 # This test reconciles the perl module's MANIFEST file with the actual files
36 # in the module. This might be useful for package integrity check, but not so
37 # much for runtime testing - and it also requires the whole source tree to
38 # be installed. Rather just remove it.
39 rm ${D}${PTEST_PATH}/t/00-install.t
40}
41
42RDEPENDS:${PN}-ptest += "\
43 libnet-dns-perl \
44 perl-module-extutils-mm-unix \
45 perl-module-file-spec-functions \
46 perl-module-perlio"