diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-devtools/perl')
18 files changed, 447 insertions, 947 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/liburi-perl_1.60.bb b/import-layers/yocto-poky/meta/recipes-devtools/perl/liburi-perl_1.71.bb index 8809a44fc..432803c7b 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/liburi-perl_1.60.bb +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/liburi-perl_1.71.bb @@ -3,17 +3,18 @@ DESCRIPTION = "This package contains the URI.pm module with friends. \ The module implements the URI class. URI objects can be used to access \ and manipulate the various components that make up these strings." +HOMEPAGE = "http://search.cpan.org/dist/URI/" SECTION = "libs" LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=6c33ae5c87fd1c4897714e122dd9c23d" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c453e94fae672800f83bc1bd7a38b53f" DEPENDS += "perl" -SRC_URI = "http://www.cpan.org/authors/id/G/GA/GAAS/URI-${PV}.tar.gz" +SRC_URI = "https://downloads.yoctoproject.org/mirror/sources/URI-${PV}.tar.gz" -SRC_URI[md5sum] = "70f739be8ce28b8baba7c5920ffee4dc" -SRC_URI[sha256sum] = "1f92d3dc64acb8845e9917c945e22b9a5275aeb9ff924eb7873c3b7a5c0d2377" +SRC_URI[md5sum] = "247c3da29a794f72730e01aa5a715daf" +SRC_URI[sha256sum] = "9c8eca0d7f39e74bbc14706293e653b699238eeb1a7690cc9c136fb8c2644115" S = "${WORKDIR}/URI-${PV}" diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb b/import-layers/yocto-poky/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb index 3acd82686..d9bbf713a 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb @@ -20,6 +20,8 @@ inherit cpan do_configure_append() { sed 's:--sysroot=.*\(\s\|$\):--sysroot=${STAGING_DIR_TARGET} :g' -i Makefile Expat/Makefile sed 's:^FULL_AR = .*:FULL_AR = ${AR}:g' -i Expat/Makefile + # make sure these two do not build in parallel + sed 's!^$(INST_DYNAMIC):!$(INST_DYNAMIC): $(BOOTSTRAP)!' -i Expat/Makefile } do_compile() { @@ -31,4 +33,4 @@ do_compile_class-native() { cpan_do_compile } -BBCLASSEXTEND="native" +BBCLASSEXTEND="native nativesdk" diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-native_5.22.1.bb b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-native_5.24.1.bb index 1c21522be..e01d11fbe 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-native_5.22.1.bb +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-native_5.24.1.bb @@ -1,5 +1,9 @@ require perl.inc +# We need gnugrep (for -I) +DEPENDS = "virtual/db-native grep-native" +DEPENDS += "gdbm-native zlib-native" + EXTRA_OEMAKE = "-e MAKEFLAGS=" SRC_URI += "\ @@ -11,11 +15,11 @@ SRC_URI += "\ file://debian/errno_ver.diff \ file://dynaloaderhack.patch \ file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ - file://perl-remove-nm-from-libswanted.patch \ + file://0001-Configure-Remove-fstack-protector-strong-for-native-.patch \ " -SRC_URI[md5sum] = "6671e4829cbaf9cecafa9a84f141b0a3" -SRC_URI[sha256sum] = "9e87317d693ce828095204be0d09af8d60b8785533fadea1a82b6f0e071e5c79" +SRC_URI[md5sum] = "af6a84c7c3e2b8b269c105a5db2f6d53" +SRC_URI[sha256sum] = "03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f" inherit native @@ -107,6 +111,10 @@ do_install () { for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do sed -i -e 's|${bindir}/perl|/usr/bin/env nativeperl|' $f done + + # The packlist is large with hardcoded paths meaning it needs relocating + # so just remove it. + rm ${D}${libdir}/perl/${PV}/.packlist } SYSROOT_PREPROCESS_FUNCS += "perl_sysroot_create_wrapper" diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc index d136c5c0e..1f549af1b 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-ptest.inc @@ -20,10 +20,13 @@ do_install_ptest () { -e "s,${STAGING_BINDIR_NATIVE}/perl-native/,${bindir}/,g" \ -e "s,${STAGING_BINDIR_NATIVE}/,,g" \ -e "s,${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX},${bindir},g" \ - ${D}${PTEST_PATH}/lib/Config.pm + ${D}${PTEST_PATH}/lib/Config.pm \ + ${D}${PTEST_PATH}/cpan/podlators/scripts/pod2man \ + ${D}${PTEST_PATH}/cpan/podlators/scripts/pod2text ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl - + # Remove plan9 related stuff + rm -rf ${D}${PTEST_PATH}/plan9 ${D}${PTEST_PATH}/README.plan9 ${D}${PTEST_PATH}/pod/perlplan9.pod } python populate_packages_prepend() { @@ -36,3 +39,7 @@ python populate_packages_prepend() { } RDEPENDS_${PN}-ptest += "${PN}-modules ${PN}-doc ${PN}-misc sed libssp" + +# The perl-ptest package contains Perl internal modules and generating file +# dependencies for it causes problems. +SKIP_FILEDEPS_${PN}-ptest = '1' diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-rdepends_5.24.1.inc index 2c497fe6a..10e3c0429 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl-rdepends_5.24.1.inc @@ -22,7 +22,6 @@ RDEPENDS_${PN}-module-math-bigint += "${PN}-module-math-bigint-calc" RDEPENDS_${PN}-module-thread-queue += "${PN}-module-attributes" RDEPENDS_${PN}-module-overload += "${PN}-module-overloading" - # Depends list # copy contents of /tmp/perl-rdepends in this file RDEPENDS_${PN}-module-anydbm-file += "${PN}-module-strict" @@ -134,12 +133,12 @@ RDEPENDS_${PN}-module-autodie-scope-guard += "${PN}-module-warnings" RDEPENDS_${PN}-module-autodie-scope-guardstack += "${PN}-module-autodie-scope-guard" RDEPENDS_${PN}-module-autodie-scope-guardstack += "${PN}-module-strict" RDEPENDS_${PN}-module-autodie-scope-guardstack += "${PN}-module-warnings" -RDEPENDS_${PN}-module-autodie-scopeutil += "${PN}-module-autodie-scope-guardstack" -RDEPENDS_${PN}-module-autodie-scopeutil += "${PN}-module-exporter" -RDEPENDS_${PN}-module-autodie-scopeutil += "${PN}-module-strict" -RDEPENDS_${PN}-module-autodie-scopeutil += "${PN}-module-warnings" RDEPENDS_${PN}-module-autodie-skip += "${PN}-module-strict" RDEPENDS_${PN}-module-autodie-skip += "${PN}-module-warnings" +RDEPENDS_${PN}-module-autodie-util += "${PN}-module-autodie-scope-guardstack" +RDEPENDS_${PN}-module-autodie-util += "${PN}-module-exporter" +RDEPENDS_${PN}-module-autodie-util += "${PN}-module-strict" +RDEPENDS_${PN}-module-autodie-util += "${PN}-module-warnings" RDEPENDS_${PN}-module-autoloader += "${PN}-module-carp" RDEPENDS_${PN}-module-autoloader += "${PN}-module-strict" RDEPENDS_${PN}-module-autosplit += "${PN}-module-carp" @@ -181,7 +180,7 @@ RDEPENDS_${PN}-module-bigint += "${PN}-module-math-bigint" RDEPENDS_${PN}-module-bigint += "${PN}-module-math-bigint-trace" RDEPENDS_${PN}-module-bigint += "${PN}-module-overload" RDEPENDS_${PN}-module-bigint += "${PN}-module-strict" -RDEPENDS_${PN}-module-bigint += "${PN}-module-vars" +RDEPENDS_${PN}-module-bigint += "${PN}-module-warnings" RDEPENDS_${PN}-module-bignum += "${PN}-module-bigint" RDEPENDS_${PN}-module-bignum += "${PN}-module-carp" RDEPENDS_${PN}-module-bignum += "${PN}-module-exporter" @@ -191,7 +190,7 @@ RDEPENDS_${PN}-module-bignum += "${PN}-module-math-bigint" RDEPENDS_${PN}-module-bignum += "${PN}-module-math-bigint-trace" RDEPENDS_${PN}-module-bignum += "${PN}-module-overload" RDEPENDS_${PN}-module-bignum += "${PN}-module-strict" -RDEPENDS_${PN}-module-bignum += "${PN}-module-vars" +RDEPENDS_${PN}-module-bignum += "${PN}-module-warnings" RDEPENDS_${PN}-module-bigrat += "${PN}-module-bigint" RDEPENDS_${PN}-module-bigrat += "${PN}-module-carp" RDEPENDS_${PN}-module-bigrat += "${PN}-module-exporter" @@ -201,7 +200,7 @@ RDEPENDS_${PN}-module-bigrat += "${PN}-module-math-bigint-trace" RDEPENDS_${PN}-module-bigrat += "${PN}-module-math-bigrat" RDEPENDS_${PN}-module-bigrat += "${PN}-module-overload" RDEPENDS_${PN}-module-bigrat += "${PN}-module-strict" -RDEPENDS_${PN}-module-bigrat += "${PN}-module-vars" +RDEPENDS_${PN}-module-bigrat += "${PN}-module-warnings" RDEPENDS_${PN}-module-blib += "${PN}-module-cwd" RDEPENDS_${PN}-module-blib += "${PN}-module-file-spec" RDEPENDS_${PN}-module-blib += "${PN}-module-vars" @@ -225,11 +224,16 @@ RDEPENDS_${PN}-module-carp-heavy += "${PN}-module-carp" RDEPENDS_${PN}-module-carp += "${PN}-module-exporter" RDEPENDS_${PN}-module-carp += "${PN}-module-strict" RDEPENDS_${PN}-module-carp += "${PN}-module-warnings" +RDEPENDS_${PN}-module--charnames += "${PN}-module-bytes" RDEPENDS_${PN}-module-charnames += "${PN}-module-bytes" -RDEPENDS_${PN}-module-charnames += "${PN}-module-carp" -RDEPENDS_${PN}-module-charnames += "${PN}-module-file-spec" +RDEPENDS_${PN}-module--charnames += "${PN}-module-carp" +RDEPENDS_${PN}-module-charnames += "${PN}-module--charnames" +RDEPENDS_${PN}-module--charnames += "${PN}-module-file-spec" +RDEPENDS_${PN}-module--charnames += "${PN}-module-re" RDEPENDS_${PN}-module-charnames += "${PN}-module-re" +RDEPENDS_${PN}-module--charnames += "${PN}-module-strict" RDEPENDS_${PN}-module-charnames += "${PN}-module-strict" +RDEPENDS_${PN}-module--charnames += "${PN}-module-warnings" RDEPENDS_${PN}-module-charnames += "${PN}-module-warnings" RDEPENDS_${PN}-module-class-struct += "${PN}-module-carp" RDEPENDS_${PN}-module-class-struct += "${PN}-module-exporter" @@ -277,6 +281,7 @@ RDEPENDS_${PN}-module-constant += "${PN}-module-carp" RDEPENDS_${PN}-module-constant += "${PN}-module-strict" RDEPENDS_${PN}-module-constant += "${PN}-module-warnings-register" RDEPENDS_${PN}-module-corelist += "${PN}-module-list-util" +RDEPENDS_${PN}-module-corelist += "${PN}-module-corelist" RDEPENDS_${PN}-module-corelist += "${PN}-module-strict" RDEPENDS_${PN}-module-corelist += "${PN}-module-vars" RDEPENDS_${PN}-module-corelist += "${PN}-module-version" @@ -522,11 +527,13 @@ RDEPENDS_${PN}-module-encoding += "${PN}-module-constant" RDEPENDS_${PN}-module-encoding += "${PN}-module-encode" RDEPENDS_${PN}-module-encoding += "${PN}-module-filter-util-call" RDEPENDS_${PN}-module-encoding += "${PN}-module-i18n-langinfo" +RDEPENDS_${PN}-module-encoding += "${PN}-module-posix" RDEPENDS_${PN}-module-encoding += "${PN}-module-strict" RDEPENDS_${PN}-module-encoding += "${PN}-module-utf8" RDEPENDS_${PN}-module-encoding += "${PN}-module-warnings" RDEPENDS_${PN}-module-encoding-warnings += "${PN}-module-carp" RDEPENDS_${PN}-module-encoding-warnings += "${PN}-module-strict" +RDEPENDS_${PN}-module-encoding-warnings += "${PN}-module-warnings" RDEPENDS_${PN}-module-english += "${PN}-module-carp " RDEPENDS_${PN}-module-english += "${PN}-module-exporter" RDEPENDS_${PN}-module-env += "${PN}-module-config" @@ -553,41 +560,58 @@ RDEPENDS_${PN}-module-extutils-cbuilder-base += "${PN}-module-file-temp" RDEPENDS_${PN}-module-extutils-cbuilder-base += "${PN}-module-ipc-cmd" RDEPENDS_${PN}-module-extutils-cbuilder-base += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-base += "${PN}-module-text-parsewords" +RDEPENDS_${PN}-module-extutils-cbuilder-base += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder += "${PN}-module-file-basename" RDEPENDS_${PN}-module-extutils-cbuilder += "${PN}-module-file-path" RDEPENDS_${PN}-module-extutils-cbuilder += "${PN}-module-file-spec" +RDEPENDS_${PN}-module-extutils-cbuilder += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-aix += "${PN}-module-extutils-cbuilder-platform-unix" RDEPENDS_${PN}-module-extutils-cbuilder-platform-aix += "${PN}-module-file-spec" RDEPENDS_${PN}-module-extutils-cbuilder-platform-aix += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-platform-aix += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-aix += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-android += "${PN}-module-config" RDEPENDS_${PN}-module-extutils-cbuilder-platform-android += "${PN}-module-extutils-cbuilder-platform-unix" RDEPENDS_${PN}-module-extutils-cbuilder-platform-android += "${PN}-module-file-spec" RDEPENDS_${PN}-module-extutils-cbuilder-platform-android += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-platform-android += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-android += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-cygwin += "${PN}-module-extutils-cbuilder-platform-unix" RDEPENDS_${PN}-module-extutils-cbuilder-platform-cygwin += "${PN}-module-file-spec" RDEPENDS_${PN}-module-extutils-cbuilder-platform-cygwin += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-platform-cygwin += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-cygwin += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-darwin += "${PN}-module-extutils-cbuilder-platform-unix" RDEPENDS_${PN}-module-extutils-cbuilder-platform-darwin += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-platform-darwin += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-darwin += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-dec-osf += "${PN}-module-extutils-cbuilder-platform-unix" RDEPENDS_${PN}-module-extutils-cbuilder-platform-dec-osf += "${PN}-module-file-spec" RDEPENDS_${PN}-module-extutils-cbuilder-platform-dec-osf += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-platform-dec-osf += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-dec-osf += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-os2 += "${PN}-module-extutils-cbuilder-platform-unix" RDEPENDS_${PN}-module-extutils-cbuilder-platform-os2 += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-platform-os2 += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-os2 += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-unix += "${PN}-module-extutils-cbuilder-base" RDEPENDS_${PN}-module-extutils-cbuilder-platform-unix += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-platform-unix += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-unix += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-vms += "${PN}-module-config" RDEPENDS_${PN}-module-extutils-cbuilder-platform-vms += "${PN}-module-extutils-cbuilder-base" RDEPENDS_${PN}-module-extutils-cbuilder-platform-vms += "${PN}-module-file-spec-functions" RDEPENDS_${PN}-module-extutils-cbuilder-platform-vms += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-cbuilder-platform-vms += "${PN}-module-vars" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-vms += "${PN}-module-warnings" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows-bcc += "${PN}-module-strict" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows-bcc += "${PN}-module-warnings" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows-gcc += "${PN}-module-strict" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows-gcc += "${PN}-module-warnings" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows-msvc += "${PN}-module-strict" +RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows-msvc += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows += "${PN}-module-extutils-cbuilder-base" RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows += "${PN}-module-file-basename" RDEPENDS_${PN}-module-extutils-cbuilder-platform-windows += "${PN}-module-file-spec" @@ -704,21 +728,8 @@ RDEPENDS_${PN}-module-extutils-makemaker += "${PN}-module-file-path" RDEPENDS_${PN}-module-extutils-makemaker += "${PN}-module-file-spec" RDEPENDS_${PN}-module-extutils-makemaker += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-makemaker += "${PN}-module-version" -RDEPENDS_${PN}-module-extutils-makemaker-version += "${PN}-module-extutils-makemaker-version-regex" RDEPENDS_${PN}-module-extutils-makemaker-version += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-makemaker-version += "${PN}-module-vars" -RDEPENDS_${PN}-module-extutils-makemaker-version-regex += "${PN}-module-strict" -RDEPENDS_${PN}-module-extutils-makemaker-version-regex += "${PN}-module-vars" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-b" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-carp" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-config" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-constant" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-extutils-makemaker-version-regex" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-locale" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-overload" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-strict" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-universal" -RDEPENDS_${PN}-module-extutils-makemaker-version-vpp += "${PN}-module-vars" RDEPENDS_${PN}-module-extutils-manifest += "${PN}-module-carp" RDEPENDS_${PN}-module-extutils-manifest += "${PN}-module-config" RDEPENDS_${PN}-module-extutils-manifest += "${PN}-module-exporter" @@ -879,9 +890,10 @@ RDEPENDS_${PN}-module-extutils-typemaps += "${PN}-module-warnings" RDEPENDS_${PN}-module-extutils-typemaps-type += "${PN}-module-extutils-typemaps" RDEPENDS_${PN}-module-extutils-typemaps-type += "${PN}-module-strict" RDEPENDS_${PN}-module-extutils-typemaps-type += "${PN}-module-warnings" +RDEPENDS_${PN}-module-fatal += "${PN}-module-autodie" RDEPENDS_${PN}-module-fatal += "${PN}-module-autodie-exception-system" RDEPENDS_${PN}-module-fatal += "${PN}-module-autodie-hints" -RDEPENDS_${PN}-module-fatal += "${PN}-module-autodie-scopeutil" +RDEPENDS_${PN}-module-fatal += "${PN}-module-autodie-util" RDEPENDS_${PN}-module-fatal += "${PN}-module-carp" RDEPENDS_${PN}-module-fatal += "${PN}-module-config" RDEPENDS_${PN}-module-fatal += "${PN}-module-constant" @@ -966,6 +978,9 @@ RDEPENDS_${PN}-module-file-path += "${PN}-module-file-basename" RDEPENDS_${PN}-module-file-path += "${PN}-module-file-spec" RDEPENDS_${PN}-module-file-path += "${PN}-module-strict" RDEPENDS_${PN}-module-file-path += "${PN}-module-vars" +RDEPENDS_${PN}-module-file-spec-amigaos += "${PN}-module-file-spec-unix" +RDEPENDS_${PN}-module-file-spec-amigaos += "${PN}-module-strict" +RDEPENDS_${PN}-module-file-spec-amigaos += "${PN}-module-vars" RDEPENDS_${PN}-module-file-spec-cygwin += "${PN}-module-file-spec-unix" RDEPENDS_${PN}-module-file-spec-cygwin += "${PN}-module-strict" RDEPENDS_${PN}-module-file-spec-cygwin += "${PN}-module-vars" @@ -1165,7 +1180,7 @@ RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-file-spec" RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-io-compress-adapter-deflate" RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-io-compress-adapter-identity" RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-io-compress-base-common" -RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-io-compress-bzip2 " +RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-io-compress-bzip2" RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-io-compress-rawdeflate" RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-io-compress-zip-constants" RDEPENDS_${PN}-module-io-compress-zip += "${PN}-module-io-compress-zlib-extra" @@ -1426,6 +1441,7 @@ RDEPENDS_${PN}-module-load += "${PN}-module-filehandle" RDEPENDS_${PN}-module-load += "${PN}-module-file-spec" RDEPENDS_${PN}-module-load += "${PN}-module-locale-maketext-simple" RDEPENDS_${PN}-module-load += "${PN}-module-corelist" +RDEPENDS_${PN}-module-load += "${PN}-module-load" RDEPENDS_${PN}-module-load += "${PN}-module-params-check" RDEPENDS_${PN}-module-load += "${PN}-module-strict" RDEPENDS_${PN}-module-load += "${PN}-module-vars" @@ -1563,43 +1579,45 @@ RDEPENDS_${PN}-module-locale-script += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-bigfloat += "${PN}-module-carp" RDEPENDS_${PN}-module-math-bigfloat += "${PN}-module-exporter" RDEPENDS_${PN}-module-math-bigfloat += "${PN}-module-math-bigint" +RDEPENDS_${PN}-module-math-bigfloat += "${PN}-module-math-complex" RDEPENDS_${PN}-module-math-bigfloat += "${PN}-module-overload" RDEPENDS_${PN}-module-math-bigfloat += "${PN}-module-strict" -RDEPENDS_${PN}-module-math-bigfloat += "${PN}-module-vars" +RDEPENDS_${PN}-module-math-bigfloat += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-bigfloat-trace += "${PN}-module-exporter" RDEPENDS_${PN}-module-math-bigfloat-trace += "${PN}-module-math-bigfloat" RDEPENDS_${PN}-module-math-bigfloat-trace += "${PN}-module-overload" RDEPENDS_${PN}-module-math-bigfloat-trace += "${PN}-module-strict" -RDEPENDS_${PN}-module-math-bigfloat-trace += "${PN}-module-vars" +RDEPENDS_${PN}-module-math-bigfloat-trace += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-bigint-calcemu += "${PN}-module-strict" -RDEPENDS_${PN}-module-math-bigint-calcemu += "${PN}-module-vars" +RDEPENDS_${PN}-module-math-bigint-calcemu += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-bigint-calc += "${PN}-module-carp" RDEPENDS_${PN}-module-math-bigint-calc += "${PN}-module-constant" RDEPENDS_${PN}-module-math-bigint-calc += "${PN}-module-integer" RDEPENDS_${PN}-module-math-bigint-calc += "${PN}-module-strict" +RDEPENDS_${PN}-module-math-bigint-calc += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-bigint-fastcalc += "${PN}-module-math-bigint-calc" RDEPENDS_${PN}-module-math-bigint-fastcalc += "${PN}-module-strict" -RDEPENDS_${PN}-module-math-bigint-fastcalc += "${PN}-module-vars" RDEPENDS_${PN}-module-math-bigint-fastcalc += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-bigint-fastcalc += "${PN}-module-xsloader" RDEPENDS_${PN}-module-math-bigint += "${PN}-module-carp" RDEPENDS_${PN}-module-math-bigint += "${PN}-module-exporter" RDEPENDS_${PN}-module-math-bigint += "${PN}-module-file-spec" RDEPENDS_${PN}-module-math-bigint += "${PN}-module-math-bigfloat" +RDEPENDS_${PN}-module-math-bigint += "${PN}-module-math-complex" RDEPENDS_${PN}-module-math-bigint += "${PN}-module-overload" RDEPENDS_${PN}-module-math-bigint += "${PN}-module-strict" -RDEPENDS_${PN}-module-math-bigint += "${PN}-module-vars" +RDEPENDS_${PN}-module-math-bigint += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-bigint-trace += "${PN}-module-exporter" RDEPENDS_${PN}-module-math-bigint-trace += "${PN}-module-math-bigint" RDEPENDS_${PN}-module-math-bigint-trace += "${PN}-module-overload" RDEPENDS_${PN}-module-math-bigint-trace += "${PN}-module-strict" -RDEPENDS_${PN}-module-math-bigint-trace += "${PN}-module-vars" +RDEPENDS_${PN}-module-math-bigint-trace += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-bigrat += "${PN}-module-carp" RDEPENDS_${PN}-module-math-bigrat += "${PN}-module-math-bigfloat" RDEPENDS_${PN}-module-math-bigrat += "${PN}-module-math-bigint" RDEPENDS_${PN}-module-math-bigrat += "${PN}-module-overload" RDEPENDS_${PN}-module-math-bigrat += "${PN}-module-strict" -RDEPENDS_${PN}-module-math-bigrat += "${PN}-module-vars" +RDEPENDS_${PN}-module-math-bigrat += "${PN}-module-warnings" RDEPENDS_${PN}-module-math-complex += "${PN}-module-config" RDEPENDS_${PN}-module-math-complex += "${PN}-module-exporter" RDEPENDS_${PN}-module-math-complex += "${PN}-module-overload" @@ -1635,6 +1653,7 @@ RDEPENDS_${PN}-module-mro += "${PN}-module-warnings" RDEPENDS_${PN}-module-mro += "${PN}-module-xsloader" RDEPENDS_${PN}-module-net-cmd += "${PN}-module-carp" RDEPENDS_${PN}-module-net-cmd += "${PN}-module-constant" +RDEPENDS_${PN}-module-net-cmd += "${PN}-module-errno" RDEPENDS_${PN}-module-net-cmd += "${PN}-module-exporter" RDEPENDS_${PN}-module-net-cmd += "${PN}-module-strict" RDEPENDS_${PN}-module-net-cmd += "${PN}-module-symbol" @@ -1816,16 +1835,17 @@ RDEPENDS_${PN}-module-pod-functions += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-inputobjects += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-inputobjects += "${PN}-module-vars" RDEPENDS_${PN}-module-pod-man += "${PN}-module-carp" -RDEPENDS_${PN}-module-pod-man += "${PN}-module-encode" RDEPENDS_${PN}-module-pod-man += "${PN}-module-file-basename" RDEPENDS_${PN}-module-pod-man += "${PN}-module-file-spec" RDEPENDS_${PN}-module-pod-man += "${PN}-module-pod-simple" RDEPENDS_${PN}-module-pod-man += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-man += "${PN}-module-subs" RDEPENDS_${PN}-module-pod-man += "${PN}-module-vars" +RDEPENDS_${PN}-module-pod-man += "${PN}-module-warnings" RDEPENDS_${PN}-module-pod-parselink += "${PN}-module-exporter" RDEPENDS_${PN}-module-pod-parselink += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-parselink += "${PN}-module-vars" +RDEPENDS_${PN}-module-pod-parselink += "${PN}-module-warnings" RDEPENDS_${PN}-module-pod-parser += "${PN}-module-carp" RDEPENDS_${PN}-module-pod-parser += "${PN}-module-exporter" RDEPENDS_${PN}-module-pod-parser += "${PN}-module-pod-inputobjects" @@ -2001,6 +2021,7 @@ RDEPENDS_${PN}-module-pod-simple-tiedoutfh += "${PN}-module-symbol" RDEPENDS_${PN}-module-pod-simple-tiedoutfh += "${PN}-module-vars" RDEPENDS_${PN}-module-pod-simple-transcodedumb += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-simple-transcodedumb += "${PN}-module-vars" +RDEPENDS_${PN}-module-pod-simple-transcode += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-simple-transcode += "${PN}-module-vars" RDEPENDS_${PN}-module-pod-simple-transcodesmart += "${PN}-module-encode" RDEPENDS_${PN}-module-pod-simple-transcodesmart += "${PN}-module-pod-simple" @@ -2014,20 +2035,24 @@ RDEPENDS_${PN}-module-pod-text-color += "${PN}-module-pod-text" RDEPENDS_${PN}-module-pod-text-color += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-text-color += "${PN}-module-term-ansicolor" RDEPENDS_${PN}-module-pod-text-color += "${PN}-module-vars" +RDEPENDS_${PN}-module-pod-text-color += "${PN}-module-warnings" RDEPENDS_${PN}-module-pod-text-overstrike += "${PN}-module-pod-text" RDEPENDS_${PN}-module-pod-text-overstrike += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-text-overstrike += "${PN}-module-vars" +RDEPENDS_${PN}-module-pod-text-overstrike += "${PN}-module-warnings" RDEPENDS_${PN}-module-pod-text += "${PN}-module-carp" RDEPENDS_${PN}-module-pod-text += "${PN}-module-encode" RDEPENDS_${PN}-module-pod-text += "${PN}-module-exporter" RDEPENDS_${PN}-module-pod-text += "${PN}-module-pod-simple" RDEPENDS_${PN}-module-pod-text += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-text += "${PN}-module-vars" +RDEPENDS_${PN}-module-pod-text += "${PN}-module-warnings" RDEPENDS_${PN}-module-pod-text-termcap += "${PN}-module-pod-text" RDEPENDS_${PN}-module-pod-text-termcap += "${PN}-module-posix" RDEPENDS_${PN}-module-pod-text-termcap += "${PN}-module-strict" RDEPENDS_${PN}-module-pod-text-termcap += "${PN}-module-term-cap" RDEPENDS_${PN}-module-pod-text-termcap += "${PN}-module-vars" +RDEPENDS_${PN}-module-pod-text-termcap += "${PN}-module-warnings" RDEPENDS_${PN}-module-pod-usage += "${PN}-module-carp" RDEPENDS_${PN}-module-pod-usage += "${PN}-module-config" RDEPENDS_${PN}-module-pod-usage += "${PN}-module-exporter" @@ -2480,9 +2505,8 @@ RDEPENDS_${PN}-module-time-piece += "${PN}-module-time-local" RDEPENDS_${PN}-module-time-piece += "${PN}-module-time-seconds" RDEPENDS_${PN}-module-time-seconds += "${PN}-module-constant" RDEPENDS_${PN}-module-time-seconds += "${PN}-module-exporter" -RDEPENDS_${PN}-module-time-seconds += "${PN}-module-overload " +RDEPENDS_${PN}-module-time-seconds += "${PN}-module-overload" RDEPENDS_${PN}-module-time-seconds += "${PN}-module-strict" -RDEPENDS_${PN}-module-time-seconds += "${PN}-module-vars" RDEPENDS_${PN}-module-time-tm += "${PN}-module-class-struct" RDEPENDS_${PN}-module-time-tm += "${PN}-module-strict" RDEPENDS_${PN}-module-unicode-collate-cjk-big5 += "${PN}-module-strict" @@ -2492,7 +2516,6 @@ RDEPENDS_${PN}-module-unicode-collate-cjk-gb2312 += "${PN}-module-warnings" RDEPENDS_${PN}-module-unicode-collate-cjk-jisx0208 += "${PN}-module-strict" RDEPENDS_${PN}-module-unicode-collate-cjk-jisx0208 += "${PN}-module-warnings" RDEPENDS_${PN}-module-unicode-collate-cjk-korean += "${PN}-module-strict" -RDEPENDS_${PN}-module-unicode-collate-cjk-korean += "${PN}-module-unicode-collate" RDEPENDS_${PN}-module-unicode-collate-cjk-korean += "${PN}-module-warnings" RDEPENDS_${PN}-module-unicode-collate-cjk-pinyin += "${PN}-module-strict" RDEPENDS_${PN}-module-unicode-collate-cjk-pinyin += "${PN}-module-warnings" @@ -2511,9 +2534,8 @@ RDEPENDS_${PN}-module-unicode-collate += "${PN}-module-file-spec" RDEPENDS_${PN}-module-unicode-collate += "${PN}-module-strict" RDEPENDS_${PN}-module-unicode-collate += "${PN}-module-warnings" RDEPENDS_${PN}-module-unicode-normalize += "${PN}-module-carp" -RDEPENDS_${PN}-module-unicode-normalize += "${PN}-module-constant" +RDEPENDS_${PN}-module-unicode-normalize += "${PN}-module-dynaloader" RDEPENDS_${PN}-module-unicode-normalize += "${PN}-module-exporter" -RDEPENDS_${PN}-module-unicode-normalize += "${PN}-module-file-spec" RDEPENDS_${PN}-module-unicode-normalize += "${PN}-module-strict" RDEPENDS_${PN}-module-unicode-normalize += "${PN}-module-warnings" RDEPENDS_${PN}-module-unicode-ucd += "${PN}-module-carp" @@ -2546,18 +2568,8 @@ RDEPENDS_${PN}-module-utf8 += "${PN}-module-utf8-heavy" RDEPENDS_${PN}-module-version += "${PN}-module-strict" RDEPENDS_${PN}-module-version += "${PN}-module-vars" RDEPENDS_${PN}-module-version += "${PN}-module-version-regex" +RDEPENDS_${PN}-module-version += "${PN}-module-warnings-register" RDEPENDS_${PN}-module-version-regex += "${PN}-module-strict" RDEPENDS_${PN}-module-version-regex += "${PN}-module-vars" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-b" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-carp" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-config" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-constant" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-if" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-overload" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-posix" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-strict" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-universal" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-vars" -RDEPENDS_${PN}-module-version-vpp += "${PN}-module-version-regex" RDEPENDS_${PN}-module-xsloader += "${PN}-module-carp" RDEPENDS_${PN}-module-xsloader += "${PN}-module-dynaloader" diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch new file mode 100644 index 000000000..7391ac583 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch @@ -0,0 +1,103 @@ +Some distributions (like opensuse421) supported by the project +comes with older gcc releases, -fstack-protector=strong is supported +by GCC>=4.9. + +This causes a build failure when install perl-native from a sstate that +comes from a machine supporting -fstack-protector=strong [1]. + +So disable usage of this flag in perl-native builds, this patch could +be removed when all supported distros comes with GCC>=4.9. + +[YOCTO #10338] + +Upstream-status: Inappropriate [configuration] + +[1] http://errors.yoctoproject.org/Errors/Details/109589/ + +Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> +--- + Configure | 54 ------------------------------------------------------ + 1 file changed, 54 deletions(-) + +diff --git a/Configure b/Configure +index efbdcfd..d5bd98c 100755 +--- a/Configure ++++ b/Configure +@@ -5468,30 +5468,6 @@ default|recommended) + eval $checkccflag + ;; + esac +- +- # on x86_64 (at least) we require an extra library (libssp) in the +- # link command line. This library is not named, so I infer that it is +- # an implementation detail that may change. Hence the safest approach +- # is to add the flag to the flags passed to the compiler at link time, +- # as that way the compiler can do the right implementation dependant +- # thing. (NWC) +- case "$osname" in +- amigaos) ;; # -fstack-protector builds but doesn't work +- *) case "$gccversion" in +- ?*) set stack-protector-strong -fstack-protector-strong +- eval $checkccflag +- case "$dflt" in +- *-fstack-protector-strong*) ;; # It got added. +- *) # Try the plain/older -fstack-protector. +- set stack-protector -fstack-protector +- eval $checkccflag +- ;; +- esac +- ;; +- esac +- ;; +- esac +- ;; + esac + + case "$mips_type" in +@@ -5634,21 +5610,6 @@ case "$ldflags" in + ;; + *) dflt="$ldflags";; + esac +-# See note above about -fstack-protector +-case "$ccflags" in +-*-fstack-protector-strong*) +- case "$dflt" in +- *-fstack-protector-strong*) ;; # Don't add it again +- *) dflt="$dflt -fstack-protector-strong" ;; +- esac +- ;; +-*-fstack-protector*) +- case "$dflt" in +- *-fstack-protector*) ;; # Don't add it again +- *) dflt="$dflt -fstack-protector" ;; +- esac +- ;; +-esac + + : Try to guess additional flags to pick up local libraries. + for thislibdir in $libpth; do +@@ -8571,21 +8532,6 @@ EOM + ''|' ') dflt='none' ;; + esac + +- case "$ldflags" in +- *-fstack-protector-strong*) +- case "$dflt" in +- *-fstack-protector-strong*) ;; # Don't add it again +- *) dflt="$dflt -fstack-protector-strong" ;; +- esac +- ;; +- *-fstack-protector*) +- case "$dflt" in +- *-fstack-protector*) ;; # Don't add it again +- *) dflt="$dflt -fstack-protector" ;; +- esac +- ;; +- esac +- + rp="Any special flags to pass to $ld to create a dynamically loaded library?" + . ./myread + case "$ans" in +-- +2.1.4 + diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/Makefile.SH.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/Makefile.SH.patch index edf49d60e..fd8237fe7 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/Makefile.SH.patch +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/Makefile.SH.patch @@ -1,15 +1,22 @@ +From 4dd9f3f81d8c81c96ff1ea0890ea55685f28b7e9 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Tue, 1 Jul 2014 15:51:53 +0800 +Subject: [PATCH 28/49] perl, perl-native, perl-ptest: upgrade from 5.14.3 to + 5.20.0 + Upstream-Status:Inappropriate [embedded specific] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> + --- - Makefile.SH | 145 +++++++++++++++++++++++++++-------------------------------- - 1 file changed, 67 insertions(+), 78 deletions(-) + Makefile.SH | 147 ++++++++++++++++++++++++++++-------------------------------- + 1 file changed, 68 insertions(+), 79 deletions(-) -Index: perl-5.22.1/Makefile.SH -=================================================================== ---- perl-5.22.1.orig/Makefile.SH -+++ perl-5.22.1/Makefile.SH -@@ -39,10 +39,10 @@ case "$useshrplib" in +diff --git a/Makefile.SH b/Makefile.SH +index 916b332..b143d46 100755 +--- a/Makefile.SH ++++ b/Makefile.SH +@@ -48,10 +48,10 @@ case "$useshrplib" in true) # Prefix all runs of 'miniperl' and 'perl' with # $ldlibpth so that ./perl finds *this* shared libperl. @@ -24,7 +31,7 @@ Index: perl-5.22.1/Makefile.SH pldlflags="$cccdlflags" static_ldflags='' -@@ -122,10 +122,11 @@ true) +@@ -131,10 +131,11 @@ true) *) eval "ldlibpthval=\"\$$ldlibpthname\"" @@ -40,7 +47,7 @@ Index: perl-5.22.1/Makefile.SH ;; esac -@@ -141,18 +142,7 @@ true) +@@ -150,18 +151,7 @@ true) # INSTALL file, under "Building a shared perl library". # If there is no pre-existing $libperl, we don't need # to do anything further. @@ -60,17 +67,13 @@ Index: perl-5.22.1/Makefile.SH ;; os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth" ;; -@@ -566,13 +556,23 @@ splintfiles = $(c1) +@@ -596,13 +586,23 @@ splintfiles = $(c1) @echo `$(CCCMDSRC)` -S $*.c @`$(CCCMDSRC)` -S $*.c -all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make $(MANIFEST_SRT) - @echo " "; - @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." -- --$(MANIFEST_SRT): MANIFEST $(PERL_EXE) -- @$(RUN_PERL) Porting/manisort -q || (echo "WARNING: re-sorting MANIFEST"; \ -- $(RUN_PERL) Porting/manisort -q -o MANIFEST; sh -c true) +#all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make $(MANIFEST_SRT) +# @echo " "; +# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." @@ -80,7 +83,10 @@ Index: perl-5.22.1/Makefile.SH +more: $(generated_pods) $(private) $(public) + +more2: $(dynamic_ext) -+ + +-$(MANIFEST_SRT): MANIFEST $(PERL_EXE) +- @$(RUN_PERL) Porting/manisort -q || (echo "WARNING: re-sorting MANIFEST"; \ +- $(RUN_PERL) Porting/manisort -q -o MANIFEST; sh -c true) +more3: $(nonxs_ext) + +more4: extras.make $(MANIFEST_SRT) @@ -91,7 +97,7 @@ Index: perl-5.22.1/Makefile.SH @touch $(MANIFEST_SRT) .PHONY: all utilities -@@ -581,7 +581,7 @@ $(MANIFEST_SRT): MANIFEST $(PERL_EXE) +@@ -611,7 +611,7 @@ $(MANIFEST_SRT): MANIFEST $(PERL_EXE) # by make_patchnum.pl. git_version.h: lib/Config_git.pl @@ -100,7 +106,7 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) make_patchnum.pl # make sure that we recompile perl.c if the git version changes -@@ -594,7 +594,7 @@ perl$(OBJ_EXT): git_version.h +@@ -624,7 +624,7 @@ perl$(OBJ_EXT): git_version.h # loading, we need to build perl first. case "$usedl$static_cwd" in defineundef) @@ -109,7 +115,7 @@ Index: perl-5.22.1/Makefile.SH ;; definedefine) util_deps='$(PERL_EXE) $(CONFIGPM) FORCE' -@@ -604,7 +604,7 @@ definedefine) +@@ -634,7 +634,7 @@ definedefine) esac $spitshell >>$Makefile <<!GROK!THIS! @@ -118,16 +124,16 @@ Index: perl-5.22.1/Makefile.SH \$(MINIPERL) -Ilib utils/Makefile.PL utilities: utils/Makefile $util_deps -@@ -699,7 +699,7 @@ esac - - +@@ -743,7 +743,7 @@ ext.libs: $(static_ext) + ;; + *) $spitshell >>$Makefile <<'!NO!SUBS!' -perlmain.c: $(MINIPERL_EXE) ext/ExtUtils-Miniperl/pm_to_blib +perlmain.c: ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm $(MINIPERL) -Ilib -MExtUtils::Miniperl -e 'writemain(\"perlmain.c", @ARGV)' DynaLoader $(static_ext) # The file ext.libs is a list of libraries that must be linked in -@@ -760,7 +760,7 @@ PERLEXPORT = perl.exp +@@ -806,7 +806,7 @@ PERLEXPORT = perl.exp ;; esac $spitshell >>$Makefile <<'!NO!SUBS!' @@ -136,7 +142,7 @@ Index: perl-5.22.1/Makefile.SH ./$(MINIPERLEXP) makedef.pl --sort-fold PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" > perl.exp !NO!SUBS! -@@ -769,7 +769,7 @@ os2) +@@ -815,7 +815,7 @@ os2) $spitshell >>$Makefile <<'!NO!SUBS!' MINIPERLEXP = miniperl @@ -145,19 +151,19 @@ Index: perl-5.22.1/Makefile.SH ./$(MINIPERLEXP) makedef.pl PLATFORM=os2 -DPERL_DLL=$(PERL_DLL) CC_FLAGS="$(OPTIMIZE)" > perl5.def !NO!SUBS! -@@ -829,7 +829,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI +@@ -878,7 +878,7 @@ $(LIBPERL): $& $(perllib_objs) $(DYNALOADER) $(LIBPERLEXPORT) true) $spitshell >>$Makefile <<'!NO!SUBS!' rm -f $@ -- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -+ $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -Wl,-soname,libperl.so.5 +- $(LD) -o $@ $(SHRPLDFLAGS) $(perllib_objs) $(DYNALOADER) $(libs) ++ $(LD) -o $@ $(SHRPLDFLAGS) $(perllib_objs) $(DYNALOADER) $(libs) -Wl,-soname,libperl.so.5 !NO!SUBS! case "$osname" in aix) -@@ -877,7 +877,9 @@ $(MINIPERL_EXE): lib/buildcustomize.pl +@@ -936,15 +936,19 @@ lib/buildcustomize.pl: $& $(miniperl_objs) write_buildcustomize.pl $spitshell >>$Makefile <<'!NO!SUBS!' - lib/buildcustomize.pl: $& $(mini_obj) - $(CC) -o $(MINIPERL_EXE) $(CLDFLAGS) $(mini_obj) $(libs) + lib/buildcustomize.pl: $& $(miniperl_objs) + $(CC) -o $(MINIPERL_EXE) $(CLDFLAGS) $(miniperl_objs) $(libs) - $(LDLIBPTH) ./miniperl$(HOST_EXE_EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1' + mv -f miniperl miniperl-target + ln -s hostperl miniperl @@ -165,21 +171,22 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) -f write_buildcustomize.pl !NO!SUBS! ;; -@@ -885,7 +887,9 @@ lib/buildcustomize.pl: $& $(mini_obj) + next4*) $spitshell >>$Makefile <<'!NO!SUBS!' - lib/buildcustomize.pl: $& $(mini_obj) write ldcustomize.pl - $(CC) -o $(MINIPERL_EXE) $(mini_obj libs) + lib/buildcustomize.pl: $& $(miniperl_objs) write ldcustomize.pl +- $(CC) -o $(MINIPERL_EXE) $(miniperl_objs libs) - $(LDLIBPTH) ./miniperl$(HOST _EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1' ++ $(CC) -o $(MINIPERL_EXE) $(miniperl_objs libs) + mv -f miniperl miniperl-target + ln -s hostperl miniperl + #$(LDLIBPTH) ./miniperl$(HOST _EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1' $(MINIPERL) -f write_buildcustomize.pl !NO!SUBS! ;; -@@ -907,7 +911,9 @@ lib/buildcustomize.pl: $& $(mini_obj) wr +@@ -966,7 +970,9 @@ lib/buildcustomize.pl: $& $(miniperl_objs) write_buildcustomize.pl -@rm -f miniperl.xok $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \ - $(mini_obj) $(libs) + $(miniperl_objs) $(libs) - $(LDLIBPTH) ./miniperl$(HOST_EXE_EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1' + mv -f miniperl miniperl-target + ln -s hostperl miniperl @@ -187,7 +194,7 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) -f write_buildcustomize.pl !NO!SUBS! ;; -@@ -918,7 +924,9 @@ lib/buildcustomize.pl: \$& \$(mini_obj) +@@ -977,7 +983,9 @@ lib/buildcustomize.pl: \$& \$(miniperl_objs) write_buildcustomize.pl -@rm -f miniperl.xok -@rm \$(MINIPERL_EXE) \$(LNS) \$(HOST_PERL) \$(MINIPERL_EXE) @@ -198,10 +205,10 @@ Index: perl-5.22.1/Makefile.SH \$(MINIPERL) -f write_buildcustomize.pl 'osname' "$osname" !GROK!THIS! else -@@ -927,7 +935,9 @@ lib/buildcustomize.pl: $& $(mini_obj) wr +@@ -986,7 +994,9 @@ lib/buildcustomize.pl: $& $(miniperl_objs) write_buildcustomize.pl -@rm -f miniperl.xok $(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \ - $(mini_obj) $(libs) + $(miniperl_objs) $(libs) - $(LDLIBPTH) ./miniperl$(HOST_EXE_EXT) -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1' + mv -f miniperl miniperl-target + ln -s hostperl miniperl @@ -209,7 +216,7 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) -f write_buildcustomize.pl !NO!SUBS! fi -@@ -971,7 +981,7 @@ case "${osname}" in +@@ -1036,7 +1046,7 @@ case "${osname}" in catamount) $spitshell >>$Makefile <<!GROK!THIS! .PHONY: makeppport @@ -218,7 +225,7 @@ Index: perl-5.22.1/Makefile.SH -@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \ (cd ext/Devel-PPPort && `pwd`/run.sh ../../$(MINIPERL_EXE) -I../../lib \$\$f); \ done -@@ -981,7 +991,7 @@ makeppport: \$(MINIPERL_EXE) \$(CONFIGPM +@@ -1046,7 +1056,7 @@ makeppport: \$(MINIPERL_EXE) \$(CONFIGPM) *) $spitshell >>$Makefile <<'!NO!SUBS!' .PHONY: makeppport @@ -227,7 +234,7 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) mkppport !NO!SUBS! -@@ -991,16 +1001,16 @@ esac +@@ -1056,16 +1066,16 @@ esac $spitshell >>$Makefile <<'!NO!SUBS!' .PHONY: preplibrary @@ -247,7 +254,7 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) lib/unicore/mktables -C lib/unicore -P pod -maketest -makelist -p # Commented out so always runs, mktables looks at far more files than we # can in this makefile to decide if needs to run or not -@@ -1009,12 +1019,12 @@ uni.data: $(MINIPERL_EXE) $(CONFIGPM) li +@@ -1074,12 +1084,12 @@ uni.data: $(MINIPERL_EXE) $(CONFIGPM) lib/unicore/mktables $(nonxs_ext) # $(PERL_EXE) and ext because pod_lib.pl needs Digest::MD5 # But also this ensures that all extensions are built before we try to scan # them, which picks up Devel::PPPort's documentation. @@ -263,16 +270,16 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) autodoc.pl pod/perlmodlib.pod: $(MINIPERL_EXE) pod/perlmodlib.PL MANIFEST -@@ -1024,7 +1034,7 @@ pod/perl5221delta.pod: pod/perldelta.pod - $(RMS) pod/perl5221delta.pod - $(LNS) perldelta.pod pod/perl5221delta.pod +@@ -1089,7 +1099,7 @@ pod/perl5240delta.pod: pod/perldelta.pod + $(RMS) pod/perl5240delta.pod + $(LNS) perldelta.pod pod/perl5240delta.pod -extra.pods: $(MINIPERL_EXE) +extra.pods: -@test ! -f extra.pods || rm -f `cat extra.pods` -@rm -f extra.pods -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \ -@@ -1068,8 +1078,7 @@ EOT +@@ -1133,8 +1143,7 @@ EOT $spitshell >>$Makefile <<EOT install_$name install-$name: \$(INSTALL_DEPENDENCE) installperl all installman @@ -282,7 +289,7 @@ Index: perl-5.22.1/Makefile.SH EOT fi -@@ -1079,11 +1088,7 @@ done +@@ -1144,11 +1153,7 @@ done if test "X$hostperl" != X; then $spitshell >>$Makefile <<'!NO!SUBS!' install.perl: $(INSTALL_DEPENDENCE) installperl @@ -295,7 +302,7 @@ Index: perl-5.22.1/Makefile.SH # XXX Experimental. Hardwired values, but useful for testing. # Eventually Configure could ask for some of these values. -@@ -1101,24 +1106,8 @@ install.html: all installhtml +@@ -1166,24 +1171,8 @@ install.html: all installhtml else $spitshell >>$Makefile <<'!NO!SUBS!' install.perl: $(INSTALL_DEPENDENCE) installperl @@ -321,7 +328,7 @@ Index: perl-5.22.1/Makefile.SH !NO!SUBS! fi -@@ -1210,13 +1199,13 @@ manicheck: FORCE +@@ -1275,13 +1264,13 @@ manicheck: FORCE # # DynaLoader may be needed for extensions that use Makefile.PL. @@ -338,7 +345,7 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) make_ext.pl $@ $(MAKE_EXT_ARGS) MAKE="$(MAKE)" LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS) n_dummy $(nonxs_ext): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary FORCE -@@ -1405,14 +1394,14 @@ test_prep_pre: preplibrary utilities $(n +@@ -1479,14 +1468,14 @@ test_prep_pre: preplibrary utilities $(nonxs_ext) case "$targethost" in '') $spitshell >>$Makefile <<'!NO!SUBS!' @@ -355,7 +362,7 @@ Index: perl-5.22.1/Makefile.SH \$(dynamic_ext) \$(TEST_PERL_DLL) runtests \ \$(generated_pods) $to libperl.* -@@ -1465,7 +1454,7 @@ test_prep test-prep: test_prep_pre \$(MI +@@ -1539,7 +1528,7 @@ test_prep test-prep: test_prep_pre \$(MINIPERL_EXE) \$(unidatafiles) \$(PERL_EXE esac $spitshell >>$Makefile <<'!NO!SUBS!' @@ -364,12 +371,15 @@ Index: perl-5.22.1/Makefile.SH $(MINIPERL) make_ext.pl $(dynamic_ext_re) MAKE="$(MAKE)" LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE)) !NO!SUBS! -@@ -1526,7 +1515,7 @@ minitest_prep: +@@ -1600,7 +1589,7 @@ minitest_prep: MINITEST_TESTS = base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t opbasic/*.t op/*.t uni/*.t perf/*.t -minitest: $(MINIPERL_EXE) minitest_prep +minitest: minitest_prep - - cd t && $(RUN_PERL) TEST $(MINITEST_TESTS) </dev/tty + - cd t && $(RUN_PERL) TEST $(MINITEST_TESTS) <$(devtty) minitest-notty minitest_notty: $(MINIPERL_EXE) minitest_prep +-- +2.1.4 + diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/config.sh b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/config.sh index b2a7f2cc4..465767300 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/config.sh +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/config.sh @@ -14,7 +14,7 @@ : Configure command line arguments. config_arg0='Configure' -config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dinstallprefix=@EXECPREFIX@ -Dprefix=@EXECPREFIX@ -Dvendorprefix=@EXECPREFIX@ -Dsiteprefix=@EXECPREFIX@ -Dotherlibdirs=@LIBDIR@/perl/5.22.1 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Ui_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=@USRBIN@/less -isr' +config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dinstallprefix=@EXECPREFIX@ -Dprefix=@EXECPREFIX@ -Dvendorprefix=@EXECPREFIX@ -Dsiteprefix=@EXECPREFIX@ -Dotherlibdirs=@LIBDIR@/perl/5.24.1 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Ui_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=@USRBIN@/less -isr' config_argc=28 config_arg1='-des' config_arg2='-Doptimize=-O2' @@ -26,7 +26,7 @@ config_arg7='-Dinstallprefix=@EXECPREFIX@' config_arg8='-Dprefix=@EXECPREFIX@' config_arg9='-Dvendorprefix=@EXECPREFIX@' config_arg10='-Dsiteprefix=@EXECPREFIX@' -config_arg11='-Dotherlibdirs=@LIBDIR@/perl/5.22.1' +config_arg11='-Dotherlibdirs=@LIBDIR@/perl/5.24.1' config_arg12='-Duseshrplib' config_arg13='-Dusethreads' config_arg14='-Duseithreads' @@ -64,13 +64,13 @@ alignbytes='8' ansi2knr='' aphostname='' api_revision='5' -api_subversion='0' -api_version='22' -api_versionstring='5.22.0' +api_subversion='1' +api_version='24' +api_versionstring='5.24.1' ar='ar' -archlib='@LIBDIR@/perl/5.22.1/@ARCH@-thread-multi' -archlibexp='@STAGINGDIR@@LIBDIR@/perl/5.22.1/@ARCH@-thread-multi' -archlib_exp='@LIBDIR@/perl/5.22.1/@ARCH@-thread-multi' +archlib='@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi' +archlibexp='@STAGINGDIR@@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi' +archlib_exp='@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi' archname64='' archname='@ARCH@-thread-multi' archobjs='' @@ -88,7 +88,7 @@ castflags='0' cat='cat' cc='gcc' cccdlflags='-fPIC' -ccdlflags='-Wl,-E -Wl,-rpath,@LIBDIR@/perl/5.22.1/@ARCH@-thread-multi/CORE' +ccdlflags='-Wl,-E -Wl,-rpath,@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi/CORE' ccflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -648,11 +648,15 @@ db_version_patch='' direntrytype='struct dirent' dlext='so' dlsrc='dl_dlopen.xs' +doubleinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f' doublekind='3' +doublemantbits='52' +doublenanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0xff' doublesize='8' drand01='Perl_drand48()' drand48_r_proto='REENTRANT_PROTO_I_ST' dtrace='' +dtraceobject='' dynamic_ext='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/DosGlob File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/mmap PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Tie/Hash/NamedCapture Time/HiRes Time/Piece Unicode/Collate XS/APItest XS/Typemap arybase attributes mro re threads threads/shared' eagain='EAGAIN' ebcdic='undef' @@ -834,7 +838,7 @@ inc_version_list_init='0' incpath='' inews='' initialinstalllocation='@USRBIN@' -installarchlib='@LIBDIR@/perl/5.22.1/@ARCH@-thread-multi' +installarchlib='@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi' installbin='@USRBIN@' installhtml1dir='' installhtml3dir='' @@ -842,23 +846,23 @@ installman1dir='' installman3dir='' installprefix='@EXECPREFIX@' installprefixexp='@EXECPREFIX@' -installprivlib='@LIBDIR@/perl/5.22.1' +installprivlib='@LIBDIR@/perl/5.24.1' installscript='@USRBIN@' -installsitearch='@LIBDIR@/perl/site_perl/5.22.1/@ARCH@-thread-multi' +installsitearch='@LIBDIR@/perl/site_perl/5.24.1/@ARCH@-thread-multi' installsitebin='@USRBIN@' installsitehtml1dir='' installsitehtml3dir='' -installsitelib='@LIBDIR@/perl/site_perl/5.22.1' +installsitelib='@LIBDIR@/perl/site_perl/5.24.1' installsiteman1dir='' installsiteman3dir='' installsitescript='@USRBIN@' installstyle='lib/perl' installusrbinperl='define' -installvendorarch='@LIBDIR@/perl/vendor_perl/5.22.1/@ARCH@-thread-multi' +installvendorarch='@LIBDIR@/perl/vendor_perl/5.24.1/@ARCH@-thread-multi' installvendorbin='@USRBIN@' installvendorhtml1dir='' installvendorhtml3dir='' -installvendorlib='@LIBDIR@/perl/vendor_perl/5.22.1' +installvendorlib='@LIBDIR@/perl/vendor_perl/5.24.1' installvendorman1dir='' installvendorman3dir='' installvendorscript='@USRBIN@' @@ -895,7 +899,10 @@ lns='/bin/ln -s' localtime_r_proto='REENTRANT_PROTO_S_TS' locincpth='@EXECPREFIX@/local/include /opt/local/include @EXECPREFIX@/gnu/include /opt/gnu/include @EXECPREFIX@/GNU/include /opt/GNU/include' loclibpth='@EXECPREFIX@/local@BASELIBDIR@ /opt/local@BASELIBDIR@ @EXECPREFIX@/gnu@BASELIBDIR@ /opt/gnu@BASELIBDIR@ @EXECPREFIX@/GNU@BASELIBDIR@ /opt/GNU@BASELIBDIR@' +longdblinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00' longdblkind='3' +longdblmantbits='64' +longdblnanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x32, 0xf7' longdblsize='16' longlongsize='8' longsize='8' @@ -948,6 +955,7 @@ nv_preserves_uv_bits='53' nveformat='"e"' nvfformat='"f"' nvgformat='"g"' +nvmantbits='52' nvsize='8' nvtype='double' o_nonblock='O_NONBLOCK' @@ -957,11 +965,11 @@ optimize='-O2' orderlib='false' osname='linux' osvers='3.19.5-yocto-standard' -otherlibdirs='@LIBDIR@/perl/5.22.1' +otherlibdirs='@LIBDIR@/perl/5.24.1' package='perl' pager='/usr/bin/less -isr' passcat='cat /etc/passwd' -patchlevel='22' +patchlevel='24' path_sep=':' perl5='@USRBIN@/perl' perl='perl' @@ -978,8 +986,8 @@ pmake='' pr='' prefix='@EXECPREFIX@' prefixexp='@EXECPREFIX@' -privlib='@LIBDIR@/perl/5.22.1' -privlibexp='@LIBDIR@/perl/5.22.1' +privlib='@LIBDIR@/perl/5.24.1' +privlibexp='@LIBDIR@/perl/5.24.1' procselfexe='"/proc/self/exe"' prototype='define' ptrsize='8' @@ -1045,17 +1053,17 @@ sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0' sig_size='69' signal_t='void' -sitearch='@LIBDIR@/perl/site_perl/5.22.1/@ARCH@-thread-multi' -sitearchexp='@LIBDIR@/perl/site_perl/5.22.1/@ARCH@-thread-multi' +sitearch='@LIBDIR@/perl/site_perl/5.24.1/@ARCH@-thread-multi' +sitearchexp='@LIBDIR@/perl/site_perl/5.24.1/@ARCH@-thread-multi' sitebin='@USRBIN@' sitebinexp='@USRBIN@' sitehtml1dir='' sitehtml1direxp='' sitehtml3dir='' sitehtml3direxp='' -sitelib='@LIBDIR@/perl/site_perl/5.22.1' +sitelib='@LIBDIR@/perl/site_perl/5.24.1' sitelib_stem='@LIBDIR@/perl/site_perl' -sitelibexp='@LIBDIR@/perl/site_perl/5.22.1' +sitelibexp='@LIBDIR@/perl/site_perl/5.24.1' siteman1dir='' siteman1direxp='' siteman3dir='' @@ -1094,7 +1102,7 @@ stdio_stream_array='' strerror_r_proto='REENTRANT_PROTO_B_IBW' strings='@INCLUDEDIR@/string.h' submit='' -subversion='0' +subversion='1' sysman='@EXECPREFIX@/share/man/man1' sysroot='' tail='' @@ -1134,8 +1142,8 @@ uname='uname' uniq='uniq' uquadtype='unsigned long' use5005threads='undef' -use64bitall='define' -use64bitint='define' +use64bitall='undef' +use64bitint='undef' usecbacktrace='undef' usecrosscompile='define' usedevel='undef' @@ -1174,17 +1182,17 @@ uvtype='unsigned long' uvuformat='"lu"' uvxformat='"lx"' vaproto='define' -vendorarch='@LIBDIR@/perl/vendor_perl/5.22.1/@ARCH@-thread-multi' -vendorarchexp='@LIBDIR@/perl/vendor_perl/5.22.1/@ARCH@-thread-multi' +vendorarch='@LIBDIR@/perl/vendor_perl/5.24.1/@ARCH@-thread-multi' +vendorarchexp='@LIBDIR@/perl/vendor_perl/5.24.1/@ARCH@-thread-multi' vendorbin='@USRBIN@' vendorbinexp='@USRBIN@' vendorhtml1dir=' ' vendorhtml1direxp='' vendorhtml3dir=' ' vendorhtml3direxp='' -vendorlib='@LIBDIR@/perl/vendor_perl/5.22.1' +vendorlib='@LIBDIR@/perl/vendor_perl/5.24.1' vendorlib_stem='@LIBDIR@/perl/vendor_perl' -vendorlibexp='@LIBDIR@/perl/vendor_perl/5.22.1' +vendorlibexp='@LIBDIR@/perl/vendor_perl/5.24.1' vendorman1dir=' ' vendorman1direxp='' vendorman3dir=' ' @@ -1193,8 +1201,8 @@ vendorprefix='@EXECPREFIX@' vendorprefixexp='@EXECPREFIX@' vendorscript='@USRBIN@' vendorscriptexp='@USRBIN@' -version='5.22.1' -version_patchlevel_string='version 22 subversion 1' +version='5.24.1' +version_patchlevel_string='version 24 subversion 1' versiononly='undef' vi='' xlibpth='@LIBDIR@/386 @BASELIBDIR@386' @@ -1203,11 +1211,11 @@ yaccflags='' zcat='' zip='zip' PERL_REVISION=5 -PERL_VERSION=22 +PERL_VERSION=24 PERL_SUBVERSION=1 PERL_API_REVISION=5 -PERL_API_VERSION=22 -PERL_API_SUBVERSION=0 +PERL_API_VERSION=24 +PERL_API_SUBVERSION=1 PERL_PATCHLEVEL='' PERL_CONFIG_SH=true : Variables propagated from previous config.sh file. @@ -1219,3 +1227,23 @@ d_clock_gettime='define' d_clock_getres='define' d_clock='define' d_nanosleep='define' + +# for Signinfo +d_siginfo_si_errno='define' +d_siginfo_si_pid='define' +d_siginfo_si_uid='define' +d_siginfo_si_addr='define' +d_siginfo_si_status='define' +d_siginfo_si_band='define' +d_siginfo_si_value='define' + +# don't support fdclose +d_fdclose='undef' + +# support memmem +d_memmem='define' + +# for locale +d_newlocale='define' +d_freelocale='define' +d_uselocale='define' diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/debian/errno_ver.diff b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/debian/errno_ver.diff index bcb59c69e..3d09229ed 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/debian/errno_ver.diff +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/debian/errno_ver.diff @@ -1,8 +1,8 @@ -From 827eee225897c35ec97194a5971bf4bfcf250748 Mon Sep 17 00:00:00 2001 +From 8e1efba7560d8d55524c7a0f1b0539ddce419b86 Mon Sep 17 00:00:00 2001 From: Brendan O'Dea <bod@debian.org> Date: Fri, 16 Dec 2005 01:32:14 +1100 -Subject: Remove Errno version check due to upgrade problems with long-running - processes. +Subject: [PATCH 6/8] Remove Errno version check due to upgrade problems with + long-running processes. Bug-Debian: http://bugs.debian.org/343351 @@ -11,25 +11,27 @@ processes embedding perl when upgrading to a newer version, compatible, but built on a different machine. Patch-Name: debian/errno_ver.diff + --- ext/Errno/Errno_pm.PL | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL -index c6bfa06..519e5c7 100644 +index 6251a3c..eeed445 100644 --- a/ext/Errno/Errno_pm.PL +++ b/ext/Errno/Errno_pm.PL -@@ -278,13 +278,8 @@ sub write_errno_pm { - - package Errno; - require Exporter; +@@ -294,11 +294,6 @@ EDQ + # they've already declared perl doesn't need to worry about this risk. + if(!$ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'}) { + print <<"CONFIG_CHECK_END"; -use Config; - use strict; - -"\$Config{'archname'}-\$Config{'osvers'}" eq -"$archname-$Config{'osvers'}" or - die "Errno architecture ($archname-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})"; - - our \$VERSION = "$VERSION"; - \$VERSION = eval \$VERSION; - our \@ISA = 'Exporter'; + CONFIG_CHECK_END + } + +-- +2.1.4 + diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/debian/prune_libs.diff b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/debian/prune_libs.diff index b4443f647..d153e0efc 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/debian/prune_libs.diff +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/debian/prune_libs.diff @@ -1,7 +1,8 @@ -From 21bc033755f0b609f9bb2aa9e98b10d58424406f Mon Sep 17 00:00:00 2001 +From c4538f966c49e356599358def7d1febf61bca21f Mon Sep 17 00:00:00 2001 From: Brendan O'Dea <bod@debian.org> Date: Fri, 18 Mar 2005 22:22:25 +1100 -Subject: Prune the list of libraries wanted to what we actually need. +Subject: [PATCH 15/49] Prune the list of libraries wanted to what we actually + need. Bug-Debian: http://bugs.debian.org/128355 @@ -9,25 +10,26 @@ We want to keep the dependencies on perl-base as small as possible, and some of the original list may be present on buildds (see Bug#128355). Patch-Name: debian/prune_libs.diff + --- Configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Configure b/Configure -index 0a405d3..6fcc3bc 100755 +index 5a353d6..a00df64 100755 --- a/Configure +++ b/Configure -@@ -1454,8 +1454,7 @@ libswanted_uselargefiles='' - : set usesocks on the Configure command line to enable socks. +@@ -1479,8 +1479,7 @@ archname='' + usereentrant='undef' : List of libraries we want. : If anyone needs extra -lxxx, put those in a hint file. --libswanted="cl pthread socket bind inet nsl nm ndbm gdbm dbm db malloc dl ld" +-libswanted="cl pthread socket bind inet nsl ndbm gdbm dbm db malloc dl ld" -libswanted="$libswanted sun m crypt sec util c cposix posix ucb bsd BSD" +libswanted='gdbm gdbm_compat db dl m c crypt' : We probably want to search /usr/shlib before most other libraries. : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'` -@@ -23593,7 +23592,7 @@ sunos*X4*) +@@ -24007,7 +24006,7 @@ sunos*X4*) ;; *) case "$usedl" in $define|true|[yY]*) @@ -36,3 +38,6 @@ index 0a405d3..6fcc3bc 100755 shift perllibs="$*" ;; +-- +2.1.4 + diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/dynaloaderhack.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/dynaloaderhack.patch index 3df593346..719f07c9c 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/dynaloaderhack.patch +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/dynaloaderhack.patch @@ -1,3 +1,8 @@ +From 2e0ce5d27e70defd66ace0661af7c24daae34f8b Mon Sep 17 00:00:00 2001 +From: Richard Purdie <richard.purdie@linuxfoundation.org> +Date: Sat, 19 Jan 2013 23:49:24 +0000 +Subject: [PATCH 7/8] perl: Add dyanloader build hack + Hack the dynamic module loader so that we use native modules since we can't load the target ones. @@ -6,14 +11,18 @@ Upstream-Status: Inappropriate RP 2013/01/13 -Index: perl-5.14.2/ext/DynaLoader/DynaLoader_pm.PL -=================================================================== ---- perl-5.14.2.orig/ext/DynaLoader/DynaLoader_pm.PL 2011-09-19 13:18:22.000000000 +0000 -+++ perl-5.14.2/ext/DynaLoader/DynaLoader_pm.PL 2013-01-19 16:09:51.020584945 +0000 -@@ -310,6 +310,10 @@ +--- + ext/DynaLoader/DynaLoader_pm.PL | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL +index e828f35..4021559 100644 +--- a/ext/DynaLoader/DynaLoader_pm.PL ++++ b/ext/DynaLoader/DynaLoader_pm.PL +@@ -343,6 +343,10 @@ sub bootstrap { foreach (@INC) { <<$^O-eq-VMS>>chop($_ = VMS::Filespec::unixpath($_));<</$^O-eq-VMS>> - my $dir = "$_/auto/$modpname"; + $dir = "$_/auto/$modpname"; + + if (defined $ENV{PERL_LIB} and defined $ENV{PERLHOSTLIB}) { + $dir =~ s/$ENV{PERL_LIB}/$ENV{PERLHOSTLIB}/g; @@ -21,3 +30,6 @@ Index: perl-5.14.2/ext/DynaLoader/DynaLoader_pm.PL next unless -d $dir; # skip over uninteresting directories +-- +2.1.4 + diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2015-8607.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2015-8607.patch deleted file mode 100644 index 7b4a0015c..000000000 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2015-8607.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 652c8d4852a69f1bb4d387946f9b76350a1f0d0e Mon Sep 17 00:00:00 2001 -From: Tony Cook <tony@develop-help.com> -Date: Tue, 15 Dec 2015 10:56:54 +1100 -Subject: [PATCH] perl: fix CVE-2015-8607 - -ensure File::Spec::canonpath() preserves taint - -Previously the unix specific XS implementation of canonpath() would -return an untainted path when supplied a tainted path. - -For the empty string case, newSVpvs() already sets taint as needed on -its result. - -This issue was assigned CVE-2015-8607. [perl #126862] - -Backport patch from http://perl5.git.perl.org/perl.git/commitdiff/0b6f93036de171c12ba95d415e264d9cf7f4e1fd - -Upstream-Status: Backport -CVE: CVE-2015-8607 -Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> ---- - dist/PathTools/Cwd.xs | 1 + - dist/PathTools/t/taint.t | 19 ++++++++++++++++++- - 2 files changed, 19 insertions(+), 1 deletion(-) - -diff --git a/dist/PathTools/Cwd.xs b/dist/PathTools/Cwd.xs -index 9d4dcf0..3d018dc 100644 ---- a/dist/PathTools/Cwd.xs -+++ b/dist/PathTools/Cwd.xs -@@ -535,6 +535,7 @@ THX_unix_canonpath(pTHX_ SV *path) - *o = 0; - SvPOK_on(retval); - SvCUR_set(retval, o - SvPVX(retval)); -+ SvTAINT(retval); - return retval; - } - -diff --git a/dist/PathTools/t/taint.t b/dist/PathTools/t/taint.t -index 309b3e5..48f8c5b 100644 ---- a/dist/PathTools/t/taint.t -+++ b/dist/PathTools/t/taint.t -@@ -12,7 +12,7 @@ use Test::More; - BEGIN { - plan( - ${^TAINT} -- ? (tests => 17) -+ ? (tests => 21) - : (skip_all => "A perl without taint support") - ); - } -@@ -34,3 +34,20 @@ foreach my $func (@Functions) { - - # Previous versions of Cwd tainted $^O - is !tainted($^O), 1, "\$^O should not be tainted"; -+ -+{ -+ # [perl #126862] canonpath() loses taint -+ my $tainted = substr($ENV{PATH}, 0, 0); -+ # yes, getcwd()'s result should be tainted, and is tested above -+ # but be sure -+ ok tainted(File::Spec->canonpath($tainted . Cwd::getcwd)), -+ "canonpath() keeps taint on non-empty string"; -+ ok tainted(File::Spec->canonpath($tainted)), -+ "canonpath() keeps taint on empty string"; -+ -+ (Cwd::getcwd() =~ /^(.*)/); -+ my $untainted = $1; -+ ok !tainted($untainted), "make sure our untainted value is untainted"; -+ ok !tainted(File::Spec->canonpath($untainted)), -+ "canonpath() doesn't add taint to untainted string"; -+} --- -2.8.1 - diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-1238.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-1238.patch deleted file mode 100644 index 730ef178a..000000000 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-1238.patch +++ /dev/null @@ -1,352 +0,0 @@ -From 9987be3d24286d96d9dccec0433253ee8ad894b4 Mon Sep 17 00:00:00 2001 -From: Tony Cook <tony@develop-help.com> -Date: Tue, 21 Jun 2016 10:02:02 +1000 -Subject: [PATCH] perl: fix CVE-2016-1238 - -(perl #127834) remove . from the end of @INC if complex modules are loaded - -While currently Encode and Storable are know to attempt to load modules -not included in the core, updates to other modules may lead to those -also attempting to load new modules, so be safe and remove . for those -as well. - -Backport patch from http://perl5.git.perl.org/perl.git/commitdiff/cee96d52c39b1e7b36e1c62d38bcd8d86e9a41ab - -Upstream-Status: Backport -CVE: CVE-2016-1238 -Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> ---- - cpan/Archive-Tar/bin/ptar | 1 + - cpan/Archive-Tar/bin/ptardiff | 1 + - cpan/Archive-Tar/bin/ptargrep | 1 + - cpan/CPAN/scripts/cpan | 1 + - cpan/Digest-SHA/shasum | 1 + - cpan/Encode/bin/enc2xs | 1 + - cpan/Encode/bin/encguess | 1 + - cpan/Encode/bin/piconv | 1 + - cpan/Encode/bin/ucmlint | 1 + - cpan/Encode/bin/unidump | 1 + - cpan/ExtUtils-MakeMaker/bin/instmodsh | 1 + - cpan/IO-Compress/bin/zipdetails | 1 + - cpan/JSON-PP/bin/json_pp | 1 + - cpan/Test-Harness/bin/prove | 1 + - dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp | 1 + - dist/Module-CoreList/corelist | 1 + - ext/Pod-Html/bin/pod2html | 1 + - utils/c2ph.PL | 1 + - utils/h2ph.PL | 2 ++ - utils/h2xs.PL | 2 ++ - utils/libnetcfg.PL | 1 + - utils/perlbug.PL | 1 + - utils/perldoc.PL | 5 ++++- - utils/perlivp.PL | 2 ++ - utils/splain.PL | 6 ++++++ - 25 files changed, 36 insertions(+), 1 deletion(-) - -diff --git a/cpan/Archive-Tar/bin/ptar b/cpan/Archive-Tar/bin/ptar -index 0eaffa7..9dc6402 100644 ---- a/cpan/Archive-Tar/bin/ptar -+++ b/cpan/Archive-Tar/bin/ptar -@@ -1,6 +1,7 @@ - #!/usr/bin/perl - use strict; - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use File::Find; - use Getopt::Std; - use Archive::Tar; -diff --git a/cpan/Archive-Tar/bin/ptardiff b/cpan/Archive-Tar/bin/ptardiff -index 66bd859..4668fa6 100644 ---- a/cpan/Archive-Tar/bin/ptardiff -+++ b/cpan/Archive-Tar/bin/ptardiff -@@ -1,5 +1,6 @@ - #!/usr/bin/perl - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use Archive::Tar; - use Getopt::Std; -diff --git a/cpan/Archive-Tar/bin/ptargrep b/cpan/Archive-Tar/bin/ptargrep -index 1a320f1..8dc6b4f 100644 ---- a/cpan/Archive-Tar/bin/ptargrep -+++ b/cpan/Archive-Tar/bin/ptargrep -@@ -4,6 +4,7 @@ - # archive. See 'ptargrep --help' for more documentation. - # - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use warnings; - -diff --git a/cpan/CPAN/scripts/cpan b/cpan/CPAN/scripts/cpan -index 5f4320e..ccba47e 100644 ---- a/cpan/CPAN/scripts/cpan -+++ b/cpan/CPAN/scripts/cpan -@@ -1,5 +1,6 @@ - #!/usr/local/bin/perl - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use vars qw($VERSION); - -diff --git a/cpan/Digest-SHA/shasum b/cpan/Digest-SHA/shasum -index 14ddd60..62a2b0e 100644 ---- a/cpan/Digest-SHA/shasum -+++ b/cpan/Digest-SHA/shasum -@@ -13,6 +13,7 @@ - ## "-0" option for reading bit strings, and - ## "-p" option for portable digests (to be deprecated). - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use warnings; - use Fcntl; -diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs -index 4d64e38..473a15c 100644 ---- a/cpan/Encode/bin/enc2xs -+++ b/cpan/Encode/bin/enc2xs -@@ -4,6 +4,7 @@ BEGIN { - # with $ENV{PERL_CORE} set - # In case we need it in future... - require Config; import Config; -+ pop @INC if $INC[-1] eq '.'; - } - use strict; - use warnings; -diff --git a/cpan/Encode/bin/encguess b/cpan/Encode/bin/encguess -index 5d7ac80..0be5c7c 100644 ---- a/cpan/Encode/bin/encguess -+++ b/cpan/Encode/bin/encguess -@@ -1,5 +1,6 @@ - #!./perl - use 5.008001; -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use warnings; - use Encode; -diff --git a/cpan/Encode/bin/piconv b/cpan/Encode/bin/piconv -index c1dad9e..60b2a59 100644 ---- a/cpan/Encode/bin/piconv -+++ b/cpan/Encode/bin/piconv -@@ -1,6 +1,7 @@ - #!./perl - # $Id: piconv,v 2.7 2014/05/31 09:48:48 dankogai Exp $ - # -+BEGIN { pop @INC if $INC[-1] eq '.' } - use 5.8.0; - use strict; - use Encode ; -diff --git a/cpan/Encode/bin/ucmlint b/cpan/Encode/bin/ucmlint -index 622376d..25e0d67 100644 ---- a/cpan/Encode/bin/ucmlint -+++ b/cpan/Encode/bin/ucmlint -@@ -3,6 +3,7 @@ - # $Id: ucmlint,v 2.2 2008/03/12 09:51:11 dankogai Exp $ - # - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - our $VERSION = do { my @r = (q$Revision: 2.2 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; - -diff --git a/cpan/Encode/bin/unidump b/cpan/Encode/bin/unidump -index ae0da30..f190827 100644 ---- a/cpan/Encode/bin/unidump -+++ b/cpan/Encode/bin/unidump -@@ -1,5 +1,6 @@ - #!./perl - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use Encode; - use Getopt::Std; -diff --git a/cpan/ExtUtils-MakeMaker/bin/instmodsh b/cpan/ExtUtils-MakeMaker/bin/instmodsh -index e551434..b3b109f 100644 ---- a/cpan/ExtUtils-MakeMaker/bin/instmodsh -+++ b/cpan/ExtUtils-MakeMaker/bin/instmodsh -@@ -1,5 +1,6 @@ - #!/usr/bin/perl -w - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use IO::File; - use ExtUtils::Packlist; -diff --git a/cpan/IO-Compress/bin/zipdetails b/cpan/IO-Compress/bin/zipdetails -index 0249850..1b9c70a 100644 ---- a/cpan/IO-Compress/bin/zipdetails -+++ b/cpan/IO-Compress/bin/zipdetails -@@ -5,6 +5,7 @@ - # Display info on the contents of a Zip file - # - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use warnings ; - -diff --git a/cpan/JSON-PP/bin/json_pp b/cpan/JSON-PP/bin/json_pp -index df9d243..896cd2f 100644 ---- a/cpan/JSON-PP/bin/json_pp -+++ b/cpan/JSON-PP/bin/json_pp -@@ -1,5 +1,6 @@ - #!/usr/bin/perl - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use Getopt::Long; - -diff --git a/cpan/Test-Harness/bin/prove b/cpan/Test-Harness/bin/prove -index 6637cc4..d71b238 100644 ---- a/cpan/Test-Harness/bin/prove -+++ b/cpan/Test-Harness/bin/prove -@@ -1,5 +1,6 @@ - #!/usr/bin/perl -w - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use warnings; - use App::Prove; -diff --git a/dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp b/dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp -index e2ac71a..d596cdf 100644 ---- a/dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp -+++ b/dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp -@@ -1,5 +1,6 @@ - #!perl - use 5.006; -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - eval { - require ExtUtils::ParseXS; -diff --git a/dist/Module-CoreList/corelist b/dist/Module-CoreList/corelist -index aa4a945..bbe61cc 100644 ---- a/dist/Module-CoreList/corelist -+++ b/dist/Module-CoreList/corelist -@@ -130,6 +130,7 @@ requested perl versions. - - =cut - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use Module::CoreList; - use Getopt::Long qw(:config no_ignore_case); - use Pod::Usage; -diff --git a/ext/Pod-Html/bin/pod2html b/ext/Pod-Html/bin/pod2html -index b022859..7d1d232 100644 ---- a/ext/Pod-Html/bin/pod2html -+++ b/ext/Pod-Html/bin/pod2html -@@ -216,6 +216,7 @@ This program is distributed under the Artistic License. - - =cut - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use Pod::Html; - - pod2html @ARGV; -diff --git a/utils/c2ph.PL b/utils/c2ph.PL -index 13389ec..cef0b5c 100644 ---- a/utils/c2ph.PL -+++ b/utils/c2ph.PL -@@ -280,6 +280,7 @@ Anyway, here it is. Should run on perl v4 or greater. Maybe less. - - $RCSID = '$Id: c2ph,v 1.7 95/10/28 10:41:47 tchrist Exp Locker: tchrist $'; - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use File::Temp; - - ###################################################################### -diff --git a/utils/h2ph.PL b/utils/h2ph.PL -index 55c1f72..300b756 100644 ---- a/utils/h2ph.PL -+++ b/utils/h2ph.PL -@@ -36,6 +36,8 @@ $Config{startperl} - - print OUT <<'!NO!SUBS!'; - -+BEGIN { pop @INC if $INC[-1] eq '.' } -+ - use strict; - - use Config; -diff --git a/utils/h2xs.PL b/utils/h2xs.PL -index 268f680..f95ee0c 100644 ---- a/utils/h2xs.PL -+++ b/utils/h2xs.PL -@@ -35,6 +35,8 @@ $Config{startperl} - - print OUT <<'!NO!SUBS!'; - -+BEGIN { pop @INC if $INC[-1] eq '.' } -+ - use warnings; - - =head1 NAME -diff --git a/utils/libnetcfg.PL b/utils/libnetcfg.PL -index 59a2de8..26d2f99 100644 ---- a/utils/libnetcfg.PL -+++ b/utils/libnetcfg.PL -@@ -97,6 +97,7 @@ Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl 5.8. - - # $Id: Configure,v 1.8 1997/03/04 09:22:32 gbarr Exp $ - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use strict; - use IO::File; - use Getopt::Std; -diff --git a/utils/perlbug.PL b/utils/perlbug.PL -index 885785a..ae8c343 100644 ---- a/utils/perlbug.PL -+++ b/utils/perlbug.PL -@@ -57,6 +57,7 @@ print OUT <<'!NO!SUBS!'; - my @patches = Config::local_patches(); - my $patch_tags = join "", map /(\S+)/ ? "+$1 " : (), @patches; - -+BEGIN { pop @INC if $INC[-1] eq '.' } - use warnings; - use strict; - use Config; -diff --git a/utils/perldoc.PL b/utils/perldoc.PL -index e201de9..cd60bd4 100644 ---- a/utils/perldoc.PL -+++ b/utils/perldoc.PL -@@ -44,7 +44,10 @@ $Config{startperl} - # This "$file" file was generated by "$0" - - require 5; --BEGIN { \$^W = 1 if \$ENV{'PERLDOCDEBUG'} } -+BEGIN { -+ \$^W = 1 if \$ENV{'PERLDOCDEBUG'}; -+ pop \@INC if \$INC[-1] eq '.'; -+} - use Pod::Perldoc; - exit( Pod::Perldoc->run() ); - -diff --git a/utils/perlivp.PL b/utils/perlivp.PL -index cc49f96..696a44e 100644 ---- a/utils/perlivp.PL -+++ b/utils/perlivp.PL -@@ -39,6 +39,8 @@ print OUT "\n# perlivp $^V\n"; - - print OUT <<'!NO!SUBS!'; - -+BEGIN { pop @INC if $INC[-1] eq '.' } -+ - sub usage { - warn "@_\n" if @_; - print << " EOUSAGE"; -diff --git a/utils/splain.PL b/utils/splain.PL -index 9c70b61..cae84a0 100644 ---- a/utils/splain.PL -+++ b/utils/splain.PL -@@ -38,6 +38,12 @@ $Config{startperl} - if \$running_under_some_shell; - !GROK!THIS! - -+print <<'!NO!SUBS!'; -+ -+BEGIN { pop @INC if $INC[-1] eq '.' } -+ -+!NO!SUBS! -+ - while (<IN>) { - print OUT unless /^package diagnostics/; - } --- -2.8.1 - diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-2381.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-2381.patch deleted file mode 100644 index 99fa8d9a6..000000000 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-2381.patch +++ /dev/null @@ -1,114 +0,0 @@ -CVE: CVE-2016-2381 -Upstream-Status: Backport - -Backport patch to fix CVE-2016-2381 from - -http://perl5.git.perl.org/perl.git/commitdiff/ae37b791a73a9e78dedb89fb2429d2628cf58076 - -Signed-off-by: Kai Kang <kai.kang@windriver.com> ---- -From: Tony Cook <tony@develop-help.com> -Date: Wed, 27 Jan 2016 00:52:15 +0000 (+1100) -Subject: remove duplicate environment variables from environ -X-Git-Tag: v5.23.9~170 -X-Git-Url: http://perl5.git.perl.org/perl.git/commitdiff_plain/ae37b791a73a9e78dedb89fb2429d2628cf58076 - -remove duplicate environment variables from environ - -If we see duplicate environment variables while iterating over -environ[]: - -a) make sure we use the same value in %ENV that getenv() returns. - -Previously on a duplicate, %ENV would have the last entry for the name -from environ[], but a typical getenv() would return the first entry. - -Rather than assuming all getenv() implementations return the first entry -explicitly call getenv() to ensure they agree. - -b) remove duplicate entries from environ - -Previously if there was a duplicate definition for a name in environ[] -setting that name in %ENV could result in an unsafe value being passed -to a child process, so ensure environ[] has no duplicates. - -CVE-2016-2381 ---- - -diff --git a/perl.c b/perl.c -index 4a324c6..5c71fd0 100644 ---- a/perl.c -+++ b/perl.c -@@ -4329,23 +4329,70 @@ S_init_postdump_symbols(pTHX_ int argc, char **argv, char **env) - } - if (env) { - char *s, *old_var; -+ STRLEN nlen; - SV *sv; -+ HV *dups = newHV(); -+ - for (; *env; env++) { - old_var = *env; - - if (!(s = strchr(old_var,'=')) || s == old_var) - continue; -+ nlen = s - old_var; - - #if defined(MSDOS) && !defined(DJGPP) - *s = '\0'; - (void)strupr(old_var); - *s = '='; - #endif -- sv = newSVpv(s+1, 0); -- (void)hv_store(hv, old_var, s - old_var, sv, 0); -+ if (hv_exists(hv, old_var, nlen)) { -+ const char *name = savepvn(old_var, nlen); -+ -+ /* make sure we use the same value as getenv(), otherwise code that -+ uses getenv() (like setlocale()) might see a different value to %ENV -+ */ -+ sv = newSVpv(PerlEnv_getenv(name), 0); -+ -+ /* keep a count of the dups of this name so we can de-dup environ later */ -+ if (hv_exists(dups, name, nlen)) -+ ++SvIVX(*hv_fetch(dups, name, nlen, 0)); -+ else -+ (void)hv_store(dups, name, nlen, newSViv(1), 0); -+ -+ Safefree(name); -+ } -+ else { -+ sv = newSVpv(s+1, 0); -+ } -+ (void)hv_store(hv, old_var, nlen, sv, 0); - if (env_is_not_environ) - mg_set(sv); - } -+ if (HvKEYS(dups)) { -+ /* environ has some duplicate definitions, remove them */ -+ HE *entry; -+ hv_iterinit(dups); -+ while ((entry = hv_iternext_flags(dups, 0))) { -+ STRLEN nlen; -+ const char *name = HePV(entry, nlen); -+ IV count = SvIV(HeVAL(entry)); -+ IV i; -+ SV **valp = hv_fetch(hv, name, nlen, 0); -+ -+ assert(valp); -+ -+ /* try to remove any duplicate names, depending on the -+ * implementation used in my_setenv() the iteration might -+ * not be necessary, but let's be safe. -+ */ -+ for (i = 0; i < count; ++i) -+ my_setenv(name, 0); -+ -+ /* and set it back to the value we set $ENV{name} to */ -+ my_setenv(name, SvPV_nolen(*valp)); -+ } -+ } -+ SvREFCNT_dec_NN(dups); - } - #endif /* USE_ENVIRON_ARRAY */ - #endif /* !PERL_MICRO */ diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-6185.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-6185.patch deleted file mode 100644 index 2722af35b..000000000 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-6185.patch +++ /dev/null @@ -1,128 +0,0 @@ -From 7cedaa8bc2ca9e63369d0e2d4c4c23af9febb93a Mon Sep 17 00:00:00 2001 -From: Father Chrysostomos <sprout@cpan.org> -Date: Sat, 2 Jul 2016 22:56:51 -0700 -Subject: [PATCH] perl: fix CVE-2016-6185 -MIME-Version: 1.0 - -Don't let XSLoader load relative paths - -[rt.cpan.org #115808] - -The logic in XSLoader for determining the library goes like this: - - my $c = () = split(/::/,$caller,-1); - $modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename - my $file = "$modlibname/auto/$modpname/$modfname.bundle"; - -(That last line varies by platform.) - -$caller is the calling package. $modlibname is the calling file. It -removes as many path segments from $modlibname as there are segments -in $caller. So if you have Foo/Bar/XS.pm calling XSLoader from the -Foo::Bar package, the $modlibname will end up containing the path in -@INC where XS.pm was found, followed by "/Foo". Usually the fallback -to Dynaloader::bootstrap_inherit, which does an @INC search, makes -things Just Work. - -But if our hypothetical Foo/Bar/XS.pm actually calls -XSLoader::load from inside a string eval, then path ends up being -"(eval 1)/auto/Foo/Bar/Bar.bundle". - -So if someone creates a directory named '(eval 1)' with a naughty -binary file in it, it will be loaded if a script using Foo::Bar is run -in the parent directory. - -This commit makes XSLoader fall back to Dynaloader's @INC search if -the calling file has a relative path that is not found in @INC. - -Backport patch from http://perl5.git.perl.org/perl.git/commitdiff/08e3451d7 - -Upstream-Status: Backport -CVE: CVE-2016-6185 -Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> ---- - dist/XSLoader/XSLoader_pm.PL | 25 +++++++++++++++++++++++++ - dist/XSLoader/t/XSLoader.t | 27 ++++++++++++++++++++++++++- - 2 files changed, 51 insertions(+), 1 deletion(-) - -diff --git a/dist/XSLoader/XSLoader_pm.PL b/dist/XSLoader/XSLoader_pm.PL -index 668411d..778e46b 100644 ---- a/dist/XSLoader/XSLoader_pm.PL -+++ b/dist/XSLoader/XSLoader_pm.PL -@@ -104,6 +104,31 @@ print OUT <<'EOT'; - my $modpname = join('/',@modparts); - my $c = () = split(/::/,$caller,-1); - $modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename -+ # Does this look like a relative path? -+ if ($modlibname !~ m|^[\\/]|) { -+ # Someone may have a #line directive that changes the file name, or -+ # may be calling XSLoader::load from inside a string eval. We cer- -+ # tainly do not want to go loading some code that is not in @INC, -+ # as it could be untrusted. -+ # -+ # We could just fall back to DynaLoader here, but then the rest of -+ # this function would go untested in the perl core, since all @INC -+ # paths are relative during testing. That would be a time bomb -+ # waiting to happen, since bugs could be introduced into the code. -+ # -+ # So look through @INC to see if $modlibname is in it. A rela- -+ # tive $modlibname is not a common occurrence, so this block is -+ # not hot code. -+ FOUND: { -+ for (@INC) { -+ if ($_ eq $modlibname) { -+ last FOUND; -+ } -+ } -+ # Not found. Fall back to DynaLoader. -+ goto \&XSLoader::bootstrap_inherit; -+ } -+ } - EOT - - my $dl_dlext = quotemeta($Config::Config{'dlext'}); -diff --git a/dist/XSLoader/t/XSLoader.t b/dist/XSLoader/t/XSLoader.t -index 2ff11fe..1e86faa 100644 ---- a/dist/XSLoader/t/XSLoader.t -+++ b/dist/XSLoader/t/XSLoader.t -@@ -33,7 +33,7 @@ my %modules = ( - 'Time::HiRes'=> q| ::can_ok( 'Time::HiRes' => 'usleep' ) |, # 5.7.3 - ); - --plan tests => keys(%modules) * 3 + 9; -+plan tests => keys(%modules) * 3 + 10; - - # Try to load the module - use_ok( 'XSLoader' ); -@@ -125,3 +125,28 @@ XSLoader::load("Devel::Peek"); - EOS - or ::diag $@; - } -+ -+SKIP: { -+ skip "File::Path not available", 1 -+ unless eval { require File::Path }; -+ my $name = "phooo$$"; -+ File::Path::make_path("$name/auto/Foo/Bar"); -+ open my $fh, -+ ">$name/auto/Foo/Bar/Bar.$Config::Config{'dlext'}"; -+ close $fh; -+ my $fell_back; -+ local *XSLoader::bootstrap_inherit = sub { -+ $fell_back++; -+ # Break out of the calling subs -+ goto the_test; -+ }; -+ eval <<END; -+#line 1 $name -+package Foo::Bar; -+XSLoader::load("Foo::Bar"); -+END -+ the_test: -+ ok $fell_back, -+ 'XSLoader will not load relative paths based on (caller)[1]'; -+ File::Path::remove_tree($name); -+} --- -2.8.1 - diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-remove-nm-from-libswanted.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-remove-nm-from-libswanted.patch deleted file mode 100644 index c489f05bf..000000000 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-remove-nm-from-libswanted.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 4732711e2548b6d734ca831d65dbcf501a89774e Mon Sep 17 00:00:00 2001 -From: Andreas Koenig <andk@cpan.org> -Date: Sun, 3 Jan 2016 08:40:33 +0100 -Subject: [PATCH] Remove nm from libswanted - -Nm stood for "New Math" library in the context of 1994. 2014 a conflicting -library libnm appeared that has a network manager context. - -Upstream-Status: Backport [commit 4732711e on branch blead, tag v5.25.0] - ---- - Configure | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Configure b/Configure -index 0e71b4b..cfbdaa1 100755 ---- a/Configure -+++ b/Configure -@@ -1464,7 +1464,7 @@ libswanted_uselargefiles='' - : set usesocks on the Configure command line to enable socks. - : List of libraries we want. - : If anyone needs extra -lxxx, put those in a hint file. --libswanted="cl pthread socket bind inet nsl nm ndbm gdbm dbm db malloc dl ld" -+libswanted="cl pthread socket bind inet nsl ndbm gdbm dbm db malloc dl ld" - libswanted="$libswanted sun m crypt sec util c cposix posix ucb bsd BSD" - : We probably want to search /usr/shlib before most other libraries. - : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. --- -2.9.2 - diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-test-customized.patch b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-test-customized.patch index 477be29ef..90e4dcd5f 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-test-customized.patch +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl/perl-test-customized.patch @@ -1,61 +1,86 @@ -The OE core recipies customize some ExtUtils-MakeMaker modules, -which causes their MD5 sum to mismatch the provided table and the -corresponding tests to fail. Also, we patch several test files with -a backported patch. Update list of hashes to reflect the patched files. +From 64df09205b6ccb5a434a4e53e8e0a32377ab634f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> +Date: Thu, 24 Nov 2016 10:49:55 -0600 +Subject: [PATCH] The OE core recipies customize some ExtUtils-MakeMaker + modules, which causes their MD5 sum to mismatch the provided table and the + corresponding tests to fail. Also, we patch several test files with a + backported patch. Update list of hashes to reflect the patched files. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Bill Randle <william.c.randle@intel.com> +Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> +--- + t/porting/customized.dat | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +diff --git a/t/porting/customized.dat b/t/porting/customized.dat +index defeae1..b5d3c46 100644 +--- a/t/porting/customized.dat ++++ b/t/porting/customized.dat +@@ -18,12 +18,12 @@ Encode cpan/Encode/bin/unidump 715f47c2fcc661268f3c6cd3de0d27c72b745cd2 + Encode cpan/Encode/Encode.pm e146861ff2e6aaa62defa4887eade68dd7b17c8e + Encode cpan/Encode/encoding.pm 51c19efc9bfe8467d6ae12a4654f6e7f980715bf + ExtUtils::Constant cpan/ExtUtils-Constant/t/Constant.t a0369c919e216fb02767a637666bb4577ad79b02 +-ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/bin/instmodsh 5bc04a0173b8b787f465271b6186220326ae8eef ++ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/bin/instmodsh 2070fe968fa344d89aea1bdc6a8dbb0c467d0612 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command.pm e3a372e07392179711ea9972087c1105a2780fad + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command/MM.pm b72721bd6aa9bf7ec328bda99a8fdb63cac6114d + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm 0e1e4c25eddb999fec6c4dc66593f76db34cfd16 +-ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm bfd2aa00ca4ed251f342e1d1ad704abbaf5a615e +-ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 5529ae3064365eafd99536621305d52f4ab31b45 ++ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm d593d8fdc5c0ebcb6d3701c70fc6640c50d93455 ++ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm bf9174c70a0e50ff2fee4552c7df89b37d292da1 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Config.pm bc88b275af73b8faac6abd59a9aad3f625925810 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/FAQ.pod 062e5d14a803fbbec8d61803086a3d7997e8a473 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Tutorial.pod a8a9cab7d67922ed3d6883c864e1fe29aaa6ad89 +@@ -33,7 +33,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mkbootstrap.pm 412e95c3 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm 8559ef191b4371d0c381472464856a8a73825b2a + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm 09d579ed9daea95c3bf47de2e0b8fe3aa0ff6447 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm f720c13748293b792f7073aa96e7daecb590b183 +-ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm 243649a399d293ae7ad0f26b7eab2668aa864ce8 ++ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm ec39f68802a6fee8daaa914fc7131f40533cfc23 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm b63c90129303b2c17d084fb828aa2c02a2ad85b8 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Cygwin.pm cabd1c97eaa427067811d92807e34c17940c7350 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm 6a185d897a600c34615a6073f4de0ac2f54fef3e +@@ -42,7 +42,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_MacOS.pm 1f5eb772eed + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_NW5.pm de777d7809c0d73e5d4622a29921731c7e5dff48 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_OS2.pm 01e8f08a82b5304009574e3ac0892b4066ff7639 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm 5340052b58557a6764f5ac9f8b807fefec404a06 +-ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 3c3b93f431b0a51b9592b3d69624dbf5409f6f74 ++ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 0d6ed5e4bdcdcd28e968e8629a592fdd0cc84818 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_UWIN.pm 40397f4cd2d49700b80b4ef490da98add24c5b37 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VMS.pm 147e97fbabb74841f0733dbd5d1b9f3fa51f87c1 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VOS.pm 3f13ed7045ff3443bcb4dd6c95c98b9bd705820f +@@ -51,7 +51,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win95.pm 48e8a2fe176 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MY.pm 6fefe99045b64459905d4721f3a494d8d50f7ab9 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/testlib.pm 172778ad21c065a89cd270668eb9f99a7364b41c + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/cd.t 0a71fbd646a7be8358b07b6f64f838243cc0aef4 +-ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/echo.t 37aec8f794c52e037540757eb5b2556f79419ff7 ++ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/echo.t 1a93dd8834e4bb0e5facf08204e782807567b2eb + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/lib/MakeMaker/Test/NoXS.pm 371cdff1b2375017907cfbc9c8f4a31f5ad10582 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/prereq.t 53bda2c549fd13a6b6c13a070ca6bc79883081c0 + ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/vstrings.t 90035a2bdbf45f15b9c3196d072d7cba7e662871 +@@ -165,7 +165,7 @@ bignum cpan/bignum/lib/bigrat.pm 7fccc9df30e43dbbae6e5ea91b26c8046545c9a9 + bignum cpan/bignum/lib/Math/BigFloat/Trace.pm a6b4b995e18f4083252e6dc72e9bef69671893dd + bignum cpan/bignum/lib/Math/BigInt/Trace.pm d9596963673760cae3eeeb752c1eeeec50bb2290 + libnet cpan/libnet/lib/Net/Cmd.pm a44a10c939a4c35f923c4638054178c32f1d283a +-libnet cpan/libnet/lib/Net/Config.pm 9bd49bf4de0dc438bceee0ef4baf8ba7a6633327 ++libnet cpan/libnet/lib/Net/Config.pm 2873da5efbffed67934dd297ef6f360b3558cb0b + libnet cpan/libnet/lib/Net/Domain.pm 1bbed50f70fd1ff3e1cdf087b19a9349cddfaced + libnet cpan/libnet/lib/Net/FTP.pm 40dba553c8d44e1530daec2d07a6e50910401f2e + libnet cpan/libnet/lib/Net/FTP/A.pm c570b10730b168990034dcf9cb00e305a100f336 +@@ -176,6 +176,6 @@ libnet cpan/libnet/lib/Net/FTP/L.pm ac1599c775faee0474710e4f75051c8949f13df2 + libnet cpan/libnet/lib/Net/Netrc.pm 009cfc08f8a5bf247257acb64a21e1b6ad8b2c9c + libnet cpan/libnet/lib/Net/NNTP.pm 6325fc05fd9ef81dc8d461a77b2a3f56ad1ae114 + libnet cpan/libnet/lib/Net/POP3.pm 2d8065646df80061dae5a9e3465a36a6557165fd +-libnet cpan/libnet/lib/Net/SMTP.pm f3ed7a177b49ee0ba65ac1c414de797cdbbe6886 ++libnet cpan/libnet/lib/Net/SMTP.pm f1beb42bfbef4333ed24ad63d5dd1aa5c67b20c7 + libnet cpan/libnet/lib/Net/Time.pm b3df8bbaa3bc253fbf77e8386c59a1b2aae13627 + version cpan/version/lib/version.pm ff75e2076be10bd4c05133cd979fda0b38ca8653 +-- +2.1.4 -Index: perl-5.22.1/t/porting/customized.dat -=================================================================== ---- perl-5.22.1.orig/t/porting/customized.dat 2015-10-31 13:36:16.000000000 +0000 -+++ perl-5.22.1/t/porting/customized.dat 2016-06-02 12:50:10.381030204 -0700 -@@ -1,8 +1,8 @@ - CPAN cpan/CPAN/lib/CPAN.pm ce62c43d72f101c011184dbbc59e21c2790826f0 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command/MM.pm 7f4dfd0fe884bd42412bcf04ca80ef97b39c1d54 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm bef099988b15fb0b2a1f5ac48c01af1f7f36d329 --ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm 8168e18f0e3ce3ece4bb7e7c72d57ec07c67c402 --ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 7115e97a53559cb3ec061dd6f7f344e522724c4a -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm 8c22e119b96d674f1f268a9c495bb4aa04e1100b -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 3d7abd674b15ed323f743594ef0bd09db76b1aee - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Config.pm f8db8d4245bf0684b8210c811f50d7cfb1a27d78 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/FAQ.pod 757bffb47857521311f8f3bde43ebe165f8d5191 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Locale.pm 82be06851deb84c6419ad003ce9b6d1957f395f3 -@@ -14,7 +14,7 @@ - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm ab80029ab16d38d4f2e41dc88d2ceb9f3790e477 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm 453e0abbc4bb38db4c0820ad5c4846f313b66291 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm c1b1babda8f43ae7a2caba1cb4f70f92af5a0e34 --ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm 6f90d94ad3e7aa0045a3b1a10a1bb18391f89f57 -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm 21bde53290bf1a4da4457290b65bd1b0ca6f1d16 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm cab2b3ce08b71a4ce89aa630f236eb08b852439d - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Cygwin.pm 61fced0faf518bf87c265fcb51ed330ba354623f - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm ae0ef51a7b6dd0b05aa61c779df7167dda5f5119 -@@ -23,7 +23,7 @@ - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_NW5.pm 433135eecb85b4b1d90d3027432f329436c78447 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_OS2.pm 1fbb5605bfb47feee4083feba8aa85e659628f70 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm 5b66d1f485a6034d96fc24ba1665b1bad9e447f1 --ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 8cef99a9bd370ecfd07ddb0efbdcbb4101255e45 -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 860d520234d7c9036d91f0b143a1dddf2a5e8cb7 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_UWIN.pm 939572fde3d59ba77c2e677fe2df2bed4bed5898 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VMS.pm 09c2049bfd25b735e2a5bcf56a6cff7b4827f9c8 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VOS.pm d65d63f8217a55c36f62e249814988974f593c79 -@@ -31,8 +31,16 @@ - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win95.pm 12df38eacceeed73cab94c423236bfaed0fbbfec - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MY.pm 22fe9596a0237252f45399a36abc83b7813bc328 - ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/testlib.pm 7fbc42ca2ebc6c677b79ae5fd5647243cf069463 --ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/basic.t 6cdc7701b50e586bc9c4cfb1616de8eb0b1baf34 --ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/pm_to_blib.t 71ebcee355691ce374fcad251b12d8b2412462b3 -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/basic.t d78fdec7a4512dc8d2a7abd62b8104530af8ecf9 -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/echo.t 9427f4adebbb13b57b4a76fef2972adf63c9bd96 -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/INSTALL_BASE.t ef356c196bb5c3c428ae309d7f989bdd6d79b86d -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t 3e6d4d6eb2eab42e983ac70eb5737a759af0916f -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/INST.t e553fa0d53c894c8d36aafb69edd55b38a9355f8 -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/min_perl_version.t e930ec9217de5a1785d0247c30b159e6f7f5673f -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/PL_FILES.t 7e49ab6c4d467826d22023fa03d77b85f935b58e -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/pm_to_blib.t a04c96eecfab17e4094604e0fb998dd93cf93b93 -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/recurs.t 94cce3bff875a878ed27816b3f5df2ca4225c714 -+ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/several_authors.t f811d993c0835c66dc501ed55083acb29bf33bf7 - Text::ParseWords cpan/Text-ParseWords/t/ParseWords.t 9bae51c9b944cd5c0bbabe9d397e573976a2be8e - Win32API::File cpan/Win32API-File/buffers.h 02d230ac9ac7091365128161a0ed671898baefae - Win32API::File cpan/Win32API-File/cFile.h fca7e383e76979c3ac3adf12d11d1bcd2618e489 diff --git a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl_5.22.1.bb b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl_5.24.1.bb index 792a65b5b..cf7a8e121 100644 --- a/import-layers/yocto-poky/meta/recipes-devtools/perl/perl_5.22.1.bb +++ b/import-layers/yocto-poky/meta/recipes-devtools/perl/perl_5.24.1.bb @@ -40,6 +40,7 @@ SRC_URI += " \ file://Makefile.patch \ file://Makefile.SH.patch \ file://installperl.patch \ + file://perl-archlib-exp.patch \ file://perl-dynloader.patch \ file://perl-moreconfig.patch \ file://letgcc-find-errno.patch \ @@ -48,7 +49,6 @@ SRC_URI += " \ file://perl-enable-gdbm.patch \ file://cross-generate_uudmap.patch \ file://fix_bad_rpath.patch \ - file://perl-archlib-exp.patch \ file://dynaloaderhack.patch \ file://config.sh \ file://config.sh-32 \ @@ -65,10 +65,6 @@ SRC_URI += " \ file://perl-errno-generation-gcc5.patch \ file://perl-fix-conflict-between-skip_all-and-END.patch \ file://perl-test-customized.patch \ - file://perl-fix-CVE-2016-2381.patch \ - file://perl-fix-CVE-2016-6185.patch \ - file://perl-fix-CVE-2015-8607.patch \ - file://perl-fix-CVE-2016-1238.patch \ " # Fix test case issues @@ -77,8 +73,8 @@ SRC_URI_append_class-target = " \ file://test/ext-DynaLoader-t-DynaLoader.t-fix-calling-dl_findfil.patch \ " -SRC_URI[md5sum] = "6671e4829cbaf9cecafa9a84f141b0a3" -SRC_URI[sha256sum] = "9e87317d693ce828095204be0d09af8d60b8785533fadea1a82b6f0e071e5c79" +SRC_URI[md5sum] = "af6a84c7c3e2b8b269c105a5db2f6d53" +SRC_URI[sha256sum] = "03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f" inherit perlnative siteinfo @@ -103,17 +99,6 @@ LDFLAGS_append = " -fstack-protector" # We're almost Debian, aren't we? CFLAGS += "-DDEBIAN" -do_nolargefile() { - sed -i -e "s,\(uselargefiles=\)'define',\1'undef',g" \ - -e "s,\(d_readdir64_r=\)'define',\1'undef',g" \ - -e "s,\(readdir64_r_proto=\)'\w+',\1'0',g" \ - -e "/ccflags_uselargefiles/d" \ - -e "s/-Duselargefiles//" \ - -e "s/-D_FILE_OFFSET_BITS=64//" \ - -e "s/-D_LARGEFILE_SOURCE//" \ - ${S}/Cross/config.sh-${TARGET_ARCH}-${TARGET_OS} -} - do_configure() { # Make hostperl in build directory be the native perl ln -sf ${HOSTPERL} hostperl @@ -186,8 +171,6 @@ do_configure() { config.sh-${TARGET_ARCH}-${TARGET_OS} fi - ${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '', 'do_nolargefile', d)} - # Update some paths in the configuration sed -i -e 's,@ARCH@-thread-multi,,g' \ -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \ @@ -358,7 +341,7 @@ python split_perl_packages () { # perl-modules should recommend every perl module, and only the # modules. Don't attempt to use the result of do_split_packages() as some # modules are manually split (eg. perl-module-unicore). - packages = filter(lambda p: 'perl-module-' in p, d.getVar('PACKAGES', True).split()) + packages = filter(lambda p: 'perl-module-' in p, d.getVar('PACKAGES').split()) d.setVar(d.expand("RRECOMMENDS_${PN}-modules"), ' '.join(packages)) } |