diff options
73 files changed, 4955 insertions, 32 deletions
diff --git a/classes/cpan-base.bbclass b/classes/cpan-base.bbclass index 8eb173eed5..6d3e234be8 100644 --- a/classes/cpan-base.bbclass +++ b/classes/cpan-base.bbclass @@ -17,7 +17,7 @@ def get_perl_version(d): return None l = f.readlines(); f.close(); - r = re.compile("version='(\d\.\d\.\d)'") + r = re.compile("version='(\d+\.\d+\.\d+)'") for s in l: m = r.match(s) if m: @@ -35,6 +35,14 @@ def is_target(d): return "yes" return "no" +def perl_get_version_suffix(d): + if bb.data.expand('${PACKAGE_ARCH}', d) != "all": + return '-' + get_perl_version(d) + else: + return '' + +PR .= "${@perl_get_version_suffix(d)}" + PERLLIBDIRS = "${@perl_get_libdirs(d)}" FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \ diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass index 899c4010ac..56f58168c7 100644 --- a/classes/cpan_build.bbclass +++ b/classes/cpan_build.bbclass @@ -3,7 +3,7 @@ # inherit cpan-base -INHIBIT_NATIVE_STAGE_INSTALL = "1" +NATIVE_INSTALL_WORKS = "1" # # We also need to have built libmodule-build-perl-native for @@ -46,12 +46,8 @@ cpan_build_do_compile () { cpan_build_do_install () { if [ ${@is_target(d)} == "yes" ]; then perl Build install - fi -} - -do_stage_append () { - if [ ${@is_target(d)} == "no" ]; then - perl Build install + else + perl Build install destdir="${WORKDIR}/image" fi } diff --git a/recipes/perl/libauthen-pam-perl_0.16.bb b/recipes/perl/libauthen-pam-perl_0.16.bb new file mode 100644 index 0000000000..c8fdfa448d --- /dev/null +++ b/recipes/perl/libauthen-pam-perl_0.16.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Authen::PAM - Perl interface to PAM library" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "libpam" +RDEPENDS = "perl-module-posix" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NI/NIKIP/Authen-PAM-${PV}.tar.gz;name=authen-pam-perl-${PV}" +SRC_URI[authen-pam-perl-0.16.md5sum] = "7278471dfa694d9ef312bc92d7099af2" +SRC_URI[authen-pam-perl-0.16.sha256sum] = "0e949bd9a2a9df0f829971030fe9169cbaf6cec78b92faf22f547ff6c6155c9b" + +S = "${WORKDIR}/Authen-PAM-${PV}" + +do_configure_prepend () { + oenote Executing autoreconf --verbose --install --force + mkdir -p m4 + autoreconf -Wcross --verbose --install --force || oefatal "autoreconf execution failed." + sed -i 's:\./configure\(.[^-]\):./configure --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir=${datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} --infodir=${infodir} --mandir=${mandir}\1:' Makefile.PL +} + +inherit cpan diff --git a/recipes/perl/libconvert-binhex-perl_1.119.bb b/recipes/perl/libconvert-binhex-perl_1.119.bb new file mode 100644 index 0000000000..b7796d3593 --- /dev/null +++ b/recipes/perl/libconvert-binhex-perl_1.119.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Convert::BinHex - extract data from Macintosh BinHex files" +SECTION = "libs" +LICENSE = "Artistic|GPL" +BBCLASSEXTEND = "native" +PR = "r0" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-${PV}.tar.gz;name=convert-binhex-perl-${PV}" +SRC_URI[convert-binhex-perl-1.119.md5sum] = "ba70ad1772abac6270078f28197a7961" +SRC_URI[convert-binhex-perl-1.119.sha256sum] = "2d4b59e46d43eaeb7de39e244d8d89af1b44b8977c3034c3779f984c2a399f55" + +S = "${WORKDIR}/Convert-BinHex-${PV}" + +inherit cpan + +PACKAGE_ARCH = "all" diff --git a/recipes/perl/libcrypt-openssl-bignum-perl_0.04.bb b/recipes/perl/libcrypt-openssl-bignum-perl_0.04.bb new file mode 100644 index 0000000000..325ae89c33 --- /dev/null +++ b/recipes/perl/libcrypt-openssl-bignum-perl_0.04.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "OpenSSL's multiprecision integer arithmetic" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "openssl" +BBCLASSEXTEND = "native" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-${PV}.tar.gz;name=crypt-openssl-bignum-perl-${PV}" +SRC_URI[crypt-openssl-bignum-perl-0.04.md5sum] = "9369ef722b0705c0604998559988eb18" +SRC_URI[crypt-openssl-bignum-perl-0.04.sha256sum] = "73a1e3a2419054a5109629c55d3ec322415be07d6bb6029b830a30e8f1126fa3" + +S = "${WORKDIR}/Crypt-OpenSSL-Bignum-${PV}" + +inherit cpan
\ No newline at end of file diff --git a/recipes/perl/libcrypt-openssl-random-perl_0.04.bb b/recipes/perl/libcrypt-openssl-random-perl_0.04.bb new file mode 100644 index 0000000000..bfa3ebc5ea --- /dev/null +++ b/recipes/perl/libcrypt-openssl-random-perl_0.04.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "Perl: random routines for Crypt::OpenSSL::RSA" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "openssl" +BBCLASSEXTEND = "native" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Random-${PV}.tar.gz;name=crypt-openssl-random-perl-${PV}" +SRC_URI[crypt-openssl-random-perl-0.04.md5sum] = "c56ac5dbdd46122eb9b8da59613b7b0a" +SRC_URI[crypt-openssl-random-perl-0.04.sha256sum] = "acf7eb81023cd1f40d8c60b893096d041513df2be2aefe145cc7ae1a3dcc78c7" + +S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}" + +inherit cpan
\ No newline at end of file diff --git a/recipes/perl/libcrypt-openssl-rsa-perl_0.26.bb b/recipes/perl/libcrypt-openssl-rsa-perl_0.26.bb new file mode 100644 index 0000000000..8c9c72a438 --- /dev/null +++ b/recipes/perl/libcrypt-openssl-rsa-perl_0.26.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "RSA encoding and decoding, using the openSSL libraries" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "openssl" +RDEPENDS_${PN} += " \ + libcrypt-openssl-bignum-perl \ + libcrypt-openssl-random-perl \ + " +BBCLASSEXTEND = "native" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-${PV}.tar.gz;name=crypt-openssl-rsa-perl-${PV}" +SRC_URI[crypt-openssl-rsa-perl-0.26.md5sum] = "baf875f01ee39b88335b8f0962fe4bbc" +SRC_URI[crypt-openssl-rsa-perl-0.26.sha256sum] = "f42f276ffe5ae1775c4bd76f3026483f0d39975f7cdd07bf48eccfb8c45286bb" + +S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}" + +inherit cpan
\ No newline at end of file diff --git a/recipes/perl/libcrypt-unixcrypt-perl_1.0.bb b/recipes/perl/libcrypt-unixcrypt-perl_1.0.bb new file mode 100644 index 0000000000..fb0b1a01da --- /dev/null +++ b/recipes/perl/libcrypt-unixcrypt-perl_1.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Crypt::UnixCrypt - perl-only implementation of the crypt function." +SECTION = "libs" +LICENSE = "Artistic|GPL" +BBCLASSEXTEND = "native" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MV/MVORL/Crypt-UnixCrypt-${PV}.tar.gz;name=crypt-unixcrypt-perl-${PV}" +SRC_URI[crypt-unixcrypt-perl-1.0.md5sum] = "ff007b7fdda2aa626acaca216750c422" +SRC_URI[crypt-unixcrypt-perl-1.0.sha256sum] = "51d3716e740ed2ddd93cf942b994d0384b0452dd8138f8c5ce420ad39df8f906" + +S = "${WORKDIR}/Crypt-UnixCrypt-${PV}" + +inherit cpan + +PACKAGE_ARCH = "all" diff --git a/recipes/perl/libcurses-perl_1.28.bb b/recipes/perl/libcurses-perl_1.28.bb new file mode 100644 index 0000000000..873533cd01 --- /dev/null +++ b/recipes/perl/libcurses-perl_1.28.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Terminal screen handling and optimization" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "ncurses" +BBCLASSEXTEND = "native" + +PR = "r0" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-${PV}.tgz;name=curses-perl-${PV}" +SRC_URI[curses-perl-1.28.md5sum] = "ed9f7ddf2d90f4266da91c3dc9fad9c9" +SRC_URI[curses-perl-1.28.sha256sum] = "613b73c4b6075b1550592812214e4fc0e2205d3afcf234e3fa90f208fb8de892" + +S = "${WORKDIR}/Curses-${PV}" + +inherit cpan + +CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" +BUILD_CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" +export CURSES_CFLAGS="-I${STAGING_INCDIR}" +export CURSES_LDFLAGS="-lncurses" diff --git a/recipes/perl/libcurses-ui-perl_0.9607.bb b/recipes/perl/libcurses-ui-perl_0.9607.bb new file mode 100644 index 0000000000..17a8b2677c --- /dev/null +++ b/recipes/perl/libcurses-ui-perl_0.9607.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "A curses based OO user interface framework" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "libcurses-perl-native libtermreadkey-perl-native" +RDEPENDS_${PN} += " \ + libcurses-perl \ + libtermreadkey-perl \ + perl-module-base \ + perl-module-exporter-heavy \ + perl-module-filehandle \ + " +BBCLASSEXTEND = "native" + +PR = "r0" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MD/MDXI/Curses-UI-${PV}.tar.gz;name=curses-ui-perl-${PV}" +SRC_URI[curses-ui-perl-0.9607.md5sum] = "8970c72e378aa386e0e79a884ef5863a" +SRC_URI[curses-ui-perl-0.9607.sha256sum] = "8aad18855557278a64a14d512f837a0b6ff0ad4329728e35ea1fc5e6712c3f8a" + +S = "${WORKDIR}/Curses-UI-${PV}" + +inherit cpan + +PACKAGE_ARCH = "all" diff --git a/recipes/perl/libdb-file-perl_1.820.bb b/recipes/perl/libdb-file-perl_1.820.bb new file mode 100644 index 0000000000..474838a653 --- /dev/null +++ b/recipes/perl/libdb-file-perl_1.820.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Perl5 access to Berkeley DB version 1.x" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "virtual/db" +RDEPENDS_${PN} += "perl-module-extutils-makemaker" +PR = "r0" + +BBCLASSEXTEND = "native" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/DB_File-${PV}.tar.gz;name=db-file-perl-${PV}" +SRC_URI[db-file-perl-1.820.md5sum] = "28979bee29d8075b0dffab02fe29df6e" +SRC_URI[db-file-perl-1.820.sha256sum] = "eae8d2d2144504118773f3e1787321d2c757e7c5abf0a60591c73495352ddf4a" + +S = "${WORKDIR}/DB_File-${PV}" + +do_configure_prepend() { + export DB_FILE_LIB=${STAGING_LIBDIR} +} + +inherit cpan diff --git a/recipes/perl/libdigest-hmac-perl_1.02.bb b/recipes/perl/libdigest-hmac-perl_1.02.bb new file mode 100644 index 0000000000..06c3992448 --- /dev/null +++ b/recipes/perl/libdigest-hmac-perl_1.02.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Keyed-Hashing for Message Authentication" +SECTION = "libs" +LICENSE = "Artistic|GPL" +RDEPENDS_${PN} += "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5" + +BBCLASSEXTEND = "native" + +PR = "r0" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-${PV}.tar.gz;name=digest-hmac-perl-${PV}" +SRC_URI[digest-hmac-perl-1.02.md5sum] = "64c4b247d83cd64ec32aa22bf58a709b" +SRC_URI[digest-hmac-perl-1.02.sha256sum] = "d0043b2fb5d38b571c11afbb424a1e6952b0f230da68525b14e8435830fd02f1" + +S = "${WORKDIR}/Digest-HMAC-${PV}" + +inherit cpan + +PACKAGE_ARCH = "all" diff --git a/recipes/perl/libdigest-sha_5.47.bb b/recipes/perl/libdigest-sha_5.47.bb index 7ceb00d647..3a0f418392 100644 --- a/recipes/perl/libdigest-sha_5.47.bb +++ b/recipes/perl/libdigest-sha_5.47.bb @@ -2,6 +2,7 @@ DESCRIPTION = "Digest::SHA - Perl extension for SHA-1/224/256/384/512" SECTION = "libs" LICENSE = "Artistic|GPL" DEPENDS += "expat expat-native" +BBCLASSEXTEND = "native" PR = "r0" SRC_URI = "http://www.cpan.org/modules/by-module/Digest/Digest-SHA-${PV}.tar.gz" diff --git a/recipes/perl/libencode-detect-perl_1.01.bb b/recipes/perl/libencode-detect-perl_1.01.bb new file mode 100644 index 0000000000..691bb65885 --- /dev/null +++ b/recipes/perl/libencode-detect-perl_1.01.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "An Encode::Encoding subclass that detects the encoding of data" +SECTION = "libs" +LICENSE = "MPL" +RDEPENDS_${PN} += "perl-module-module-build perl-module-extutils-cbuilder" +PR = "r0" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/J/JG/JGMYERS/Encode-Detect-${PV}.tar.gz;name=encode-detect-perl-${PV}" +SRC_URI[encode-detect-perl-1.01.md5sum] = "ee9faf55d7105c97b02b8ebe590819c7" +SRC_URI[encode-detect-perl-1.01.sha256sum] = "834d893aa7db6ce3f158afbd0e432d6ed15a276e0940db0a74be13fd9c4bbbf1" + +BBCLASSEXTEND = "native" + +S = "${WORKDIR}/Encode-Detect-${PV}" + +inherit cpan_build diff --git a/recipes/perl/liberror-perl_0.17016.bb b/recipes/perl/liberror-perl_0.17016.bb new file mode 100644 index 0000000000..5b302ccc71 --- /dev/null +++ b/recipes/perl/liberror-perl_0.17016.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Error - Error/exception handling in an OO-ish way" +SECTION = "libs" +LICENSE = "Artistic|GPL" +RDEPENDS_${PN} = " \ + perl-module-scalar-util \ + perl-module-warnings \ + " + +PR = "r0" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz;name=error-perl-${PV}" +SRC_URI[error-perl-0.17016.md5sum] = "eedcd3c6970568dd32092b5334328eff" +SRC_URI[error-perl-0.17016.sha256sum] = "f013a33ce33f324d6ff73ca074f34aa13f04bcec11e7f91c820c2e7b5e1979aa" + +S = "${WORKDIR}/Error-${PV}" + +inherit cpan + +BBCLASSEXTEND="native" + +PACKAGE_ARCH = "all" diff --git a/recipes/perl/libfilesys-df-perl_0.92.bb b/recipes/perl/libfilesys-df-perl_0.92.bb new file mode 100644 index 0000000000..4070d53936 --- /dev/null +++ b/recipes/perl/libfilesys-df-perl_0.92.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "Filesys-Df - Perl extension for filesystem disk space information" +SECTION = "libs" +LICENSE = "Artistic|GPL" +BBCLASSEXTEND = "native" +PR = "r0" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IG/IGUTHRIE/Filesys-Df-${PV}.tar.gz;name=filesys-df-perl-${PV}" +SRC_URI[filesys-df-perl-0.92.md5sum] = "a8b0aa3e5151a8a6c8b3067625980934" +SRC_URI[filesys-df-perl-0.92.sha256sum] = "fe89cbb427e0e05f1cd97c2dd6d3866ac6b21bc7a85734ede159bdc35479552a" + +S = "${WORKDIR}/Filesys-Df-${PV}" + +inherit cpan diff --git a/recipes/perl/libhtml-tagset-perl_3.20.bb b/recipes/perl/libhtml-tagset-perl_3.20.bb index 3c5dd61b56..ae77f94ac9 100644 --- a/recipes/perl/libhtml-tagset-perl_3.20.bb +++ b/recipes/perl/libhtml-tagset-perl_3.20.bb @@ -1,7 +1,7 @@ DESCRIPTION = "HTML Tagset bits." SECTION = "libs" LICENSE = "Artistic|GPL" -PR = "r1" +PR = "r2" SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/HTML-Tagset-${PV}.tar.gz" @@ -10,3 +10,5 @@ S = "${WORKDIR}/HTML-Tagset-${PV}" inherit cpan BBCLASSEXTEND="native" + +PACKAGE_ARCH = "all" diff --git a/recipes/perl/libio-socket-inet6-perl_2.57.bb b/recipes/perl/libio-socket-inet6-perl_2.57.bb new file mode 100644 index 0000000000..98098c8973 --- /dev/null +++ b/recipes/perl/libio-socket-inet6-perl_2.57.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "IO::Socket::INET6 - Object interface for AF_INET|AF_INET6 domain sockets" +SECTION = "libs" +LICENSE = "Artistic|GPL" +RDEPENDS_${PN} += "perl-module-test-more libsocket6-perl perl-module-io-socket" +PR = "r0" + +BBCLASSEXTEND = "native" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-${PV}.tar.gz;name=io-socket-inet6-perl-${PV}" +SRC_URI[io-socket-inet6-perl-2.57.md5sum] = "65e5224afd57bbe0abfa178a206cedfe" +SRC_URI[io-socket-inet6-perl-2.57.sha256sum] = "85f09b550c2cca9acf650d89514e6774e743d2f53ce8043b9413a639addad16d" + +S = "${WORKDIR}/IO-Socket-INET6-${PV}" + +inherit cpan + +PACKAGE_ARCH = "all" diff --git a/recipes/perl/libio-socket-ssl-perl_1.32.bb b/recipes/perl/libio-socket-ssl-perl_1.32.bb new file mode 100644 index 0000000000..12b958bba4 --- /dev/null +++ b/recipes/perl/libio-socket-ssl-perl_1.32.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "IO::Socket::SSL -- Nearly transparent SSL encapsulation for IO::Socket::INET" +SECTION = "libs" +LICENSE = "Artistic|GPL" +RDEPENDS_${PN} += "perl-module-scalar-util libnet-ssleay-perl" +BBCLASSEXTEND = "native" +PR = "r0" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-${PV}.tar.gz;name=io-socket-ssl-${PV}" +SRC_URI[io-socke |
