From cb49e289568f643f8188cc359a3a70737ccba89e Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Fri, 18 Nov 2022 12:13:23 -0800 Subject: libio-socket-ssl-perl: upgrade 2.075 -> 2.076 * 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 Signed-off-by: Khem Raj --- meta-perl/recipes-perl/libio/files/run-ptest | 16 ------- .../libio/libio-socket-ssl-perl_2.075.bb | 46 ------------------ .../libio/libio-socket-ssl-perl_2.076.bb | 56 ++++++++++++++++++++++ 3 files changed, 56 insertions(+), 62 deletions(-) delete mode 100644 meta-perl/recipes-perl/libio/files/run-ptest delete mode 100644 meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.075.bb create mode 100644 meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.076.bb (limited to 'meta-perl') 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.075.bb deleted file mode 100644 index 0a88d93056..0000000000 --- a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.075.bb +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY = "Perl library for transparent SSL" -DESCRIPTION = "This module is a true drop-in replacement for IO::Socket::INET that \ -uses SSL to encrypt data before it is transferred to a remote server \ -or client. IO::Socket::SSL supports all the extra features that one \ -needs to write a full-featured SSL client or server application: \ -multiple SSL contexts, cipher selection, certificate verification, and \ -SSL version selection. As an extra bonus, it works perfectly with \ -mod_perl." -HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/" -SECTION = "libs" - -LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8" - -RDEPENDS:${PN} += "\ - libnet-ssleay-perl \ - perl-module-autoloader \ - perl-module-scalar-util \ - perl-module-io-socket \ -" - -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" - -S = "${WORKDIR}/IO-Socket-SSL-${PV}" - -inherit cpan ptest - -do_install:append () { - mkdir -p ${D}${docdir}/${PN}/ - cp ${S}/BUGS ${D}${docdir}/${PN}/ - cp ${S}/Changes ${D}${docdir}/${PN}/ - cp ${S}/README ${D}${docdir}/${PN}/ - cp -pRP ${S}/docs ${D}${docdir}/${PN}/ - cp -pRP ${S}/certs ${D}${docdir}/${PN}/ - cp -pRP ${S}/example ${D}${docdir}/${PN}/ -} - -do_install_ptest () { - cp -r ${B}/t ${D}${PTEST_PATH} - cp -r ${B}/certs ${D}${PTEST_PATH} -} - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.076.bb b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.076.bb new file mode 100644 index 0000000000..171a675882 --- /dev/null +++ b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.076.bb @@ -0,0 +1,56 @@ +SUMMARY = "Perl library for transparent SSL" +DESCRIPTION = "This module is a true drop-in replacement for IO::Socket::INET that \ +uses SSL to encrypt data before it is transferred to a remote server \ +or client. IO::Socket::SSL supports all the extra features that one \ +needs to write a full-featured SSL client or server application: \ +multiple SSL contexts, cipher selection, certificate verification, and \ +SSL version selection. As an extra bonus, it works perfectly with \ +mod_perl." +HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/" +SECTION = "libs" + +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-io-socket \ + perl-module-scalar-util \ +" + +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-perl + +do_install:append () { + mkdir -p ${D}${docdir}/${PN}/ + cp ${S}/BUGS ${D}${docdir}/${PN}/ + cp ${S}/Changes ${D}${docdir}/${PN}/ + cp ${S}/README ${D}${docdir}/${PN}/ + cp -pRP ${S}/docs ${D}${docdir}/${PN}/ + cp -pRP ${S}/certs ${D}${docdir}/${PN}/ + cp -pRP ${S}/example ${D}${docdir}/${PN}/ +} + +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} +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf