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 <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tim Orling
2022-11-18 12:13:23 -08:00
committed by Khem Raj
parent 7f661f98c2
commit cb49e28956
2 changed files with 18 additions and 24 deletions

View File

@@ -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

View File

@@ -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}
}