diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-perl')
64 files changed, 2303 insertions, 0 deletions
diff --git a/import-layers/meta-openembedded/meta-perl/COPYING.MIT b/import-layers/meta-openembedded/meta-perl/COPYING.MIT new file mode 100644 index 0000000000..89de354795 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/import-layers/meta-openembedded/meta-perl/README b/import-layers/meta-openembedded/meta-perl/README new file mode 100644 index 0000000000..86c5c1acca --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/README @@ -0,0 +1,92 @@ +meta-perl +========= +This layer provides commonly-used perl related recipes such as perl libraries +in the Comprehensive Perl Archive Network. + +Contents and Help +----------------- + +In this section the contents of the layer is listed, along with a short +help for each package. + + -- libdbi-perl -- + The DBI is a database access module for the Perl programming language. + It defines a set of methods, variables, and conventions that provide + a consistent database interface, independent of the actual database + being used. + |<- Scope of DBI ->| + .-. .--------------. .-------------. + .-------. | |---| XYZ Driver |---| XYZ Engine | + | Perl | | | `--------------' `-------------' + | script| |A| |D| .--------------. .-------------. + | using |--|P|--|B|---|Oracle Driver |---|Oracle Engine| + | DBI | |I| |I| `--------------' `-------------' + | API | | |... + |methods| | |... Other drivers + `-------' | |... + `-' + + -- libdbd-sqlite-perl -- + DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire + thing in the distribution. So in order to get a fast transaction capable + RDBMS working for your perl project you simply have to install this + module, and nothing else. + + usage: there is a test case to show you how it works + + 1) vim local.conf: + ... + IMAGE_INSTALL_append = " libdbd-sqlite-perl" + PERL_DBM_TEST = "1" + ... + 2) build core-image-sato and boot the target + + 3) run "sqlite-perl-test.pl" on target. This script includes five + operations create/insert/update/delete/select to do with a table. + + More information can be found in the recipe's git log. + +Dependencies +------------ + +This layer depends on: + + URI: git://git.openembedded.org/openembedded-core + branch: krogoth + revision: HEAD + prio: default + +Adding the meta-perl layer to your build +--------------------------------------- + +In order to use this layer, you need to make the build system aware of +it. + +Assuming the meta-perl layer exists at the top-level of your +yocto build tree, you can add it to the build system by adding the +location of the meta-perl layer to bblayers.conf, along with any +other layers needed. e.g.: + + BBLAYERS ?= " \ + /path/to/oe-core/meta \ + /path/to/layer/meta-perl \ + +Maintenance +----------- + +Send patches / pull requests to openembedded-devel@lists.openembedded.org with +'[meta-perl][krogoth]' in the subject. + +When sending single patches, please using something like: +'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-perl][krogoth][PATCH' + +krogoth Branch Maintainer: +Armin Kuster <akuster808@gmail.com> + +License +------- + +All metadata is MIT licensed unless otherwise stated. Source code included +in tree for individual recipes is under the LICENSE stated in each recipe +(.bb file) unless otherwise stated. + diff --git a/import-layers/meta-openembedded/meta-perl/conf/layer.conf b/import-layers/meta-openembedded/meta-perl/conf/layer.conf new file mode 100644 index 0000000000..0485ac8df1 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/conf/layer.conf @@ -0,0 +1,16 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "perl-layer" +BBFILE_PATTERN_perl-layer := "^${LAYERDIR}/" +BBFILE_PRIORITY_perl-layer = "6" + +# This should only be incremented on significant changes that will +# cause compatibility issues with other layers +LAYERVERSION_perl-layer = "1" + +LAYERDEPENDS_perl-layer = "core" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch b/import-layers/meta-openembedded/meta-perl/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch new file mode 100644 index 0000000000..5e4281d4e3 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-extended/mime-construct/files/fix-mime-construct-help-return-value.patch @@ -0,0 +1,39 @@ +From 2b9ed06850410d70371b31de5f131e484ba1c851 Mon Sep 17 00:00:00 2001 +From: Lu Chong <Chong.Lu@windriver.com> +Date: Thu, 17 Oct 2013 16:06:04 +0800 +Subject: [PATCH] fix mime-construct --help return value + +Upstream-Status: Pending + +Signed-off-by: Lu Chong <Chong.Lu@windriver.com> + +--- + mime-construct | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/mime-construct b/mime-construct +index cad7d0e..707ed19 100755 +--- a/mime-construct ++++ b/mime-construct +@@ -39,7 +39,7 @@ usage: $Me switch... + + Global settings: + --debug turn debugging on +- --help show this and then die ++ --help show this + --output don\'t mail, output to stdout (loses bcc info) + --subpart generate subpart rather than whole message (turns + on --output, changes other semantics a bit) +@@ -150,7 +150,8 @@ sub xwarn { + + sub usage { + xwarn @_ if @_; +- die $Usage; ++ print $Usage; ++ exit 0; + } + + sub init { +-- +1.7.9.5 + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb b/import-layers/meta-openembedded/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb new file mode 100644 index 0000000000..501f3bf140 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb @@ -0,0 +1,28 @@ +SUMMARY = "Construct and optionally mail MIME messages" +DESCRIPTION = "Constructs and (by default) mails MIME messages. \ + It is entirely driven from the command line, it is \ + designed to be used by other programs, or people who act \ + like programs." +HOMEPAGE = "http://search.cpan.org/~rosch/mime-construct/mime-construct" +SECTION = "mail" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=5e2e5da619ac8ef8c84767ccc4656e96" + +SRC_URI = "${CPAN_MIRROR}/authors/id/R/RO/ROSCH/mime-construct-${PV}.tar.gz \ + file://fix-mime-construct-help-return-value.patch \ +" + +SRC_URI[md5sum] = "73834ea780fbea81b89dbd9b2fb54f58" +SRC_URI[sha256sum] = "4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a4a9303" + +inherit cpan + +RDEPENDS_${PN} = "libmime-types-perl libproc-waitstat-perl msmtp \ + perl-module-filehandle perl-module-mime-base64 perl-module-mime-quotedprint perl-module-posix \ +" + +do_install_append() { + #change the interpreter in file + sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl -w|${bindir}/env perl|g" \ + ${D}/${bindir}/mime-construct +} diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/adduser/adduser_3.114.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/adduser/adduser_3.114.bb new file mode 100644 index 0000000000..fb4c0c4557 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/adduser/adduser_3.114.bb @@ -0,0 +1,55 @@ +SUMMARY = "a utility to add users/groups to the system" +DESCRIPTION = "adduser, addgroup - add a user or group to the system" +HOMEPAGE = "http://alioth.debian.org/projects/adduser/" +SECTION = "base/utils" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=caed49ab166f22ef31bf1127f558d0ef" + +SRC_URI = "http://ftp.de.debian.org/debian/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \ + file://adduser-add-M-option-for-useradd-when-no-create-home.patch \ +" + +SRC_URI[md5sum] = "3a079dd4e41d5a1fbaccaab03aacd881" +SRC_URI[sha256sum] = "693b45bb0d27938fff2ecee5442ea2ac1b8804472ff0bb8faffd39616e58211f" + +inherit cpan-base update-alternatives + +S = "${WORKDIR}/${BPN}-3.113+nmu4" + +do_install() { + install -d ${D}${sbindir} + install -m 0755 ${S}/adduser ${D}${sbindir} + install -m 0755 ${S}/deluser ${D}${sbindir} + + install -d ${D}${libdir}/perl/${PERLVERSION}/Debian + install -m 0644 ${S}/AdduserCommon.pm ${D}${libdir}/perl/${PERLVERSION}/Debian + sed -i -e "s/VERSION/${PV}/" ${D}${sbindir}/* + + install -d ${D}/${sysconfdir} + install -m 0644 ${S}/*.conf ${D}/${sysconfdir} + + install -d ${D}${mandir}/man5 + install -m 0644 ${S}/doc/*.conf.5 ${D}${mandir}/man5 + install -d ${D}${mandir}/man8 + install -m 0644 ${S}/doc/*.8 ${D}${mandir}/man8 + install -d ${D}${docdir}/${BPN} + cp -rf ${S}/examples ${D}${docdir}/${BPN} +} + +RDEPENDS_${PN} += "\ + shadow \ + perl-module-getopt-long \ + perl-module-overloading \ + perl-module-file-find \ + perl-module-file-temp \ +" + +ALTERNATIVE_${PN} = "adduser deluser addgroup delgroup" +ALTERNATIVE_PRIORITY = "60" +ALTERNATIVE_LINK_NAME[adduser] = "${sbindir}/adduser" +ALTERNATIVE_LINK_NAME[deluser] = "${sbindir}/deluser" +ALTERNATIVE_LINK_NAME[addgroup] = "${sbindir}/addgroup" +ALTERNATIVE_LINK_NAME[delgroup] = "${sbindir}/delgroup" +ALTERNATIVE_TARGET[addgroup] = "${sbindir}/adduser.${BPN}" +ALTERNATIVE_TARGET[delgroup] = "${sbindir}/deluser.${BPN}" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/adduser/files/adduser-add-M-option-for-useradd-when-no-create-home.patch b/import-layers/meta-openembedded/meta-perl/recipes-perl/adduser/files/adduser-add-M-option-for-useradd-when-no-create-home.patch new file mode 100644 index 0000000000..4b0a03f02a --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/adduser/files/adduser-add-M-option-for-useradd-when-no-create-home.patch @@ -0,0 +1,57 @@ +From 809f00a6ef0224b41b2e1207194c8da3cd3e3c7e Mon Sep 17 00:00:00 2001 +From: Jackie Huang <jackie.huang@windriver.com> +Date: Thu, 18 Dec 2014 17:23:37 +0800 +Subject: [PATCH] adduser: add -M option for useradd when --no-create-home is specified + +The useradd (from package passwd) in debian based system sets -M (--no-create-home) by default, +but the one we are using (from package shadow) sets -m (--create-home) by default, so we +need to explicitly add -M option for useradd call when --no-create-home is specified for adduser. + +Upstream-Status: Pending + +Signed-off-by: Jackie Huang <jackie.huang@windriver.com> +--- + adduser | 20 ++++++++++++++++---- + 1 files changed, 16 insertions(+), 4 deletions(-) + +diff --git a/adduser b/adduser +index c3bd8b0..9a07f9f 100755 +--- a/adduser ++++ b/adduser +@@ -434,8 +434,14 @@ if ($action eq "addsysuser") { + $shell = $special_shell || '/bin/false'; + $undouser = $new_name; + my $useradd = &which('useradd'); +- &systemcall($useradd, '-d', $home_dir, '-g', $ingroup_name, '-s', +- $shell, '-u', $new_uid, $new_name); ++ if ($no_create_home) { ++ &systemcall($useradd, '-d', $home_dir, '-g', $ingroup_name, '-s', ++ $shell, '-u', $new_uid, '-M', $new_name); ++ } ++ else { ++ &systemcall($useradd, '-d', $home_dir, '-g', $ingroup_name, '-s', ++ $shell, '-u', $new_uid, $new_name); ++ } + if(!$disabled_login) { + my $usermod = &which('usermod'); + &systemcall($usermod, '-p', '*', $new_name); +@@ -524,8 +530,14 @@ if ($action eq "adduser") { + $shell = $special_shell || $config{"dshell"}; + $undouser = $new_name; + my $useradd = &which('useradd'); +- &systemcall($useradd, '-d', $home_dir, '-g', $ingroup_name, '-s', +- $shell, '-u', $new_uid, $new_name); ++ if ($no_create_home) { ++ &systemcall($useradd, '-d', $home_dir, '-g', $ingroup_name, '-s', ++ $shell, '-u', $new_uid, '-M', $new_name); ++ } ++ else { ++ &systemcall($useradd, '-d', $home_dir, '-g', $ingroup_name, '-s', ++ $shell, '-u', $new_uid, $new_name); ++ } + &invalidate_nscd(); + + create_homedir (1); # copy skeleton data +-- +1.7.1 + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb new file mode 100644 index 0000000000..4155fade97 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libalgorithm/libalgorithm-diff-perl_1.15.bb @@ -0,0 +1,23 @@ +SUMMARY = "Algorithm::Diff - Compute 'intelligent' differences between two \ +files/lists" +DESCRIPTION = "This is a module for computing the difference between two files, \ +two strings, or any other two lists of things. It uses an intelligent \ +algorithm similar to (or identical to) the one used by the Unix `diff' \ +program. It is guaranteed to find the *smallest possible* set of \ +differences. \ +" +SECTION = "libs" +HOMEPAGE = "http://search.cpan.org/~nedkonz/Algorithm-Diff/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +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" +SRC_URI[md5sum] = "457cd497a0411a88b47d3741eb176071" +SRC_URI[sha256sum] = "aa848b75ad3ecc32d31e8651909551e851cceef74a32822c7a3cb35c259f5190" + +S = "${WORKDIR}/Algorithm-Diff-${PV}" + +inherit cpan + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libauthen/files/run-ptest b/import-layers/meta-openembedded/meta-perl/recipes-perl/libauthen/files/run-ptest new file mode 100644 index 0000000000..c9f9ca94d0 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libauthen/files/run-ptest @@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb new file mode 100644 index 0000000000..e658a5ff11 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb @@ -0,0 +1,28 @@ +SUMMARY = "SASL Authentication framework for Perl" +DESCRIPTION = "SASL is a generic mechanism for authentication used by several network \ +protocols. Authen::SASL provides an implementation framework that all \ +protocols should be able to share." +HOMEPAGE = "http://search.cpan.org/dist/Authen-SASL/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPL-1.0+" +LIC_FILES_CHKSUM = "file://lib/Authen/SASL/Perl.pm;beginline=1;endline=3;md5=17123315bbcda19f484c07227594a609" + +DEPENDS = "perl" +RDEPENDS_${PN} = "libdigest-hmac-perl" + +SRC_URI = "http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "7c03a689d4c689e5a9e2f18a1c586b2f" +SRC_URI[sha256sum] = "6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09" + +S = "${WORKDIR}/Authen-SASL-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.36.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.36.bb new file mode 100644 index 0000000000..e77dd77087 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.36.bb @@ -0,0 +1,37 @@ +SUMMARY = "Capture::Tiny - Capture STDOUT and STDERR from Perl, XS or external programs." +DESCRIPTION = "Capture::Tiny provies a simple, portable way to capture \ +almost anything sent to STDOUT or STDERR, regardless of whether it comes \ +from Perl, from XS code or from an external program. Optionally, output can \ +be teed so that it is captured while being passed through to the original \ +filehandles. Yes, it even works on Windows (usually). Stop guessing which of \ +a dozen capturing modules to use in any particular situation and just use \ +this one." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~dagolden/Capture-Tiny/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f" + +SRCNAME = "Capture-Tiny" +SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/DAGOLDEN/${SRCNAME}-${PV}.tar.gz" +SRC_URI[md5sum] = "db6444111c30ac01a76a4c118241c7b6" +SRC_URI[sha256sum] = "ab8742e53ad204a421bc82d5813f3c4c85c76581ea10d910d0aefc161f8cb03d" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-scalar-util \ + perl-module-io-file \ + perl-module-extutils-makemaker \ + perl-module-file-spec \ + perl-module-exporter \ + perl-module-carp \ + perl-module-test-more \ + perl-module-file-temp \ + perl-module-lib \ + perl-module-overloading \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libclass/libclass-method-modifiers-perl_2.12.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libclass/libclass-method-modifiers-perl_2.12.bb new file mode 100644 index 0000000000..3979b31421 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libclass/libclass-method-modifiers-perl_2.12.bb @@ -0,0 +1,28 @@ +SUMMARY = "Class::Method::Modifiers - provides Moose-like method modifiers" +DESCRIPTION = "Method modifiers are a convenient feature from the CLOS \ +(Common Lisp Object System) world." + +SECTION = "libs" + +HOMEPAGE = "https://github.com/moose/Class-Method-Modifiers/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=16fd0ec7b73c0e158426f753943f1058" + +SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Class-Method-Modifiers-${PV}.tar.gz" +SRC_URI[md5sum] = "f55400c7a8134acf3657f8af89bdd7af" +SRC_URI[sha256sum] = "e44c1073020bf55b8c97975ed77235fd7e2a6a56f29b5c702301721184e27ac8" + +S = "${WORKDIR}/Class-Method-Modifiers-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-b \ + perl-module-base \ + perl-module-carp \ + perl-module-exporter \ + perl-module-strict \ + perl-module-warnings \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb new file mode 100644 index 0000000000..8456e313df --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb @@ -0,0 +1,15 @@ +SUMMARY = "Crypt Openssl Random cpan module" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" + +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] = "5d71337503e0356ce1ce1481504e5885" +SRC_URI[sha256sum] = "bb8c81c6a39b9b13a22d818ee9a746242f136f0fadceb6b9776ae615e7524c7a" + +S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}" + +DEPENDS += " openssl \ +" +inherit cpan diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb new file mode 100644 index 0000000000..f0c610f3ae --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.28.bb @@ -0,0 +1,24 @@ +SUMMARY = "Crypt Openssl RSA cpan module" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" + +SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz " + +SRC_URI[md5sum] = "86217a5036fc63779c30420b5fd84129" +SRC_URI[sha256sum] = "5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be" + +DEPENDS += "openssl" + +RDEPENDS_${PN}="libcrypt-openssl-random-perl" + +EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" + +S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}" + +inherit cpan + +do_compile() { + export OTHERLDFLAGS='-Wl,-rpath' + cpan_do_compile +} diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libcurses/libcurses-perl_1.34.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libcurses/libcurses-perl_1.34.bb new file mode 100644 index 0000000000..e7e9d9128c --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libcurses/libcurses-perl_1.34.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "lib-curses provides an interface between Perl programs and \ +the curses library." + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" + +LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=0b37356c5e9e28080a3422d82af8af09" + +DEPENDS += "perl ncurses " + +SRC_URI = "http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-${PV}.tar.gz" + +SRC_URI[md5sum] = "874c2103cc53552a0faa371c4d9119f6" +SRC_URI[sha256sum] = "808e44d5946be265af5ff0b90f3d0802108e7d1b39b0fe68a4a446fe284d322b" + +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/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl/sqlite-perl-test.pl b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl/sqlite-perl-test.pl new file mode 100755 index 0000000000..40f5916f58 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl/sqlite-perl-test.pl @@ -0,0 +1,69 @@ +#! /usr/bin/env perl +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation. +# +# Copyright (C) 2013 Wind River Systems, Inc. +# +# - It tests DBI and DBD::SQLite could work correctly which means one could +# manipulate sqlite database in perl +# - The test includes create/insert/update/delete/select, the five important +# things one can do with a table +use DBI; + +sub execute_sql { + my $dbh = $_[0]; + my $sql = $_[1]; + my $sth = $dbh->prepare($sql) + or die "Couldn't prepare statement: " . $dbh->errstr; + $sth->execute(); + print "$sql\n"; + return $sth; +} + +sub select_all { + my $dbh = $_[0]; + my $table = $_[1]; + my $sth = &execute_sql($dbh, "Select * from $table"); + + print "-----------------------------------\n"; + while (@data = $sth->fetchrow_array()) { + my $name = $data[0]; + my $id = $data[1]; + print "$name: $id\n"; + } + print "\n"; + + $sth->finish; + return $sth; +} + +# A private, temporary in-memory database is created for the connection. +# This in-memory database will vanish when the database connection is +# closed. It is handy for your library tests. +my $dbfile = ":memory:"; +my $dbh = DBI->connect("DBI:SQLite:dbname=$dbfile","","") + or die "Couldn't connect to database: " . DBI->errstr; +print "Connect to SQLite's in-memory database\n"; + +&execute_sql($dbh, "Create table tbl1(name varchar(10), id smallint)"); +&execute_sql($dbh, "Insert into tbl1 values('yocto',10)"); +&execute_sql($dbh, "Insert into tbl1 values('windriver', 20)"); +&select_all($dbh, "tbl1"); + +&execute_sql($dbh, "Update tbl1 set name = 'oe-core' where id = 10"); +&execute_sql($dbh, "Delete from tbl1 where id = 20"); +&select_all($dbh, "tbl1"); + +$dbh->disconnect; +print "Test Success\n" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.50.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.50.bb new file mode 100644 index 0000000000..68bfd66fb7 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.50.bb @@ -0,0 +1,39 @@ +SUMMARY = "A Perl DBI driver for SQLite" +DESCRIPTION = "DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire \ +thing in the distribution. So in order to get a fast transaction capable \ +RDBMS working for your perl project you simply have to install this \ +module, and nothing else. \ +" +HOMEPAGE = "http://search.cpan.org/~ishigaki/DBD-SQLite/" + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" +DEPENDS += "libdbi-perl-native" +RDEPENDS_${PN} += "libdbi-perl \ + sqlite3 \ + perl-module-constant \ + perl-module-locale \ + perl-module-tie-hash \ +" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \ + file://sqlite-perl-test.pl \ +" + +SRC_URI[md5sum] = "d56eebfb5f2a14be9413b025e7dca9fe" +SRC_URI[sha256sum] = "3ac513ab73944fd7d4b672e1fe885dc522b6369d38f46a68e67e0045bf159ce1" + +S = "${WORKDIR}/DBD-SQLite-${PV}" + +inherit cpan + +BBCLASSEXTEND = "native" + +do_install_append() { + if [ ${PERL_DBM_TEST} = "1" ]; then + install -m 755 -D ${WORKDIR}/sqlite-perl-test.pl ${D}/${bindir}/sqlite-perl-test.pl + fi +} + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbi-perl_1.634.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbi-perl_1.634.bb new file mode 100644 index 0000000000..0238781cbc --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdb/libdbi-perl_1.634.bb @@ -0,0 +1,26 @@ +SUMMARY = "The Perl Database Interface" +DESCRIPTION = "DBI is a database access Application Programming Interface \ +(API) for the Perl Language. The DBI API Specification defines a set \ +of functions, variables and conventions that provide a consistent \ +database interface independent of the actual database being used. \ +" +HOMEPAGE = "http://search.cpan.org/dist/DBI/" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" +RDEPENDS_${PN} = " perl-module-carp \ + perl-module-exporter \ + perl-module-exporter-heavy \ + perl-module-dynaloader \ +" + +LIC_FILES_CHKSUM = "file://DBI.pm;beginline=8147;endline=8151;md5=d4e73f2616b2b41334cf2f7d25d827a2" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz" +SRC_URI[md5sum] = "4ad15a9c2cc9b68e3fe1f5cadf9cdb30" +SRC_URI[sha256sum] = "250712f385864818abfba409420d16d9ee61f1cc73ac85159d054a5ee86d1450" + +S = "${WORKDIR}/DBI-${PV}" + +inherit cpan + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.13.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.13.bb new file mode 100644 index 0000000000..1a593cfdb4 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdevel/libdevel-globaldestruction-perl_0.13.bb @@ -0,0 +1,23 @@ +SUMMARY = "Function returning \"${^GLOBAL_PHASE} eq \'DESTRUCT\'\"" +DESCRIPTION = "Perl's global destruction is a little trick to deal with \ +WRT finalizers because it's not ordered and objects can sometimes disappear." + +SECTION = "libs" + +HOMEPAGE = "https://metacpan.org/pod/Devel-GlobalDestruction/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +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" +SRC_URI[md5sum] = "e7be00040827e204b2b6cba2f3166074" +SRC_URI[sha256sum] = "b29824dc0d322e56da325f05185367eb443694716010b36693dd52ffbe8ec462" + +S = "${WORKDIR}/Devel-GlobalDestruction-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " libsub-exporter-progressive-perl \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/files/run-ptest b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/files/run-ptest new file mode 100644 index 0000000000..c9f9ca94d0 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/files/run-ptest @@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb new file mode 100644 index 0000000000..8f1c98c67a --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb @@ -0,0 +1,25 @@ +SUMMARY = "Keyed-Hashing for Message Authentication" +DESCRIPTION = "Keyed-Hashing for Message Authentication" +HOMEPAGE = "http://search.cpan.org/~gaas/Digest-HMAC-1.03/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=13;endline=17;md5=da980cdc026faa065e5d5004115334e6" + +RDEPENDS_${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "e6a5d6f552da16eacb5157ea4369ff9d" +SRC_URI[sha256sum] = "3bc72c6d3ff144d73aefb90e9a78d33612d58cf1cd1631ecfb8985ba96da4a59" + +S = "${WORKDIR}/Digest-HMAC-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file mode 100644 index 0000000000..0371ea68cd --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb @@ -0,0 +1,25 @@ +SUMMARY = "Perl interface to the SHA-1 algorithm " +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+" +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 \ + file://run-ptest \ + " +SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35" +SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" + +S = "${WORKDIR}/Digest-SHA1-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND="native" + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb new file mode 100644 index 0000000000..748f746a04 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libencode/libencode-locale-perl_1.05.bb @@ -0,0 +1,21 @@ +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/import-layers/meta-openembedded/meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb new file mode 100644 index 0000000000..ee8c67d686 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libencode/libencode-perl_2.83.bb @@ -0,0 +1,54 @@ +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;md5=fdbebc82e925d8acbce42cfad131c4d1" + +SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/DANKOGAI/Encode-${PV}.tar.gz" +SRC_URI[md5sum] = "0d3f59e8ea704497647eded665919053" +SRC_URI[sha256sum] = "5d3a90e30aabe78dfcf5e816ffb1da1e33475892dbd0075320315cdce5682988" + +S = "${WORKDIR}/Encode-${PV}" + +inherit cpan + +RDEPENDS_${PN} += " perl-module-bytes \ + perl-module-constant \ + 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 \ + " + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb new file mode 100644 index 0000000000..e93d388e9c --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb @@ -0,0 +1,24 @@ +SUMMARY = "ExtUtils::Config - A wrapper for perl's configuration" +DESCRIPTION = "ExtUtils::Config is an abstraction around the %Config hash." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Config/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1932ab4d8b84c25fd7967aa18088e57e" + +SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Config-${PV}.tar.gz" +SRC_URI[md5sum] = "565a7b09c7cac5907a25bbe2c959a717" +SRC_URI[sha256sum] = "ae5104f634650dce8a79b7ed13fb59d67a39c213a6776cfdaa3ee749e62f1a8c" + +S = "${WORKDIR}/ExtUtils-Config-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-extutils-makemaker \ + perl-module-data-dumper \ + perl-module-test-more \ + perl-module-file-temp \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.09.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.09.bb new file mode 100644 index 0000000000..d13cb03ee9 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-cppguess-perl_0.09.bb @@ -0,0 +1,37 @@ +SUMMARY = "ExtUtils::CppGuess - guess C++ compiler and flags" +DESCRIPTION = "ExtUtils::CppGuess attempts to guess the system's C++ \ +compiler that is compatible with the C compiler that your perl was built \ +with. \ +It can generate the necessary options to the Module::Build constructor or \ +to ExtUtils::MakeMaker's WriteMakefile function." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~smueller/ExtUtils-CppGuess/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +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[md5sum] = "f8ada38ee4ad86a4f1e20d8525ce0c99" +SRC_URI[sha256sum] = "48625195a88c0f2ddc37bbd7a06346aa68ffb6948ba78da3aea47c0db2540f65" + +S = "${WORKDIR}/ExtUtils-CppGuess-${PV}" + +inherit cpan + +do_install () { + cpan_do_install +} + +RDEPENDS_${PN} = " libcapture-tiny-perl \ + perl-module-scalar-util \ + perl-module-io-file \ + perl-module-extutils-makemaker \ + perl-module-file-spec \ + perl-module-exporter \ + perl-module-carp \ + perl-module-file-temp \ + perl-module-lib \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.022.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.022.bb new file mode 100644 index 0000000000..9a0234e597 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-helpers-perl_0.022.bb @@ -0,0 +1,29 @@ +SUMMARY = "ExtUtils::Helpers - Various portability utilities for module builders" +DESCRIPTION = "This module provides various portable helper function for module building modules." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Helpers/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=307057ce232899f5caa8858560c7274b" + +SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-Helpers-${PV}.tar.gz" +SRC_URI[md5sum] = "cf4fd6f8caa6daac33b1111c9e93162b" +SRC_URI[sha256sum] = "d3f8cf700fb3414ca1260089755cbf64041455e4b744110677b1ba5bb9a3aa95" + +S = "${WORKDIR}/ExtUtils-Helpers-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-file-copy \ + 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-file-spec-functions \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb new file mode 100644 index 0000000000..6eb434a95e --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb @@ -0,0 +1,25 @@ +SUMMARY = "ExtUtils::InstallPaths - Build.PL install path logic made easy" +DESCRIPTION = "This module tries to make install path resolution as easy \ +as possible." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-InstallPaths/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b6fa54d873ce6bcf4809ea88bdf97769" + +SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz" +SRC_URI[md5sum] = "9c75894c3c8c899ab6bfafc5eaa97999" +SRC_URI[sha256sum] = "7609fa048cdcf1451cad5b1d7d494f30e3d5bad0672d15404f1ea60e1df0067c" + +S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-extutils-makemaker \ + perl-module-data-dumper \ + perl-module-test-more \ + perl-module-file-temp \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.24.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.24.bb new file mode 100644 index 0000000000..1566f75be5 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libextutils/libextutils-parsexs-perl_3.24.bb @@ -0,0 +1,47 @@ +SUMMARY = "ExtUtils::ParseXS - converts Perl XS code into C code" +DESCRIPTION = "\"ExtUtils::ParseXS\" will compile XS code into C code by \ +embedding the constructs necessary to let C functions manipulate Perl \ +values and creates the glue necessary to let Perl access those functions. \ +The compiler uses typesmapes to determine how to map C function parameters \ +and variables to Perl values." + +SECTION = "libs" + +HOMEPAGE = "http://metapan.org/release/ExtUtils-ParseXS/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://README;beginline=121;endline=130;md5=10ddb3a673b4c732022ac899968ea9cc" + +SRCNAME = "ExtUtils-ParseXS" +SRC_URI = "${CPAN_MIRROR}/authors/id/S/SM/SMUELLER/${SRCNAME}-${PV}.tar.gz" +SRC_URI[md5sum] = "e6be3f1d493e04ed805576104cf4328b" +SRC_URI[sha256sum] = "30b60b8208fc9b7746ed934b678bb9618a8f28994dae8774548353a7b550371e" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-carp \ + perl-module-cwd \ + perl-module-dynaloader \ + perl-module-extutils-cbuilder \ + perl-module-extutils-makemaker \ + perl-module-file-basename \ + perl-module-file-spec \ + perl-module-lib \ + perl-module-symbol \ + perl-module-test-more \ +" + +RPROVIDES_${PN} += " libextutils-parsexs-constants-perl \ + libextutils-parsexs-countlines-perl \ + libextutils-parsexs-eval-perl \ + libextutils-parsexs-utilities-perl \ + libextutils-typemaps-perl \ + libextutils-typemaps-cmd-perl \ + libextutils-typemaps-inputmap-perl \ + libextutils-typemaps-outputmap-perl \ + libextutils-typemaps-type-perl \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch b/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch new file mode 100644 index 0000000000..4266f059d7 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch @@ -0,0 +1,25 @@ +From 28ee994780459c3552d3cbbd6b011d054a41c439 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Sun, 8 Nov 2015 23:33:31 -0500 +Subject: [PATCH] bin/htmltree: fix shebang + +Upstream-Status: Pending + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + bin/htmltree | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/htmltree b/bin/htmltree +index 8bf3db2..f9927e5 100755 +--- a/bin/htmltree ++++ b/bin/htmltree +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!/usr/bin/env perl + # Time-stamp: "2000-10-02 14:48:15 MDT" + # + # Parse the given HTML file(s) and dump the parse tree +-- +1.9.1 + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb new file mode 100644 index 0000000000..9047d9f4bf --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "This package contains the Parser.pm module with friends." + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" + +LIC_FILES_CHKSUM = "file://README;md5=b0459e4426b94753b9a9b8a15f1223b8" + +DEPENDS += "perl" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-${PV}.tar.gz" + +SRC_URI[md5sum] = "eb7505e5f626913350df9dd4a03d54a8" +SRC_URI[sha256sum] = "ec28c7e1d9e67c45eca197077f7cdc41ead1bb4c538c7f02a3296a4bb92f608b" + +S = "${WORKDIR}/HTML-Parser-${PV}" + +EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" + +inherit cpan + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb new file mode 100644 index 0000000000..8eb0e06a04 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb @@ -0,0 +1,42 @@ +SUMMARY = "HTML::TreeBuilder - Parser that builds a HTML syntax tree" +DESCRIPTION = "This distribution contains a suite of modules for representing, \ +creating, and extracting information from HTML syntax trees; there is \ +also relevent documentation. These modules used to be part of the \ +libwww-perl distribution, but are now unbundled in order to facilitate \ +a separate development track." +SECTION = "libs" + +HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242" + +SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \ + file://bin-htmltree-fix-shebang.patch \ +" +SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e" +SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f" + +S = "${WORKDIR}/HTML-Tree-${PV}" + +inherit cpan_build + +DEPENDS += "libmodule-build-perl-native \ +" + +RPROVIDES_${PN} = " libhtml-element-perl \ + libhtml-tree-assubs-perl \ + libhtml-tree-perl \ + libhtml-treebuilder-perl \ +" + +RDEPENDS_${PN} = " perl-module-b \ + perl-module-base \ + perl-module-strict \ + perl-module-warnings \ + perl-module-exporter \ + perl-module-carp \ +" + +BBCLASSEXTEND = "native" + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb new file mode 100644 index 0000000000..af08d630ac --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libimport/libimport-into-perl_1.002004.bb @@ -0,0 +1,32 @@ +SUMMARY = "Import::Into - import packages into other packages" +DESCRIPTION = "Writing exporters is a pain. Some use \"Exporter\", some use \ +\"Sub::Exporter\", some use \"Moose::Exporter\", some use \ +\"Exporter::Declare\"... and some things are pragmas.\ +\ +Exporting on someone else's behalf is harder. The exporters don't provide a \ +consistent API for this, and pragmas need to have their import method called \ +directly, since they effect the current unit of compilation. \ +\ +\"Import::Into\" provides global methods to make this painless." + +SECTION = "libs" + +HOMEPAGE = "https://metacpan.org/pod/Import-Into/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +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" +SRC_URI[md5sum] = "70f2f3b08a5b706ee382a8448c346cb1" +SRC_URI[sha256sum] = "decb259bc2ff015fe3dac85e4a287d4128e9b0506a0b2c5fa7244836a68b1084" + +S = "${WORKDIR}/Import-Into-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " libmodule-runtime-perl \ + perl-module-strict \ + perl-module-warnings \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/files/run-ptest b/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/files/run-ptest new file mode 100644 index 0000000000..c9f9ca94d0 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/files/run-ptest @@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb new file mode 100644 index 0000000000..ba5788a016 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb @@ -0,0 +1,43 @@ +SUMMARY = "Perl library for transparent SSL" +DESCRIPTION = "This module is a true drop-in replacement for IO::Socket::INET that \ +uses SSL to encrypt data before it is transferred to a remote server \ +or client. IO::Socket::SSL supports all the extra features that one \ +needs to write a full-featured SSL client or server application: \ +multiple SSL contexts, cipher selection, certificate verification, and \ +SSL version selection. As an extra bonus, it works perfectly with \ +mod_perl." +HOMEPAGE = "http://search.cpan.org/dist/IO-Socket-SSL/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" + +RDEPENDS_${PN} += "perl-module-scalar-util libnet-ssleay-perl" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "2a6268bb42da81e69d1c1feb2fcb0eea" +SRC_URI[sha256sum] = "acdb67b5b63aea5b7e70c3e4c70a16128810329592b63753a38c794aff76a1dd" + +S = "${WORKDIR}/IO-Socket-SSL-${PV}" + +inherit cpan ptest + +do_install_append () { + mkdir -p ${D}${docdir}/${PN}/ + cp ${S}/BUGS ${D}${docdir}/${PN}/ + cp ${S}/Changes ${D}${docdir}/${PN}/ + cp ${S}/README ${D}${docdir}/${PN}/ + cp -pRP ${S}/docs ${D}${docdir}/${PN}/ + cp -pRP ${S}/certs ${D}${docdir}/${PN}/ + cp -pRP ${S}/example ${D}${docdir}/${PN}/ + cp -pRP ${S}/util ${D}${docdir}/${PN}/ +} + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} + cp -r ${B}/certs ${D}${PTEST_PATH} +} + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb new file mode 100644 index 0000000000..b890a3edfd --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb @@ -0,0 +1,31 @@ +SUMMARY = "IO-stringy - I/O on in-core objects like strings and arrays" +DESCRIPTION = "This toolkit primarily provides modules for performing both \ +traditional and object-oriented i/o on things *other* than normal \ +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+" +LIC_FILES_CHKSUM = "file://COPYING;md5=01406e4ff2e60d88d42ef1caebdd0011" + + +SRC_URI = "${CPAN_MIRROR}/authors/id/D/DS/DSKOLL/IO-stringy-${PV}.tar.gz" +SRC_URI[md5sum] = "e91acf0a800b190d13585a47de775bdd" +SRC_URI[sha256sum] = "8c67fd6608c3c4e74f7324f1404a856c331dbf48d9deda6aaa8296ea41bf199d" + +S = "${WORKDIR}/IO-stringy-${PV}" + +inherit cpan + +RPROVIDES_${PN} += " libio-atomicfile-perl \ + libio-innerfile-perl \ + libio-lines-perl \ + libio-scalar-perl \ + libio-scalararray-perl \ + libio-wrap-perl \ + libio-wraptie-perl \ + libio-wraptie-master-perl \ + libio-wraptie-slave-perl \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb new file mode 100644 index 0000000000..b518164df9 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libipc/libipc-signal-perl_1.00.bb @@ -0,0 +1,18 @@ +SUMMARY = "IPC::Signal - Utility functions dealing with signals" +DESCRIPTION = "IPC::Signal - This module contains utility functions for \ +dealing with signals." + +HOMEPAGE = "http://search.cpan.org/~rosch/IPC-Signal-1.00/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=16;endline=18;md5=f36550f59a0ae5e6e3b0be6a4da60d26" + +S = "${WORKDIR}/IPC-Signal-${PV}" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/IPC-Signal-${PV}.tar.gz" + +SRC_URI[md5sum] = "4cebf17fdf1785eaf8c151bf2e8c360a" +SRC_URI[sha256sum] = "7c21f9c8c2d0c0f0f0f46e77de7c3d879dd562668ddf0525875c38cef2076fd0" + +inherit cpan diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest new file mode 100644 index 0000000000..c9f9ca94d0 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmime/files/run-ptest @@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb new file mode 100644 index 0000000000..ef53029228 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb @@ -0,0 +1,26 @@ +SUMMARY = "MIME::Types - Definition of MIME types" +DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \ +as part of e-mail and HTTP traffic, to indicate the type of content which \ +is transmitted. Sometimes real knowledge about a mime-type is need.\ +\n\ +This module maintains a set of MIME::Type objects, which each describe \ +one known mime type." +HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" +SECTION = "libraries" + +LICENSE = "Artistic-1.0|GPLv1+" +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] = "e292bbf7756bb4999407f3f660697168" +SRC_URI[sha256sum] = "22b6069d372d587b1f2ecc6d0aaf50fb5c64920caed8c214b9884e64538acc8f" + +S = "${WORKDIR}/MIME-Types-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb new file mode 100644 index 0000000000..c0fa06d08e --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb @@ -0,0 +1,27 @@ +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/~kwilliams/Module-Build-0.31/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=43339d8f9d3a956ee9eceb07717ee95e" + +SRC_URI = "${CPAN_MIRROR}/authors/id/K/KW/KWILLIAMS/Module-Build-${PV}.tar.gz" +SRC_URI[md5sum] = "3d4fdffe58f6236253767e5a71edf29b" +SRC_URI[sha256sum] = "e2f723be8d6c70b4ddbca3b5e32e52e6e98eae8f43e34d7ede87efcb1796bbb5" + +S = "${WORKDIR}/Module-Build-${PV}" + +inherit cpan_build + +do_install () { + cpan_build_do_install +} + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.036.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.036.bb new file mode 100644 index 0000000000..761f17cc34 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.036.bb @@ -0,0 +1,54 @@ +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=aaca61412962cf972aec0cdad99d0a84" + +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] = "bfc92c655158ce623f0ced94f4ef02e5" +SRC_URI[sha256sum] = "d6706bf35e080e5af20cccf4fd565cc8af9c2a1e2e2075cee0a7de42cf0d6df9" + +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/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb new file mode 100644 index 0000000000..76cac5089a --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-pluggable-perl_5.2.bb @@ -0,0 +1,39 @@ +SUMMARY = "Automatically give your module the ability to have plugins" +DESCRIPTION = "Provides a simple but, hopefully, extensible way of \ +having 'plugins' for your module. Obviously this isn't going to be the \ +be all and end all of solutions but it works for me.\ +\ +Essentially all it does is export a method into your namespace that \ +looks through a search path for .pm files and turn those into class \ +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+" +LIC_FILES_CHKSUM = "file://README;beginline=322;endline=325;md5=086450ce010f6fda25db0b38fcc41086" + +SRCNAME = "Module-Pluggable" +SRC_URI = "https://github.com/moto-timo/${SRCNAME}/archive/${PV}.tar.gz" +SRC_URI[md5sum] = "e32475d6ff5843f738cedacd3b7a2cdb" +SRC_URI[sha256sum] = "58c62292eea6d06959eba1b97598650813211265403242d57efb2f605c96059f" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-base \ + perl-module-deprecate \ + perl-module-file-basename \ + perl-module-file-find \ + perl-module-file-spec \ + perl-module-file-spec-functions \ + perl-module-if \ + perl-module-test-more \ +" + +BBCLASSEXTEND = "native" + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.015.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.015.bb new file mode 100644 index 0000000000..b92842c463 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-runtime-perl_0.015.bb @@ -0,0 +1,35 @@ +SUMMARY = "Module::Runtime - runtime module handling" +DESCRIPTION = "The functions exported by this module deal with runtime \ +handling of Perl modules, which are normally handled at compile time. This \ +module avoids using any other modules, so that it can be used in low-level \ +infrastructure. \ +The parts of this module that work with module names apply the same syntax \ +that is used for barewords in Perl source. In principle this syntax can vary \ +between versions of Perl, and this module applies the syntax of the Perl on \ +which it is running. In practice the usable syntax hasn't changed yet, but \ +there's a good chance of it changing in Perl 5.18. \ +The functions of this module whose purpose is to load modules include \ +workarounds for three old Perl core bugs regarding require. These workarounds \ +are applied on any Perl version where the bugs exist, except for a case where \ +one of the bugs cannot be adequately worked around in pure Perl." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~zefram/Module-Runtime/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=62e24a93342fede7221d66335c716f34" + +SRCNAME = "module-runtime" +SRC_URI = "https://github.com/moto-timo/${SRCNAME}/archive/${PV}.tar.gz" +SRC_URI[md5sum] = "ad6ca179c978aa02ac8aa29244ef9beb" +SRC_URI[sha256sum] = "59effa82b3f6986d28de6154a8f2428157691004d951f936a81e851f4dbcb045" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-test-more \ + perl-module-strict \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libmoo/libmoo-perl_2.000002.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmoo/libmoo-perl_2.000002.bb new file mode 100644 index 0000000000..fe119fa9f3 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libmoo/libmoo-perl_2.000002.bb @@ -0,0 +1,44 @@ +SUMMARY = "Moo - Minimalist Object Orientation (with Moose compatibility)" +DESCRIPTION = "This module us an extremely light-weight subset of \"Moose\" \ +optimised for rapid startup and \"pay only for what you use\"." + +SECTION = "libs" + +HOMEPAGE = "http://metapan.org/release/Moo/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://README;beginline=688;endline=733;md5=27efedd175eeaddbd18f4e3572bd72a8" + +SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Moo-${PV}.tar.gz" +SRC_URI[md5sum] = "8b84a7289fc6247de5ec5d151105fd6b" +SRC_URI[sha256sum] = "fb4bfa751f0dd06bd70f2e06e811f85a640501f263c228a8efafbf6b26691fd4" + +S = "${WORKDIR}/Moo-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " libclass-method-modifiers-perl \ + libdevel-globaldestruction-perl \ + libmodule-runtime-perl \ + librole-tiny-perl \ + perl-module-constant \ + perl-module-exporter \ + perl-module-mro \ + perl-module-scalar-util \ +" + +RPROVIDES_${PN} = " libmethod-inliner-perl \ + libmethod-generate-accessor-perl \ + libmethod-generate-buildall-perl \ + libmethod-generate-constructor-perl \ + libmethod-generate-demolishall-perl \ + libmoo-perl \ + libmoo-handlemoose-perl \ + libmoo-handlemoose-fakemetaclass-perl \ + libmoo-object-perl \ + libmoo-role-perl \ + libsub-defer-perl \ + libsub-quote-perl \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/0001-libnet-ssleay-perl-Disable-test-that-fails-with-open.patch b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/0001-libnet-ssleay-perl-Disable-test-that-fails-with-open.patch new file mode 100644 index 0000000000..393ee19194 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/0001-libnet-ssleay-perl-Disable-test-that-fails-with-open.patch @@ -0,0 +1,70 @@ +From e7a2d3a57fd51f0d4d5b3fcb6669b1876d4b18d2 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Tue, 10 Nov 2015 01:23:18 -0500 +Subject: [PATCH 1/2] libnet-ssleay-perl: Disable test that fails with + openssl-1.0.2b or above + +Run testsuits: +t/local/33_x509_create_cert............NOK 39/123 +not ok 39 - PEM_get_string_PrivateKey+passwd+enc_alg +| Failed test 'PEM_get_string_PrivateKey+passwd+enc_alg' +| at t/local/33_x509_create_cert.t line 104. +| undef +| doesn't match '(?^:-----BEGIN (ENCRYPTED|RSA) PRIVATE KEY-----)' + +This is due to the following change in OpenSSL: +(git://git.openssl.org/openssl.git) +...... +4d9dc0c269be87b92da188df1fbd8bfee4700eb3 is the first bad commit +commit 4d9dc0c269be87b92da188df1fbd8bfee4700eb3 +Author: Dr. Stephen Henson <steve@openssl.org> +Date: Thu May 28 15:44:20 2015 +0100 + +check for error when creating PKCS#8 structure + +Reviewed-by: Rich Salz <rsalz@openssl.org> +(cherry picked from commit 2849707fa65d2803e6d1c1603fdd3fd1fdc4c6cc) +...... + +Upstream-Status: Backport from upstream latest 1.72: +http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.72.tar.gz + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + t/local/33_x509_create_cert.t | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +diff --git a/t/local/33_x509_create_cert.t b/t/local/33_x509_create_cert.t +index 2f2c013..3e653ce 100755 +--- a/t/local/33_x509_create_cert.t ++++ b/t/local/33_x509_create_cert.t +@@ -2,7 +2,7 @@ + + use strict; + use warnings; +-use Test::More tests => 123; ++use Test::More tests => 121; + use Net::SSLeay qw/MBSTRING_ASC MBSTRING_UTF8 EVP_PK_RSA EVP_PKT_SIGN EVP_PKT_ENC/; + use File::Spec; + use utf8; +@@ -99,10 +99,13 @@ is(Net::SSLeay::X509_NAME_cmp($ca_issuer, $ca_subject), 0, "X509_NAME_cmp"); + } + ok(my $alg1 = Net::SSLeay::EVP_get_cipherbyname("DES-EDE3-CBC"), "EVP_get_cipherbyname"); + like(my $key_pem3 = Net::SSLeay::PEM_get_string_PrivateKey($pk,"password",$alg1), qr/-----BEGIN (ENCRYPTED|RSA) PRIVATE KEY-----/, "PEM_get_string_PrivateKey+passwd+enc_alg"); +- +- ok(my $alg2 = Net::SSLeay::EVP_get_cipherbyname("DES-EDE3-OFB"), "EVP_get_cipherbyname"); +- like(my $key_pem4 = Net::SSLeay::PEM_get_string_PrivateKey($pk,"password",$alg2), qr/-----BEGIN (ENCRYPTED|RSA) PRIVATE KEY-----/, "PEM_get_string_PrivateKey+passwd+enc_alg"); +- ++ ++# DES-EDE3-OFB has no ASN1 support, detected by changes to do_pk8pkey as of openssl 1.0.1n ++# https://git.openssl.org/?p=openssl.git;a=commit;h=4d9dc0c269be87b92da188df1fbd8bfee4700eb3 ++# this test now fails ++# ok(my $alg2 = Net::SSLeay::EVP_get_cipherbyname("DES-EDE3-OFB"), "EVP_get_cipherbyname"); ++# like(my $key_pem4 = Net::SSLeay::PEM_get_string_PrivateKey($pk,"password",$alg2), qr/-----BEGIN (ENCRYPTED|RSA) PRIVATE KEY-----/, "PEM_get_string_PrivateKey+passwd+enc_alg"); ++ + is(Net::SSLeay::X509_NAME_print_ex($name), "O=Company Name,C=UK,CN=Common name text X509", "X509_NAME_print_ex"); + + # 2014-06-06: Sigh, some versions of openssl have this patch, which afffects the results of this test: +-- +1.9.1 + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/0002-Recent-1.0.2-betas-have-dropped-the-SSLv3_method-fun.patch b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/0002-Recent-1.0.2-betas-have-dropped-the-SSLv3_method-fun.patch new file mode 100644 index 0000000000..e3650b8ea3 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/0002-Recent-1.0.2-betas-have-dropped-the-SSLv3_method-fun.patch @@ -0,0 +1,75 @@ +From d94f2d3f96db529383b22f2dc294847190d1bfbe Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Tue, 10 Nov 2015 02:11:30 -0500 +Subject: [PATCH 2/2] Recent 1.0.2 betas have dropped the SSLv3_method + function. This patch leaves out the function on newer versions, much the same + as the SSLv2 deprecation is handled. It also fixes the ALPN test, which was + incorrectly failing on OpenSSL due to the LibreSSL check (earlier versions + bailed out before that line). Signed-off-by: Patch from Tom Molesworth + +Upstream-Status: Backport from upstream 1.67 +http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.67.tar.gz +https://rt.cpan.org/Public/Bug/Display.html?id=101484 + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + SSLeay.xs | 12 ++++++++++++ + t/local/41_alpn_support.t | 2 +- + 2 files changed, 13 insertions(+), 1 deletion(-) + +diff --git a/SSLeay.xs b/SSLeay.xs +index c31396d..1fd4fab 100644 +--- a/SSLeay.xs ++++ b/SSLeay.xs +@@ -1409,6 +1409,9 @@ SSL_CTX_v2_new() + #endif + #endif + ++#ifndef OPENSSL_NO_SSL3 ++#if OPENSSL_VERSION_NUMBER < 0x10002000L ++ + SSL_CTX * + SSL_CTX_v3_new() + CODE: +@@ -1416,6 +1419,9 @@ SSL_CTX_v3_new() + OUTPUT: + RETVAL + ++#endif ++#endif ++ + SSL_CTX * + SSL_CTX_v23_new() + CODE: +@@ -3758,9 +3764,15 @@ SSLv2_method() + #endif + #endif + ++#ifndef OPENSSL_NO_SSL3 ++#if OPENSSL_VERSION_NUMBER < 0x10002000L ++ + const SSL_METHOD * + SSLv3_method() + ++#endif ++#endif ++ + const SSL_METHOD * + TLSv1_method() + +diff --git a/t/local/41_alpn_support.t b/t/local/41_alpn_support.t +index ba984b5..87a0214 100644 +--- a/t/local/41_alpn_support.t ++++ b/t/local/41_alpn_support.t +@@ -11,7 +11,7 @@ use Config; + + BEGIN { + plan skip_all => "openssl 1.0.2 required" unless Net::SSLeay::SSLeay >= 0x10002000; +- plan skip_all => "libressl not supported" if &Net::SSLeay::LIBRESSL_VERSION_NUMBER; ++ plan skip_all => "libressl not supported" if defined &Net::SSLeay::LIBRESSL_VERSION_NUMBER; + plan skip_all => "fork() not supported on $^O" unless $Config{d_fork}; + } + +-- +1.9.1 + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/run-ptest b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/run-ptest new file mode 100644 index 0000000000..c9f9ca94d0 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/files/run-ptest @@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb new file mode 100644 index 0000000000..9dc426860e --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-dns-perl_0.81.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "This package contains the DNS.pm module with friends." + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" + +LIC_FILES_CHKSUM = "file://README;md5=524da96a3365f2caff73fea0ae67c3a0" + +DEPENDS += "perl" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" + +SRC_URI[md5sum] = "26375d4310beb108b0e2b3bf30403ee5" +SRC_URI[sha256sum] = "b36c8ead6edf68da5d9de2b0a22a47d7216e2d7eb52c8cde96724988f68a6d46" + +S = "${WORKDIR}/Net-DNS-${PV}" + +EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" + +inherit cpan + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch new file mode 100644 index 0000000000..679caa36a1 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch @@ -0,0 +1,49 @@ +perl-Net-LibIDN: cross-compile + +Upstream-Status: Pending + +Add support for cross-compile allowing the compiler binary to be +specified into the perl Makefile instead of using the default 'gcc'. + +Signed-off-by: Greg Moffatt <greg.moffatt@windriver.com> +--- + +--- perl-Net-LibIDN-0.12.orig/Makefile.PL 2009-02-26 07:09:45.000000000 -0500 ++++ perl-Net-LibIDN-0.12/Makefile.PL 2010-10-19 09:34:22.811173965 -0400 +@@ -9,6 +9,7 @@ + my $options; + my $testno=1; + my %MakeParams = InitMakeParams(); ++my $compiler; + + WriteMakefile(%MakeParams); + +@@ -44,7 +45,8 @@ + ( + "with-libidn=s" => \$libdir, + "with-libidn-inc=s" => \$incdir, +- "disable-tld" => \$disable_tld ++ "disable-tld" => \$disable_tld, ++ "compiler=s" => \$compiler + ); + + if ($libdir) +@@ -165,12 +167,17 @@ + return 0; + } + +- foreach my $cc (qw/cc gcc/) ++ foreach my $cc ($compiler, qw/cc gcc/) + { + unlink($test); + system "$cc $cflags -o $test $test.c $ldflags"; + next if ($? >> 8); + ++ if ($compiler == $cc) ++ { ++ return 1; ++ } ++ + if (open(FILE, "./$test|")) + { + my $match; diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb new file mode 100644 index 0000000000..fd3ff8d958 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl_0.12.bb @@ -0,0 +1,34 @@ +SUMMARY = "Net::LibIDN - Perl bindings for GNU Libidn" +DESCRIPTION = "\ +Provides bindings for GNU Libidn, a C library for handling Internationalized \ +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+" +HOMEPAGE = "http://search.cpan.org/dist/Net-LibIDN/" +DEPENDS += "libidn" +# We must need glibc-gconvs to enable charset related functions, +# such as Net::LibIDN::idn_to_ascii(). +RDEPENDS_${PN} += "glibc-gconvs" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${PV}.tar.gz" +SRC_URI[md5sum] = "c3e4de2065009d67bcb1df0afb473e12" +SRC_URI[sha256sum] = "2f8acc9442b3866ec7dc63cd449fc693ae3e930d5d3e5e9430fbb6f393bdbb17" + +SRC_URI += "file://libidn-wr-cross-compile.patch" + +LIC_FILES_CHKSUM = "file://README;beginline=42;endline=92;md5=3374ea0369ca3ead6047520477a43147" + +S = "${WORKDIR}/Net-LibIDN-${PV}" + +EXTRA_CPANFLAGS = "--with-libidn=${STAGING_LIBDIR} --with-libidn-inc=${STAGING_INCDIR} --compiler='${CC}'" +EXTRA_CPANFLAGS += "--disable-tld" + +inherit cpan + +FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Net/LibIDN/.debug/" + +do_configure_prepend() { + rm -rf ${S}/.pc/ +} diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb new file mode 100644 index 0000000000..cfd6f51301 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb @@ -0,0 +1,51 @@ +SUMMARY = "Net::SSLeay - Perl extension for using OpenSSL" +DESCRIPTION = "This module offers some high level convenience functions for accessing \ +web pages on SSL servers (for symmetry, same API is offered for \ +accessing http servers, too), a sslcat() function for writing your own \ +clients, and finally access to the SSL api of SSLeay/OpenSSL package \ +so you can write servers or clients for more complicated applications." +HOMEPAGE = "http://search.cpan.org/dist/Net-SSLeay/" +SECTION = "libs" + +LICENSE = "OpenSSL" +LIC_FILES_CHKSUM = "file://README;beginline=274;endline=294;md5=49f415984b387be999ee2ad0e5c692fe" + +DEPENDS = "openssl zlib" +RDEPENDS_${PN} += "perl-module-carp \ + perl-module-errno \ + perl-module-extutils-makemaker \ + perl-module-mime-base64 \ + perl-module-socket \ + " + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz \ + file://0001-libnet-ssleay-perl-Disable-test-that-fails-with-open.patch \ + file://0002-Recent-1.0.2-betas-have-dropped-the-SSLv3_method-fun.patch \ + file://run-ptest \ + " +SRC_URI[md5sum] = "19600c036e9e0bbfbf9157f083e40755" +SRC_URI[sha256sum] = "2fb1371120b85f018944d95736c107163f04ba56b6029c0709a2c3d6247b9c06" + +S = "${WORKDIR}/Net-SSLeay-${PV}" + +inherit cpan ptest + +EXTRA_CPANFLAGS = "LIBS='-L=${STAGING_LIBDIR} -L=${STAGING_BASELIBDIR}' \ + INC=-I=${STAGING_INCDIR} \ + 'EXTRALIBS=-lssl -lcrypto -lz' \ + 'LDLOADLIBS=-lssl -lcrypto -lz' \ + " + +do_configure_prepend() { + export OPENSSL_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} +} + +do_install_ptest() { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND = "native" + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Net/SSLeay/.debug/" + +RDEPENDS_${PN}-ptest = " perl" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb new file mode 100644 index 0000000000..1599e61f13 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libproc/libproc-waitstat-perl_1.00.bb @@ -0,0 +1,20 @@ +SUMMARY = "Interpret and act on wait() status values" +DESCRIPTION = "This module contains functions for interpreting and acting \ +on wait status values." + +HOMEPAGE = "http://search.cpan.org/~rosch/Proc-WaitStat/" +SECTION = "libraries" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=21;endline=23;md5=f36550f59a0ae5e6e3b0be6a4da60d26" + +RDEPENDS_${PN} += "perl libipc-signal-perl" + +S = "${WORKDIR}/Proc-WaitStat-${PV}" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/Proc-WaitStat-${PV}.tar.gz" + +SRC_URI[md5sum] = "b911bd579b6b142391b21de1efa30c95" +SRC_URI[sha256sum] = "d07563f5e787909d16e7390241e877f49ab739b1de9d0e2ea1a41bd0bf4474bc" + +inherit cpan diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/librole/librole-tiny-perl_2.000001.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/librole/librole-tiny-perl_2.000001.bb new file mode 100644 index 0000000000..48360c6335 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/librole/librole-tiny-perl_2.000001.bb @@ -0,0 +1,29 @@ +SUMMARY = "Role::Tiny - Roles. Like a nouvelle cousine portion size of Moose." +DESCRIPTION = "\"Role::Tiny\" is a minimalist role composition tool." + +SECTION = "libs" + +HOMEPAGE = "https://metacpan.org/pod/Role::Tiny" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://README;beginline=172;endline=209;md5=26df7e7c20551fb1906e2286624f0b71" + +SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Role-Tiny-${PV}.tar.gz" +SRC_URI[md5sum] = "f350f1f8c13652bf85da172380b39ec8" +SRC_URI[sha256sum] = "31883410a7c85d6dc7501c718b1f83edba013a7b9bbccf0338a1033c391f296d" + +S = "${WORKDIR}/Role-Tiny-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-exporter \ + perl-module-strict \ + perl-module-test-more \ + perl-module-warnings \ +" + +RPROVIDES_${PN} = " librole-tiny-perl \ + librole-tiny-with-perl \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000002.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000002.bb new file mode 100644 index 0000000000..11a6e50051 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000002.bb @@ -0,0 +1,45 @@ +SUMMARY = "strictures - turn on strict and make all warnings fatal" +DESCRIPTION = "I've been writing the equivalent of this module at the top \ +of my code for about a year now. I figured it was time to make it shorter. \ +\ +Things like the importer in \"use Moose\" don't help me because they turn \ +warnings on but don't make them fatal -- which from my point of view is \ +useless because I want an exception to tell me my code isn't warnings-clean. \ +\ +Any time I see a warning from my code, that indicates a mistake. \ +\ +Any time my code encounters a mistake, I want a crash -- not spew to STDERR \ +and then unknown (and probably undesired) subsequent behaviour. \ +\ +I also want to ensure that obvious coding mistakes, like indirect object \ +syntax (and not so obvious mistakes that cause things to accidentally compile \ +as such) get caught, but not at the cost of an XS dependency and not at the \ +cost of blowing things up on another machine. \ +\ +Therefore, \"strictures\" turns on additional checking, but only when it \ +thinks it's running in a test file in a VCS checkout -- although if this \ +causes undesired behaviour this can be overridden by setting the \ +PERL_STRICTURES_EXTRA environment variable." + +SECTION = "libs" + +HOMEPAGE = "https://metacpan.org/pod/strictures" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://README;beginline=246;endline=262;md5=43be558cf4f19823cdd6af22135cf5f8" + +SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/strictures-${PV}.tar.gz" +SRC_URI[md5sum] = "fb1fada8260992bc85e126c21ffcc6d5" +SRC_URI[sha256sum] = "130355dcb3afd8c3c8213c24b924e71deb7e1e1197da8f90c5ae191766aa4100" + +S = "${WORKDIR}/strictures-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " perl-module-carp \ + perl-module-strict \ + perl-module-test-more \ + perl-module-warnings \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001011.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001011.bb new file mode 100644 index 0000000000..a2a1305748 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libsub/libsub-exporter-progressive-perl_0.001011.bb @@ -0,0 +1,30 @@ +SUMMARY = "Sub::Exporter::Progressive - Only use Sub::Exporter if you need it." +DESCRIPTION = "\"Sub::Exporter\" is an incredibly powerful module, but with \ +that power comes great responsibility, er- as well as some runtime penalties. \ +This module is a \"Sub::Exporter\" wrapper that will let your users just use \ +\"Exporter\" if all they are doing is picking exports, but use \ +\"Sub::Exporter\" if your users try to use \"Sub::Exporter's\" more advanced \ +features, like renaming exports, if they try to use them." + +SECTION = "libs" + +HOMEPAGE = "https://metacpan.org/pod/Sub-Exporter-Progressive/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://README;beginline=51;endline=53;md5=a171d2e9f8688a44e5f1b6dcc62029e6" + +DEPENDS_${PN} = " perl-module-test-more" + +SRC_URI = "${CPAN_MIRROR}/authors/id/F/FR/FREW/Sub-Exporter-Progressive-${PV}.tar.gz" +SRC_URI[md5sum] = "bb50b3ba1538902b197c04818a84230a" +SRC_URI[sha256sum] = "0618c6e69c6c0540c41e7560d51981407a6a0768f1330bef6d6ac3c6f1fa7c06" + +S = "${WORKDIR}/Sub-Exporter-Progressive-${PV}" + +inherit cpan + +RDEPENDS_${PN} += " perl-module-carp \ + perl-module-list-util \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.36.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.36.bb new file mode 100644 index 0000000000..7fb7e2246f --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.36.bb @@ -0,0 +1,80 @@ +SUMMARY = "Test::Harness - Run Perl standard test scripts with statistics" +DESCRIPTION = "Although, for historical reasons, the Test::Harness \ +distribution takes its name from this module it now exists only to provide \ +TAP::Harness with an interface that is somewhat backwards compatible \ +with Test::Harness 2.xx. If you're writing new code consider using \ +TAP::Harness directly instead. \ +\ +Emulation is provided for runtests and execute_tests but the \ +pluggable 'Straps' interface that previous versions of Test::Harness \ +supported is not reproduced here. Straps is now available as a stand \ +alone module: Test::Harness::Straps. \ +\ +See TAP::Parser, TAP::Harness for the main documentation for this \ +distribution." + +SECTION = "libs" + +HOMEPAGE = "http://testanything.org" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://README;beginline=29;endline=30;md5=b08db4360eec119e875dddd7cb8a5ddd" + +SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Test-Harness-${PV}.tar.gz" +SRC_URI[md5sum] = "4c8d9c77e8e06ca96c7383c05c8f3616" +SRC_URI[sha256sum] = "e7566f13b041d028b56f184b77ec2545ec6f0bb5a0f8f5368f7e4a08b496b63e" + +S = "${WORKDIR}/Test-Harness-${PV}" + +inherit cpan + +RPROVIDES_${PN} += "libapp-prove-perl \ + libapp-prove-state-perl \ + libapp-prove-state-result-perl \ + libapp-prove-state-result-test-perl \ + libtap-base-perl \ + libtap-formatter-base-perl \ + libtap-formatter-color-perl \ + libtap-formatter-console-perl \ + libtap-formatter-console-parallelsession-perl \ + libtap-formatter-console-session-perl \ + libtap-formatter-file-perl \ + libtap-formatter-file-session-perl \ + libtap-formatter-session-perl \ + libtap-harness-perl \ + libtap-harness-env-perl \ + libtap-object-perl \ + libtap-parser-perl \ + libtap-parser-aggregator-perl \ + libtap-parser-grammar-perl \ + libtap-parser-iterator-perl \ + libtap-parser-iterator-array-perl \ + libtap-parser-iterator-process-perl \ + libtap-parser-iterator-stream-perl \ + libtap-parser-iteratorfactory-perl \ + libtap-parser-multiplexer-perl \ + libtap-parser-result-perl \ + libtap-parsser-result-bailout-perl \ + libtap-parser-result-comment-perl \ + libtap-parser-result-plan-perl \ + libtap-parser-result-pragma-perl \ + libtap-parser-result-test-perl \ + libtap-parser-result-unknown-perl \ + libtap-parser-result-version-perl \ + libtap-parser-result-yaml-perl \ + libtap-parser-resultfactory-perl \ + libtap-parser-scheduler-perl \ + libtap-parser-scheduler-job-perl \ + libtap-parser-scheduler-spinner-perl \ + libtap-parser-source-perl \ + libtap-parser-sourcehandler-perl \ + libtap-parser-sourcehandler-executable-perl \ + libtap-parser-sourcehandler-file-perl \ + libtap-parser-sourcehandler-handle-perl \ + libtap-parser-sourcehandler-perl-perl \ + libtap-parser-sourcehandler-rawtap-perl \ + libtap-parser-yamlish-reader-perl \ + libtap-parser-yamlish-writer-perl \ + " + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb new file mode 100644 index 0000000000..a4c246e34e --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb @@ -0,0 +1,27 @@ +SUMMARY = "Text::Diff - Perform diffs on files and record sets" +DESCRIPTION = "diff() provides a basic set of services akin to the GNU diff \ +utility. It is not anywhere near as feature complete as GNU diff, but it is \ +better integrated with Perl and available on all platforms. It is often \ +faster than shelling out to a system's diff executable for small files, \ +and generally slower on larger files." +SECTION = "libs" + +HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/" + +LICENSE = "Artistic-1.0 | GPL-2.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3" + +SRC_URI = "${CPAN_MIRROR}/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz" +SRC_URI[md5sum] = "30d56e6dd5551ca16b8e16cc7299dc21" +SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa" + +S = "${WORKDIR}/Text-Diff-${PV}" + +inherit cpan + +RDEPENDS_${PN} = " libalgorithm-diff-perl \ + perl-module-extutils-makemaker \ + perl-module-exporter \ +" + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb new file mode 100644 index 0000000000..934be0399f --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libtext/libtext-iconv-perl_1.7.bb @@ -0,0 +1,24 @@ +SUMMARY = "Perl interface to iconv() codeset conversion function" +DESCRIPTION = "\ +The Text::Iconv module provides a Perl interface to the iconv() \ +function as defined by the Single UNIX Specification. The convert() \ +method converts the encoding of characters in the input string from \ +the fromcode codeset to the tocode codeset, and returns the result. \ +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+" +LIC_FILES_CHKSUM = "file://README;beginline=3;endline=6;md5=fadf2919c7128e887d26b4d905f90649" +RRECOMMENDS_${PN} += "glibc-gconvs" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-${PV}.tar.gz" + +SRC_URI[md5sum] = "81b26e069eaebb084e91ea3c009b67ae" +SRC_URI[sha256sum] = "5b80b7d5e709d34393bcba88971864a17b44a5bf0f9e4bcee383d029e7d2d5c3" + +S = "${WORKDIR}/Text-Iconv-${PV}" + +inherit cpan + +FILES_${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/Text/Iconv/.debug/" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb new file mode 100644 index 0000000000..77dd616bfc --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-filter-buffertext-perl_1.01.bb @@ -0,0 +1,25 @@ +SUMMARY = "XML::Filter::BufferText - Filter to put all characters() in one event" +DESCRIPTION = "\ +The XML::Filter::BufferText module is a very simple filter. One common \ +cause of grief (and programmer error) is that XML parsers aren't required \ +to provide character events in one chunk. They can, but are not forced \ +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+" +HOMEPAGE = "http://search.cpan.org/dist/XML-Filter-BufferText/" +DEPENDS += "libxml-sax-perl-native" +RDEPENDS_${PN} += "libxml-sax-perl" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/R/RB/RBERJON/XML-Filter-BufferText-${PV}.tar.gz" +SRC_URI[md5sum] = "2992c0387632583b966ab9c965b25512" +SRC_URI[sha256sum] = "8fd2126d3beec554df852919f4739e689202cbba6a17506e9b66ea165841a75c" + +LIC_FILES_CHKSUM = "file://BufferText.pm;beginline=88;endline=90;md5=497aa6d79cc84c3d769a2a0016bee928" + +S = "${WORKDIR}/XML-Filter-BufferText-${PV}" + +inherit cpan + +BBCLASSEXTEND = "native" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/disable-libxml2-check.patch b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/disable-libxml2-check.patch new file mode 100644 index 0000000000..a8e7cc1bbc --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/disable-libxml2-check.patch @@ -0,0 +1,79 @@ +Do not use the _libxml_check_lib() on cross-compile + +Upstream-Status: Inappropriate [configuration] + +xml2 have been added into package's DEPENDS, so not need to use the +_libxml_check_lib() to check it again, and _libxml_check_lib() always +return false on cross-compile environment + +Signed-off-by: Roy Li <rongqing.li@windriver.com> +--- + Makefile.PL | 52 ++++++++++++++++++++++++++-------------------------- + 1 file changed, 26 insertions(+), 26 deletions(-) + +diff --git a/Makefile.PL b/Makefile.PL +index c0485f1..09c676b 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -411,32 +411,32 @@ sub _libxml_check_lib { + } + } + +-print "Checking for ability to link against xml2..."; +-if ( _libxml_check_lib('xml2') ) { +- print "yes\n"; +-} +-else { +- print "no\n"; +- print "Checking for ability to link against libxml2..."; +- if ( _libxml_check_lib('libxml2')) { +- print "yes\n"; +- } +- else { +- print STDERR <<"DEATH"; +-libxml2, zlib, and/or the Math library (-lm) have not been found. +-Try setting LIBS and INC values on the command line +-Or get libxml2 from +- http://xmlsoft.org/ +-If you install via RPMs, make sure you also install the -devel +-RPMs, as this is where the headers (.h files) are. +- +-Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter +-to see the exact reason why the detection of libxml2 installation +-failed or why Makefile.PL was not able to compile a test program. +-DEATH +- exit 0; # 0 recommended by http://cpantest.grango.org (Notes for CPAN Authors) +- } +-} ++#print "Checking for ability to link against xml2..."; ++#if ( _libxml_check_lib('xml2') ) { ++# print "yes\n"; ++#} ++#else { ++# print "no\n"; ++# print "Checking for ability to link against libxml2..."; ++# if ( _libxml_check_lib('libxml2')) { ++# print "yes\n"; ++# } ++# else { ++# print STDERR <<"DEATH"; ++#libxml2, zlib, and/or the Math library (-lm) have not been found. ++#Try setting LIBS and INC values on the command line ++#Or get libxml2 from ++# http://xmlsoft.org/ ++#If you install via RPMs, make sure you also install the -devel ++#RPMs, as this is where the headers (.h files) are. ++# ++#Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter ++#to see the exact reason why the detection of libxml2 installation ++#failed or why Makefile.PL was not able to compile a test program. ++#DEATH ++# exit 0; # 0 recommended by http://cpantest.grango.org (Notes for CPAN Authors) ++# } ++#} + + # -------------------------------------------------------------------------- # + # _NOW_ write the Makefile +-- +1.7.10.4 + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch new file mode 100644 index 0000000000..1dd9fb3757 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch @@ -0,0 +1,31 @@ +[PATCH] Fix a compile error + +Upstream-Status: Pending + +Fix a compile error by conditional using 'catal' since catal +is only defined when LIBXML_CATALOG_ENABLED is enabled. + +Signed-off-by: Roy Li <rongqing.li@windriver.com> +--- + LibXML.xs | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/LibXML.xs b/LibXML.xs +index 66da04b..45da681 100644 +--- a/LibXML.xs ++++ b/LibXML.xs +@@ -2777,9 +2777,11 @@ _default_catalog( self, catalog ) + xmlCatalogPtr catal = INT2PTR(xmlCatalogPtr,SvIV(SvRV(catalog))); + #endif + INIT: ++#ifdef LIBXML_CATALOG_ENABLED + if ( catal == NULL ) { + croak( "empty catalog\n" ); + } ++#endif + CODE: + warn( "this feature is not implemented" ); + RETVAL = 0; +-- +1.7.10.4 + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/using-DOCB-conditional.patch b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/using-DOCB-conditional.patch new file mode 100644 index 0000000000..d255ec7533 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl/using-DOCB-conditional.patch @@ -0,0 +1,91 @@ +[PATCH] Fix a compile error + +Upstream-Status: Pending + +by conditional using 'XML_DOCB_DOCUMENT_NODE' since it is only +defined when LIBXML_DOCB_ENABLED is enabled in xmlversion.h. + +Signed-off-by: Roy Li <rongqing.li@windriver.com> +--- + LibXML.xs | 9 +- + dom.c | 2 + + perl-libxml-mm.c | 4 + + 4 files changed, 678 insertions(+), 658 deletions(-) + +diff --git a/LibXML.xs b/LibXML.xs +index b299ba4..66da04b 100644 +--- a/LibXML.xs ++++ b/LibXML.xs +@@ -5026,7 +5026,9 @@ addChild( self, nNode ) + XSRETURN_UNDEF; + case XML_DOCUMENT_NODE : + case XML_HTML_DOCUMENT_NODE : ++#ifdef LIBXML_DOCB_ENABLED + case XML_DOCB_DOCUMENT_NODE : ++#endif + croak("addChild: HIERARCHY_REQUEST_ERR\n"); + XSRETURN_UNDEF; + case XML_NOTATION_NODE : +@@ -5286,7 +5288,9 @@ _toStringC14N(self, comments=0, xpath=&PL_sv_undef, exclusive=0, inc_prefix_list + if ( nodepath == NULL + && self->type != XML_DOCUMENT_NODE + && self->type != XML_HTML_DOCUMENT_NODE ++#ifdef LIBXML_DOCB_ENABLED + && self->type != XML_DOCB_DOCUMENT_NODE ++#endif + ) { + if (comments) + nodepath = xmlStrdup( (const xmlChar *) "(. | .//node() | .//@* | .//namespace::*)" ); +@@ -5297,7 +5301,10 @@ _toStringC14N(self, comments=0, xpath=&PL_sv_undef, exclusive=0, inc_prefix_list + if ( nodepath != NULL ) { + if ( self->type == XML_DOCUMENT_NODE + || self->type == XML_HTML_DOCUMENT_NODE +- || self->type == XML_DOCB_DOCUMENT_NODE ) { ++#ifdef LIBXML_DOCB_ENABLED ++ || self->type == XML_DOCB_DOCUMENT_NODE ++#endif ++ ) { + refNode = xmlDocGetRootElement( self->doc ); + } + if (SvOK(xpath_context)) { +diff --git a/dom.c b/dom.c +index 87eb61d..cbd391b 100644 +--- a/dom.c ++++ b/dom.c +@@ -654,7 +654,9 @@ domName(xmlNodePtr node) { + + case XML_DOCUMENT_NODE : + case XML_HTML_DOCUMENT_NODE : ++#ifdef LIBXML_DOCB_ENABLED + case XML_DOCB_DOCUMENT_NODE : ++#endif + name = (const xmlChar *) "#document"; + break; + +diff --git a/perl-libxml-mm.c b/perl-libxml-mm.c +index d162b06..7ac5436 100644 +--- a/perl-libxml-mm.c ++++ b/perl-libxml-mm.c +@@ -331,7 +331,9 @@ PmmNewNode(xmlNodePtr node) + switch ( node->type ) { + case XML_DOCUMENT_NODE: + case XML_HTML_DOCUMENT_NODE: ++#ifdef LIBXML_DOCB_ENABLED + case XML_DOCB_DOCUMENT_NODE: ++#endif + proxy = (ProxyNodePtr)xmlMalloc(sizeof(struct _DocProxyNode)); + if (proxy != NULL) { + ((DocProxyNodePtr)proxy)->psvi_status = Pmm_NO_PSVI; +@@ -550,7 +552,9 @@ PmmNodeToSv( xmlNodePtr node, ProxyNodePtr owner ) + switch ( node->type ) { + case XML_DOCUMENT_NODE: + case XML_HTML_DOCUMENT_NODE: ++#ifdef LIBXML_DOCB_ENABLED + case XML_DOCB_DOCUMENT_NODE: ++#endif + if ( ((xmlDocPtr)node)->encoding != NULL ) { + SetPmmENCODING(dfProxy, (int)xmlParseCharEncoding( (const char*)((xmlDocPtr)node)->encoding )); + } +-- +1.7.10.4 + diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0121.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0121.bb new file mode 100644 index 0000000000..8997a04575 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0121.bb @@ -0,0 +1,43 @@ +SUMMARY = "Perl interface to the libxml2 library" +DESCRIPTION = "This module is an interface to libxml2, providing XML and HTML parsers \ +with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 \ +interface and a XML::XPath-like interface to XPath API of libxml2. \ +The module is split into several packages which are not described in this \ +section; unless stated otherwise, you only need to use XML::LibXML; in \ +your programs." + +HOMEPAGE = "http://search.cpan.org/dist/XML-LibXML-1.99/" +SECTION = "libs" +LICENSE = "Artistic-1.0|GPLv1+" +DEPENDS += "libxml2 \ + libxml-sax-perl-native \ + zlib \ +" +RDEPENDS_${PN} += "libxml2 \ + libxml-sax-perl \ + libxml-sax-base-perl \ + zlib \ +" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/XML-LibXML-${PV}.tar.gz;name=libxml \ + file://disable-libxml2-check.patch \ + file://fix-CATALOG-conditional-compile.patch \ + file://using-DOCB-conditional.patch \ +" +LIC_FILES_CHKSUM = "file://debian/copyright;md5=75e021e35a906347f46c9ff163653e2a \ + file://LICENSE;md5=97871bde150daeb5e61ad95137ff2446" +SRC_URI[libxml.md5sum] = "1544ab9ac110f5da296015346561ce02" +SRC_URI[libxml.sha256sum] = "ec431011cb37a04640fd2316f64d0405a274eece2c6f3847f7fbd336eb1c0dc9" + +S = "${WORKDIR}/XML-LibXML-${PV}" + +inherit cpan + +EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}" + +BBCLASSEXTEND = "native" + +CFLAGS += " -D_GNU_SOURCE " +BUILD_CFLAGS += " -D_GNU_SOURCE " + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/" diff --git a/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.56.bb b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.56.bb new file mode 100644 index 0000000000..961ceda596 --- /dev/null +++ b/import-layers/meta-openembedded/meta-perl/recipes-perl/libxml/libxml-sax-writer-perl_0.56.bb @@ -0,0 +1,25 @@ +SUMMARY = "XML::SAX::Writer - SAX2 Writer" +DESCRIPTION = "\ +XML::SAX::Writer helps to serialize SAX2 representations of XML documents to \ +strings, files, and other flat representations. It handles charset encodings, \ +XML escaping conventions, and so forth. It is still considered alpha, \ +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+" +HOMEPAGE = "http://search.cpan.org/dist/XML-SAX-Writer/" +DEPENDS += "libxml-filter-buffertext-perl-native" +RDEPENDS_${PN} += "libxml-filter-buffertext-perl" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${PV}.tar.gz" +SRC_URI[md5sum] = "e5fa5e2b2f6867b1aca9b5b43e1ce361" +SRC_URI[sha256sum] = "d073f7a25072c8150317b86b99d07031316a15bffab99e63e5afe591c8217d03" + +LIC_FILES_CHKSUM = "file://README;beginline=45;endline=46;md5=d41d8cd98f00b204e9800998ecf8427e" + +S = "${WORKDIR}/XML-SAX-Writer-${PV}" + +inherit cpan + +BBCLASSEXTEND = "native" |