diff options
Diffstat (limited to 'meta-perl')
99 files changed, 904 insertions, 546 deletions
diff --git a/meta-perl/README b/meta-perl/README.md index 2419ae2281..13014b0ff3 100644 --- a/meta-perl/README +++ b/meta-perl/README.md @@ -36,7 +36,7 @@ help for each package. 1) vim local.conf: ... - IMAGE_INSTALL_append = " libdbd-sqlite-perl" + IMAGE_INSTALL:append = " libdbd-sqlite-perl" PERL_DBM_TEST = "1" ... 2) build core-image-sato and boot the target @@ -53,8 +53,6 @@ This layer depends on: URI: git://git.openembedded.org/openembedded-core branch: master - revision: HEAD - prio: default Adding the meta-perl layer to your build --------------------------------------- diff --git a/meta-perl/conf/include/non-repro-meta-perl.inc b/meta-perl/conf/include/non-repro-meta-perl.inc new file mode 100755 index 0000000000..9082691f67 --- /dev/null +++ b/meta-perl/conf/include/non-repro-meta-perl.inc @@ -0,0 +1,10 @@ +# List of known non-reproducible package of the meta-perl layer +# Please keep this list sorted +KNOWN_NON_REPRO_META_PERL = " \ + libencode-perl-src \ + libhtml-tree-perl \ + libhtml-tree-perl-doc \ + libmodule-build-tiny-perl \ + po4a \ + po4a-doc \ +" diff --git a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc new file mode 100644 index 0000000000..842f817f1f --- /dev/null +++ b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc @@ -0,0 +1,52 @@ +# +# Lists of the ptest in meta-perl, sorted into two sets by the time they take +# Please keep these sorted in alphabetical order +# +# A first pass at getting all meta-perl recipes which inherit ptest +# meta_perl_ptest_recipes=$(bitbake-layers show-recipes --recipes-only --layer meta-perl --inherits ptest --bare | tr '\n' ' ' | pcregrep -o1 '^NOTE:.+===(.+)$') +# +# ptests which take less than ~30s each +PTESTS_FAST_META_PERL = "\ + libcapture-tiny-perl \ + libcgi-perl \ + libcrypt-openssl-random-perl \ + libdigest-hmac-perl \ + liberror-perl \ + libextutils-config-perl \ + libextutils-installpaths-perl \ + libhtml-tagset-perl \ + libmozilla-ca-perl \ + libmodule-build-tiny-perl \ + libstrictures-perl \ + libterm-readkey-perl \ + libtest-nowarnings-perl \ + libtext-diff-perl \ +" + +PTESTS_SLOW_META_PERL = "\ + libio-socket-ssl-perl \ +" + +PTESTS_PROBLEMS_META_PERL ="\ + libauthen-sasl-perl \ + libconfig-autoconf-perl \ + libcrypt-openssl-guess-perl \ + libcrypt-openssl-rsa-perl \ + libdata-hexdump-perl \ + libdbd-sqlite-perl \ + libdigest-sha1-perl \ + libnet-dns-perl \ + libnet-dns-sec-perl \ + libnet-ldap-perl \ + libfile-slurper-perl \ + libhtml-parser-perl \ + libmime-types-perl \ + libnet-ssleay-perl \ + libsub-uplevel-perl \ + libtest-deep-perl \ + libtest-harness-perl \ + libtest-warn-perl \ + libunicode-linebreak-perl \ + libunix-statgrab \ + libxml-libxml-perl \ +" diff --git a/meta-perl/conf/layer.conf b/meta-perl/conf/layer.conf index 87bb91f618..fb1fe88453 100644 --- a/meta-perl/conf/layer.conf +++ b/meta-perl/conf/layer.conf @@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ BBFILE_COLLECTIONS += "perl-layer" BBFILE_PATTERN_perl-layer := "^${LAYERDIR}/" -BBFILE_PRIORITY_perl-layer = "6" +BBFILE_PRIORITY_perl-layer = "5" # This should only be incremented on significant changes that will # cause compatibility issues with other layers @@ -15,4 +15,4 @@ LAYERVERSION_perl-layer = "1" LAYERDEPENDS_perl-layer = "core openembedded-layer" -LAYERSERIES_COMPAT_perl-layer = " hardknott" +LAYERSERIES_COMPAT_perl-layer = "styhead" diff --git a/meta-perl/files/static-group-meta-perl b/meta-perl/files/static-group-meta-perl new file mode 100644 index 0000000000..7dd58bbbda --- /dev/null +++ b/meta-perl/files/static-group-meta-perl @@ -0,0 +1 @@ +logcheck:x:670:
\ No newline at end of file diff --git a/meta-perl/files/static-passwd-meta-perl b/meta-perl/files/static-passwd-meta-perl new file mode 100644 index 0000000000..7b3591ac50 --- /dev/null +++ b/meta-perl/files/static-passwd-meta-perl @@ -0,0 +1 @@ +logcheck:x:670:670::/:/bin/nologin
\ No newline at end of file diff --git a/meta-perl/recipes-perl/images/meta-perl-image.bb b/meta-perl/recipes-core/images/meta-perl-image-all.bb index b8d3a76e6a..c46cba21cd 100644 --- a/meta-perl/recipes-perl/images/meta-perl-image.bb +++ b/meta-perl/recipes-core/images/meta-perl-image-all.bb @@ -1,4 +1,4 @@ -require meta-perl-base.bb +require recipes-core/images/core-image-base.bb SUMMARY = "meta-perl build test image" diff --git a/meta-perl/recipes-core/images/meta-perl-image-ptest-all.bb b/meta-perl/recipes-core/images/meta-perl-image-ptest-all.bb new file mode 100644 index 0000000000..9efe5087f0 --- /dev/null +++ b/meta-perl/recipes-core/images/meta-perl-image-ptest-all.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Recipe to trigger execution of all meta-perl ptest images." +HOMEPAGE = "https://www.openembedded.org/" + +LICENSE = "MIT" + +inherit features_check nopackages +REQUIRED_DISTRO_FEATURES = "ptest" + +require conf/include/ptest-packagelists-meta-perl.inc + +# Include the full set of ptests +PTESTS_META_PERL = "${PTESTS_FAST_META_PERL} ${PTESTS_SLOW_META_PERL} ${PTESTS_PROBLEMS_META_PERL}" + +do_testimage[noexec] = "1" +do_testimage[depends] = "${@' '.join(['meta-perl-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_PERL').split()])}" + +do_build[depends] = "${@' '.join(['meta-perl-image-ptest-'+x+':do_build' for x in d.getVar('PTESTS_META_PERL').split()])}" + +# normally image.bbclass would do this +EXCLUDE_FROM_WORLD = "1" + +python () { + if bb.utils.contains('IMAGE_CLASSES', 'testimage', True, False, d): + bb.build.addtask("do_testimage", "", "", d) +} diff --git a/meta-perl/recipes-core/images/meta-perl-image-ptest-fast.bb b/meta-perl/recipes-core/images/meta-perl-image-ptest-fast.bb new file mode 100644 index 0000000000..1ac78f30b7 --- /dev/null +++ b/meta-perl/recipes-core/images/meta-perl-image-ptest-fast.bb @@ -0,0 +1,6 @@ +require meta-perl-image-ptest-all.bb + +DESCRIPTION = "Recipe to trigger execution of all fast meta-perl ptest images." + +PTESTS_META_PERL = "${PTESTS_FAST_META_PERL}" + diff --git a/meta-perl/recipes-core/images/meta-perl-image-ptest.bb b/meta-perl/recipes-core/images/meta-perl-image-ptest.bb new file mode 100644 index 0000000000..94d77b97f0 --- /dev/null +++ b/meta-perl/recipes-core/images/meta-perl-image-ptest.bb @@ -0,0 +1,40 @@ +inherit features_check +REQUIRED_DISTRO_FEATURES += "ptest" + +SUMMARY = "meta-perl build ptest image" + +require recipes-core/images/core-image-minimal.bb +require conf/include/ptest-packagelists-meta-perl.inc + +DESCRIPTION += "Also including the ${MCNAME} ptest package." +HOMEPAGE = "https://www.openembedded.org/" + +PTESTS_META_PERL = "${PTESTS_SLOW_META_PERL} ${PTESTS_FAST_META_PERL} ${PTESTS_PROBLEMS_META_PERL}" + +IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh" + +BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS_META_PERL').split()])}" + +# The image can be sufficiently large (~1.8GB) that we need to be careful that it fits in a live +# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the +# box) and explicitly add up to 1500MB. +IMAGE_OVERHEAD_FACTOR = "1.0" +IMAGE_ROOTFS_EXTRA_SPACE = "324288" +# If a particular ptest needs more space, it can be customized: +#IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-<pn> = "1024288" + +# ptests need more memory than standard to avoid the OOM killer +QB_MEM = "-m 1024" +# If a particular ptest needs more memory, it can be customized: +#QB_MEM:virtclass-mcextend-<pn> = "-m 4096" + +TEST_SUITES = "ping ssh parselogs ptest" + +# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places +PTEST_EXPECT_FAILURE = "1" + +python () { + if not d.getVar("MCNAME"): + raise bb.parse.SkipRecipe("No class extension set") +} + diff --git a/meta-perl/recipes-perl/packagegroups/packagegroup-meta-perl.bb b/meta-perl/recipes-core/packagegroups/packagegroup-meta-perl.bb index 3fa56d4390..c49b3b5a27 100644 --- a/meta-perl/recipes-perl/packagegroups/packagegroup-meta-perl.bb +++ b/meta-perl/recipes-core/packagegroups/packagegroup-meta-perl.bb @@ -9,13 +9,16 @@ PACKAGES = "\ ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-perl-ptest-packages", "", d)} \ " -RDEPENDS_packagegroup-meta-perl = "\ +RDEPENDS:packagegroup-meta-perl = "\ adduser \ libalgorithm-diff-perl \ libauthen-sasl-perl \ libauthen-radius-perl \ libcapture-tiny-perl \ libcgi-perl \ + libcompress-raw-bzip2-perl \ + libcompress-raw-lzma-perl \ + libcompress-raw-zlib-perl \ libdbd-sqlite-perl \ libclass-method-modifiers-perl \ libdigest-hmac-perl \ @@ -28,6 +31,8 @@ RDEPENDS_packagegroup-meta-perl = "\ libhtml-tree-perl \ libhtml-tagset-perl \ libimport-into-perl \ + libio-compress-perl \ + libio-compress-lzma-perl \ libio-socket-ssl-perl \ libio-stringy-perl \ libipc-signal-perl \ @@ -73,17 +78,15 @@ RDEPENDS_packagegroup-meta-perl = "\ libtest-harness-perl \ libtest-nowarnings-perl \ libtest-warn-perl \ - libtest-warnings-perl \ libunicode-linebreak-perl \ - po4a \ " -RDEPENDS_packagegroup-meta-perl-extended = "\ +RDEPENDS:packagegroup-meta-perl-extended = "\ logcheck \ mime-construct \ " -RDEPENDS_packagegroup-meta-perl-ptest-packages = "\ +RDEPENDS:packagegroup-meta-perl-ptest-packages = "\ libmime-types-perl-ptest \ libio-socket-ssl-perl-ptest \ libdata-hexdump-perl-ptest \ @@ -97,6 +100,3 @@ RDEPENDS_packagegroup-meta-perl-ptest-packages = "\ " EXCLUDE_FROM_WORLD = "1" - -# perl-module-encode is preferred over libencode-perl -# libencode-locale-perl depends on libencode-perl diff --git a/meta-perl/recipes-extended/logcheck/logcheck_1.3.23.bb b/meta-perl/recipes-extended/logcheck/logcheck_1.4.3.bb index bb9faa2c05..037852392f 100644 --- a/meta-perl/recipes-extended/logcheck/logcheck_1.3.23.bb +++ b/meta-perl/recipes-extended/logcheck/logcheck_1.4.3.bb @@ -8,22 +8,20 @@ Normal entries are entries which match one of the many included regular \ expression files contain in the database." SECTION = "Applications/System" HOMEPAGE = "http://logcheck.org/" -LICENSE = "GPLv2" +LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b" SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.xz \ file://99_logcheck \ " -SRC_URI[sha256sum] = "a2188ba549fff4412c82074b271884ff66d25f3fdb2a41916e817ce676855b29" - -S = "${WORKDIR}/${BPN}" +SRC_URI[sha256sum] = "ad83ae80bd780bdae5eefd40ad59a3e97b85ad3a4962aa7c00d98ed3bdffcdd0" inherit useradd USERADD_PACKAGES = "${PN}" -USERADD_PARAM_${PN} = "-m -g ${BPN} -G adm -r -d ${localstatedir}/lib/${BPN} \ +USERADD_PARAM:${PN} = "-m -g ${BPN} -G adm -r -d ${localstatedir}/lib/${BPN} \ -s /bin/false -c 'logcheck account' ${BPN}" -GROUPADD_PARAM_${PN} = "-r ${BPN}" +GROUPADD_PARAM:${PN} = "-r ${BPN}" do_install() { # Fix QA Issue @@ -51,7 +49,7 @@ do_install() { # Don't install /var/lock when populating rootfs. Do it through volatile if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/default/volatiles - install -m 0644 ${WORKDIR}/99_logcheck ${D}${sysconfdir}/default/volatiles + install -m 0644 ${UNPACKDIR}/99_logcheck ${D}${sysconfdir}/default/volatiles fi if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/tmpfiles.d @@ -62,7 +60,7 @@ do_install() { VIRTUAL-RUNTIME_syslog ??= "rsyslog" -RDEPENDS_${PN} = "\ +RDEPENDS:${PN} = "\ bash \ cronie \ debianutils-run-parts \ @@ -76,4 +74,4 @@ RDEPENDS_${PN} = "\ ${VIRTUAL-RUNTIME_syslog} \ " -FILES_${PN} += "${datadir}/logtail" +FILES:${PN} += "${datadir}/logtail" diff --git a/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb b/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb index 2516fbfcaa..a5d28265d7 100644 --- a/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb +++ b/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb @@ -5,7 +5,7 @@ DESCRIPTION = "Constructs and (by default) mails MIME messages. \ like programs." HOMEPAGE = "http://search.cpan.org/~rosch/mime-construct/mime-construct" SECTION = "mail" -LICENSE = "GPLv2+" +LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://debian/copyright;md5=5e2e5da619ac8ef8c84767ccc4656e96" SRC_URI = "${CPAN_MIRROR}/authors/id/R/RO/ROSCH/mime-construct-${PV}.tar.gz \ @@ -17,11 +17,11 @@ SRC_URI[sha256sum] = "4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a inherit cpan -RDEPENDS_${PN} += "libmime-types-perl libproc-waitstat-perl msmtp \ +RDEPENDS:${PN} += "libmime-types-perl libproc-waitstat-perl msmtp \ perl-module-filehandle perl-module-mime-base64 perl-module-mime-quotedprint perl-module-posix \ " -do_install_append() { +do_install:append() { #change the interpreter in file sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl -w|${bindir}/env perl|g" \ ${D}/${bindir}/mime-construct diff --git a/meta-perl/recipes-perl/adduser/adduser_3.118.bb b/meta-perl/recipes-perl/adduser/adduser_3.118.bb index 80cf142869..3ac2211aa6 100644 --- a/meta-perl/recipes-perl/adduser/adduser_3.118.bb +++ b/meta-perl/recipes-perl/adduser/adduser_3.118.bb @@ -3,7 +3,7 @@ DESCRIPTION = "adduser, addgroup - add a user or group to the system" HOMEPAGE = "https://salsa.debian.org/debian/adduser" SECTION = "base/utils" -LICENSE = "GPLv2" +LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://debian/copyright;md5=caed49ab166f22ef31bf1127f558d0ef" SRC_URI = "https://launchpad.net/debian/+archive/primary/+sourcefiles/adduser/${PV}/${BPN}_${PV}.tar.xz \ @@ -37,7 +37,7 @@ do_install() { cp -rf ${S}/examples ${D}${docdir}/${BPN} } -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ shadow \ perl-module-getopt-long \ perl-module-overloading \ @@ -45,7 +45,7 @@ RDEPENDS_${PN} += "\ perl-module-file-temp \ " -ALTERNATIVE_${PN} = "adduser deluser addgroup delgroup" +ALTERNATIVE:${PN} = "adduser deluser addgroup delgroup" ALTERNATIVE_PRIORITY = "60" ALTERNATIVE_LINK_NAME[adduser] = "${sbindir}/adduser" ALTERNATIVE_LINK_NAME[deluser] = "${sbindir}/deluser" diff --git a/meta-perl/recipes-perl/images/meta-perl-base.bb b/meta-perl/recipes-perl/images/meta-perl-base.bb deleted file mode 100644 index ec671020d8..0000000000 --- a/meta-perl/recipes-perl/images/meta-perl-base.bb +++ /dev/null @@ -1,7 +0,0 @@ -SUMMARY = "meta-per build test image" - -IMAGE_INSTALL = "packagegroup-core-boot" - -LICENSE = "MIT" - -inherit core-image diff --git a/meta-perl/recipes-perl/images/meta-perl-ptest-image.bb b/meta-perl/recipes-perl/images/meta-perl-ptest-image.bb deleted file mode 100644 index a9b4cc3c7d..0000000000 --- a/meta-perl/recipes-perl/images/meta-perl-ptest-image.bb +++ /dev/null @@ -1,9 +0,0 @@ -require meta-perl-base.bb - -SUMMARY = "meta-perl build ptest image" - -inherit features_check - -REQUIRED_DISTRO_FEATURES += "ptest" - -IMAGE_INSTALL += "packagegroup-meta-perl-ptest" diff --git a/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb b/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb index 4155fade97..d87df0974b 100644 --- a/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb +++ b/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb @@ -9,7 +9,7 @@ differences. \ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~nedkonz/Algorithm-Diff/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://lib/Algorithm/Diff.pm;beginline=406;endline=409;md5=d393b8ad3b8994b9d0ae9299b8a8a1ee" SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEDKONZ/Algorithm-Diff-${PV}.tar.gz" diff --git a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb index 7118dc0064..ee7c4d7502 100644 --- a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb +++ b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl_0.22.bb @@ -27,14 +27,14 @@ do_install_ptest() { install -m 0755 ${S}/test.pl ${D}${PTEST_PATH} } -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ libdata-hexdump-perl \ perl-module-digest-md5 \ perl-module-data-dumper \ perl-module-io-select \ perl-module-io-socket \ " -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'freeradius', '', d)} \ " diff --git a/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb b/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb index c75deb0c3c..a9eec69502 100644 --- a/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb +++ b/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb @@ -5,11 +5,11 @@ protocols should be able to share." HOMEPAGE = "http://search.cpan.org/dist/Authen-SASL/" SECTION = "libs" -LICENSE = "Artistic-1.0|GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://lib/Authen/SASL/Perl.pm;beginline=1;endline=3;md5=17123315bbcda19f484c07227594a609" DEPENDS = "perl" -RDEPENDS_${PN} = "libdigest-hmac-perl" +RDEPENDS:${PN} = "libdigest-hmac-perl" SRC_URI = "http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-${PV}.tar.gz \ file://run-ptest \ diff --git a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb index 3b3e31dd97..a51d327a31 100644 --- a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb +++ b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb @@ -10,7 +10,7 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~dagolden/Capture-Tiny/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f" SRCNAME = "Capture-Tiny" @@ -22,7 +22,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ perl-module-carp \ perl-module-exporter \ perl-module-extutils-makemaker \ @@ -40,6 +40,6 @@ RDEPENDS_${PN} = " \ perl-module-warnings \ " -RDEPENDS_${PN}-ptest += "perl-module-perlio" +RDEPENDS:${PN}-ptest += "perl-module-perlio" BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.53.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.66.bb index 2f1a860315..94fb4393c2 100644 --- a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.53.bb +++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.66.bb @@ -4,26 +4,26 @@ submissions, file uploads, reading and writing cookies, query string generation and manipulation, and processing and preparing HTTP headers." HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod" SECTION = "libs" -LICENSE = "Artistic-2.0 | GPL-2.0" +LICENSE = "Artistic-2.0 | GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb" SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz" -SRC_URI[sha256sum] = "c67e732f3c96bcb505405fd944f131fe5c57b46e5d02885c00714c452bf14e60" +SRC_URI[sha256sum] = "4697437688a193e3f02556e1d223015590c1f2800b40becf83dc12d5cc5ed8e1" S = "${WORKDIR}/CGI-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ libhtml-parser-perl \ perl-module-base \ perl-module-deprecate \ perl-module-if \ " -do_install_prepend() { +do_install:prepend() { # requires "-T" (taint) command line option rm -rf ${B}/t/push.t rm -rf ${B}/t/utf8.t @@ -31,7 +31,7 @@ do_install_prepend() { rm -rf ${B}/t/compiles_pod.t } -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ libtest-deep-perl \ libtest-warn-perl \ perl-module-bytes \ @@ -45,6 +45,6 @@ RDEPENDS_${PN}-ptest += " \ perl-module-utf8 \ " -RPROVIDES_${PN} += "perl-module-cgi" +RPROVIDES:${PN} += "perl-module-cgi" BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libclass/libclass-method-modifiers-perl_2.13.bb b/meta-perl/recipes-perl/libclass/libclass-method-modifiers-perl_2.15.bb index 58ed37ca80..f6ed718239 100644 --- a/meta-perl/recipes-perl/libclass/libclass-method-modifiers-perl_2.13.bb +++ b/meta-perl/recipes-perl/libclass/libclass-method-modifiers-perl_2.15.bb @@ -6,18 +6,17 @@ SECTION = "libs" HOMEPAGE = "https://github.com/moose/Class-Method-Modifiers/" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=16fd0ec7b73c0e158426f753943f1058" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d49d07ae038f38923335ac8cc301e1ba" SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Class-Method-Modifiers-${PV}.tar.gz" -SRC_URI[md5sum] = "b1398e3682aa2e075b913b9f9000b596" -SRC_URI[sha256sum] = "ab5807f71018a842de6b7a4826d6c1f24b8d5b09fcce5005a3309cf6ea40fd63" +SRC_URI[sha256sum] = "65cd85bfe475d066e9186f7a8cc636070985b30b0ebb1cde8681cf062c2e15fc" S = "${WORKDIR}/Class-Method-Modifiers-${PV}" inherit cpan -RDEPENDS_${PN} = " perl-module-b \ +RDEPENDS:${PN} = " perl-module-b \ perl-module-base \ perl-module-carp \ perl-module-exporter \ diff --git a/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.213.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.213.bb new file mode 100644 index 0000000000..63706d8f74 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.213.bb @@ -0,0 +1,28 @@ +SUMMARY = "Low-Level Interface to bzip2 compression library" +DESCRIPTION = ""Compress::Raw::Bzip2" provides an interface to the in-memory \ +compression/uncompression functions from the bzip2 compression library." +HOMEPAGE = "https://metacpan.org/release/Compress-Raw-Bzip2" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=cd551ef796cc7fa34351ced771a3a7f9" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-${PV}.tar.gz" + +SRC_URI[sha256sum] = "8d75d3d366c9101ca18061b00d438d3da39478c06159147dea3c666770577c7b" + +DEPENDS += "bzip2" + +S = "${WORKDIR}/Compress-Raw-Bzip2-${PV}" + +inherit cpan + +export BUILD_BZIP2="0" +export BZIP2_INCLUDE="-I${STAGING_DIR_HOST}${includedir}" + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb new file mode 100644 index 0000000000..62521dfe85 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb @@ -0,0 +1,32 @@ +SUMMARY = "Low-Level Interface to lzma compresion library." +DESCRIPTION = "This module provides a Perl interface to allow reading and \ +wrting of lzma, lzip and xz files/buffers." +HOMEPAGE = "https://metacpan.org/release/Compress-Raw-Lzma" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=2a0fd6d30eaf88289587b776f74c2886" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Lzma-${PV}.tar.gz" + +SRC_URI[sha256sum] = "6b979a8347701ced3ac26123d428c1f202b7999850444da19c4aedbb7c862cb7" + +DEPENDS += "xz" + +S = "${WORKDIR}/Compress-Raw-Lzma-${PV}" + +inherit cpan + +RDEPENDS:${PN} += "\ + perl-module-universal \ +" + +export LIBLZMA_INCLUDE="-I${STAGING_DIR_HOST}${includedir}" +export LIBLZMA_LIB="-I${STAGING_DIR_HOST}${libdir}" + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libcompress/libcompress-raw-zlib-perl_2.213.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-zlib-perl_2.213.bb new file mode 100644 index 0000000000..b8afcc2074 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-zlib-perl_2.213.bb @@ -0,0 +1,28 @@ +SUMMARY = "Perl interface to the zlib compression library." +DESCRIPTION = "The Compress::Raw::Zlib module provides a Perl interface \ +to the zlib compression library (see 'AUTHOR' for details about where to \ +get zlib)." +HOMEPAGE = "https://metacpan.org/release/Compress-Raw-Zlib" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://README;beginline=8;endline=17;md5=1bb3479faca6bb2086c05a33a934f62a" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Zlib-${PV}.tar.gz" + +SRC_URI[sha256sum] = "56b21c99cb3a3a7f7876a74dd05daa3f41fc9143ddd4dc98f8e46710a106af45" + +DEPENDS += "zlib" + +S = "${WORKDIR}/Compress-Raw-Zlib-${PV}" + +inherit cpan + +export BUILD_ZLIB="0" + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libconfig-tiny/libconfig-tiny-perl_2.30.bb b/meta-perl/recipes-perl/libconfig-tiny/libconfig-tiny-perl_2.30.bb new file mode 100644 index 0000000000..ccdc1e0cb8 --- /dev/null +++ b/meta-perl/recipes-perl/libconfig-tiny/libconfig-tiny-perl_2.30.bb @@ -0,0 +1,20 @@ +SUMMARY = "Perl module for read/write .ini style files" +DESCRIPTION = "Config::Tiny is a Perl class to read and write .ini \ +configuration files with as little code as possible, reducing load time and \ +memory overhead." + +HOMEPAGE = "https://search.cpan.org/dist/Config-Tiny" +SECTION = "libraries" + +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ab27c3cedbdb0eb6e656a8722476191a" + +RDEPENDS:${PN} += "perl" + +S = "${WORKDIR}/Config-Tiny-${PV}" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Config-Tiny-${PV}.tgz" + +SRC_URI[sha256sum] = "b2f7345619b3b8e636dd39ea010731c9dc2bfb8f022bcbd86ae6ad17866e110d" + +inherit cpan diff --git a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb index 38598e2b49..5c3701f16b 100644 --- a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb +++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.319.bb @@ -9,7 +9,7 @@ Shell developers." HOMEPAGE= "https://metacpan.org/release/Config-AutoConf" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61" @@ -18,24 +18,24 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Config-AutoConf-${PV}.tar.gz" SRC_URI[md5sum] = "eeeab8cc93eef7dd2e2c343ecdf247b7" SRC_URI[sha256sum] = "304f66cc2653264c0fe127d21669e86d3d18cd72f2574d8f5131beec31a0a33e" -RDEPENDS_${PN} += "libcapture-tiny-perl" -RDEPENDS_${PN} += "perl-module-base" -RDEPENDS_${PN} += "perl-module-carp" -RDEPENDS_${PN} += "perl-module-config" -RDEPENDS_${PN} += "perl-module-constant" -RDEPENDS_${PN} += "perl-module-file-basename" -RDEPENDS_${PN} += "perl-module-file-spec" -RDEPENDS_${PN} += "perl-module-file-temp" -RDEPENDS_${PN} += "perl-module-extutils-cbuilder" -RDEPENDS_${PN} += "perl-module-extutils-cbuilder-platform-unix" -RDEPENDS_${PN} += "perl-module-scalar-util" -RDEPENDS_${PN} += "perl-module-strict" -RDEPENDS_${PN} += "perl-module-text-parsewords" -RDEPENDS_${PN} += "perl-module-warnings" -RRECOMMENDS_${PN} += "libfile-slurper-perl" +RDEPENDS:${PN} += "libcapture-tiny-perl" +RDEPENDS:${PN} += "perl-module-base" +RDEPENDS:${PN} += "perl-module-carp" +RDEPENDS:${PN} += "perl-module-config" +RDEPENDS:${PN} += "perl-module-constant" +RDEPENDS:${PN} += "perl-module-file-basename" +RDEPENDS:${PN} += "perl-module-file-spec" +RDEPENDS:${PN} += "perl-module-file-temp" +RDEPENDS:${PN} += "perl-module-extutils-cbuilder" +RDEPENDS:${PN} += "perl-module-extutils-cbuilder-platform-unix" +RDEPENDS:${PN} += "perl-module-scalar-util" +RDEPENDS:${PN} += "perl-module-strict" +RDEPENDS:${PN} += "perl-module-text-parsewords" +RDEPENDS:${PN} += "perl-module-warnings" +RRECOMMENDS:${PN} += "libfile-slurper-perl" S = "${WORKDIR}/Config-AutoConf-${PV}" inherit cpan ptest-perl -BBCLASSEXTEND = "native nativesdk" +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.13.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb index b0a1937576..d64fc296e2 100644 --- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.13.bb +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb @@ -1,15 +1,15 @@ SUMMARY = "Guess OpenSSL include path" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea914cc2718e8d53bd7744d96e66c03c" SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Guess-${PV}.tar.gz " -SRC_URI[sha256sum] = "87c1dd7f0f80fcd3d1396bce9fd9962e7791e748dc0584802f8d10cc9585e743" +SRC_URI[sha256sum] = "1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d" DEPENDS += "openssl" -RDEPENDS_${PN} = "\ +RDEPENDS:${PN} = "\ perl-module-config \ perl-module-exporter \ perl-module-extutils-mm \ @@ -29,8 +29,8 @@ inherit cpan ptest-perl BBCLASSEXTEND = "native" # for backwards compatibility -PROVIDES_${PN} += "libcrypt-openssl-guess" +PROVIDES += "libcrypt-openssl-guess" -RDEPENDS_${PN}-ptest += "\ +RDEPENDS:${PN}-ptest += "\ perl-module-test-more \ " diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.17.bb index a2ebb8c7a1..c15d417130 100644 --- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.17.bb @@ -1,12 +1,11 @@ SUMMARY = "Crypt::OpenSSL::Random - OpenSSL/LibreSSL pseudo-random number generator access" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://LICENSE;md5=089c18d635ae273e1727ec385e64063b" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9e876d4149406d88b4ff1b37645363ad" SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz " -SRC_URI[md5sum] = "bcde8d5a822c91376deda3c4f0c75fbe" -SRC_URI[sha256sum] = "f0876faa1ba3111e39b86aa730c603211eff2905e460c72a57b61e8cf475cef4" +SRC_URI[sha256sum] = "a571b24181baaa76c96704e92acffc6934ff593e380dade274db4e43c140ad51" S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}" @@ -19,14 +18,14 @@ EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -L${STAGI inherit cpan ptest-perl -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ perl-module-exporter \ perl-module-strict \ perl-module-vars \ perl-module-xsloader \ " -RDEPENDS_${PN}-ptest += "\ +RDEPENDS:${PN}-ptest += "\ perl-module-file-copy \ perl-module-test-more \ " diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb index 68d921c3ca..aa8d138f2c 100644 --- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb @@ -1,16 +1,16 @@ SUMMARY = "Crypt Openssl RSA cpan module" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346" -SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz " +SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz \ +" -SRC_URI[md5sum] = "d33681e19d2094df7c26bc7a4509265e" -SRC_URI[sha256sum] = "4173403ad4cf76732192099f833fbfbf3cd8104e0246b3844187ae384d2c5436" +SRC_URI[sha256sum] = "bdbe630f6d6f540325746ad99977272ac8664ff81bd19f0adaba6d6f45efd864" DEPENDS += "libcrypt-openssl-guess-perl-native openssl" -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ libcrypt-openssl-random-perl \ perl-module-autoloader \ perl-module-carp \ @@ -30,7 +30,7 @@ do_compile() { cpan_do_compile } -RDEPENDS_${PN}-ptest = " \ +RDEPENDS:${PN}-ptest = " \ ${PN} \ perl-module-file-copy \ perl-module-test \ diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch b/meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch new file mode 100644 index 0000000000..37c81d9b8f --- /dev/null +++ b/meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch @@ -0,0 +1,38 @@ +From 01d0904a987ec3d8850ae3b54252c9d3bbe75962 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 30 Aug 2022 15:43:42 -0700 +Subject: [PATCH] testtyp.c: Use proper prototype for main function + +Newer compilers like clang-15+ will complain about the prototype +vigorously, and the test will end up failing for this reason instead of +real check it should be failing/passing for. + +Fixes +testint.c:11:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +main() { +^ +int +1 error generated. + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + testtyp.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/testtyp.c b/testtyp.c +index 469cc48..6a48a77 100644 +--- a/testtyp.c ++++ b/testtyp.c +@@ -10,6 +10,7 @@ + #include "c-config.h" + + int +-main() { ++main(int argc, char *argv[]) { + typedef SYM c_sym_t; ++ return 0; + } +-- +2.34.1 + diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.37.bb b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.37.bb deleted file mode 100644 index 17fbbae25b..0000000000 --- a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.37.bb +++ /dev/null @@ -1,26 +0,0 @@ -DESCRIPTION = "lib-curses provides an interface between Perl programs and \ -the curses library." - -SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" - -LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=0b37356c5e9e28080a3422d82af8af09" - -DEPENDS += "perl ncurses " - -SRC_URI = "http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz" - -SRC_URI[md5sum] = "aede9d1ed9856eff89f4ce208ee59de0" -SRC_URI[sha256sum] = "74707ae3ad19b35bbefda2b1d6bd31f57b40cdac8ab872171c8714c88954db20" - -S = "${WORKDIR}/Curses-${PV}" - -EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR} LIBS=-L${STAGING_LIBDIR}" - -inherit cpan - -do_compile() { - export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" - cpan_do_compile -} - diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb new file mode 100644 index 0000000000..7951e0ddbd --- /dev/null +++ b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.45.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "lib-curses provides an interface between Perl programs and \ +the curses library." + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=0b37356c5e9e28080a3422d82af8af09" + +DEPENDS += "perl ncurses " + +SRC_URI = "http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz \ + file://0001-testtyp.c-Use-proper-prototype-for-main-function.patch \ + " + +SRC_URI[sha256sum] = "84221e0013a2d64a0bae6a32bb44b1ae5734d2cb0465fb89af3e3abd6e05aeb2" + +S = "${WORKDIR}/Curses-${PV}" + +EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR} LIBS=-L${STAGING_LIBDIR} TEST_SYMS_OPTS=-v" + +# enable NCURSES_WIDECHAR=1 only if ENABLE_WIDEC has not been explicitly disabled (e.g. by the distro config). +# When compiling against the ncurses library, NCURSES_WIDECHAR needs to explicitly set to 0 in this case. +CFLAGS:append:libc-musl = "${@' -DNCURSES_WIDECHAR=1' if bb.utils.to_boolean((d.getVar('ENABLE_WIDEC') or 'True')) else ' -DNCURSES_WIDECHAR=0'} -DNCURSES_INTERNALS" + +inherit cpan + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + diff --git a/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb b/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb index 44c651c4c2..4493a7e5e5 100644 --- a/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb +++ b/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb @@ -33,6 +33,6 @@ do_install_ptest () { BBCLASSEXTEND = "native" ALTERNATIVES_PRIORITY = "100" -ALTERNATIVE_${PN} = "hexdump" +ALTERNATIVE:${PN} = "hexdump" ALTERNATIVE_LINK_NAME[hexdump] = "${bindir}/hexdump" diff --git a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.66.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.74.bb index aef1d348c6..e5483e8c26 100644 --- a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.66.bb +++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.74.bb @@ -7,15 +7,14 @@ module, and nothing else. \ HOMEPAGE = "https://metacpan.org/release/DBD-SQLite" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360" SRC_URI = "${CPAN_MIRROR}/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \ file://sqlite-perl-test.pl \ " -SRC_URI[md5sum] = "38581209de5c981f0e79840c8937fa16" -SRC_URI[sha256sum] = "89e75dff9f66c273e0e459d51f151f88960eb7d82e2821e6902f18688ba592fe" +SRC_URI[sha256sum] = "8994997d84b9feb4547795f78746c661fb72e3cb6a25dbdd789b731f5688a4dd" UPSTREAM_CHECK_REGEX = "DBD\-SQLite\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" @@ -25,16 +24,16 @@ DEPENDS += "libdbi-perl-native" inherit cpan ptest-perl -RDEPENDS_${PN} += "libdbi-perl \ +RDEPENDS:${PN} += "libdbi-perl \ sqlite3 \ perl-module-constant \ perl-module-locale \ perl-module-tie-hash \ " -do_install_append() { +do_install:append() { if [ ${PERL_DBM_TEST} = "1" ]; then - install -m 755 -D ${WORKDIR}/sqlite-perl-test.pl ${D}/${bindir}/sqlite-perl-test.pl + install -m 755 -D ${UNPACKDIR}/sqlite-perl-test.pl ${D}/${bindir}/sqlite-perl-test.pl fi } @@ -43,7 +42,7 @@ do_install_ptest() { chown -R root:root ${D}${PTEST_PATH} } -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ libtest-nowarnings-perl \ perl-module-lib \ perl-module-encode \ diff --git a/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb b/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb index 0ce242454f..1dcecd0dcf 100644 --- a/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb +++ b/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.14.bb @@ -6,7 +6,7 @@ SECTION = "libs" HOMEPAGE = "https://metacpan.org/pod/Devel-GlobalDestruction/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=53;endline=55;md5=935dadb9423774f53548e5cd5055d41a" SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Devel-GlobalDestruction-${PV}.tar.gz" @@ -17,7 +17,7 @@ S = "${WORKDIR}/Devel-GlobalDestruction-${PV}" inherit cpan -RDEPENDS_${PN} = " libsub-exporter-progressive-perl \ +RDEPENDS:${PN} = " libsub-exporter-progressive-perl \ " BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb b/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb index 8f1c98c67a..43b7f4d5a9 100644 --- a/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb +++ b/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb @@ -3,10 +3,10 @@ DESCRIPTION = "Keyed-Hashing for Message Authentication" HOMEPAGE = "http://search.cpan.org/~gaas/Digest-HMAC-1.03/" SECTION = "libs" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=13;endline=17;md5=da980cdc026faa065e5d5004115334e6" -RDEPENDS_${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5" +RDEPENDS:${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5" SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-${PV}.tar.gz \ file://run-ptest \ diff --git a/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb b/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb index 0371ea68cd..df89c9bcdb 100644 --- a/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb +++ b/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb @@ -3,7 +3,7 @@ DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" SECTION = "libs" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ @@ -22,4 +22,4 @@ do_install_ptest () { BBCLASSEXTEND="native" -FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/" +FILES:${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/" diff --git a/meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb b/meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb deleted file mode 100644 index 748f746a04..0000000000 --- a/meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Encode::Locale - Determine the locale encoding" -AUTHOR = "Gisle Aas <gisle@activestate.com>" -HOMEPAGE = "https://metacpan.org/module/Encode::Locale" -SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://README;md5=14e8006c2134045725fd81292a323d24" - -SRC_URI = "${CPAN_MIRROR}/authors/id/G/GA/GAAS/Encode-Locale-${PV}.tar.gz" -SRC_URI[md5sum] = "fcfdb8e4ee34bcf62aed429b4a23db27" -SRC_URI[sha256sum] = "176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1" - -S = "${WORKDIR}/Encode-Locale-${PV}" - -inherit cpan - -RDEPENDS_${PN} += "libencode-perl \ - libencode-alias-perl \ - perl-module-base \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libencode/libencode-perl_3.10.bb b/meta-perl/recipes-perl/libencode/libencode-perl_3.10.bb deleted file mode 100644 index 94f5a08259..0000000000 --- a/meta-perl/recipes-perl/libencode/libencode-perl_3.10.bb +++ /dev/null @@ -1,106 +0,0 @@ -# NOTE: -# You should use perl-module-encode rather than this package -# unless you specifically need a version newer than what is -# provided by perl. - -SUMMARY = "Encode - character encodings" -DESCRIPTION = "The \"Encode\" module provides the interfaces between \ -Perl's strings and the rest of the system. Perl strings are sequences \ -of characters." - -AUTHOR = "Dan Kogai <dankogai+cpan@gmail.com>" -HOMEPAGE = "https://metacpan.org/release/Encode" -SECTION = "lib" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://META.json;beginline=8;endline=10;md5=b12e3be1e17a7e99ca4f429ff32c28b5" - -SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/DANKOGAI/Encode-${PV}.tar.gz" -SRC_URI[md5sum] = "7377c8694a7afeeaa46ee035d0d7335c" -SRC_URI[sha256sum] = "c2d7906af17664d6b6f16bf76572c95c16c30ad096b7dd980c08c3de33e319a9" - -UPSTREAM_CHECK_REGEX = "Encode\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" - -S = "${WORKDIR}/Encode-${PV}" - -inherit cpan ptest-perl - -do_install_prepend() { - # Requires "-T" (taint) option on command line - rm -rf ${B}/t/taint.t - # Circular dependency of perl-module-open on perl-module-encode - # and we cannot load perl-module-encode because we are providing - # an alternative - rm -rf ${B}/t/use-Encode-Alias.t -} - -do_install_ptest() { - mkdir ${D}${PTEST_PATH}/bin - cp -r ${B}/bin/piconv ${D}${PTEST_PATH}/bin - cp -r ${B}/blib ${D}${PTEST_PATH} - chown -R root:root ${D}${PTEST_PATH} -} - -# file /usr/bin/enc2xs from install of perl-misc-5.24.1-r0.i586 conflicts with file from package libencode-perl-2.94-r0.i586 -# file /usr/bin/encguess from install of perl-misc-5.24.1-r0.i586 conflicts with file from package libencode-perl-2.94-r0.i586 -# file /usr/bin/piconv from install of perl-misc-5.24.1-r0.i586 conflicts with file from package libencode-perl-2.94-r0.i586 -RCONFLICTS_${PN} = "perl-misc perl-module-encode" - -RDEPENDS_${PN} += " \ - perl-module-bytes \ - perl-module-constant \ - perl-module-parent \ - perl-module-storable \ - perl-module-xsloader \ - " - -RPROVIDES_${PN} += " \ - libencode-alias-perl \ - libencode-byte-perl \ - libencode-cjkconstants-perl \ - libencode-cn-perl \ - libencode-cn-hz-perl \ - libencode-config-perl \ - libencode-ebcdic-perl \ - libencode-encoder-perl \ - libencode-encoding-perl \ - libencode-gsm0338-perl \ - libencode-guess-perl \ - libencode-jp-perl \ - libencode-jp-h2z-perl \ - libencode-jp-jis7-perl \ - libencode-kr-perl \ - libencode-kr-2022_kr-perl \ - libencode-mime-header-perl \ - libencode-mime-name-perl \ - libencode-symbol-perl \ - libencode-tw-perl \ - libencode-unicode-perl \ - libencode-unicode-utf7-perl \ - libencoding-perl \ - libencode-internal-perl \ - libencode-mime-header-iso_2022_jp-perl \ - libencode-utf8-perl \ - libencode-utf_ebcdic-perl \ - " - -RDEPENDS_${PN}-ptest += " \ - perl-module-blib \ - perl-module-charnames \ - perl-module-file-compare \ - perl-module-file-copy \ - perl-module-filehandle \ - perl-module-findbin \ - perl-module-integer \ - perl-module-io-select \ - perl-module-ipc-open3 \ - perl-module-mime-base64 \ - perl-module-perlio \ - perl-module-perlio-encoding \ - perl-module-perlio-scalar \ - perl-module-test-more \ - perl-module-tie-scalar \ - perl-module-unicore \ - perl-module-utf8 \ - " - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb b/meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb index dd8e1159ee..79fff9d520 100644 --- a/meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb +++ b/meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb @@ -5,7 +5,7 @@ variables to be treated as scalar or array variables." HOMEPAGE = "http://search.cpan.org/~flora/Env/" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=76c1cbf18db56b3340d91cb947943bd3" diff --git a/meta-perl/recipes-perl/liberror/liberror-perl_0.17029.bb b/meta-perl/recipes-perl/liberror/liberror-perl_0.17029.bb new file mode 100644 index 0000000000..e54bb11ccd --- /dev/null +++ b/meta-perl/recipes-perl/liberror/liberror-perl_0.17029.bb @@ -0,0 +1,48 @@ +SUMMARY = "Error - Error/exception handling in an OO-ish way" +DESCRIPTION = "The Error package provides two interfaces. Firstly \ +Error provides a procedural interface to exception handling. \ +Secondly Error is a base class for errors/exceptions that can \ +either be thrown, for subsequent catch, or can simply be recorded." +HOMEPAGE = "https://github.com/shlomif/perl-error.pm" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=8f3499d09ee74a050c0319391ff9d100" + + +DEPENDS += "perl" + +RDEPENDS:${PN} += " \ + perl-module-carp \ + perl-module-exporter \ + perl-module-scalar-util \ + perl-module-overload \ + perl-module-strict \ + perl-module-vars \ + perl-module-warnings \ +" + +RDEPENDS:${PN}-ptest += " \ + perl-module-base \ + perl-module-file-spec \ + perl-module-io-handle \ + perl-module-ipc-open3 \ + perl-module-lib \ + perl-module-test-more \ +" + +SRC_URI = "http://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz" + +SRC_URI[md5sum] = "6732b1c6207e4a9a3e2987c88368039a" +SRC_URI[sha256sum] = "1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc" + +S = "${WORKDIR}/Error-${PV}" + +inherit cpan ptest-perl + +do_install:prepend() { + # test requires "-T" (taint) command line option + rm -rf ${B}/t/pod-coverage.t +} + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb index 7e1418d499..a58d96582e 100644 --- a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb +++ b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb @@ -4,7 +4,7 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Config/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=1932ab4d8b84c25fd7967aa18088e57e" SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Config-${PV}.tar.gz" @@ -15,7 +15,7 @@ S = "${WORKDIR}/ExtUtils-Config-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} = " perl-module-extutils-makemaker \ +RDEPENDS:${PN} = " perl-module-extutils-makemaker \ perl-module-data-dumper \ perl-module-ipc-open3 \ perl-module-test-more \ diff --git a/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.23.bb b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb index 876b75c8f0..45b7726509 100644 --- a/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.23.bb +++ b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb @@ -8,11 +8,11 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~smueller/ExtUtils-CppGuess/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=81;endline=84;md5=84c0390b90ea8c6702ce659b67bed699" SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETJ/ExtUtils-CppGuess-${PV}.tar.gz" -SRC_URI[sha256sum] = "f96c48984eb6d8efb7d933b34f361d0c8b38335e3e5382e9aeccc0aa519a002c" +SRC_URI[sha256sum] = "b2c7b581901054a32dfcea12536fda8626457ed0bfbc02600bd354bde7e2a9b4" S = "${WORKDIR}/ExtUtils-CppGuess-${PV}" @@ -22,7 +22,7 @@ do_install () { cpan_do_install } -RDEPENDS_${PN} = " libcapture-tiny-perl \ +RDEPENDS:${PN} = " libcapture-tiny-perl \ perl-module-scalar-util \ perl-module-io-file \ perl-module-extutils-makemaker \ diff --git a/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.026.bb b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.028.bb index c027250b00..3ee9df7302 100644 --- a/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.026.bb +++ b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.028.bb @@ -4,18 +4,17 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Helpers/" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=223c04045664f72c3a6556462612bddd" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c0280160e4f26faafef507664884bf63" SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Helpers-${PV}.tar.gz" -SRC_URI[md5sum] = "83b00c1e401321c425ae5db6b2b2fd12" -SRC_URI[sha256sum] = "de901b6790a4557cf4ec908149e035783b125bf115eb9640feb1bc1c24c33416" +SRC_URI[sha256sum] = "c8574875cce073e7dc5345a7b06d502e52044d68894f9160203fcaab379514fe" S = "${WORKDIR}/ExtUtils-Helpers-${PV}" inherit cpan -RDEPENDS_${PN} = " perl-module-file-copy \ +RDEPENDS:${PN} = " perl-module-file-copy \ perl-module-extutils-makemaker \ perl-module-exporter \ perl-module-carp \ diff --git a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb index 2da5e3b4f4..07dab4e161 100644 --- a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb +++ b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb @@ -5,7 +5,7 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-InstallPaths/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=b6fa54d873ce6bcf4809ea88bdf97769" SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz" @@ -16,7 +16,7 @@ S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ libextutils-config-perl \ perl-module-bytes \ perl-module-data-dumper \ @@ -25,7 +25,7 @@ RDEPENDS_${PN} = " \ perl-module-test-more \ " -RDEPENDS_${PN}-ptest = " \ +RDEPENDS:${PN}-ptest = " \ ${PN} \ perl-module-file-spec-functions \ perl-module-test-more \ diff --git a/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb b/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb index f57e1224d4..43b5b60ef6 100644 --- a/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb +++ b/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.35.bb @@ -9,7 +9,7 @@ SECTION = "libs" HOMEPAGE = "http://metapan.org/release/ExtUtils-ParseXS/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=120;endline=129;md5=eb858f0e3b1b0bee0c05b86a474ae2b6" SRCNAME = "ExtUtils-ParseXS" @@ -21,7 +21,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit cpan -RDEPENDS_${PN} += " perl-module-carp \ +RDEPENDS:${PN} += " perl-module-carp \ perl-module-cwd \ perl-module-dynaloader \ perl-module-extutils-cbuilder \ @@ -33,7 +33,7 @@ RDEPENDS_${PN} += " perl-module-carp \ perl-module-test-more \ " -RPROVIDES_${PN} += " libextutils-parsexs-constants-perl \ +RPROVIDES:${PN} += " libextutils-parsexs-constants-perl \ libextutils-parsexs-countlines-perl \ libextutils-parsexs-eval-perl \ libextutils-parsexs-utilities-perl \ diff --git a/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb index 945b4c1c87..1012ae952e 100644 --- a/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb +++ b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.19.bb @@ -4,7 +4,7 @@ DESCRIPTION = "This module provides subroutines to read or write \ reading the list of filenames in a directory. \ " SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=37;endline=41;md5=255fbd5f98a90d51d9908d31271ae4d4" SRC_URI = "http://search.cpan.org/CPAN/authors/id/U/UR/URI/File-Slurp-${PV}.tar.gz" diff --git a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb index 415652c1ed..e29abb3e31 100644 --- a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb +++ b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb @@ -4,7 +4,7 @@ All functions are optionally exported. All functions throw exceptions on \ errors, write functions don't return any meaningful value." SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" HOMEPAGE= "https://metacpan.org/release/File-Slurper" @@ -13,9 +13,8 @@ file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/File-Slurper-${PV}.tar.gz" -SRC_URI[md5sum] = "5742c63096392dfee50b8db314bcca18" -SRC_URI[sha256sum] = "4efb2ea416b110a1bda6f8133549cc6ea3676402e3caf7529fce0313250aa578" -RDEPENDS_${PN} = " \ +SRC_URI[sha256sum] = "d5a36487339888c3cd758e648160ee1d70eb4153cacbaff57846dbcefb344b0c" +RDEPENDS:${PN} = " \ perl-module-carp \ perl-module-encode \ perl-module-exporter \ @@ -25,7 +24,7 @@ RDEPENDS_${PN} = " \ perl-module-warnings \ " -RDEPENDS_${PN}-ptest += "libtest-warnings-perl \ +RDEPENDS:${PN}-ptest += "libtest-warnings-perl \ perl-module-test-more \ " diff --git a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb index a4c69c97b8..216d7c4136 100644 --- a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb +++ b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb @@ -1,7 +1,7 @@ DESCRIPTION = "This package contains the Parser.pm module with friends." HOMEPAGE = "https://metacpan.org/release/HTML-Parser" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;md5=b0459e4426b94753b9a9b8a15f1223b8" @@ -23,7 +23,7 @@ do_compile() { cpan_do_compile } -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ perl-module-exporter \ perl-module-strict \ perl-module-vars \ @@ -31,7 +31,7 @@ RDEPENDS_${PN} += "\ libhtml-tagset-perl \ " -RDEPENDS_${PN}-ptest += "\ +RDEPENDS:${PN}-ptest += "\ liburi-perl \ perl-module-config \ perl-module-file-spec \ diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb b/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb index d6483cc5fc..c871b97c39 100644 --- a/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb +++ b/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb @@ -3,7 +3,7 @@ DESCRIPTION = "This module contains several data tables useful in various \ kinds of HTML parsing operations." HOMEPAGE = "https://metacpan.org/release/HTML-Tagset" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=62;endline=66;md5=aa91eed6adfe182d2af676954f06a7c9" @@ -17,11 +17,11 @@ S = "${WORKDIR}/HTML-Tagset-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} += "perl-module-strict perl-module-vars" +RDEPENDS:${PN} += "perl-module-strict perl-module-vars" -RDEPENDS_${PN}-ptest += "perl-module-test" +RDEPENDS:${PN}-ptest += "perl-module-test" -do_install_prepend() { +do_install:prepend() { # requires "-T" (taint) command line option rm -rf ${B}/t/pod.t } diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb index 569ac696f8..d2c151bf5c 100644 --- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb +++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb @@ -8,7 +8,7 @@ SECTION = "libs" HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242" SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \ @@ -26,13 +26,13 @@ export PERL_USE_UNSAFE_INC = "1" DEPENDS += "libmodule-build-perl-native \ " -RPROVIDES_${PN} = " libhtml-element-perl \ +RPROVIDES:${PN} = " libhtml-element-perl \ libhtml-tree-assubs-perl \ libhtml-tree-perl \ libhtml-treebuilder-perl \ " -RDEPENDS_${PN} = " perl-module-b \ +RDEPENDS:${PN} = " perl-module-b \ perl-module-base \ perl-module-strict \ perl-module-warnings \ diff --git a/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb b/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb index af08d630ac..e88d60d13a 100644 --- a/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb +++ b/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb @@ -13,7 +13,7 @@ SECTION = "libs" HOMEPAGE = "https://metacpan.org/pod/Import-Into/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=209;endline=223;md5=3cf363f1e405dea6db2c6cd0ef23680c" SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Import-Into-${PV}.tar.gz" @@ -24,7 +24,7 @@ S = "${WORKDIR}/Import-Into-${PV}" inherit cpan -RDEPENDS_${PN} = " libmodule-runtime-perl \ +RDEPENDS:${PN} = " libmodule-runtime-perl \ perl-module-strict \ perl-module-warnings \ " diff --git a/meta-perl/recipes-perl/libio/libio-compress-lzma-perl_2.213.bb b/meta-perl/recipes-perl/libio/libio-compress-lzma-perl_2.213.bb new file mode 100644 index 0000000000..f6733ad02d --- /dev/null +++ b/meta-perl/recipes-perl/libio/libio-compress-lzma-perl_2.213.bb @@ -0,0 +1,24 @@ +SUMMARY = "Perl interface to allow reading and writing of lzma files/buffers." +DESCRIPTION = "This module provides a Perl interface to allow reading and \ +writing of lzma files/buffers." +HOMEPAGE = "https://metacpan.org/release/IO-Compress-Lzma" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=2a0fd6d30eaf88289587b776f74c2886" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/IO-Compress-Lzma-${PV}.tar.gz" + +SRC_URI[sha256sum] = "daa63c3fa1f7708aa55b97a4d189820f5e849f8e4583dc24b5cceebd06a493eb" + +S = "${WORKDIR}/IO-Compress-Lzma-${PV}" + +inherit cpan + +RDEPENDS:${PN} += "\ + perl-module-autoloader \ + libcompress-raw-lzma-perl \ + libio-compress-perl \ +" + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libio/libio-compress-perl_2.213.bb b/meta-perl/recipes-perl/libio/libio-compress-perl_2.213.bb new file mode 100644 index 0000000000..4e0a0be4f0 --- /dev/null +++ b/meta-perl/recipes-perl/libio/libio-compress-perl_2.213.bb @@ -0,0 +1,49 @@ +SUMMARY = "Perl interface to allow reading and writing of compressed data." +DESCRIPTION = "This distribution provides a Perl interface to allow reading \ +and writing of compressed data created with the zlib and bzip2. \ +\ +IO-Compress supports reading and writing of the following compressed data \ +formats \ + * bzip2 \ + * RFC 1950 \ + * RFC 1951 \ + * RFC 1952 (i.e. gzip) \ + * zip \ +" +HOMEPAGE = "https://metacpan.org/release/IO-Compress" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=254a3b5756814db98ee483c8974736c6" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/IO-Compress-${PV}.tar.gz" + +SRC_URI[sha256sum] = "ae4d01ae574e4568c5f2fb0573e74631e2720b71ad3bc5a3ffe9480f1cb9a851" + +S = "${WORKDIR}/IO-Compress-${PV}" + +inherit cpan + +RDEPENDS:${PN} += "\ + perl-module-bytes \ + perl-module-cwd \ + perl-module-encode \ + perl-module-file-glob \ + perl-module-file-spec \ + perl-module-posix \ + perl-module-scalar-util \ + perl-module-time-local \ + perl-module-utf8 \ + libcompress-raw-bzip2-perl \ + libcompress-raw-zlib-perl \ +" + +inherit update-alternatives + +ALTERNATIVE_PRIORITY = "39" + +ALTERNATIVE:${PN} = "streamzip zipdetails" +ALTERNATIVE_LINK_NAME[streamzip] = "${bindir}/streamzip" +ALTERNATIVE_LINK_NAME[zipdetails] = "${bindir}/zipdetails" + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.071.bb b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.089.bb index 4a98ac3744..e745cecaf5 100644 --- a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.071.bb +++ b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.089.bb @@ -9,38 +9,46 @@ mod_perl." HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/" SECTION = "libs" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://META.yml;beginline=12;endline=12;md5=963ce28228347875ace682de56eef8e8" -RDEPENDS_${PN} += "\ +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] = "40da40948ecc9c787ed39c95715872679eebfd54243721174993a2003e32ab0a" +SRC_URI = "${CPAN_MIRROR}/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz" +SRC_URI[sha256sum] = "f683112c1642967e9149f51ad553eccd017833b2f22eb23a9055609d2e3a14d1" S = "${WORKDIR}/IO-Socket-SSL-${PV}" -inherit cpan ptest +inherit cpan ptest-perl -do_install_append () { +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}/t/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} -} +RDEPENDS:${PN}-ptest += "\ + libnet-idn-encode \ + 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 \ +" -BBCLASSEXTEND = "native" +do_install_ptest:append () { + cp -r ${B}/t/certs ${D}${PTEST_PATH} +} diff --git a/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb b/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb index 0e566c0f23..b745939234 100644 --- a/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb +++ b/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb @@ -5,7 +5,7 @@ filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines." HOMEPAGE = "http://www.zeegee.com/products/IO-stringy/" SECTION = "devel" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=01406e4ff2e60d88d42ef1caebdd0011" @@ -17,7 +17,7 @@ S = "${WORKDIR}/IO-stringy-${PV}" inherit cpan -RPROVIDES_${PN} += " libio-atomicfile-perl \ +RPROVIDES:${PN} += " libio-atomicfile-perl \ libio-innerfile-perl \ libio-lines-perl \ libio-scalar-perl \ diff --git a/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb b/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb index b518164df9..203db7b10c 100644 --- a/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb +++ b/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb @@ -5,7 +5,7 @@ dealing with signals." HOMEPAGE = "http://search.cpan.org/~rosch/IPC-Signal-1.00/" SECTION = "libs" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=16;endline=18;md5=f36550f59a0ae5e6e3b0be6a4da60d26" S = "${WORKDIR}/IPC-Signal-${PV}" diff --git a/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb b/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb index fdc72a2b92..1e4b563532 100644 --- a/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb +++ b/meta-perl/recipes-perl/liblocale/liblocale-gettext-perl_1.07.bb @@ -6,7 +6,7 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~pvandry/Locale-gettext-${PV}/" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;md5=d028249c2d08dca6ca6c5bb43b56d926" SRC_URI = "${CPAN_MIRROR}/authors/id/P/PV/PVANDRY/Locale-gettext-${PV}.tar.gz" diff --git a/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.012.2.bb b/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.013.1.bb index 79b4681a63..27ed41e99d 100644 --- a/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.012.2.bb +++ b/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.013.1.bb @@ -4,13 +4,12 @@ messages on Internet." HOMEPAGE = "http://search.cpan.org/~nezumi/MIME-Charset-${PV}/" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/MIME-Charset-${PV}.tar.gz" -SRC_URI[md5sum] = "71440416376248c31aa3bef753fae28d" -SRC_URI[sha256sum] = "878c779c0256c591666bd06c0cde4c0d7820eeeb98fd1183082aee9a1e7b1d13" +SRC_URI[sha256sum] = "1bb7a6e0c0d251f23d6e60bf84c9adefc5b74eec58475bfee4d39107e60870f0" S = "${WORKDIR}/MIME-Charset-${PV}" diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.26.bb index 414753030b..fa4ad6fc4c 100644 --- a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb +++ b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.26.bb @@ -8,34 +8,38 @@ one known mime type." HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" SECTION = "libraries" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ file://run-ptest \ " -SRC_URI[md5sum] = "6f1441addab947137bac92c379a47ba3" -SRC_URI[sha256sum] = "e04ed7d42f1ff3150a303805f2689c28f80b92c511784d4641cb7f040d3e8ff6" +SRC_URI[sha256sum] = "bc738483cb4cdb47d61e85fe9304fa929aa9ab927e3171ec2ba2ab1cd7cefdff" S = "${WORKDIR}/MIME-Types-${PV}" inherit cpan ptest -RDEPENDS_${PN} = "\ +RDEPENDS:${PN} = "\ perl-module-base \ + perl-module-carp \ + perl-module-constant \ + perl-module-cwd \ + perl-module-encode-encoding \ perl-module-file-basename \ perl-module-file-spec \ + perl-module-list-util \ perl-module-overload \ + perl-module-perlio \ + perl-module-perlio-encoding \ " -RDEPENDS_${PN}-ptest = "perl-module-lib perl-module-test-more" -#RSUGGESTS_${PN}-ptest = "libmojo-base-perl" +RDEPENDS:${PN}-ptest = "\ + perl-module-lib \ + perl-module-test-more \ +" -do_install () { - cpan_do_install - install -d ${D}${bindir} - install -m 755 ${S}/bin/collect-types ${D}${bindir}/collect-types -} +#RSUGGESTS:${PN}-ptest = "libmojo-base-perl" do_install_ptest () { cp -r ${B}/t ${D}${PTEST_PATH} diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.039.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.039.bb deleted file mode 100644 index b1a56e56db..0000000000 --- a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.039.bb +++ /dev/null @@ -1,54 +0,0 @@ -SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build" -DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \ -Makefile.PL file to drive distribution configuration, build, test and \ -installation. Traditionally, Build.PL uses Module::Build as the underlying \ -build system. This module provides a simple, lightweight, drop-in replacement. \ -Whereas Module::Build has over 6,700 lines of code; this module has less than \ -120, yet supports the features needed by most distributions." -SECTION = "libs" - -HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/" - -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=57b8100f0b648cd37fbc3725fe3c111a" - -DEPENDS = "libextutils-config-perl-native libextutils-helpers-perl-native libextutils-installpaths-perl-native" - -SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz" -SRC_URI[md5sum] = "2332c90c17454107fea3f2614e11a3a9" -SRC_URI[sha256sum] = "7d580ff6ace0cbe555bf36b86dc8ea232581530cbeaaea09bccb57b55797f11c" - -S = "${WORKDIR}/Module-Build-Tiny-${PV}" - -inherit cpan_build - -do_install () { - cpan_build_do_install -} - -RDEPENDS_${PN} = " libextutils-config-perl \ - libextutils-helpers-perl \ - libextutils-installpaths-perl \ - perl-module-xsloader \ - perl-module-file-spec \ - perl-module-io-handle \ - perl-module-tap-harness-env \ - perl-module-ipc-open3 \ - perl-module-file-path \ - perl-module-cpan \ - perl-module-extutils-cbuilder \ - perl-module-getopt-long \ - perl-module-extutils-makemaker \ - perl-module-exporter \ - perl-module-carp \ - perl-module-test-more \ - perl-module-text-parsewords \ - perl-module-load \ - perl-module-file-temp \ - perl-module-data-dumper \ - perl-module-extutils-parsexs \ - perl-module-pod-man \ - perl-module-json-pp \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb new file mode 100644 index 0000000000..8601850076 --- /dev/null +++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb @@ -0,0 +1,65 @@ +SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build" +DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \ +Makefile.PL file to drive distribution configuration, build, test and \ +installation. Traditionally, Build.PL uses Module::Build as the underlying \ +build system. This module provides a simple, lightweight, drop-in replacement. \ +Whereas Module::Build has over 6,700 lines of code; this module has less than \ +120, yet supports the features needed by most distributions." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/" + +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2b9e8b5e2bd19fcc97ac84b78a271a64" + +DEPENDS = "libextutils-config-perl-native libextutils-helpers-perl-native libextutils-installpaths-perl-native" + +SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz" +SRC_URI[sha256sum] = "79a73e506fb7badabdf79137a45c6c5027daaf6f9ac3dcfb9d4ffcce92eb36bd" + +S = "${WORKDIR}/Module-Build-Tiny-${PV}" + +inherit cpan_build ptest-perl + +RDEPENDS:${PN} += " \ + libextutils-config-perl \ + libextutils-helpers-perl \ + libextutils-installpaths-perl \ + perl-module-carp \ + perl-module-cpan \ + perl-module-data-dumper \ + perl-module-encode-encoding \ + perl-module-exporter \ + perl-module-extutils-cbuilder \ + perl-module-extutils-cbuilder-base \ + perl-module-extutils-install \ + perl-module-extutils-makemaker \ + perl-module-extutils-parsexs \ + perl-module-file-path \ + perl-module-file-spec \ + perl-module-file-temp \ + perl-module-getopt-long \ + perl-module-io-handle \ + perl-module-ipc-cmd \ + perl-module-json-pp \ + perl-module-load \ + perl-module-metadata \ + perl-module-parse-cpan-meta \ + perl-module-perl-ostype \ + perl-module-pod-man \ + perl-module-tap-harness-env \ + perl-module-test-more \ + perl-module-text-parsewords \ + perl-module-xsloader \ +" + +RDEPENDS:${PN}-ptest += " \ + packagegroup-core-buildessential \ + perl-dev \ + perl-module-blib \ + perl-module-ipc-open2 \ +" + +INSANE_SKIP:${PN}-ptest += "dev-deps" + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb b/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb index aed65d3a8b..538fa30d3f 100644 --- a/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb +++ b/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb @@ -10,10 +10,9 @@ names.\ Optionally it instantiates those classes for you." SECTION = "libs" -AUTHOR = "Simon Wistow <simon@thegestalt.org>" HOMEPAGE = "https://github.com/simonwistow/Module-Pluggable" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=322;endline=325;md5=086450ce010f6fda25db0b38fcc41086" SRCNAME = "Module-Pluggable" @@ -21,7 +20,6 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/S/SI/SIMONW/${SRCNAME}-${PV}.tar.gz" SRC_URI[md5sum] = "87ce2971662efd0b69a81bb4dc9ea76c" SRC_URI[sha256sum] = "b3f2ad45e4fd10b3fb90d912d78d8b795ab295480db56dc64e86b9fa75c5a6df" -PR = "r1" UPSTREAM_CHECK_REGEX = "Module\-Pluggable\-(?P<pver>(\d+\.\d+))" UPSTREAM_CHECK_URI = "https://metacpan.org/release/${SRCNAME}" @@ -30,7 +28,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit cpan -RDEPENDS_${PN} = " perl-module-base \ +RDEPENDS:${PN} = " perl-module-base \ perl-module-deprecate \ perl-module-file-basename \ perl-module-file-find \ diff --git a/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb b/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb index 89f0f709aa..205df68029 100644 --- a/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb +++ b/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.016.bb @@ -16,7 +16,7 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~zefram/Module-Runtime/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=36;endline=44;md5=9416434672a57853d6181f3da9094963" SRCNAME = "Module-Runtime" @@ -30,7 +30,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit cpan -RDEPENDS_${PN} = " perl-module-test-more \ +RDEPENDS:${PN} = " perl-module-test-more \ perl-module-strict \ " diff --git a/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005004.bb b/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb index ecc4d87c85..e92d793d9c 100644 --- a/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005004.bb +++ b/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb @@ -6,17 +6,17 @@ SECTION = "libs" HOMEPAGE = "http://metapan.org/release/Moo/" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://README;beginline=742;endline=787;md5=0e7ee44f5ce5e9b84619cd198caad1d6" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://README;beginline=742;endline=787;md5=74f4de483dce5aa45ed6da875f11258a" SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Moo-${PV}.tar.gz" -SRC_URI[sha256sum] = "e3030b80bd554a66f6b3c27fd53b1b5909d12af05c4c11ece9a58f8d1e478928" +SRC_URI[sha256sum] = "fb5a2952649faed07373f220b78004a9c6aba387739133740c1770e9b1f4b108" S = "${WORKDIR}/Moo-${PV}" inherit cpan -RDEPENDS_${PN} = " libclass-method-modifiers-perl \ +RDEPENDS:${PN} = " libclass-method-modifiers-perl \ libdevel-globaldestruction-perl \ libmodule-runtime-perl \ librole-tiny-perl \ @@ -26,7 +26,7 @@ RDEPENDS_${PN} = " libclass-method-modifiers-perl \ perl-module-scalar-util \ " -RPROVIDES_${PN} = " libmethod-inliner-perl \ +RPROVIDES:${PN} = " libmethod-inliner-perl \ libmethod-generate-accessor-perl \ libmethod-generate-buildall-perl \ libmethod-generate-constructor-perl \ 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" diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.32.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.46.bb index f9fa50603f..18ba6336f3 100644 --- a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.32.bb +++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.46.bb @@ -3,13 +3,13 @@ HOMEPAGE = "http://www.net-dns.org/" SECTION = "libs" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=27db37b42cd1a5173a53922d67072bcb" +LIC_FILES_CHKSUM = "file://README;beginline=252;endline=269;md5=de95b6a896d5f861d724ea854d316a0b" DEPENDS += "perl" SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" -SRC_URI[sha256sum] = "b890a7b44d573f27cc713caadf1e12eaaa4478a6504d1157194df614316b5b50" +SRC_URI[sha256sum] = "91b65cd0f12461802c61ca5474f87b3e29f5182d2e1b3a2ea70702a3efb4a743" UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" @@ -19,7 +19,7 @@ EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} inherit cpan ptest-perl -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ libdigest-hmac-perl \ perl-module-base \ perl-module-constant \ @@ -37,11 +37,11 @@ RDEPENDS_${PN} = " \ perl-module-time-local \ " -RRECOMMENDS_${PN} += " \ +RRECOMMENDS:${PN} += " \ libnet-dns-sec-perl \ " -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ perl-module-encode \ perl-module-encode-byte \ perl-module-extutils-mm \ @@ -62,4 +62,3 @@ python __anonymous () { d.getVar('TCLIBC')) } -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb index 240ffec4d5..fe7bb3326e 100644 --- a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb +++ b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb @@ -19,7 +19,7 @@ EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L$ inherit cpan ptest-perl -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ libnet-dns-perl \ libcrypto \ perl-module-dynaloader \ diff --git a/meta-perl/recipes-perl/libnet/libnet-idn-encode/Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch b/meta-perl/recipes-perl/libnet/libnet-idn-encode/Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch new file mode 100644 index 0000000000..f0e9010bf4 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-idn-encode/Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch @@ -0,0 +1,36 @@ +Subject: [PATCH] use uvchr_to_utf8_flags instead of uvuni_to_utf8_flags (which is removed in perl 5.38.0) + +https://perldoc.perl.org/5.36.0/perlintern#uvuni_to_utf8_flags +Signed-off-by: Shin Kojima <shin@kojima.org> +Upstream-Status: Submitted [https://github.com/cfaerber/Net-IDN-Encode/pull/11] +--- + lib/Net/IDN/Punycode.xs | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/lib/Net/IDN/Punycode.xs b/lib/Net/IDN/Punycode.xs +index 211ef9c..36530dd 100644 +--- a/lib/Net/IDN/Punycode.xs ++++ b/lib/Net/IDN/Punycode.xs +@@ -24,6 +24,10 @@ + #define utf8_to_uvchr_buf(in_p,in_e,u8) utf8_to_uvchr(in_p,u8); + #endif + ++#ifndef uvchr_to_utf8_flags ++#define uvchr_to_utf8_flags(d, uv, flags) uvuni_to_utf8_flags(d, uv, flags); ++#endif ++ + static char enc_digit[BASE] = { + 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', + 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', +@@ -253,7 +257,7 @@ decode_punycode(input) + if(skip_p < re_p) /* move succeeding chars */ + Move(skip_p, skip_p + u8, re_p - skip_p, char); + re_p += u8; +- uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY); ++ uvchr_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY); + } + + if(!first) SvUTF8_on(RETVAL); /* UTF-8 chars have been inserted */ +-- +2.41.0 + diff --git a/meta-perl/recipes-perl/libnet/libnet-idn-encode_2.500.bb b/meta-perl/recipes-perl/libnet/libnet-idn-encode_2.500.bb new file mode 100644 index 0000000000..7f33fd2b1f --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-idn-encode_2.500.bb @@ -0,0 +1,25 @@ +SUMMARY = "IDN Perl module" +DESCRIPTION = "This module provides an easy-to-use interface for encoding \ + and decoding Internationalized Domain Names (IDNs)." + +SECTION = "libs" + +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8ea5704cf65ca4ec6e9e167fb94f14dd" + +SRC_URI = "${CPAN_MIRROR}/authors/id/C/CF/CFAERBER/Net-IDN-Encode-${PV}.tar.gz \ + file://Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch \ +" +SRC_URI[sha256sum] = "55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa" + +S = "${WORKDIR}/Net-IDN-Encode-${PV}" + +inherit cpan ptest-perl + +do_configure:prepend() { + perl -pi -e 's/auto_install_now.*//g' Makefile.PL +} + +BBCLASSEXTEND = "native" + +RDEPENDS:${PN} += "perl-module-unicode-normalize perl-module-encode-encoding" diff --git a/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb index 595160744c..a77381dce8 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb +++ b/meta-perl/recipes-perl/libnet/libnet-ldap-perl_0.68.bb @@ -6,7 +6,7 @@ deleting or modifying entries." SECTION = "libs" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=3;endline=5;md5=4d6588c2fa0d38ae162f6314d201d89e" SRC_URI = "${CPAN_MIRROR}/authors/id/M/MA/MARSCHAP/perl-ldap-${PV}.tar.gz" @@ -18,7 +18,7 @@ S = "${WORKDIR}/perl-ldap-${PV}" inherit cpan ptest-perl -do_configure_prepend() { +do_configure:prepend() { perl -pi -e 's/auto_install_now.*//g' Makefile.PL } @@ -27,19 +27,17 @@ do_install_ptest() { chown -R root:root ${D}${PTEST_PATH} } -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ libconvert-asn1-perl \ libio-socket-ssl-perl \ libauthen-sasl-perl \ perl-module-integer \ " -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ libxml-sax-base-perl \ libxml-sax-writer-perl \ perl-module-file-compare \ perl-module-perlio \ perl-module-test-more \ " - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb b/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb index 1ef9f0bc35..4c4faab4db 100644 --- a/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb +++ b/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb @@ -5,12 +5,12 @@ Domain Names according to IDNA (RFC 3490), in a way very much inspired by \ Turbo Fredriksson's PHP-IDN. \ " SECTION = "libs" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" HOMEPAGE = "http://search.cpan.org/dist/Net-LibIDN/" DEPENDS += "libidn" # We must need glibc-gconvs to enable charset related functions, # such as Net::LibIDN::idn_to_ascii(). -RDEPENDS_${PN}_append_libc-glibc = " glibc-gconvs" +RDEPENDS:${PN}:append:libc-glibc = " glibc-gconvs" SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${PV}.tar.gz" SRC_URI[md5sum] = "c3e4de2065009d67bcb1df0afb473e12" @@ -27,8 +27,8 @@ EXTRA_CPANFLAGS += "--disable-tld" inherit cpan -FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Net/LibIDN/.debug/" +FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Net/LibIDN/.debug/" -do_configure_prepend() { +do_configure:prepend() { rm -rf ${S}/.pc/ } diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch index 6efa7d8f95..9620df5ece 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch @@ -1,3 +1,7 @@ +Avoid running target binaries during in cross build + +Upstream-Status: Inappropriate [Cross-compile specific] +Signed-off-by: Khem Raj <raj.khem@gmail.com> --- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 14:56:24.788544991 +0200 +++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 15:00:12.847266331 +0200 @@ -24,20 +24,7 @@ diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb index 93a0687b2a..5d0eccd84a 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb @@ -7,11 +7,11 @@ so you can write servers or clients for more complicated applications." HOMEPAGE = "http://search.cpan.org/dist/Net-SSLeay/" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=274;endline=294;md5=67d67095d83e339da538a082fad5f38e" DEPENDS = "openssl zlib openssl-native" -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ libssl \ libcrypto \ perl-module-carp \ @@ -43,6 +43,6 @@ do_install_ptest() { cp -r ${B}/t ${D}${PTEST_PATH} } -FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Net/SSLeay/.debug/" +FILES:${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Net/SSLeay/.debug/" -RDEPENDS_${PN}-ptest = " perl" +RDEPENDS:${PN}-ptest = " perl" diff --git a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb index c5d8271ff7..d1365f269c 100644 --- a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb +++ b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb @@ -11,7 +11,7 @@ shell." HOMEPAGE = "http://search.cpan.org/dist/Net-Telnet/" SECTION = "Development/Libraries" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=4;endline=7;md5=e94ab3b72335e3cdadd6c1ff736dd714" SRC_URI = "http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-${PV}.tar.gz" @@ -22,4 +22,4 @@ S = "${WORKDIR}/Net-Telnet-${PV}" inherit cpan -RDEPENDS_${PN} = "perl" +RDEPENDS:${PN} = "perl" diff --git a/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb b/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb index 1599e61f13..643a704a1d 100644 --- a/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb +++ b/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb @@ -5,10 +5,10 @@ on wait status values." HOMEPAGE = "http://search.cpan.org/~rosch/Proc-WaitStat/" SECTION = "libraries" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=21;endline=23;md5=f36550f59a0ae5e6e3b0be6a4da60d26" -RDEPENDS_${PN} += "perl libipc-signal-perl" +RDEPENDS:${PN} += "perl libipc-signal-perl" S = "${WORKDIR}/Proc-WaitStat-${PV}" diff --git a/meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb b/meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb index db8646d7c1..c5efc15358 100644 --- a/meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb +++ b/meta-perl/recipes-perl/librole/librole-tiny-perl_2.002004.bb @@ -5,7 +5,7 @@ SECTION = "libs" HOMEPAGE = "https://metacpan.org/pod/Role::Tiny" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=197;endline=234;md5=26df7e7c20551fb1906e2286624f0b71" SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Role-Tiny-${PV}.tar.gz" @@ -16,13 +16,13 @@ S = "${WORKDIR}/Role-Tiny-${PV}" inherit cpan -RDEPENDS_${PN} = " perl-module-exporter \ +RDEPENDS:${PN} = " perl-module-exporter \ perl-module-strict \ perl-module-test-more \ perl-module-warnings \ " -RPROVIDES_${PN} = " librole-tiny-perl \ +RPROVIDES:${PN} = " librole-tiny-perl \ librole-tiny-with-perl \ " diff --git a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb index c0113b4fd9..cf290d9908 100644 --- a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb +++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb @@ -7,11 +7,11 @@ etc." HOMEPAGE = "https://metacpan.org/release/Unix-Statgrab" SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+ | LGPL-2.1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later | LGPL-2.1-or-later" DEPENDS += "libcapture-tiny-perl-native" DEPENDS += "libconfig-autoconf-perl-native" DEPENDS += "libstatgrab" -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ libstatgrab \ perl-module-autoloader \ perl-module-carp \ @@ -33,6 +33,7 @@ SRC_URI[sha256sum] = "16a29f7acaeec081bf0e7303ba5ee24fda1d21a1104669b837745f3ea6 S = "${WORKDIR}/Unix-Statgrab-${PV}" +export LD = "${CCLD}" + inherit cpan pkgconfig ptest-perl -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb index d1a5b4787d..80c21b2b14 100644 --- a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb +++ b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb @@ -25,7 +25,7 @@ SECTION = "libs" HOMEPAGE = "https://metacpan.org/pod/strictures" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=246;endline=262;md5=43be558cf4f19823cdd6af22135cf5f8" SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/strictures-${PV}.tar.gz" @@ -36,13 +36,13 @@ S = "${WORKDIR}/strictures-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ perl-module-carp \ perl-module-strict \ perl-module-test-more \ perl-module-warnings \ " -RDEPENDS_${PN}-ptest += "perl-module-perlio perl-module-perlio-scalar" +RDEPENDS:${PN}-ptest += "perl-module-perlio perl-module-perlio-scalar" BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb b/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb index 3d530d1a13..d51ab21715 100644 --- a/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb +++ b/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001013.bb @@ -10,7 +10,7 @@ SECTION = "libs" HOMEPAGE = "https://metacpan.org/pod/Sub-Exporter-Progressive/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=003fa970662359a43ac2c2961108b0f1" SRC_URI = "${CPAN_MIRROR}/authors/id/F/FR/FREW/Sub-Exporter-Progressive-${PV}.tar.gz" @@ -21,7 +21,7 @@ S = "${WORKDIR}/Sub-Exporter-Progressive-${PV}" inherit cpan -RDEPENDS_${PN} += " perl-module-carp \ +RDEPENDS:${PN} += " perl-module-carp \ perl-module-list-util \ " diff --git a/meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb b/meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb index f051037870..3a0de9757b 100644 --- a/meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb +++ b/meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb @@ -9,7 +9,7 @@ THIS IS NOT THE SORT OF THING YOU WANT TO DO EVERYDAY \ SECTION = "libs" HOMEPAGE= "https://metacpan.org/release/Sub-Uplevel" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=7f1207cd3108e4ade18448d81e6bcb6c" CPAN_PACKAGE = "Sub-Uplevel" @@ -24,14 +24,14 @@ S = "${WORKDIR}/${CPAN_PACKAGE}-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ perl-module-carp \ perl-module-constant \ perl-module-strict \ perl-module-warnings \ " -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ perl-module-cpan \ perl-module-exporter \ perl-module-extutils-makemaker \ diff --git a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb index cc1ac6ed56..f4ce3131de 100644 --- a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb +++ b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb @@ -9,7 +9,7 @@ working." HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV}" SECTION = "libraries" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;md5=c275db663c8489a5709ebb22b185add5" SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz" @@ -28,11 +28,11 @@ DEPENDS = "libterm-readkey-perl-native" inherit cpan ptest-perl -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ perl-module-test-more \ " -do_configure_append () { +do_configure:append () { # Hack the dynamic module loader so that it use native modules since it can't load # the target ones. if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then diff --git a/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.130.bb b/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.204.bb index c82a1a1700..d7f6166b4b 100644 --- a/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.130.bb +++ b/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.204.bb @@ -22,12 +22,11 @@ SECTION = "libs" HOMEPAGE = "http://github.com/rjbs/Test-Deep/" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://lib/Test/Deep.pm;beginline=1817;endline=1826;md5=a897a42bafc3422cab17c2eb94f87a7c" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://lib/Test/Deep.pm;beginline=1817;endline=1826;md5=d3ed382cc19bae8ead6076df35a43cbf" SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Deep-${PV}.tar.gz" -SRC_URI[md5sum] = "d466e471108f7f7a5df3802cb13761ac" -SRC_URI[sha256sum] = "4064f494f5f62587d0ae501ca439105821ee5846c687dc6503233f55300a7c56" +SRC_URI[sha256sum] = "b6591f6ccdd853c7efc9ff3c5756370403211cffe46047f082b1cd1611a84e5f" UPSTREAM_CHECK_REGEX = "Test\-Deep\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" @@ -35,7 +34,7 @@ S = "${WORKDIR}/Test-Deep-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ perl-module-dynaloader \ perl-module-exporter \ perl-module-fcntl \ @@ -46,7 +45,7 @@ RDEPENDS_${PN} += " \ perl-module-warnings \ " -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ perl-module-if \ perl-module-lib \ perl-module-test-more \ diff --git a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.42.bb b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.50.bb index c9ba594803..24b6806bc6 100644 --- a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.42.bb +++ b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.50.bb @@ -22,12 +22,11 @@ SECTION = "libs" HOMEPAGE = "http://testanything.org" -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://README;beginline=29;endline=30;md5=b08db4360eec119e875dddd7cb8a5ddd" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://README;beginline=29;endline=30;md5=d41d8cd98f00b204e9800998ecf8427e" SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Test-Harness-${PV}.tar.gz" -SRC_URI[md5sum] = "c794906473f88d6b74194e2d56f16bd6" -SRC_URI[sha256sum] = "0fd90d4efea82d6e262e6933759e85d27cbcfa4091b14bf4042ae20bab528e53" +SRC_URI[sha256sum] = "79b6acdc444f1924cd4c2e9ed868bdc6e09580021aca8ff078ede2ffef8a6f54" UPSTREAM_CHECK_REGEX = "Test\-Harness\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" @@ -35,11 +34,11 @@ S = "${WORKDIR}/Test-Harness-${PV}" inherit cpan ptest-perl -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ perl-module-benchmark \ " -RPROVIDES_${PN} += "libapp-prove-perl \ +RPROVIDES:${PN} += "libapp-prove-perl \ libapp-prove-state-perl \ libapp-prove-state-result-perl \ libapp-prove-state-result-test-perl \ @@ -88,7 +87,7 @@ RPROVIDES_${PN} += "libapp-prove-perl \ libtap-parser-yamlish-writer-perl \ " -do_install_prepend() { +do_install:prepend() { # these tests are inappropriate on target rm -rf ${B}/t/000-load.t rm -rf ${B}/t/state.t @@ -107,7 +106,7 @@ do_install_prepend() { rm -rf ${B}/t/compat/version.t } -do_install_append() { +do_install:append() { install -d ${D}/usr/local/bin # do not clobber perl-misc /usr/bin/prove install -m 0755 ${B}/bin/prove ${D}/usr/local/bin/ @@ -115,6 +114,6 @@ do_install_append() { rm -rf ${D}${bindir} } -FILES_${PN} += "/usr/local/bin/prove" +FILES:${PN} += "/usr/local/bin/prove" BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb b/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb index f3c28d39ce..d74a347293 100644 --- a/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb +++ b/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb @@ -14,7 +14,7 @@ The test is run by an \\"END\\" block in Test::NoWarnings. It will not be \ run when any forked children exit." SECTION = "libs" -LICENSE = "LGPL-2.1" +LICENSE = "LGPL-2.1-only" HOMEPAGE= "https://metacpan.org/release/Test-NoWarnings" @@ -28,7 +28,7 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/A/AD/${CPAN_AUTHOR}/${CPAN_PACKAGE}-${PV}.t SRC_URI[md5sum] = "682ed043f7d3e38f3dfd8745fd21c49a" SRC_URI[sha256sum] = "638a57658cb119af1fe5b15e73d47c2544dcfef84af0c6b1b2e97f08202b686c" -RDEPENDS_${PN} += "perl-module-test-builder perl-module-test-more perl-module-test-tester" +RDEPENDS:${PN} += "perl-module-test-builder perl-module-test-more perl-module-test-tester" S = "${WORKDIR}/${CPAN_PACKAGE}-${PV}" diff --git a/meta-perl/recipes-perl/libtest/libtest-warn-perl_0.36.bb b/meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb index c336da80f1..5148fbeb09 100644 --- a/meta-perl/recipes-perl/libtest/libtest-warn-perl_0.36.bb +++ b/meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb @@ -9,7 +9,7 @@ the time to go take a look. \ SECTION = "libs" HOMEPAGE= "https://metacpan.org/release/Test-Warn" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=73;endline=78;md5=42b423d91c92ba59c215835a2ee9b57a" CPAN_PACKAGE = "Test-Warn" @@ -17,8 +17,7 @@ CPAN_AUTHOR = "BIGJ" SRC_URI = "${CPAN_MIRROR}/authors/id/B/BI/${CPAN_AUTHOR}/${CPAN_PACKAGE}-${PV}.tar.gz" -SRC_URI[md5sum] = "3d958f43d36db263994affde5da09b51" -SRC_URI[sha256sum] = "ecbca346d379cef8d3c0e4ac0c8eb3b2613d737ffaaeae52271c38d7bf3c6cda" +SRC_URI[sha256sum] = "98ca32e7f2f5ea89b8bfb9a0609977f3d153e242e2e51705126cb954f1a06b57" S = "${WORKDIR}/${CPAN_PACKAGE}-${PV}" @@ -29,7 +28,7 @@ do_install_ptest() { chown -R root:root ${D}${PTEST_PATH} } -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ libsub-uplevel-perl \ perl-module-blib \ perl-module-carp \ @@ -38,7 +37,7 @@ RDEPENDS_${PN} += " \ perl-module-test-tester \ " -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ perl-module-file-spec \ perl-module-test-more \ " 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 8014c19a95..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+" - -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" diff --git a/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb b/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb index 9057ae7fa4..29118129ad 100644 --- a/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb +++ b/meta-perl/recipes-perl/libtext/libtext-charwidth-perl_0.04.bb @@ -12,7 +12,7 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~kubota/Text-CharWidth-${PV}/" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;md5=d8d54c8c500cbdd57a4c15911d9d96db" SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-CharWidth-${PV}.tar.gz" diff --git a/meta-perl/recipes-perl/libio/files/run-ptest b/meta-perl/recipes-perl/libtext/libtext-diff-perl/run-ptest index c9f9ca94d0..c65b6cf8e0 100644 --- a/meta-perl/recipes-perl/libio/files/run-ptest +++ b/meta-perl/recipes-perl/libtext/libtext-diff-perl/run-ptest @@ -14,3 +14,6 @@ for case in `find t -type f -name '*.t'`; do rm -f $case.output done + + + diff --git a/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb b/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb index a4c246e34e..9dfadde8e5 100644 --- a/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb +++ b/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb @@ -8,20 +8,27 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/" -LICENSE = "Artistic-1.0 | GPL-2.0+" +LICENSE = "Artistic-1.0 | GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" -SRC_URI = "${CPAN_MIRROR}/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz" +SRC_URI = "${CPAN_MIRROR}/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz \ + file://run-ptest \ + " SRC_URI[md5sum] = "30d56e6dd5551ca16b8e16cc7299dc21" SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa" S = "${WORKDIR}/Text-Diff-${PV}" -inherit cpan +inherit cpan ptest +RDEPENDS:${PN}-ptest += "perl-module-test perl-module-test-more" -RDEPENDS_${PN} = " libalgorithm-diff-perl \ +RDEPENDS:${PN} = " libalgorithm-diff-perl \ perl-module-extutils-makemaker \ perl-module-exporter \ " +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb b/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb index 275ccb8c96..1e8405cab9 100644 --- a/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb +++ b/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb @@ -8,9 +8,9 @@ Settings of fromcode and tocode and their permitted combinations are \ implementation-dependent. Valid values are specified in the system \ documentation." SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=3;endline=6;md5=fadf2919c7128e887d26b4d905f90649" -RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconvs" +RRECOMMENDS:${PN}:append:libc-glibc = " glibc-gconvs" SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-${PV}.tar.gz" @@ -21,4 +21,4 @@ S = "${WORKDIR}/Text-Iconv-${PV}" inherit cpan -FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Text/Iconv/.debug/" +FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Text/Iconv/.debug/" diff --git a/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb b/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb index b2c239d79b..017e951d3a 100644 --- a/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb +++ b/meta-perl/recipes-perl/libtext/libtext-wrapi18n-perl_0.06.bb @@ -13,7 +13,7 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~kubota/Text-WrapI18N-${PV}/" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;md5=080862e1e40cdcddef4393e137285858" SRC_URI = "${CPAN_MIRROR}/authors/id/K/KU/KUBOTA/Text-WrapI18N-${PV}.tar.gz" @@ -25,7 +25,7 @@ S = "${WORKDIR}/Text-WrapI18N-${PV}" DEPENDS = "libtext-charwidth-perl" -RDEPENDS_${PN} = "libtext-charwidth-perl" +RDEPENDS:${PN} = "libtext-charwidth-perl" inherit cpan diff --git a/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb b/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb index 304b375777..a7a998c358 100644 --- a/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb +++ b/meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb @@ -7,7 +7,7 @@ SECTION = "libs" HOMEPAGE = "https://metacpan.org/release/Unicode-LineBreak" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://README;beginline=5;endline=9;md5=b5e8b1099b86b86fbc315b50484231ab" SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEZUMI/Unicode-LineBreak-${PV}.tar.gz" @@ -26,7 +26,7 @@ do_install_ptest() { chown -R root:root ${D}${PTEST_PATH} } -RDEPENDS_${PN} += " \ +RDEPENDS:${PN} += " \ libmime-charset-perl \ libsombok3 \ perl-module-carp \ @@ -40,14 +40,14 @@ RDEPENDS_${PN} += " \ perl-module-xsloader \ " -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ perl-module-findbin \ perl-module-lib \ perl-module-strict \ perl-module-test-more \ " -RPROVIDES_${PN} += " \ +RPROVIDES:${PN} += " \ libtext-linefold-perl \ libunicode-gcstring-perl \ " diff --git a/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb b/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb index 77dd616bfc..7962d22c9d 100644 --- a/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb +++ b/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb @@ -7,10 +7,10 @@ to, and most don't. This filter does the trivial but oft-repeated task \ of putting all characters into a single event. \ " SECTION = "libs" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" HOMEPAGE = "http://search.cpan.org/dist/XML-Filter-BufferText/" DEPENDS += "libxml-sax-perl-native" -RDEPENDS_${PN} += "libxml-sax-perl" +RDEPENDS:${PN} += "libxml-sax-perl" SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RB/RBERJON/XML-Filter-BufferText-${PV}.tar.gz" SRC_URI[md5sum] = "2992c0387632583b966ab9c965b25512" diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl/0001-libxml-mm-Fix-function-prototypes-in-function-pointe.patch b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/0001-libxml-mm-Fix-function-prototypes-in-function-pointe.patch new file mode 100644 index 0000000000..7ff61c5709 --- /dev/null +++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/0001-libxml-mm-Fix-function-prototypes-in-function-pointe.patch @@ -0,0 +1,51 @@ +From 25451c0a56ef8d3b32fd23847bef516486bd8ed4 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Mon, 16 Jan 2023 18:50:10 -0800 +Subject: [PATCH] libxml-mm: Fix function prototypes in function pointers + +This is now detected with latest clang16+ + +Fixes +error: incompatible function pointer types passing 'void (void *, void *, xmlChar *)' (aka 'void (void *, void *, unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, const unsigned char *)') [-Wincompatible-function-pointer-types] + xmlHashScan(r, PmmRegistryDumpHashScanner, NULL); + +Upstream-Status: Submitted [https://github.com/shlomif/perl-XML-LibXML/pull/75] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + perl-libxml-mm.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/perl-libxml-mm.c b/perl-libxml-mm.c +index a3e78a2..ec2b5ea 100644 +--- a/perl-libxml-mm.c ++++ b/perl-libxml-mm.c +@@ -121,7 +121,7 @@ PmmFreeHashTable(xmlHashTablePtr table) + extern SV* PROXY_NODE_REGISTRY_MUTEX; + + /* Utility method used by PmmDumpRegistry */ +-void PmmRegistryDumpHashScanner(void * payload, void * data, xmlChar * name) ++void PmmRegistryDumpHashScanner(void * payload, void * data, const xmlChar * name) + { + LocalProxyNodePtr lp = (LocalProxyNodePtr) payload; + ProxyNodePtr node = (ProxyNodePtr) lp->proxy; +@@ -215,7 +215,7 @@ PmmRegisterProxyNode(ProxyNodePtr proxy) + /* PP: originally this was static inline void, but on AIX the compiler + did not chew it, so I'm removing the inline */ + static void +-PmmRegistryHashDeallocator(void *payload, xmlChar *name) ++PmmRegistryHashDeallocator(void *payload, const xmlChar *name) + { + Safefree((LocalProxyNodePtr) payload); + } +@@ -279,7 +279,7 @@ PmmRegistryREFCNT_dec(ProxyNodePtr proxy) + * internal, used by PmmCloneProxyNodes + */ + void * +-PmmRegistryHashCopier(void *payload, xmlChar *name) ++PmmRegistryHashCopier(void *payload, const xmlChar *name) + { + ProxyNodePtr proxy = ((LocalProxyNodePtr) payload)->proxy; + LocalProxyNodePtr lp; +-- +2.39.0 + diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb index 6fabf26840..f184b89e59 100644 --- a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb +++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb @@ -8,12 +8,12 @@ your programs." HOMEPAGE = "http://search.cpan.org/dist/XML-LibXML-1.99/" SECTION = "libs" -LICENSE = "Artistic-1.0|GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" DEPENDS += "libxml2 \ libxml-sax-perl-native \ zlib \ " -RDEPENDS_${PN} += "\ +RDEPENDS:${PN} += "\ libxml2 \ libxml-sax-perl \ libxml-sax-base-perl \ @@ -26,6 +26,7 @@ SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}. file://disable-libxml2-check.patch \ file://fix-CATALOG-conditional-compile.patch \ file://using-DOCB-conditional.patch \ + file://0001-libxml-mm-Fix-function-prototypes-in-function-pointe.patch \ " LIC_FILES_CHKSUM = "file://debian/copyright;md5=64eda1bc135f0ece1d1187f2a8ac82c1 \ file://LICENSE;md5=97871bde150daeb5e61ad95137ff2446 \ @@ -44,9 +45,9 @@ BBCLASSEXTEND = "native" CFLAGS += " -D_GNU_SOURCE " BUILD_CFLAGS += " -D_GNU_SOURCE " -FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/" +FILES:${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/" -RDEPENDS_${PN}-ptest += " \ +RDEPENDS:${PN}-ptest += " \ liburi-perl \ perl-module-encode-byte \ perl-module-encode-unicode \ @@ -55,7 +56,7 @@ RDEPENDS_${PN}-ptest += " \ perl-module-test-more \ " -do_install_prepend() { +do_install:prepend() { # test requires "-T" (taint) command line option rm -rf ${B}/t/pod.t # this only applies to author build diff --git a/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb b/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb index d1b0de093c..487a5c22cd 100644 --- a/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb +++ b/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.57.bb @@ -7,10 +7,10 @@ although it has been put to limited use in settings such as XML::LibXML and \ the AxKit XML Application Server. \ " SECTION = "libs" -LICENSE = "Artistic-1.0 | GPLv1+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/" DEPENDS += "libxml-filter-buffertext-perl-native" -RDEPENDS_${PN} += "libxml-filter-buffertext-perl" +RDEPENDS:${PN} += "libxml-filter-buffertext-perl" SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz" SRC_URI[md5sum] = "3e3023c648e3003c04de2fb04435f8bd" diff --git a/meta-perl/recipes-perl/po4a/po4a_0.49.bb b/meta-perl/recipes-perl/po4a/po4a_0.49.bb deleted file mode 100644 index 1b3aca5618..0000000000 --- a/meta-perl/recipes-perl/po4a/po4a_0.49.bb +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY = "PO for anything" -DESCRIPTION = "The po4a (PO for anything) project goal is to ease translations \ -(and more interestingly, the maintenance of translations) using gettext tools \ -on areas where they were not expected like documentation." -HOMEPAGE = "https://po4a.alioth.debian.org" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=a96fc9b4cc36d80659e694ea109f0325" - -SRC_URI = "git://github.com/mquinson/po4a.git;protocol=https" - -# v0.49 -SRCREV = "79ed87a577a543538fe39c7b60079981f5997072" - -S = "${WORKDIR}/git" - -DEPENDS = " \ - libmodule-build-perl-native \ - libtext-wrapi18n-perl \ - libterm-readkey-perl \ - liblocale-gettext-perl \ - libunicode-linebreak-perl \ -" - -RRECOMMENDS_${PN} = " \ - libtext-wrapi18n-perl \ - libterm-readkey-perl \ - liblocale-gettext-perl \ - libunicode-linebreak-perl \ -" - -inherit cpan_build - -BBCLASSEXTEND = "native" |