diff options
author | Tim Orling <ticotimo@gmail.com> | 2022-11-18 12:13:23 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-11-19 08:11:45 -0800 |
commit | cb49e289568f643f8188cc359a3a70737ccba89e (patch) | |
tree | 3b3aa5174b4a4313a33217dfe627bbe5e363c12c /meta-perl | |
parent | 7f661f98c256d960e3104c8beaa2db6d3c5e6d1d (diff) | |
download | meta-openembedded-cb49e289568f643f8188cc359a3a70737ccba89e.tar.gz |
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>
Diffstat (limited to 'meta-perl')
-rw-r--r-- | meta-perl/recipes-perl/libio/files/run-ptest | 16 | ||||
-rw-r--r-- | meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.076.bb (renamed from meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.075.bb) | 26 |
2 files changed, 18 insertions, 24 deletions
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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | for case in `find t -type f -name '*.t'`; do | ||
4 | perl $case >$case.output 2>&1 | ||
5 | ret=$? | ||
6 | cat $case.output | ||
7 | if [ $ret -ne 0 ]; then | ||
8 | echo "FAIL: ${case%.t}" | ||
9 | elif grep -i 'SKIP' $case.output; then | ||
10 | echo "SKIP: ${case%.t}" | ||
11 | else | ||
12 | echo "PASS: ${case%.t}" | ||
13 | fi | ||
14 | |||
15 | rm -f $case.output | ||
16 | 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 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" | |||
13 | LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8" | 13 | LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8" |
14 | 14 | ||
15 | RDEPENDS:${PN} += "\ | 15 | RDEPENDS:${PN} += "\ |
16 | libmozilla-ca-perl \ | ||
16 | libnet-ssleay-perl \ | 17 | libnet-ssleay-perl \ |
17 | perl-module-autoloader \ | 18 | perl-module-autoloader \ |
18 | perl-module-scalar-util \ | ||
19 | perl-module-io-socket \ | 19 | perl-module-io-socket \ |
20 | perl-module-scalar-util \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \ | 23 | SRC_URI = "${CPAN_MIRROR}/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz" |
23 | file://run-ptest \ | 24 | SRC_URI[sha256sum] = "bdd148d9feaef1220251676d7053698fcf446c9850d706fe2e1c90ff232ed874" |
24 | " | ||
25 | SRC_URI[sha256sum] = "c30ee2220b1e181a968ebbc81861d0cadf334b001377a44105ae5a8637ddae8c" | ||
26 | 25 | ||
27 | S = "${WORKDIR}/IO-Socket-SSL-${PV}" | 26 | S = "${WORKDIR}/IO-Socket-SSL-${PV}" |
28 | 27 | ||
29 | inherit cpan ptest | 28 | inherit cpan ptest-perl |
30 | 29 | ||
31 | do_install:append () { | 30 | do_install:append () { |
32 | mkdir -p ${D}${docdir}/${PN}/ | 31 | mkdir -p ${D}${docdir}/${PN}/ |
@@ -38,8 +37,19 @@ do_install:append () { | |||
38 | cp -pRP ${S}/example ${D}${docdir}/${PN}/ | 37 | cp -pRP ${S}/example ${D}${docdir}/${PN}/ |
39 | } | 38 | } |
40 | 39 | ||
41 | do_install_ptest () { | 40 | RDEPENDS:${PN}-ptest += "\ |
42 | cp -r ${B}/t ${D}${PTEST_PATH} | 41 | libnet-libidn-perl \ |
42 | liburi-perl \ | ||
43 | perl-module-file-glob \ | ||
44 | perl-module-findbin \ | ||
45 | perl-module-io-socket-inet \ | ||
46 | perl-module-io-socket-ip \ | ||
47 | perl-module-perlio \ | ||
48 | perl-module-perlio-scalar \ | ||
49 | perl-module-test-more \ | ||
50 | " | ||
51 | |||
52 | do_install_ptest:append () { | ||
43 | cp -r ${B}/certs ${D}${PTEST_PATH} | 53 | cp -r ${B}/certs ${D}${PTEST_PATH} |
44 | } | 54 | } |
45 | 55 | ||