summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
Commit message (Collapse)AuthorAgeFilesLines
* perl: fix CVE-2012-6329Ross Burton2013-04-292-0/+72
| | | | | | | | | | | | | | | | From http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6329: "The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and fully qualified method names during compilation of bracket notation, which allows context-dependent attackers to execute arbitrary commands via crafted input to an application." Patches taken from upstream git. (From OE-Core rev: b585a50b7bd735c3092af9477af263c13c853d32) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl_5.14.2.bb:fix toolchain relocation issuesHongxu Jia2013-04-231-1/+7
| | | | | | | | | | | | | | 1, Use create_wrapper to create perl wrapper in the SDK. 2, Add perl.real to perl-nativesdk package. Cherry-pick commit 820a64bfb7b27e3aaa3b8c0228c4ed70b64c03d1 [YOCTO #3984] (From OE-Core rev: 6571278b896474c58bf5552d0e46237f2cf5096c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl_5.14.2.bb:fix errors if configure is reattemptedHongxu Jia2013-04-231-1/+1
| | | | | | | | | | | | | If configure of perl is reattempted it currently fails as it tries to edit files outside ${S}. Chaging from ${WORKDIR} to ${S} avoids this issue and allows rebuilds to work. Cherry-pick commit f2f0a1aa489f9e6e4414fa758d3dd09a950a106c (From OE-Core rev: 4cb190a7527300bcaed34bb6f65329c5d6425966) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* generate-sh.patch:fix autoreconf run failed on gmae-toolchainHongxu Jia2013-04-231-4/+12
| | | | | | | | | | | | | | | | The perl shared libraries did not have RPATHs set and that made autoreconf fail when using the SDK. The LDDLFLAGS environment variable was already exported in the recipe but was not used when generating the config.sh. Cherry-pick commit df1a1dcb6d95a4aa558019530445373537c4efdd [YOCTO #3338] (From OE-Core rev: ff83f3685ce79712733822cf298d20538757b54d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl_5.14.2.bb:fix autoreconf run failed on gmae-toolchainHongxu Jia2013-04-231-4/+5
| | | | | | | | | | | | | | | | | | | | | | File warnings/register.pm has been moved to package perl, update RPROVIDES_perl to provides perl-module-warnings-register for backward compatibility. Update populate_package script for: 1 Way to deal directory 'Module/' is not right, it creates packages whose names end with '-pm'. Update to drop these packages. 2 Deal directory 'auto/' to put same name module file(.pm) and library file(.so) into one package. That because .pm file requires the same name .so file at runtime. Cherry-pick commit dd65b82d24afcf3982f6fb93a6503c71fdf40dbf [Yocto #3338] (From OE-Core rev: ecffb5bc90d71d903ca2701383b4229e389a812b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl_5.14.2.bb:Fix support strict/vars/config/warnings modulesHongxu Jia2013-04-231-0/+1
| | | | | | | | | | | | | With the move of the strict/vars/config/warnings modules to the main perl recipe, we need to RPROVIDE those modules to ensure that package dependencies on those modules continue to work correctly. Cherry-pick commit 072a6d352f55bbe481b04db02aa6d9cde7d90057 (From OE-Core rev: 45d4f46801fed8fe746a7e76c4732754950dd28d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl_5.14.2.bb: use PACKAGES_DYNAMIC as regexpHongxu Jia2013-04-231-2/+2
| | | | | | | | | | | | | | | | | | | bitbake uses PACKAGES_DYNAMIC as regexp 1, use `^' to make matching faster (and it will be more clear that we're expecting regexp not glob) 2, use `*' to made all those last '-' optional, use .* (or nothing) 3, use `+=' instead of `=' to to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" Cherry-pick commit 33b31640bf485bcfefee015e9df81aa9989b322c Cherry-pick commit fadb4079014514beb7d2d3e6c66f63397d4ebce2 (From OE-Core rev: a9b639c061faa9a9a4840218c8c44a71b246373e) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl_5.14.2.bb: fix dependeciesHongxu Jia2013-04-231-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes 2 problems. The first one is that when run "perl -V" on target, it fails with lack of some .pm files. So add these perl module files to package perl itself to fix this failure. The second problem is that package nativesdk-perl-modules doesn't depends on the single perl modules. In the .bb file, dependencies of perl-modules are set by: RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}" The PACKAGES would be reset by do_split_packages since: PACKAGES_DYNAMIC = "perl-module-*" PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*" Then: 1) The target perl-modules RRECOMMENDS on perl-module-*, this is what we expect. 2) But the nativesdk-perl-modules doesn't RRECOMMENDS on nativesdk-perl-module-*, this is not what we expect. The value of PACKAGES after do_split_packages has been set correctly (it contains the nativesdk-perl-module-* packages) But the:RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}" doesn't work correctly for nativesdk, the d.getVar('RRECOMMENDS_perl-modules', True) doesn't get the new value of the PACKAGES, it gets the value of PACKAGES before the do_split_packages. Cherry-pick commit 51cbb5ae76a22d465e2f6c5ef923ec2682624e3b (From OE-Core rev: 4c2e03d9c078c72eb82cf9b9604cb7256387ccbe) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-rdepends_5.14.2.inc:be more strict in multiline commentHongxu Jia2013-04-231-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | * fails to parse when http://patchwork.openembedded.org/patch/40997/ is used Parsing recipes...ERROR: There is a confusing multiline, partially commented expression on line 10 of file /OE/shr-core/openembedded-core/meta/recipes-devtools/perl/perl-rdepends_5.14.2.inc (| sed "s/\/.*\.pm: */ += /g;s/[\"\']//g;s/;.*/\"/g;s/+=.*\(require\|use\)\> */+= \"perl-module-/g;s/CPANPLUS::.*/cpanplus/g;s/CPAN::.*/cpan/g;s/::/-/g;s/ [^+\"].*//g;s/_/-/g;s/\.pl\"$/\"/;s/\"\?\$/\"/;s/(//;" | tr [:upper:] [:lower:] \). Please clarify whether this is all a comment or should be parsed. ERROR: Unable to parse /OE/shr-core/openembedded-core/meta/recipes-devtools/perl/perl_5.14.2.bb: Exited with "1" ERROR: Command execution failed: Exited with 1 Cherry-pick commit 54b8096f91af47c72ac9abffe2f5c73fee27ad57 (From OE-Core rev: b82d85633fd8a364eb6b3193ef1f8d5744572202) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-rdepends_5.14.2.inc:update dependency creating scriptHongxu Jia2013-04-231-49/+2287
| | | | | | | | | | | | | | | | | | | | | | | Base on dependency create script provided by Saul, I update it with: 1 remove document strings in perl module files that may import fake dependencies. 2 not all the 'use' or 'require' clauses start at the begin of line, and some of them don't end with ';', such as: use vars qw( $AUTOLOAD ... 3 filter some strings that they are not real dependencies: some of them are wrong result of script, some are conditional use/require, and some are cpan extra modules that we don't need. Cherry-pick commit 4601eb90f518fdc2d5fda31507402f7929268c87 (From OE-Core rev: 26a6ab8ffd0d8ecbe9fc72e517407b797f5a63e9) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-rdepends_5.14.2.inc:fix perl File::Glob module is brokenHongxu Jia2013-04-231-0/+2
| | | | | | | | | | | | | | | Update dependencies for perl modules again. When only install perl-module-file-glob, run perl script with "require File::Glob;" will fail. Update dependencies to fix that. Cherry-pick commit c65e88b3f20627d7e49e0306f336eee3fb256d1e [Yocto 3069] (From OE-Core rev: 3b80ac16772971418c88d90407ea45540f79c32c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-rdepends_5.14.2.inc: update dependencies among modulesHongxu Jia2013-04-231-207/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run autoreconf fails because it uses several perl modules and they requires other perl modules. So update these dependencies for: perl-module-exporter perl-module-file-glob perl-module-file-path perl-module-file-spec perl-module-file-stat perl-module-io-file perl-module-io-handle perl-module-io-seekable perl-module-posix And RDEPENDS rules in file perl-rdepends_5.14.2.inc don't work for nativesdk perl module packages. Replace all "perl" with "${PN}" in the file to fix that. In nativesdk.bbclass it calls oe.classextend.NativesdkClassExtender().map_packagevars() to map package vars include var RDEPENDS. In map_packagevars(): for pkg in (self.d.getVar("PACKAGES", True).split() + [""]): the value of var "PACKAGES" may not be calculated correctly, so for all the nativesdk packages created by PACKAGES_DYNAMIC_virtclass-nativesdk += "^nativesdk-perl-module-.*" dependencies are wrong. Cherry-pick commit f816625bf21348c1b0d887d11a77e7f5010ce76d (From OE-Core rev: c1f5e07406df7ef1c7e960cf9ba9eb38f460f235) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix security issueKang Kai2013-03-012-1/+43
| | | | | | | | | | | | | | | Add perl-fix-CVE-2012-5195.patch to fix perl memory exhaustion denial-of-service attack issue. And patch is from perl 5.14.3 branch: http://perl5.git.perl.org/perl.git/commit/b675304e3fdbcce3ef853b06b6ebe870d99faa7e [Yocto 3701] (From OE-Core rev: b4799833d26eacf60a7590bc5770b3715389fe66) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add archlib_exp variable used to generate ARCHLIB_EXP in config.hTom Zanussi2012-10-103-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | perl.c uses an ARCHLIB_EXP define to generate compile-time code that adds the archlibexp path to @INC during run-time initialization of a new perl interpreter. Because we've changed this value in a temporary way to make it possible to use ExtUtils::Embed in the target build (the temporary value in config.sh gets re-stripped out during packaging), the ARCHLIB_EXP value that gets generated still uses the temporary version instead of the original expected version (i.e. becauses it's in the generated config.h, it doesn't get stripped out during packaging like the others in config.sh). This creates an unmodified version called archlib_exp that gets used by a modified config_h.SH to get the correct value into config.h This patch uses an unmodified version of archlibexp called archlib_exp, introduced to config.sh, which is used to generate the correct value of ARCHLIB_EXP into config.h Fixes [YOCTO #3099]. (From OE-Core rev: cbcfdeb1d55e2e76f199750bda401bad126ae234) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix substitution madnessRichard Purdie2012-09-282-78/+78
| | | | | | | | | | | | | | We're going around in circles trying to fix the sed expressions and making one case work and others not work. This patch fixes the base configuration file so we have non-overlapping substitutions. I've tried to significantly clean up various problems that were occurring once and for all. This will hopefully resolve all the issues people have been seeing with incorrect perl paths. (From OE-Core rev: 31ff70794ecc431431476f81c8934fff25383613) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix nativesdk install pathChristian Glindkamp2012-09-271-4/+4
| | | | | | | | | | | | Commit 38234f2e276356b1d77a87ceabc486107e336d19 tried to fix the sed expressions by anchoring the left side of the search regexp to prevent $prefix$prefix type expression in the perl config. For nativesdk this is not enough. Adding anchors on both side fixes this. (From OE-Core rev: bf84ec0fb9a4d01ea75447c2efe8e534ce975b53) Signed-off-by: Christian Glindkamp <christian.glindkamp@taskit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-native: PROVIDE libmodule-build-perl-native for consistency with ↵Phil Blundell2012-09-121-0/+3
| | | | | | | | | | | | | | non-native perl This module is, apparently, included in the standard perl distribution since 5.10.1 or so. The regular perl recipe has had this PROVIDES for a while but it seems to have been overlooked in the native version. (From OE-Core rev: 2c3e8c5ab098f84c77729377afc240bc71d81665) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: package modules Pod-Html and Tie-Hash-NamedCaptureKang Kai2012-09-101-1/+1
| | | | | | | | | | | | | | | | | Package modules Pod-Html and Tie-Hash-NamedCapture. Without module Tie::Hash::NameCapture.pm, call "use English;" will fail. Module Pod::Html is required by LSB perl test 4.1 case all/tst_perlModPresent.pl 1. [Yocto #3031] (From OE-Core rev: e8d4386b48e169f126dd2fa018b3f44c8a42eef8) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix various nativesdk build issuesRichard Purdie2012-09-021-5/+7
| | | | | | | | | | | | | | | | | The config.sh lists -fstack-protector but this isn't in LDFLAGS. This can result in perl compilation failures due to the mismatch. Adding the flag to LDFLAGS solves makes all the flags consistent and avoids build failures from missing symbols. It was also found that the path substitutions made by the sed statement can conflict with each other and you can end up with $prefix$prefix type expressions in config.sh-X which can break the build in unusual ways. This patch anchors the expressions to ensure only true matches are replaced. (From OE-Core rev: 38234f2e276356b1d77a87ceabc486107e336d19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie2012-09-021-0/+2
| | | | | | | | | | | | | | | As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* liburi-perl: update to 1.60Kang Kai2012-07-261-4/+3
| | | | | | | | | | Update to 1.60 (From OE-Core rev: 987c57c9a19706067f1590e0f647557a870f769c) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-5/+5
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-parser-perl_2.41.bb: fix MakeMaker issues with using wrong CC/LD/etcMatthew McClintock2012-07-091-2/+9
| | | | | | | | | | | | | | | | | MakeMaker has a bug where it does not propagate CC/LD/etc information down to subproject it generates Makefiles for... this recipe has has an Expat subproject which has issues building if we are using sstate-cache and it will reference the old sysroots and be unable to build properly. There is an upstream MakeMaker bug for this issue but we can work around it by fixing up the Makefiles for now See: https://rt.cpan.org/Public/Bug/Display.html?id=28632 (From OE-Core rev: 2c3629a698e537c69c71039bc6172b3c0e617ff1) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: use @STAGINGDIR@ in config.shTom Zanussi2012-07-041-1/+1
| | | | | | | | | | | | | | archlibexp in the snapshotted config.sh needs to be relative to staging dir - it gets generated into Config_heavy.pl as one of the settings and is used by ExtUtils::Embed during the target build. The substituted setting doesn't make it into the target package because it's removed by perl_package_preprocess() before packaging. (From OE-Core rev: b647d2ab84ff0eb94f4b6a1b731d74aaf8c60b9d) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add @STAGINGDIR@ for config.sh substitionsTom Zanussi2012-07-041-0/+1
| | | | | | | | | | For some config.sh substitions, we'd like to be able to use STAGING_DIR_HOST; add @STAGINGDIR@ to allow for that. (From OE-Core rev: cc594be0877b2a6616453c402db0a58ef265bc8d) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: keep original libperl locationTom Zanussi2012-07-041-1/+2
| | | | | | | | | | | Things like ExtTools expect to find libperl at the original (${libdir}/perl/${PV}/CORE/libperl.so) location, so keep it there but symlink to it for the original (?) reason. (From OE-Core rev: deb5d5ededfc404f4c54b18f3dcf8192e1c835e0) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-simple-perl: Upgrade to 2.20Saul Wold2012-06-251-4/+4
| | | | | | | | | | Change license file to LICENSE, which now contails both Artistic-1.0 and GPL-1.0 License text (From OE-Core rev: b92478f8067e1b69bbe7338e3c0a3b082c6df46d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Allow perl to cross build and native build in a directory named "t"Jason Wessel2012-06-183-3/+47
| | | | | | | | | | | | | | | | | | If any directory in leading up to your tmp directory has the name "t" perl will fail to build with a very cryptic error shown below: pod/buildtoc: no pods at pod/buildtoc line 305. make[1]: *** [pod/perltoc.pod] Error 255 This is a result of the perl file checking making an assumption that it is only looking at files and directories with in the perl source directory. This assumption fails with the way bitbake sets up perl to properly cross compile. (From OE-Core rev: f8a054aca9962ebfd4c74fc1d34cd684de6b3568) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix re-execution of compile taskVenkata ramana gollamudi2012-04-171-2/+3
| | | | | | | | | | | | | | After building perl package, re-execution of compile task recursively substitutes the path, making it an invalid path. Fixed to prevent recursive substitution. Similar case as [Yocto #2194] (From OE-Core rev: 16542d982d86d42d3189d47a8180f0f71646a9ca) Signed-off-by: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix re-execution of patch/configurePaul Eggleton2012-04-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The perl recipe's do_configure() does some manual sed replacements over the entire WORKDIR. Fix the following issues with this: * Skip patches, which fixes re-execution of do_patch after do_configure has run once * Ensure that the replacement operation does nothing if do_configure is re-executed * Avoid unnecessarily modifying /usr/include paths within documentation that will end up being packaged * Fix a quoting issue in the expression used in the grep command that ended up causing files that did not contain .*\.h after /usr/include to be matched and modified. The files modified during do_configure have been compared before and after this patch to ensure there are no unexpected changes. Some /usr/include paths that are not within documentation are no longer being substituted however these are all within comments or scripts for other Unix operating systems that are not applicable. [YOCTO #2194] (From OE-Core rev: 19255032e7744fce5cbe466e4869ded378d3b4f5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PR bump packages with gdbm in DEPENDSAndrei Gherzan2012-04-131-1/+1
| | | | | | | | | | This is done because of this change in gdbm: "gdbm: Package compat libs in gdbm-compat" (From OE-Core rev: b91d8a07f736b7698650d25609245c89e0ed73d5) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix common typoes "existant", "dependant" and variationsRobert P. J. Day2012-03-221-1/+1
| | | | | | | | | | Fix a couple common typoes, all contained within comments so there should be no effect on functionality. (From OE-Core rev: dc52c3cbf3a7b7242d53019f7643495eb40c0566) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-modules: Fix LICENSE fields to mention the correct license versionsRichard Purdie2012-03-145-9/+9
| | | | | | (From OE-Core rev: aca5eb8cda9a26b5bb9c2f1e45f2e5c1af643da0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Clarify LICENSE with versions. Yes, its really GPLv1Richard Purdie2012-03-131-2/+2
| | | | | | (From OE-Core rev: 1ae8a1b044ea7fc421cf64b5921f6c8dc25b99cf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie2012-03-051-1/+1
| | | | | | | | sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-051-1/+1
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: remove empty directories to clean QA WarningsSaul Wold2012-03-011-2/+4
| | | | | | | | | | WARNING: For recipe perl, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/perl/site_perl WARNING: /usr/lib/perl/site_perl/5.14.2 (From OE-Core rev: 2bda13df6feee87ea6fcecdce96fb5234cfa5674) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: mark upstream status for all patchesNitin A Kamble2012-01-0340-0/+40
| | | | | | | | | | All the patches imported from debian source packages are marked accordingly. (From OE-Core rev: 071d2142a134d1c5d39b6fedbf0e68651245581d) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add .pl, pm, pod, sh files to SSTATE_SCANE_FILESSaul Wold2011-12-151-1/+4
| | | | | | | | | | This fixes problems where hardcoded paths in the file were incorrect during sstate reusage of the task output. (From OE-Core rev: 1e4466fc1ce32e5903ce0ed3f0ac80e3e93e1e24) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: bump PR for gdbm SOVERSION changeKoen Kooi2011-11-301-1/+1
| | | | | | | (From OE-Core rev: 5ba2df7ceac938e0b36256acdd8c2ec1e754f8b1) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-1/+1
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-parser-perl, libxml-simple-perl, expat, sgmlspl-native, git: bump PR ↵Martin Jansa2011-10-252-2/+2
| | | | | | | | | | | to rebuild after perl upgrade * this isn't probably complete list.. just what failed here (From OE-Core rev: f586aaa8d00361a9597a546d665077c75cf4d520) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: upgrade from 5.12.3 to 5.14.2Nitin A Kamble2011-10-2492-8643/+1949
| | | | | | | | | | | | | | parallel build fix patches are not needed as they are upstream now. Got a new set of debian patch set for 5.14.2 perl-rpdepends: fix the autogenerated rdepends mistakes take out some mdoules which are not going to be built. [Saul Wold: Remove debug] (From OE-Core rev: 8dc5f118832a4aca906239ffed82f72497c37f8e) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* liburi-perl: update to 1.59Kang Kai2011-10-201-3/+3
| | | | | | | | | Update liburi-perl to 1.59 (From OE-Core rev: b3cbb5a8e8aeeb3a55649dba1aca73595305309e) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-parser-perl: upgrade from 2.40 to 2.41Nitin A Kamble2011-10-201-3/+3
| | | | | | | (From OE-Core rev: 8b96b339b1e3e2b4f58f79bc6fc0c87a18a6c7d3) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* liburi-perl: Add SRC_URI ChecksumSaul Wold2011-10-071-1/+4
| | | | | | | (From OE-Core rev: 90319541385b9e84b373d2fbbc886ac6474fd4ac) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-perl: Add SRC_URI ChecksumSaul Wold2011-10-071-1/+4
| | | | | | | (From OE-Core rev: 49879562d9985da9f7caa2acdd5646eb0363d504) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix a few perl binaries to use target interpreter pathsMark Hatle2011-09-221-1/+9
| | | | | | | | | | | | A small number of target installed programs, "${bindir}/pod*", were incorrectly using the perl-native paths to access perl. This caused a dependency failure during RPM rootfs install, and also prevented those specific components from functioning. (From OE-Core rev: 7b8db36e088e3e9cd585e8d8dde1c1c2860c3c2e) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-231-1/+1
| | | | | | | | | | Some place pnum=1 is used which is removed as well since striplevel=1 is default (From OE-Core rev: 4e108857e0d40105f7ecbc55e99bd6c367bb7386) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-native: Update find_perl to find the perl wrapperWenzong Fan2011-08-192-2/+25
| | | | | | | | | | | | | | | | [YOCTO #1157] [YOCTO #829] This is a common issue to the packages which using 'MakeMaker.pm' to generate their Makefiles. The function 'find_perl()' in 'MM_Unix.pm' will be used to figure out the path/link of 'PERL/FULLPERL', but it always find the 'perl.real' instead of perl wrapper. Just update it to find the perl wrapper correctly. (From OE-Core rev: f1d4fb02d9952138acab6d647ce8975363dfdbab) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>