diff options
Diffstat (limited to 'meta-perl')
101 files changed, 755 insertions, 594 deletions
diff --git a/meta-perl/README b/meta-perl/README.md index 13014b0ff3..13014b0ff3 100644 --- a/meta-perl/README +++ b/meta-perl/README.md 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 6a2dd7ff95..20a6a4239f 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 = "honister" +LAYERSERIES_COMPAT_perl-layer = "scarthgap" 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 918c21dd51..c49b3b5a27 100644 --- a/meta-perl/recipes-perl/packagegroups/packagegroup-meta-perl.bb +++ b/meta-perl/recipes-core/packagegroups/packagegroup-meta-perl.bb @@ -11,16 +11,14 @@ PACKAGES = "\ RDEPENDS:packagegroup-meta-perl = "\ adduser \ - compress-raw-bzip2-perl \ - compress-raw-lzma-perl \ - compress-raw-zlib-perl \ - io-compress-perl \ - io-compress-lzma-perl \ 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 \ @@ -33,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 \ @@ -78,9 +78,7 @@ 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 = "\ @@ -102,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 38ef0f8dc8..c13bd940ea 100644 --- a/meta-perl/recipes-extended/logcheck/logcheck_1.3.23.bb +++ b/meta-perl/recipes-extended/logcheck/logcheck_1.4.3.bb @@ -8,15 +8,13 @@ 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 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 2919904572..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 \ diff --git a/meta-perl/recipes-perl/adduser/adduser_3.118.bb b/meta-perl/recipes-perl/adduser/adduser_3.118.bb index 7554014fab..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 \ 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-sasl-perl_2.16.bb b/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb index 4212dd228c..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,7 +5,7 @@ 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" 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 358513121b..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" diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.53.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.60.bb index 04bc362dfb..7e330c3704 100644 --- a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.53.bb +++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.60.bb @@ -4,13 +4,13 @@ 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] = "c2f6330bcc7cacda0c905f57ca0d31da1b19a2e4e5babede648c49b13803ee11" S = "${WORKDIR}/CGI-${PV}" 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 dc62f58e9f..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,12 +6,11 @@ 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}" diff --git a/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.206.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.206.bb new file mode 100644 index 0000000000..2bd98e73b4 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.206.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=85ab0f65a47c4c0f72dd6d033ff74ece" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-${PV}.tar.gz" + +SRC_URI[sha256sum] = "212b81db1c0ae822d19928619a603bd108cb5d5c4700fc67dc7cb169e0cc6525" + +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.206.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.206.bb new file mode 100644 index 0000000000..cdabdb1390 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.206.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=b95311d4a7dbf3d0d3663edc094aced6" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Lzma-${PV}.tar.gz" + +SRC_URI[sha256sum] = "e01a7040b84bdc67592d13eec0c788590e1f696d1d4f07c7097bd72a4f886eb4" + +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.206.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-zlib-perl_2.206.bb new file mode 100644 index 0000000000..47fe8e0035 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-zlib-perl_2.206.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=45bba5fa4937353fd4f505fa2108a6bf" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Zlib-${PV}.tar.gz" + +SRC_URI[sha256sum] = "46785a6a383a1c843895b7f9f25d5d759e7c305159f9d1e04a3604eb74c77374" + +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 ea9dfed261..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" @@ -38,4 +38,4 @@ S = "${WORKDIR}/Config-AutoConf-${PV}" inherit cpan ptest-perl -BBCLASSEXTEND = "native nativesdk" +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libcrypt/files/0001-Fix-for-Issue-31.patch b/meta-perl/recipes-perl/libcrypt/files/0001-Fix-for-Issue-31.patch deleted file mode 100644 index a5ea43f88b..0000000000 --- a/meta-perl/recipes-perl/libcrypt/files/0001-Fix-for-Issue-31.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 5e8202458e41ba1f7801746c503fe7c60ae340d5 Mon Sep 17 00:00:00 2001 -From: kambe-mikb <77083885+kambe-mikb@users.noreply.github.com> -Date: Tue, 28 Sep 2021 17:40:18 +1000 -Subject: [PATCH] Fix for Issue 31 - -Fix Issue 31 by removing reference to RSA_SSLV23_PADDING (removed from OpenSSL starting from v3.0.0) - -Upstream-Status: Submitted [https://github.com/toddr/Crypt-OpenSSL-RSA/pull/32] -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - RSA.xs | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/RSA.xs b/RSA.xs -index 46cb199..4f65dfc 100644 ---- a/RSA.xs -+++ b/RSA.xs -@@ -640,12 +640,16 @@ use_pkcs1_oaep_padding(p_rsa) - CODE: - p_rsa->padding = RSA_PKCS1_OAEP_PADDING; - -+#if OPENSSL_VERSION_NUMBER < 0x30000000L -+ - void - use_sslv23_padding(p_rsa) - rsaData* p_rsa; - CODE: - p_rsa->padding = RSA_SSLV23_PADDING; - -+#endif -+ - # Sign text. Returns the signature. - - SV* --- -2.33.1 - diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.14.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb index 1bf5b207c1..d64fc296e2 100644 --- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.14.bb +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb @@ -1,11 +1,11 @@ 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] = "e4331977e1512a3ba51d7fa2d642d3e79d479dc23483246ebfaaef80ea8573df" +SRC_URI[sha256sum] = "1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d" DEPENDS += "openssl" @@ -29,7 +29,7 @@ inherit cpan ptest-perl BBCLASSEXTEND = "native" # for backwards compatibility -PROVIDES_${PN} += "libcrypt-openssl-guess" +PROVIDES += "libcrypt-openssl-guess" 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.16.bb index 5b6e9b4937..dc2075d134 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.16.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" 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] = "fcf58cb2af4c3eda2fe1405527d9373efe9576268fce8adb34df9ce9b6b44d1e" S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}" diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.32.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb index 8dd2574e97..aa8d138f2c 100644 --- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.32.bb +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.33.bb @@ -1,13 +1,12 @@ 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 \ - file://0001-Fix-for-Issue-31.patch \ " -SRC_URI[sha256sum] = "adc74f0ae125c77f65d5dd32abb9c3429300a79543bf263494f333f9c0b62a61" +SRC_URI[sha256sum] = "bdbe630f6d6f540325746ad99977272ac8664ff81bd19f0adaba6d6f45efd864" DEPENDS += "libcrypt-openssl-guess-perl-native openssl" 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..ab5af3fa8c --- /dev/null +++ b/meta-perl/recipes-perl/libcurses/libcurses-perl/0001-testtyp.c-Use-proper-prototype-for-main-function.patch @@ -0,0 +1,40 @@ +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 | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/testtyp.c b/testtyp.c +index 949c3d4..4042f73 100644 +--- a/testtyp.c ++++ b/testtyp.c +@@ -7,7 +7,8 @@ + #define _XOPEN_SOURCE_EXTENDED 1 /* We expect wide character functions */ + + #include "c-config.h" +- +-main() { ++int ++main(int argc, char *argv[]) { + typedef SYM c_sym_t; ++ return 0; + } +-- +2.37.3 + diff --git a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.38.bb b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.38.bb deleted file mode 100644 index a398382c66..0000000000 --- a/meta-perl/recipes-perl/libcurses/libcurses-perl_1.38.bb +++ /dev/null @@ -1,25 +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[sha256sum] = "d521408298eb6413b209ef29d4ffcba6f5f58ee1abc60160739a17aafcb8f2f2" - -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.41.bb b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.41.bb new file mode 100644 index 0000000000..421823d9cd --- /dev/null +++ b/meta-perl/recipes-perl/libcurses/libcurses-perl_1.41.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] = "fb9efea8c7b5ed5f8ea5dee49d35252accfc05ee6e75cb9a37ab7c847cd261d7" + +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/libdb/libdbd-sqlite-perl_1.68.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.74.bb index c328696b02..7e38da8836 100644 --- a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.68.bb +++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.74.bb @@ -7,14 +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[sha256sum] = "0e84e831a50d547d2e634b66650455f1791f223495c9138db82d42360c691e61" +SRC_URI[sha256sum] = "8994997d84b9feb4547795f78746c661fb72e3cb6a25dbdd789b731f5688a4dd" UPSTREAM_CHECK_REGEX = "DBD\-SQLite\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" 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 9f9950e35c..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" 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 10b4d6e2ba..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,7 +3,7 @@ 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" 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 91c5f08f9e..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 \ 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 700974b423..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.16.bb b/meta-perl/recipes-perl/libencode/libencode-perl_3.16.bb deleted file mode 100644 index 2286ee5249..0000000000 --- a/meta-perl/recipes-perl/libencode/libencode-perl_3.16.bb +++ /dev/null @@ -1,105 +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[sha256sum] = "e5e91d98a97de70dccecc2a25d049a0b5f5f12228c618680020d73043355294c" - -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 bc54634705..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" 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 5e869c8112..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}" diff --git a/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.026.bb b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.026.bb index 3538e11ac0..8534822e62 100644 --- a/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.026.bb +++ b/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.026.bb @@ -4,7 +4,7 @@ SECTION = "libs" HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Helpers/" -LICENSE = "Artistic-1.0 | GPL-1.0+" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=223c04045664f72c3a6556462612bddd" SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Helpers-${PV}.tar.gz" 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 de3a745f88..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" 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 e6034904f5..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" 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.013.bb b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb index c7e5c56b6e..e29abb3e31 100644 --- a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.013.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,7 +13,7 @@ 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[sha256sum] = "e2f6a4029a6a242d50054044f1fb86770b9b5cc4daeb1a967f91ffb42716a8c5" +SRC_URI[sha256sum] = "d5a36487339888c3cd758e648160ee1d70eb4153cacbaff57846dbcefb344b0c" RDEPENDS:${PN} = " \ perl-module-carp \ perl-module-encode \ 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 38ea9cebc8..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" 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 b506589f64..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" 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 e3c8663ea0..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 \ 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 a0be629683..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" diff --git a/meta-perl/recipes-perl/libio/compress-raw-bzip2-perl_2.096.bb b/meta-perl/recipes-perl/libio/compress-raw-bzip2-perl_2.096.bb deleted file mode 100644 index 272f7c5f33..0000000000 --- a/meta-perl/recipes-perl/libio/compress-raw-bzip2-perl_2.096.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = ""Compress::Raw::Bzip2" provides an interface to the in-memory \ -compression/uncompression functions from the bzip2 compression library." - -SECTION = "libs" -LICENSE = "Artisticv1 | GPLv1+" - -MAINTAINER= "Poky <poky@yoctoproject.org>" -HOMEPAGE= "https://metacpan.org/release/Compress-Raw-Bzip2" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ -file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d" - -SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-2.096.tar.gz" - -SRC_URI[md5sum] = "4fdb7ea5071e4b774c52c37331386355" -SRC_URI[sha256sum] = "a564e7634eca7740c5487d01effe1461e9e51b8909e69b3d8f5be98997958cbe" - -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/libio/compress-raw-lzma-perl_2.096.bb b/meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb deleted file mode 100644 index 38655892a2..0000000000 --- a/meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = ""Compress::Raw::Lzma" provides an interface to the in-memory \ -compression/uncompression functions from the lzma compression library." - -SECTION = "libs" -LICENSE = "Artisticv1 | GPLv1+" - -MAINTAINER= "Poky <poky@yoctoproject.org>" -HOMEPAGE= "https://metacpan.org/release/Compress-Raw-Lzma" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ -file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d" - -SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Lzma-2.096.tar.gz" - -SRC_URI[md5sum] = "b5079bb43712fcd1e74b80777fa376ed" -SRC_URI[sha256sum] = "f3afb267b1303b0f125976e9e4a70c6a4a205e35e7c99b408911f5e5c6578217" - -DEPENDS += "xz" - -S = "${WORKDIR}/Compress-Raw-Lzma-${PV}" - -inherit cpan - -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/libio/compress-raw-zlib-perl_2.096.bb b/meta-perl/recipes-perl/libio/compress-raw-zlib-perl_2.096.bb deleted file mode 100644 index 8b2ab14599..0000000000 --- a/meta-perl/recipes-perl/libio/compress-raw-zlib-perl_2.096.bb +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION = "The *Compress::Raw::Zlib* module provides a Perl interface to the *zlib* \ -compression library (see "AUTHOR" for details about where to get *zlib*)." - -SECTION = "libs" -LICENSE = "Artisticv1 | GPLv1+" - -MAINTAINER= "Poky <poky@yoctoproject.org>" -HOMEPAGE= "https://metacpan.org/release/Compress-Raw-Zlib" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ -file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d" - -SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-2.096.tar.gz" - -SRC_URI[md5sum] = "4144ecdd901231553447998cf8035e4a" -SRC_URI[sha256sum] = "cd4cba20c159a7748b8bc91278524a7da70573d9531fde62298609a5f1c65912" - -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/libio/io-compress-lzma-perl_2.096.bb b/meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb deleted file mode 100644 index a5c773551d..0000000000 --- a/meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "This module provides a Perl interface that allows writing lzma compressed \ -data to files or buffer." - -SECTION = "libs" -LICENSE = "Artisticv1 | GPLv1+" - -MAINTAINER= "Poky <poky@yoctoproject.org>" -HOMEPAGE= "https://metacpan.org/release/IO-Compress-Lzma" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ -file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d" - -SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/IO-Compress-Lzma-2.096.tar.gz" - -SRC_URI[md5sum] = "6c1b70740605b8073e4fbb5ba1e7bbdb" -SRC_URI[sha256sum] = "2f29125f19bb41d29c4b5a2467e3560b7bce5d428176a046b7c8a51609dce6e8" -RDEPENDS:${PN} += "compress-raw-lzma-perl" -RDEPENDS:${PN} += "io-compress-perl" - -S = "${WORKDIR}/IO-Compress-Lzma-${PV}" - -inherit cpan allarch - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb b/meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb deleted file mode 100644 index 01580db03f..0000000000 --- a/meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION = "This module is not intended for direct use in application code. Its sole \ -purpose is to be sub-classed by IO::Compress modules." - -SECTION = "libs" -LICENSE = "Artisticv1 | GPLv1+" - -MAINTAINER= "Poky <poky@yoctoproject.org>" -HOMEPAGE= "https://metacpan.org/release/IO-Compress" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ -file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d" - -SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/IO-Compress-2.096.tar.gz" - -SRC_URI[md5sum] = "18ad197cad5ca87bc3a7d2538998e017" -SRC_URI[sha256sum] = "9d219fd5df4b490b5d2f847921e3cb1c3392758fa0bae9b05a8992b3620ba572" -RDEPENDS:${PN} += "compress-raw-bzip2-perl" -RDEPENDS:${PN} += "compress-raw-zlib-perl" - -S = "${WORKDIR}/IO-Compress-${PV}" - -inherit cpan allarch - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libio/libio-compress-lzma-perl_2.206.bb b/meta-perl/recipes-perl/libio/libio-compress-lzma-perl_2.206.bb new file mode 100644 index 0000000000..1959df5e04 --- /dev/null +++ b/meta-perl/recipes-perl/libio/libio-compress-lzma-perl_2.206.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=b95311d4a7dbf3d0d3663edc094aced6" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/IO-Compress-Lzma-${PV}.tar.gz" + +SRC_URI[sha256sum] = "6c600f9bbb1a2d834b1decd0bd5863dcea52e0ac17de101b5085e0e3cb27285c" + +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.206.bb b/meta-perl/recipes-perl/libio/libio-compress-perl_2.206.bb new file mode 100644 index 0000000000..c58e3fa30c --- /dev/null +++ b/meta-perl/recipes-perl/libio/libio-compress-perl_2.206.bb @@ -0,0 +1,41 @@ +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=8e78b88f9c8ac08ae03e8ea81195ca45" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/IO-Compress-${PV}.tar.gz" + +SRC_URI[sha256sum] = "7d3062b9a494f757e8d0614f220d83f22731bbda1aeb5f7cff0e72a83f433d35" + +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 \ +" + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.073.bb b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.085.bb index ef7fd08bfe..f7b3d416df 100644 --- a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.073.bb +++ b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.085.bb @@ -9,24 +9,23 @@ 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} += "\ + 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] = "b2c0b34df97cb1aa816221cee2454a1efd89b86ccbda810389a30e0d08cf57c8" +SRC_URI = "${CPAN_MIRROR}/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz" +SRC_URI[sha256sum] = "95b2f7c0628a7e246a159665fbf0620d0d7835e3a940f22d3fdd47c3aa799c2e" S = "${WORKDIR}/IO-Socket-SSL-${PV}" -inherit cpan ptest +inherit cpan ptest-perl do_install:append () { mkdir -p ${D}${docdir}/${PN}/ @@ -34,13 +33,22 @@ do_install:append () { 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 3f5a27843a..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" 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 18fa46f017..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,14 +8,13 @@ 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}" @@ -23,19 +22,24 @@ inherit cpan ptest 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 ebf2a5b4de..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.047.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.047.bb new file mode 100644 index 0000000000..db765b88f1 --- /dev/null +++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.047.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] = "71260e9421b93c33dd1b3e7d0cf15f759c0ca7c753fa840279ec3be70f8f8c9d" + +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 1d257ce4f0..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}" 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 bb950b80de..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" 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 596d448253..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,11 +6,11 @@ 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}" 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.33.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.40.bb index 2c7d793a7b..e30125ab7b 100644 --- a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.33.bb +++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.40.bb @@ -9,7 +9,7 @@ DEPENDS += "perl" SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" -SRC_URI[sha256sum] = "5a40e7cf524e4bd2c33cf03b82b47d5308b712083aa5ee180b0b5af54c71fbd2" +SRC_URI[sha256sum] = "209bbd40de8d48c1bd7aade48da237fe0a499f89d279baa2e1a99bd5ec922ddc" UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" @@ -62,4 +62,3 @@ python __anonymous () { d.getVar('TCLIBC')) } -BBCLASSEXTEND = "native" 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 c82190a336..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" @@ -41,5 +41,3 @@ RDEPENDS:${PN}-ptest += " \ 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 37586fd4f0..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,7 +5,7 @@ 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, 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 effcb3dc75..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,7 +7,7 @@ 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" 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 9b259ab879..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" 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 1dbd923b07..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,7 +5,7 @@ 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" 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 df7b9b8081..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" 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 c2b6d4abf8..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,7 +7,7 @@ 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" @@ -37,4 +37,3 @@ 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 765455b490..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" 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 fa66cd8f3b..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" 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 98c322fabb..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" 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 3948f3c6f3..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" 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 75e1623f94..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" diff --git a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.42.bb b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.48.bb index 7d7f336c3d..b14fc95f1c 100644 --- a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.42.bb +++ b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.48.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] = "e73ff89c81c1a53f6baeef6816841b89d3384403ad97422a7da9d1eeb20ef9c5" UPSTREAM_CHECK_REGEX = "Test\-Harness\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" 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 b20668331d..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" 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 96939ec4d7..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}" 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 b6f7495eb2..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 \ 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 a16bf8797e..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,7 +8,7 @@ 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" 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 5dc2ad32a5..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" 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 4c01a4ca18..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" 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 62477458a0..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,7 +7,7 @@ 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" 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 58d0e4cb2b..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,7 +8,7 @@ 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 \ @@ -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 \ 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 ab684eaaaa..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,7 +7,7 @@ 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" 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 d7a97dd90e..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;branch=master" - -# 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" |