diff options
Diffstat (limited to 'meta-perl')
66 files changed, 698 insertions, 496 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 007ae2fbd5..20a6a4239f 100644 --- a/meta-perl/conf/layer.conf +++ b/meta-perl/conf/layer.conf @@ -15,4 +15,4 @@ LAYERVERSION_perl-layer = "1" LAYERDEPENDS_perl-layer = "core openembedded-layer" -LAYERSERIES_COMPAT_perl-layer = "kirkstone langdale" +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 4b2f5cc029..c49b3b5a27 100644 --- a/meta-perl/recipes-perl/packagegroups/packagegroup-meta-perl.bb +++ b/meta-perl/recipes-core/packagegroups/packagegroup-meta-perl.bb @@ -11,14 +11,14 @@ PACKAGES = "\ RDEPENDS:packagegroup-meta-perl = "\ adduser \ - compress-raw-bzip2-perl \ - compress-raw-lzma-perl \ - compress-raw-zlib-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 \ @@ -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.24.bb b/meta-perl/recipes-extended/logcheck/logcheck_1.4.3.bb index ea3dd5a4c9..c13bd940ea 100644 --- a/meta-perl/recipes-extended/logcheck/logcheck_1.3.24.bb +++ b/meta-perl/recipes-extended/logcheck/logcheck_1.4.3.bb @@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b" SRC_URI = "${DEBIAN_MIRROR}/main/l/${BPN}/${BPN}_${PV}.tar.xz \ file://99_logcheck \ " -SRC_URI[sha256sum] = "5e304adf2880967c3b155bcf98e4f0809417a16bf91adb372fa065f38ab2c0cf" +SRC_URI[sha256sum] = "ad83ae80bd780bdae5eefd40ad59a3e97b85ad3a4962aa7c00d98ed3bdffcdd0" inherit useradd 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/libauthen/libauthen-sasl-perl_2.16.bb b/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb index 8545eb50f7..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-or-later" +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/libcgi/libcgi-perl_4.54.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.60.bb index 4c9864094d..7e330c3704 100644 --- a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb +++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.60.bb @@ -10,7 +10,7 @@ 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] = "9608a044ae2e87cefae8e69b113e3828552ddaba0d596a02f9954c6ac17fa294" +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 4cd6343878..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 @@ -7,11 +7,10 @@ SECTION = "libs" HOMEPAGE = "https://github.com/moose/Class-Method-Modifiers/" LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://LICENSE;md5=16fd0ec7b73c0e158426f753943f1058" +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 5db0bb4269..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 @@ -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/libcrypt-openssl-random-perl_0.15.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.16.bb index 9bfb631d30..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 @@ -5,8 +5,7 @@ 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/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 8c56c206f7..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-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" - -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.70.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.74.bb index 17ec3298c8..7e38da8836 100644 --- a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.70.bb +++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.74.bb @@ -14,7 +14,7 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \ file://sqlite-perl-test.pl \ " -SRC_URI[sha256sum] = "40fd8ddf539e0e773a7a4e6d376794c3301459f9ab0050978bdcf97113dafe3e" +SRC_URI[sha256sum] = "8994997d84b9feb4547795f78746c661fb72e3cb6a25dbdd789b731f5688a4dd" UPSTREAM_CHECK_REGEX = "DBD\-SQLite\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" 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 51a2ad3498..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|GPL-1.0-or-later" +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 cd63675128..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|GPL-1.0-or-later" +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 ae193dbc6a..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-or-later" -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.18.bb b/meta-perl/recipes-perl/libencode/libencode-perl_3.18.bb deleted file mode 100644 index 999863b1fe..0000000000 --- a/meta-perl/recipes-perl/libencode/libencode-perl_3.18.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-or-later" -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] = "74dcbd851171a68cf3ef225568ece47b0959b8e3cda887482fde97c1ae1691e2" - -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/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-cppguess-perl_0.26.bb b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb index 04a29fdc21..45b7726509 100644 --- a/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.26.bb +++ b/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.27.bb @@ -12,7 +12,7 @@ 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] = "c8b362b860172a4076acee00438f52b86464f2c500702cfcf7527811ff9a683e" +SRC_URI[sha256sum] = "b2c7b581901054a32dfcea12536fda8626457ed0bfbc02600bd354bde7e2a9b4" S = "${WORKDIR}/ExtUtils-CppGuess-${PV}" 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 3fa4fb17b4..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 @@ -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/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 ef69987ea3..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 = "Artistic-1.0 | GPL-1.0-or-later" - -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 04295cd3c6..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 = "Artistic-1.0 | GPL-1.0-or-later" - -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 81c370df2a..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 = "Artistic-1.0 | GPL-1.0-or-later" - -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/libio-compress-lzma-perl_2.096.bb b/meta-perl/recipes-perl/libio/libio-compress-lzma-perl_2.096.bb deleted file mode 100644 index 15952f17e6..0000000000 --- a/meta-perl/recipes-perl/libio/libio-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 = "Artistic-1.0 | GPL-1.0-or-later" - -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} += "libio-compress-perl" - -S = "${WORKDIR}/IO-Compress-Lzma-${PV}" - -inherit cpan - -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.096.bb b/meta-perl/recipes-perl/libio/libio-compress-perl_2.096.bb deleted file mode 100644 index c00d8945b7..0000000000 --- a/meta-perl/recipes-perl/libio/libio-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 = "Artistic-1.0 | GPL-1.0-or-later" - -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 - -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.074.bb b/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.085.bb index 1d04f0054f..f7b3d416df 100644 --- a/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.074.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|GPL-1.0-or-later" +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] = "36486b6be49da4d029819cf7069a7b41ed48af0c87e23be0f8e6aba23d08a832" +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/libipc/libipc-signal-perl_1.00.bb b/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb index 389be2c16c..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|GPL-1.0-or-later" +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/libmime/libmime-charset-perl_1.012.2.bb b/meta-perl/recipes-perl/libmime/libmime-charset-perl_1.013.1.bb index 20557a3f3e..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 @@ -9,8 +9,7 @@ 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 2c06728ed2..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|GPL-1.0-or-later" +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 ff3f4d6944..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-or-later" -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 6f3d5ba59d..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,7 +10,6 @@ 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-or-later" @@ -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/libmoo/libmoo-perl_2.005004.bb b/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb index 5480b9069f..e92d793d9c 100644 --- a/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005004.bb +++ b/meta-perl/recipes-perl/libmoo/libmoo-perl_2.005005.bb @@ -7,10 +7,10 @@ SECTION = "libs" HOMEPAGE = "http://metapan.org/release/Moo/" LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://README;beginline=742;endline=787;md5=0e7ee44f5ce5e9b84619cd198caad1d6" +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.34.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.40.bb index 69afe6eef2..e30125ab7b 100644 --- a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.34.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] = "de756e3fb6addbd32beafc869c4dd1c6a0b3783c5ef56dbefc6809443a4b1d15" +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 293f421205..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|GPL-1.0-or-later" +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-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-telnet-perl_3.05.bb b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb index d7d4201048..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|GPL-1.0-or-later" +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 ffd87ed0b5..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|GPL-1.0-or-later" +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/libstatgrab/libunix-statgrab_0.112.bb b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb index c568ade997..cf290d9908 100644 --- a/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb +++ b/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb @@ -37,4 +37,3 @@ export LD = "${CCLD}" inherit cpan pkgconfig ptest-perl -BBCLASSEXTEND = "native" 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 6252bc3351..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 @@ -23,11 +23,10 @@ SECTION = "libs" HOMEPAGE = "http://github.com/rjbs/Test-Deep/" LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://lib/Test/Deep.pm;beginline=1817;endline=1826;md5=a897a42bafc3422cab17c2eb94f87a7c" +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.44.bb b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.48.bb index 58ca70b9e1..b14fc95f1c 100644 --- a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.44.bb +++ b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.48.bb @@ -26,7 +26,7 @@ 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[sha256sum] = "7eb591ea6b499ece6745ff3e80e60cee669f0037f9ccbc4e4511425f593e5297" +SRC_URI[sha256sum] = "e73ff89c81c1a53f6baeef6816841b89d3384403ad97422a7da9d1eeb20ef9c5" UPSTREAM_CHECK_REGEX = "Test\-Harness\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" 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 7f539933d7..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 @@ -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 d1c0d95fd3..0000000000 --- a/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.031.bb +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (C) 2020 Jens Rehsack <sno@netbsd.org> -# Released under the MIT license (see COPYING.MIT for the terms) - -DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \ -warnings generated by your tests, combined with the convenience of \ -\\"done_testing\\" to not have to declare a test count, you'll have discovered \ -that these two features do not play well together, as the test count will \ -be calculated *before* the warnings test is run, resulting in a TAP error. \ -(See "examples/test_nowarnings.pl" in this distribution for a \ -demonstration.)" - -SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0-or-later" - -HOMEPAGE= "https://metacpan.org/release/Test-Warnings" - -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ -file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61" - -SRC_URI = "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz" - -SRC_URI[sha256sum] = "1e542909fef305e45563e9878ea1c3b0c7cef1b28bb7ae07eba2e1efabec477b" - -S = "${WORKDIR}/Test-Warnings-${PV}" - -inherit cpan ptest-perl - -BBCLASSEXTEND = "native nativesdk" 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 afdf63ede4..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 @@ -11,17 +11,24 @@ HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/" 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/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 c2898a9012..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|GPL-1.0-or-later" +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/po4a/po4a_0.49.bb b/meta-perl/recipes-perl/po4a/po4a_0.49.bb deleted file mode 100644 index 679ea0fb44..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 = "GPL-2.0-only" -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" |