All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-perl][PATCH 0/3] meta-perl updates
@ 2022-11-18 20:13 Tim Orling
  2022-11-18 20:13 ` [meta-perl][PATCH 1/3] libmozilla-ca-perl: add recipe for 20221114 Tim Orling
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tim Orling @ 2022-11-18 20:13 UTC (permalink / raw)
  To: openembedded-devel

Once https://lore.kernel.org/openembedded-core/a4f847dcc056026082099ae4977bf6a8e8bd89bc.1668793524.git.tim.orling@konsulko.com/T/#u
merges, libtest-warnings-perl will move to oe-core.

Upgrade libio-socket-ssl-perl and add libmozilla-ca-perl dependency.

The following changes since commit c4829fa338dae008c75cfffd4a712813a99c33c4:

  Nodejs - Upgrade to 16.18.1 (2022-11-18 11:10:25 -0800)

are available in the Git repository at:

  https://git.openembedded.org/meta-openembedded-contrib timo/recipe-upgrades
  http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=timo/recipe-upgrades

Tim Orling (3):
  libmozilla-ca-perl: add recipe for 20221114
  libio-socket-ssl-perl: upgrade 2.075 -> 2.076
  libtest-warnings-perl: move to oe-core

 meta-perl/recipes-perl/libio/files/run-ptest  | 16 -----------
 ....075.bb => libio-socket-ssl-perl_2.076.bb} | 26 +++++++++++------
 .../libmozilla/libmozilla-ca-perl_20221114.bb | 22 +++++++++++++++
 .../libtest/libtest-warnings-perl_0.031.bb    | 28 -------------------
 4 files changed, 40 insertions(+), 52 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%)
 create mode 100644 meta-perl/recipes-perl/libmozilla/libmozilla-ca-perl_20221114.bb
 delete mode 100644 meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.031.bb

-- 
2.30.2



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [meta-perl][PATCH 1/3] libmozilla-ca-perl: add recipe for 20221114
  2022-11-18 20:13 [meta-perl][PATCH 0/3] meta-perl updates Tim Orling
@ 2022-11-18 20:13 ` Tim Orling
  2022-11-18 20:13 ` [meta-perl][PATCH 2/3] libio-socket-ssl-perl: upgrade 2.075 -> 2.076 Tim Orling
  2022-11-18 20:13 ` [meta-perl][PATCH 3/3] libtest-warnings-perl: move to oe-core Tim Orling
  2 siblings, 0 replies; 4+ messages in thread
From: Tim Orling @ 2022-11-18 20:13 UTC (permalink / raw)
  To: openembedded-devel

Mozilla::CA - Mozilla's CA cert bundle in PEM format

Declared runtime dependency for libio-socket-ssl-perl

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 .../libmozilla/libmozilla-ca-perl_20221114.bb | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libmozilla/libmozilla-ca-perl_20221114.bb

diff --git a/meta-perl/recipes-perl/libmozilla/libmozilla-ca-perl_20221114.bb b/meta-perl/recipes-perl/libmozilla/libmozilla-ca-perl_20221114.bb
new file mode 100644
index 0000000000..c5839b9b67
--- /dev/null
+++ b/meta-perl/recipes-perl/libmozilla/libmozilla-ca-perl_20221114.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Mozilla's CA cert bundle in PEM format"
+DESCRIPTION = "Mozilla::CA provides a copy of Mozilla's bundle of \
+Certificate Authority certificates in a form that can be consumed by  \
+modules and libraries based on OpenSSL."
+HOMEPAGE = "https://metacpan.org/pod/Mozilla::CA"
+BUGTRACKER = "https://github.com/libwww-perl/Mozilla-CA/issues"
+SECTION = "libs"
+
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://README;beginline=32;endline=39;md5=51e666dce556490a1132e937ad3f8729"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Mozilla-CA-${PV}.tar.gz"
+SRC_URI[sha256sum] = "701bea67be670add5a102f9f8c879402b4983096b1cb0e20dd47d52d7a10666b"
+
+S = "${WORKDIR}/Mozilla-CA-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS:${PN}-ptest += "\
+    perl-module-test-more \
+"
+BBCLASSEXTEND = "native"
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-perl][PATCH 2/3] libio-socket-ssl-perl: upgrade 2.075 -> 2.076
  2022-11-18 20:13 [meta-perl][PATCH 0/3] meta-perl updates Tim Orling
  2022-11-18 20:13 ` [meta-perl][PATCH 1/3] libmozilla-ca-perl: add recipe for 20221114 Tim Orling
@ 2022-11-18 20:13 ` Tim Orling
  2022-11-18 20:13 ` [meta-perl][PATCH 3/3] libtest-warnings-perl: move to oe-core Tim Orling
  2 siblings, 0 replies; 4+ messages in thread
From: Tim Orling @ 2022-11-18 20:13 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-perl][PATCH 3/3] libtest-warnings-perl: move to oe-core
  2022-11-18 20:13 [meta-perl][PATCH 0/3] meta-perl updates Tim Orling
  2022-11-18 20:13 ` [meta-perl][PATCH 1/3] libmozilla-ca-perl: add recipe for 20221114 Tim Orling
  2022-11-18 20:13 ` [meta-perl][PATCH 2/3] libio-socket-ssl-perl: upgrade 2.075 -> 2.076 Tim Orling
@ 2022-11-18 20:13 ` Tim Orling
  2 siblings, 0 replies; 4+ messages in thread
From: Tim Orling @ 2022-11-18 20:13 UTC (permalink / raw)
  To: openembedded-devel

This is now a dependency for liburi-perl-ptest.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 .../libtest/libtest-warnings-perl_0.031.bb    | 28 -------------------
 1 file changed, 28 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.031.bb

diff --git a/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.031.bb b/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.031.bb
deleted file mode 100644
index d1c0d95fd3..0000000000
--- a/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.031.bb
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright (C) 2020 Jens Rehsack <sno@netbsd.org>
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \
-warnings generated by your tests, combined with the convenience of \
-\\"done_testing\\" to not have to declare a test count, you'll have discovered \
-that these two features do not play well together, as the test count will \
-be calculated *before* the warnings test is run, resulting in a TAP error. \
-(See "examples/test_nowarnings.pl" in this distribution for a \
-demonstration.)"
-
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
-
-HOMEPAGE=       "https://metacpan.org/release/Test-Warnings"
-
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
-file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61"
-
-SRC_URI = "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz"
-
-SRC_URI[sha256sum] = "1e542909fef305e45563e9878ea1c3b0c7cef1b28bb7ae07eba2e1efabec477b"
-
-S = "${WORKDIR}/Test-Warnings-${PV}"
-
-inherit cpan ptest-perl
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.30.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-18 20:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-18 20:13 [meta-perl][PATCH 0/3] meta-perl updates Tim Orling
2022-11-18 20:13 ` [meta-perl][PATCH 1/3] libmozilla-ca-perl: add recipe for 20221114 Tim Orling
2022-11-18 20:13 ` [meta-perl][PATCH 2/3] libio-socket-ssl-perl: upgrade 2.075 -> 2.076 Tim Orling
2022-11-18 20:13 ` [meta-perl][PATCH 3/3] libtest-warnings-perl: move to oe-core Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.