diff options
Diffstat (limited to 'meta-openembedded/meta-perl/recipes-perl/libio')
3 files changed, 94 insertions, 0 deletions
diff --git a/meta-openembedded/meta-perl/recipes-perl/libio/files/run-ptest b/meta-openembedded/meta-perl/recipes-perl/libio/files/run-ptest new file mode 100644 index 000000000..c9f9ca94d --- /dev/null +++ b/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/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.054.bb b/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.054.bb new file mode 100644 index 000000000..ea78bc4e0 --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/libio/libio-socket-ssl-perl_2.054.bb @@ -0,0 +1,47 @@ +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} += "\ + libnet-ssleay-perl \ + perl-module-autoloader \ + perl-module-scalar-util \ + perl-module-io-socket \ +" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "e1b412e28d107c716e7ca637e2b7f8bd" +SRC_URI[sha256sum] = "02ea04e9a336a7d3ca9aa604c0c5b5aaf3efa513cefecfc73cc79ceeb5131e4b" + +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}/ +} + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} + cp -r ${B}/certs ${D}${PTEST_PATH} +} + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb b/meta-openembedded/meta-perl/recipes-perl/libio/libio-stringy-perl_2.111.bb new file mode 100644 index 000000000..0e566c0f2 --- /dev/null +++ b/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" |