* RDEPENDS on libmozilla-ca-perl * Inherit ptest-perl; drop run-ptest * Add RDEPENDS for ptest
2.076 2022/11/12 - added curl like tracing based on contribution from jddurand https://github.com/noxxi/p5-io-socket-ssl/pull/117 - fixed race condition in t/sni_verify.t based on analysis from jddurand https://github.com/noxxi/p5-io-socket-ssl/issues/97 https://metacpan.org/release/SULLR/IO-Socket-SSL-2.076 Signed-off-by: Tim Orling <[email protected]> --- meta-perl/recipes-perl/libio/files/run-ptest | 16 ------------ ....075.bb => libio-socket-ssl-perl_2.076.bb} | 26 +++++++++++++------ 2 files changed, 18 insertions(+), 24 deletions(-) delete mode 100644 meta-perl/recipes-perl/libio/files/run-ptest rename meta-perl/recipes-perl/libio/{libio-socket-ssl-perl_2.075.bb => libio-socket-ssl-perl_2.076.bb} (70%) diff --git a/meta-perl/recipes-perl/libio/files/run-ptest b/meta-perl/recipes-perl/libio/files/run-ptest deleted file mode 100644 index c9f9ca94d0..0000000000 --- a/meta-perl/recipes-perl/libio/files/run-ptest +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -for case in `find t -type f -name '*.t'`; do - perl $case >$case.output 2>&1 - ret=$? - cat $case.output - if [ $ret -ne 0 ]; then - echo "FAIL: ${case%.t}" - elif grep -i 'SKIP' $case.output; then - echo "SKIP: ${case%.t}" - else - echo "PASS: ${case%.t}" - fi - - rm -f $case.output -done diff --git a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.075.bb b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.076.bb similarity index 70% rename from meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.075.bb rename to meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.076.bb index 0a88d93056..171a675882 100644 --- a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.075.bb +++ b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.076.bb @@ -13,20 +13,19 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8" RDEPENDS:${PN} += "\ + libmozilla-ca-perl \ libnet-ssleay-perl \ perl-module-autoloader \ - perl-module-scalar-util \ perl-module-io-socket \ + perl-module-scalar-util \ " -SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \ - file://run-ptest \ - " -SRC_URI[sha256sum] = "c30ee2220b1e181a968ebbc81861d0cadf334b001377a44105ae5a8637ddae8c" +SRC_URI = "${CPAN_MIRROR}/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz" +SRC_URI[sha256sum] = "bdd148d9feaef1220251676d7053698fcf446c9850d706fe2e1c90ff232ed874" S = "${WORKDIR}/IO-Socket-SSL-${PV}" -inherit cpan ptest +inherit cpan ptest-perl do_install:append () { mkdir -p ${D}${docdir}/${PN}/ @@ -38,8 +37,19 @@ do_install:append () { cp -pRP ${S}/example ${D}${docdir}/${PN}/ } -do_install_ptest () { - cp -r ${B}/t ${D}${PTEST_PATH} +RDEPENDS:${PN}-ptest += "\ + libnet-libidn-perl \ + liburi-perl \ + perl-module-file-glob \ + perl-module-findbin \ + perl-module-io-socket-inet \ + perl-module-io-socket-ip \ + perl-module-perlio \ + perl-module-perlio-scalar \ + perl-module-test-more \ +" + +do_install_ptest:append () { cp -r ${B}/certs ${D}${PTEST_PATH} } -- 2.30.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#99619): https://lists.openembedded.org/g/openembedded-devel/message/99619 Mute This Topic: https://lists.openembedded.org/mt/95120627/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
