perl-native: upgrade from 5.24.1 to 5.26.1
PATCH v3 1/5 perl-native: upgrade from 5.24.1 to 5.26.1
From: Leonardo Sandoval <[email protected]>
Patch Name # Status at 5.26.1
file://Configure-multilib.patch # Already merged in 5.26.1, so removed it file://perl-configpm-switch.patch # Applies as it is file://native-nopacklist.patch # Rebased it to 5.26.1 file://native-perlinc.patch # Already merged in 5.26.1, so removed it file://MM_Unix.pm.patch # Rebased it to 5.26.1 file://debian/errno_ver.diff # Applies as it is file://dynaloaderhack.patch # Applies as it is
lfile://perl-PathTools-don-t-filter-out-blib-from-INC.patch # Already merged in 5.26.1, so removed it
file://0001-Configure-Remove-fstack-protector-strong-for-native-.patch # Applies as it is
---
...perl-native_5.24.1.bb => perl-native_5.26.1.bb} | 10 +++---
...emove-fstack-protector-strong-for-native-.patch | 1 +
meta/recipes-devtools/perl/perl/MM_Unix.pm.patch | 9 ++---
.../perl/perl/native-nopacklist.patch | 40 +++++++++++++++-------
4 files changed, 37 insertions(+), 23 deletions(-)
rename meta/recipes-devtools/perl/{perl-native_5.24.1.bb => perl-native_5.26.1.bb} (93%)meta/recipes-devtools/perl/perl-native_5.26.1.bb renamed from meta/recipes-devtools/perl/perl-native_5.24.1.bb +4 -6
@@ -7,19 +7,17 @@ DEPENDS += "gdbm-native zlib-native" EXTRA_OEMAKE = "-e MAKEFLAGS=" SRC_URI += "\ - file://Configure-multilib.patch \ file://perl-configpm-switch.patch \ file://native-nopacklist.patch \ - file://native-perlinc.patch \ file://MM_Unix.pm.patch \ file://debian/errno_ver.diff \ file://dynaloaderhack.patch \ - file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ file://0001-Configure-Remove-fstack-protector-strong-for-native-.patch \ - " + " + +SRC_URI[md5sum] = "70e988b4318739b0cf3ad5e120bfde88" +SRC_URI[sha256sum] = "fe8208133e73e47afc3251c08d2c21c5a60160165a8ab8b669c43a420e4ec680" -SRC_URI[md5sum] = "af6a84c7c3e2b8b269c105a5db2f6d53" -SRC_URI[sha256sum] = "03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f" inherit native
meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch +1 -0
@@ -15,6 +15,7 @@ Upstream-Status: Inappropriate [configuration] [1] http://errors.yoctoproject.org/Errors/Details/109589/ Signed-off-by: Aníbal Limón <[email protected]> +Signed-off-by: Leonardo Sandoval <[email protected]> --- Configure | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-)
meta/recipes-devtools/perl/perl/MM_Unix.pm.patch +5 -4
@@ -7,16 +7,17 @@ To get the MakeMaker.pm works in this case, we need perl wrapper here instead of real perl binary. Signed-off-by: Wenzong Fan <[email protected]> +Signed-off-by: Leonardo Sandoval <[email protected]> =================================================================== --- perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.orig 2011-08-12 16:07:30.000000000 +0800 +++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2011-08-12 16:08:56.000000000 +0800 -@@ -1019,6 +1019,9 @@ +@@ -1110,6 +1110,9 @@ WARNING } foreach my $name (@$names){ + # Getting MakeMaker.pm use perl wrapper instead of 'perl.real' directly + $name =~ s/perl\.real/perl/ if ($name =~ /perl\.real/); + - foreach my $dir (@$dirs){ - next unless defined $dir; # $self->{PERL_SRC} may be undefined - my ($abs, $val); + my ($abs, $use_dir); + if ($self->file_name_is_absolute($name)) { # /foo/bar + $abs = $name;
meta/recipes-devtools/perl/perl/native-nopacklist.patch +27 -13
@@ -3,15 +3,16 @@ Upstream-Status:Inappropriate [debian patch] Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files Signed-off-by: Hongxu Jia <[email protected]> +Signed-off-by: Leonardo Sandoval <[email protected]> --- - cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 35 ++--------------------- - 1 file changed, 3 insertions(+), 32 deletions(-) + cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 41 ++----------------------- + 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -index f63145c..a589710 100644 +index 66a24d7..f9dbc6e 100644 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -@@ -2122,11 +2122,6 @@ pure_perl_install :: all +@@ -2227,11 +2227,6 @@ pure_perl_install :: all }; push @m,
@@ -23,18 +24,31 @@ index f63145c..a589710 100644 q{ "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \ "$(INST_ARCHLIB)" "$(DESTINSTALLARCHLIB)" \ "$(INST_BIN)" "$(DESTINSTALLBIN)" \ -@@ -2158,10 +2153,6 @@ q{ "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \ - pure_vendor_install :: all +@@ -2246,11 +2241,6 @@ pure_site_install :: all $(NOECHO) $(MOD_INSTALL) \ }; + push @m, +-q{ read "}.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \ +- write "}.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{" \ +-} unless $self->{NO_PACKLIST}; +- - push @m, + q{ "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \ + "$(INST_ARCHLIB)" "$(DESTINSTALLSITEARCH)" \ + "$(INST_BIN)" "$(DESTINSTALLSITEBIN)" \ +@@ -2264,11 +2254,6 @@ pure_vendor_install :: all + $(NOECHO) $(MOD_INSTALL) \ + }; + push @m, -q{ read "}.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \ - write "}.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{" \ -} unless $self->{NO_PACKLIST}; - - push @m, +- +- push @m, q{ "$(INST_LIB)" "$(DESTINSTALLVENDORLIB)" \ -@@ -2187,37 +2178,19 @@ doc_vendor_install :: all + "$(INST_ARCHLIB)" "$(DESTINSTALLVENDORARCH)" \ + "$(INST_BIN)" "$(DESTINSTALLVENDORBIN)" \ +@@ -2292,37 +2277,19 @@ doc_vendor_install :: all push @m, q{ doc_perl_install :: all
@@ -42,7 +56,7 @@ index f63145c..a589710 100644 - -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)" - -$(NOECHO) $(DOC_INSTALL) \ - "Module" "$(NAME)" \ -- "installed into" $(INSTALLPRIVLIB) \ +- "installed into" "$(INSTALLPRIVLIB)" \ - LINKTYPE "$(LINKTYPE)" \ - VERSION "$(VERSION)" \ - EXE_FILES "$(EXE_FILES)" \
@@ -55,7 +69,7 @@ index f63145c..a589710 100644 + -$(NOECHO) $(MKPATH) "$(DESTINSTALLSITEARCH)" -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ - "installed into" $(INSTALLSITELIB) \ + "installed into" "$(INSTALLSITELIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \
@@ -67,7 +81,7 @@ index f63145c..a589710 100644 - -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)" - -$(NOECHO) $(DOC_INSTALL) \ - "Module" "$(NAME)" \ -- "installed into" $(INSTALLVENDORLIB) \ +- "installed into" "$(INSTALLVENDORLIB)" \ - LINKTYPE "$(LINKTYPE)" \ - VERSION "$(VERSION)" \ - EXE_FILES "$(EXE_FILES)" \
@@ -75,7 +89,7 @@ index f63145c..a589710 100644 } unless $self->{NO_PERLLOCAL}; -@@ -2226,13 +2199,11 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs +@@ -2331,13 +2298,11 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs $(NOECHO) $(NOOP) uninstall_from_perldirs ::
Signature · 1 line
2.12.3
PATCH v3 2/5 perl: upgrade to 5.26.1
From: Leonardo Sandoval <[email protected]>
Highlights:
* Patches rebased to 5.26.1 and just one removed
* Several configs values taken from upstream script uconfig[64].sh were introduced in config.sh, avoiding pre-processor issues.
* Several libraries paths now included a './' as prefix, because by default, @INC does not include the dot-slash anymore. More info at [1]
* Manifypods is excluded from compilation due to compilation errors (see patch for more info)
* New perl creates a static library (<libdir>/auto/Unicode/Normalize/Normalize.a) thus there is a new staticdev package
New packages included (compared to previous version):
perl-module-math-bigint-lib
perl-module-test2
perl-module-test2-api
perl-module-test2-api-breakage
perl-module-test2-api-context
perl-module-test2-api-instance
perl-module-test2-api-stack
perl-module-test2-event
perl-module-test2-event-bail
perl-module-test2-event-diag
perl-module-test2-event-encoding
perl-module-test2-event-exception
perl-module-test2-event-generic
perl-module-test2-event-info
perl-module-test2-event-note
perl-module-test2-event-ok
perl-module-test2-event-plan
perl-module-test2-event-skip
perl-module-test2-event-subtest
perl-module-test2-event-tap-version
perl-module-test2-event-waiting
perl-module-test2-formatter
perl-module-test2-formatter-tap
perl-module-test2-hub
perl-module-test2-hub-interceptor
perl-module-test2-hub-interceptor-terminator
perl-module-test2-hub-subtest
perl-module-test2-ipc
perl-module-test2-ipc-driver
perl-module-test2-ipc-driver-files
perl-module-test2-tools-tiny
perl-module-test2-util
perl-module-test2-util-externalmeta
perl-module-test2-util-hashbase
perl-module-test2-util-trace
perl-module-test-builder-formatter
perl-module-test-builder-tododiag
perl-module-unicode-collate-locale-de-at-ph
perl-module-unicode-collate-locale-fr-ca
perl-module-unicode-collate-locale-he
perl-module-unicode-collate-locale-ug-cyrl
perl-module-unicode-collate-locale-vo
perl-module-unicode-normalize-staticdev
[1] https://wiki.gentoo.org/wiki/Project:Perl/5.26_Known_Issues
---
...depends_5.24.1.inc => perl-rdepends_5.26.1.inc} | 0
.../perl/perl/Configure-multilib.patch | 17 --
meta/recipes-devtools/perl/perl/Makefile.SH.patch | 82 +++++-----
.../perl/perl/PPPort_pm-fix-require.patch | 28 ++++
.../perl/perl/PPPort_xs-fix-require.patch | 36 ++++
.../perl/perl/avoid-manifypods.patch | 28 ++++
.../perl/collade-makefile-use-local-mkheader.patch | 29 ++++
meta/recipes-devtools/perl/perl/config.sh | 83 ++++++----
meta/recipes-devtools/perl/perl/config.sh-32 | 2 +
meta/recipes-devtools/perl/perl/config.sh-64 | 2 +
.../perl/perl/debian/fixes/respect_umask.diff | 26 +--
.../perl/perl/debian/no_packlist_perllocal.diff | 25 +--
.../perl/perl/debian/prefix_changes.diff | 33 ++--
.../perl/perl/debian/writable_site_dirs.diff | 14 +-
.../perl/perl/letgcc-find-errno.patch | 26 ++-
...-PathTools-don-t-filter-out-blib-from-INC.patch | 22 +--
...erl-fix-conflict-between-skip_all-and-END.patch | 181 ---------------------
.../perl/perl/perl-test-customized.patch | 123 +++++++-------
.../perl/perl/pport_h-fix-require.patch | 42 +++++
.../perl/perl/utils-Makefile-force-miniperl.patch | 28 ++++
.../perl/perl/write_buildcustomize.patch | 40 +++++
.../perl/{perl_5.24.1.bb => perl_5.26.1.bb} | 14 +-
22 files changed, 497 insertions(+), 384 deletions(-)
rename meta/recipes-devtools/perl/{perl-rdepends_5.24.1.inc => perl-rdepends_5.26.1.inc} (100%)
delete mode 100644 meta/recipes-devtools/perl/perl/Configure-multilib.patch
create mode 100644 meta/recipes-devtools/perl/perl/PPPort_pm-fix-require.patch
create mode 100644 meta/recipes-devtools/perl/perl/PPPort_xs-fix-require.patch
create mode 100644 meta/recipes-devtools/perl/perl/avoid-manifypods.patch
create mode 100644 meta/recipes-devtools/perl/perl/collade-makefile-use-local-mkheader.patch
delete mode 100644 meta/recipes-devtools/perl/perl/perl-fix-conflict-between-skip_all-and-END.patch
create mode 100644 meta/recipes-devtools/perl/perl/pport_h-fix-require.patch
create mode 100644 meta/recipes-devtools/perl/perl/utils-Makefile-force-miniperl.patch
create mode 100644 meta/recipes-devtools/perl/perl/write_buildcustomize.patch
rename meta/recipes-devtools/perl/{perl_5.24.1.bb => perl_5.26.1.bb} (94%)meta/recipes-devtools/perl/perl-rdepends_5.26.1.inc renamed from meta/recipes-devtools/perl/perl-rdepends_5.24.1.inc +0 -0
meta/recipes-devtools/perl/perl/Configure-multilib.patch deleted +0 -17
@@ -1,17 +0,0 @@ -Upstream-Status:Pending - -Index: perl-5.12.3/Configure -=================================================================== ---- perl-5.12.3.orig/Configure -+++ perl-5.12.3/Configure -@@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib - loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" - - : general looking path for locating libraries --glibpth="/lib /usr/lib $xlibpth" -+glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth" - glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" -+test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth" - test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" - test -f /shlib/libc.so && glibpth="/shlib $glibpth" - test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
meta/recipes-devtools/perl/perl/Makefile.SH.patch +44 -38
252 lines not on this page · raw message
meta/recipes-devtools/perl/perl/PPPort_pm-fix-require.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 62d3500bb6a4addd96a8f2f44f5589c866dfe2e6 Mon Sep 17 00:00:00 2001 +From: Leonardo Sandoval <[email protected]> +Date: Fri, 6 Oct 2017 14:01:08 -0700 +Subject: [PATCH] PPPort_pm.PL: require ppptools.pl starting at local directory + +Upstream-Status: Inappropriate [OE-Core specific] + +Signed-off-by: Leonardo Sandoval <[email protected]> +--- + cpan/Devel-PPPort/PPPort_pm.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cpan/Devel-PPPort/PPPort_pm.PL b/cpan/Devel-PPPort/PPPort_pm.PL +index ad75b13..7d143a2 100644 +--- a/cpan/Devel-PPPort/PPPort_pm.PL ++++ b/cpan/Devel-PPPort/PPPort_pm.PL +@@ -15,7 +15,7 @@ + + use strict; + $^W = 1; +-require "parts/ppptools.pl"; ++require "./parts/ppptools.pl"; + + my $INCLUDE = 'parts/inc'; + my $DPPP = 'DPPP_'; +-- +2.12.3 +
meta/recipes-devtools/perl/perl/PPPort_xs-fix-require.patch new file +36 -0
@@ -0,0 +1,36 @@ +From d265a66644af0e04518a6957f84456f3a3ad1a74 Mon Sep 17 00:00:00 2001 +From: Leonardo Sandoval <[email protected]> +Date: Fri, 6 Oct 2017 15:01:32 -0700 +Subject: [PATCH] PPPort_xs.PL: require ppptools.pl starting at local directory + +Otherwise, the following errors is observed: + + | Can't locate parts/ppptools.pl in @INC (@INC contains: ../../lib ../../lib build/tmp/work/i586-poky-linux/perl/5.26.1-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl-native/perl/site_perl/5.26.1 build/tmp/work/i586-poky-linux/perl/5.26.1-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl-native/perl/vendor_perl/5.26.1 build/tmp/work/i586-poky-linux/perl/5.26.1-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl-native/perl/5.26.1 build/tmp/work/x86_64-linux/perl-native/5.26.1-r0/recipe-sysroot-native/usr/lib/perl-native/perl/site_perl/5.26.1 build/tmp/work/x86_64-linux/perl-native/5.26.1-r0/recipe-sysroot-native/usr/lib/perl-native/perl/vendor_perl/5.26.1 build/tmp/work/x86_64-linux/perl-native/5.26.1-r0/recipe-sysroot-native/usr/lib/perl-native/perl/5.26.1) at PPPort_xs.PL line 18. + | + | Can't locate parts/ppptools.pl in @INC (@INC contains: ../../lib ../../lib build/tmp/work/i586-poky-linux/perl/5.26.1-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl-native/perl/site_perl/5.26.1 build/tmp/work/i586-poky-linux/perl/5.26.1-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl-native/perl/vendor_perl/5.26.1 build/tmp/work/i586-poky-linux/perl/5.26.1-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl-native/perl/5.26.1 build/tmp/work/x86_64-linux/perl-native/5.26.1-r0/recipe-sysroot-native/usr/lib/perl-native/perl/site_perl/5.26.1 build/tmp/work/x86_64-linux/perl-native/5.26.1-r0/recipe-sysroot-native/usr/lib/perl-native/perl/vendor_perl/5.26.1 build/tmp/work/x86_64-linux/perl-native/5.26.1-r0/recipe-sysroot-native/usr/lib/perl-native/perl/5.26.1) at PPPort_xs.PL line 18. + | Makefile:538: recipe for target 'RealPPPort.xs' failed + | make[2]: *** [RealPPPort.xs] Error 2 + +Upstream-Status: Inappropriate [OE-Core specific] + +Signed-off-by: Leonardo Sandoval <[email protected]> +--- + cpan/Devel-PPPort/PPPort_xs.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cpan/Devel-PPPort/PPPort_xs.PL b/cpan/Devel-PPPort/PPPort_xs.PL +index 5f18940..d00cffa 100644 +--- a/cpan/Devel-PPPort/PPPort_xs.PL ++++ b/cpan/Devel-PPPort/PPPort_xs.PL +@@ -15,7 +15,7 @@ + + use strict; + $^W = 1; +-require "parts/ppptools.pl"; ++require "./parts/ppptools.pl"; + + my %SECTION = ( + xshead => { code => '', header => "/* ---- code from __FILE__ ---- */" }, +-- +2.12.3 +
meta/recipes-devtools/perl/perl/avoid-manifypods.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 6fecce2bf463a1dc4d953bd36de306db61f92c27 Mon Sep 17 00:00:00 2001 +From: Leonardo Sandoval <[email protected]> +Date: Fri, 6 Oct 2017 13:52:42 -0700 +Subject: [PATCH] MM_Unix.pm: avoid manifypods target execution + +Upstream-Status: Inappropriate [OE-Core specific] + +Signed-off-by: Leonardo Sandoval <[email protected]> +--- + cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +index 9d65a69..76b1f65 100644 +--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm ++++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +@@ -3799,7 +3799,7 @@ sub all_target { + my $self = shift; + + return <<'MAKE_EXT'; +-all :: pure_all manifypods ++all :: pure_all + $(NOECHO) $(NOOP) + MAKE_EXT + } +-- +2.12.3 +
meta/recipes-devtools/perl/perl/collade-makefile-use-local-mkheader.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 3047280d55c6482d0e526d91f707d1308ab7e703 Mon Sep 17 00:00:00 2001 +From: Leonardo Sandoval <[email protected]> +Date: Mon, 9 Oct 2017 07:53:38 -0700 +Subject: [PATCH] Unicode-Collade/Makefile.PL: indicate to use local mkheader + script + +Upstream-Status: Inappropriate [OE-Core specific] + +Signed-off-by: Leonardo Sandoval <[email protected]> +--- + cpan/Unicode-Collate/Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cpan/Unicode-Collate/Makefile.PL b/cpan/Unicode-Collate/Makefile.PL +index 4103bc9..1d127b7 100644 +--- a/cpan/Unicode-Collate/Makefile.PL ++++ b/cpan/Unicode-Collate/Makefile.PL +@@ -6,7 +6,7 @@ my $clean = {}; + if (-f "Collate.xs") { + print "Making header files for XS...\n"; + +- do 'mkheader' or die $@ || "mkheader: $!"; ++ do './mkheader' or die $@ || "mkheader: $!"; + + $clean = { FILES => 'ucatbl.h' }; + } +-- +2.12.3 +
meta/recipes-devtools/perl/perl/config.sh +51 -32
201 lines not on this page · raw message
meta/recipes-devtools/perl/perl/config.sh-32 +2 -0
@@ -10,6 +10,8 @@ i64type='long long' ivsize='4' longdblsize='12' longsize='4' +doubleinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f' +doublenanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f' myuname='linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux ' need_va_copy='undef' netdb_host_type='const void *'
meta/recipes-devtools/perl/perl/config.sh-64 +2 -0
@@ -10,6 +10,8 @@ i64type='long' ivsize='8' longdblsize='16' longsize='8' +longdblinfbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00' +longdblnanbytes='0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00' myuname='linux qemux86-64 2.6.37-rc5-yocto-standard+ #1 smp preempt mon dec 20 17:19:50 pst 2010 x86_64 gnulinux ' need_va_copy='define' netdb_host_type='char *'
meta/recipes-devtools/perl/perl/debian/fixes/respect_umask.diff +15 -11
@@ -1,4 +1,4 @@ -From d9d535ef97f57af6e9728075944c33f3b0b5372f Mon Sep 17 00:00:00 2001 +From 7eef41c8a5ae32ee6ea32163ee38abe9e5156544 Mon Sep 17 00:00:00 2001 From: Brendan O'Dea <[email protected]> Date: Tue, 8 Mar 2005 19:30:38 +1100 Subject: Respect umask during installation
@@ -8,6 +8,7 @@ site directories. Patch-Name: fixes/respect_umask.diff Upstream-Status: Pending + --- cpan/ExtUtils-Install/lib/ExtUtils/Install.pm | 18 +++++++++--------- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 18 +++++++++---------
@@ -89,10 +90,10 @@ index 1e8ac4c..3e79121 100644 if ($need_filtering) { run_filter($pm_filter, $from, $to); diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -index f63145c..197f102 100644 +index 66a24d7..588c54b 100644 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -@@ -2118,7 +2118,7 @@ doc__install : doc_site_install +@@ -2223,7 +2223,7 @@ doc__install : doc_site_install $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site pure_perl_install :: all
@@ -101,7 +102,7 @@ index f63145c..197f102 100644 }; push @m, -@@ -2138,7 +2138,7 @@ q{ "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \ +@@ -2243,7 +2243,7 @@ q{ "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \ pure_site_install :: all
@@ -110,7 +111,7 @@ index f63145c..197f102 100644 }; push @m, q{ read "}.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \ -@@ -2156,7 +2156,7 @@ q{ "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \ +@@ -2261,7 +2261,7 @@ q{ "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \ "}.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{" pure_vendor_install :: all
@@ -119,7 +120,7 @@ index f63145c..197f102 100644 }; push @m, q{ read "}.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \ -@@ -2188,8 +2188,8 @@ doc_vendor_install :: all +@@ -2293,8 +2293,8 @@ doc_vendor_install :: all push @m, q{ doc_perl_install :: all $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod"
@@ -128,9 +129,9 @@ index f63145c..197f102 100644 + -$(NOECHO) umask 022; $(MKPATH) "$(DESTINSTALLARCHLIB)" + -$(NOECHO) umask 022; $(DOC_INSTALL) \ "Module" "$(NAME)" \ - "installed into" $(INSTALLPRIVLIB) \ + "installed into" "$(INSTALLPRIVLIB)" \ LINKTYPE "$(LINKTYPE)" \ -@@ -2199,8 +2199,8 @@ doc_perl_install :: all +@@ -2304,8 +2304,8 @@ doc_perl_install :: all doc_site_install :: all $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod"
@@ -139,9 +140,9 @@ index f63145c..197f102 100644 + -$(NOECHO) umask 022; $(MKPATH) "$(DESTINSTALLARCHLIB)" + -$(NOECHO) umask 022; $(DOC_INSTALL) \ "Module" "$(NAME)" \ - "installed into" $(INSTALLSITELIB) \ + "installed into" "$(INSTALLSITELIB)" \ LINKTYPE "$(LINKTYPE)" \ -@@ -2210,8 +2210,8 @@ doc_site_install :: all +@@ -2315,8 +2315,8 @@ doc_site_install :: all doc_vendor_install :: all $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod"
@@ -150,5 +151,8 @@ index f63145c..197f102 100644 + -$(NOECHO) umask 022; $(MKPATH) "$(DESTINSTALLARCHLIB)" + -$(NOECHO) umask 022; $(DOC_INSTALL) \ "Module" "$(NAME)" \ - "installed into" $(INSTALLVENDORLIB) \ + "installed into" "$(INSTALLVENDORLIB)" \ LINKTYPE "$(LINKTYPE)" \ +-- +2.12.3 +
meta/recipes-devtools/perl/perl/debian/no_packlist_perllocal.diff +15 -10
@@ -1,19 +1,21 @@ -From 240f2f4aeb3850bc0c5370b9fbc3909573bed9b3 Mon Sep 17 00:00:00 2001 +From d22228b25e80bb52c503176f6199e9801fc421b7 Mon Sep 17 00:00:00 2001 From: Brendan O'Dea <[email protected]> Date: Tue, 8 Mar 2005 19:30:38 +1100 -Subject: Don't install .packlist or perllocal.pod for perl or vendor +Subject: Don't install .packlist or perllocal.pod for perl or + vendor Patch-Name: debian/no_packlist_perllocal.diff Upstream-Status: Pending + --- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 35 +++---------------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -index 570a631..391dc22 100644 +index c3f5553..5f9673e 100644 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -@@ -2122,11 +2122,6 @@ pure_perl_install :: all +@@ -2227,11 +2227,6 @@ pure_perl_install :: all }; push @m,
@@ -25,7 +27,7 @@ index 570a631..391dc22 100644 q{ "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \ "$(INST_ARCHLIB)" "$(DESTINSTALLARCHLIB)" \ "$(INST_BIN)" "$(DESTINSTALLBIN)" \ -@@ -2158,10 +2153,6 @@ q{ "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \ +@@ -2263,10 +2258,6 @@ q{ "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \ pure_vendor_install :: all $(NOECHO) umask 022; $(MOD_INSTALL) \ };
@@ -36,7 +38,7 @@ index 570a631..391dc22 100644 push @m, q{ "$(INST_LIB)" "$(DESTINSTALLVENDORLIB)" \ -@@ -2187,37 +2178,19 @@ doc_vendor_install :: all +@@ -2292,37 +2283,19 @@ doc_vendor_install :: all push @m, q{ doc_perl_install :: all
@@ -44,7 +46,7 @@ index 570a631..391dc22 100644 - -$(NOECHO) umask 022; $(MKPATH) "$(DESTINSTALLARCHLIB)" - -$(NOECHO) umask 022; $(DOC_INSTALL) \ - "Module" "$(NAME)" \ -- "installed into" $(INSTALLPRIVLIB) \ +- "installed into" "$(INSTALLPRIVLIB)" \ - LINKTYPE "$(LINKTYPE)" \ - VERSION "$(VERSION)" \ - EXE_FILES "$(EXE_FILES)" \
@@ -57,7 +59,7 @@ index 570a631..391dc22 100644 + -$(NOECHO) umask 02; $(MKPATH) "$(DESTINSTALLSITEARCH)" -$(NOECHO) umask 02; $(DOC_INSTALL) \ "Module" "$(NAME)" \ - "installed into" $(INSTALLSITELIB) \ + "installed into" "$(INSTALLSITELIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \
@@ -69,7 +71,7 @@ index 570a631..391dc22 100644 - -$(NOECHO) umask 022; $(MKPATH) "$(DESTINSTALLARCHLIB)" - -$(NOECHO) umask 022; $(DOC_INSTALL) \ - "Module" "$(NAME)" \ -- "installed into" $(INSTALLVENDORLIB) \ +- "installed into" "$(INSTALLVENDORLIB)" \ - LINKTYPE "$(LINKTYPE)" \ - VERSION "$(VERSION)" \ - EXE_FILES "$(EXE_FILES)" \
@@ -77,7 +79,7 @@ index 570a631..391dc22 100644 } unless $self->{NO_PERLLOCAL}; -@@ -2226,13 +2199,11 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs +@@ -2331,13 +2304,11 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs $(NOECHO) $(NOOP) uninstall_from_perldirs ::
@@ -91,3 +93,6 @@ index 570a631..391dc22 100644 }; join("",@m); +-- +2.12.3 +
meta/recipes-devtools/perl/perl/debian/prefix_changes.diff +19 -14
@@ -1,7 +1,8 @@ -From 914948f026efce02cf0abff8b0312aaad96592ed Mon Sep 17 00:00:00 2001 +From 9dd4fc60a520a47410f3c3e3ff22142cf3376ea3 Mon Sep 17 00:00:00 2001 From: Brendan O'Dea <[email protected]> Date: Tue, 8 Mar 2005 19:30:38 +1100 -Subject: Fiddle with *PREFIX and variables written to the makefile +Subject: Fiddle with *PREFIX and variables written to the + makefile Fiddle with *PREFIX and variables written to the makefile so that install directories may be changed when make is run by passing
@@ -10,6 +11,7 @@ modules). Patch-Name: debian/prefix_changes.diff Upstream-Status: Pending + --- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | 12 ++++++------ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 3 +--
@@ -18,10 +20,10 @@ Upstream-Status: Pending 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm -index 4c00129..1ea2035 100644 +index 433a8dd..7fb501e 100644 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm -@@ -902,8 +902,6 @@ all POD files in MAN1PODS and MAN3PODS. +@@ -1063,8 +1063,6 @@ all POD files in MAN1PODS and MAN3PODS. sub manifypods_target { my($self) = shift;
@@ -30,16 +32,16 @@ index 4c00129..1ea2035 100644 my $dependencies = ''; # populate manXpods & dependencies: -@@ -919,7 +917,7 @@ END +@@ -1080,7 +1078,7 @@ END foreach my $section (qw(1 3)) { my $pods = $self->{"MAN${section}PODS"}; - my $p2m = sprintf <<CMD, $] > 5.008 ? " -u" : ""; -- \$(NOECHO) \$(POD2MAN) --section=$section --perm_rw=\$(PERM_RW)%s + my $p2m = sprintf <<'CMD', $section, $] > 5.008 ? " -u" : ""; +- $(NOECHO) $(POD2MAN) --section=%s --perm_rw=$(PERM_RW)%s + \$(NOECHO) \$(POD2MAN) --section=\$(MAN${section}EXT) --perm_rw=\$(PERM_RW)%s CMD push @man_cmds, $self->split_command($p2m, map {($_,$pods->{$_})} sort keys %$pods); } -@@ -1875,9 +1873,11 @@ sub init_INSTALL_from_PREFIX { +@@ -2022,9 +2020,11 @@ sub init_INSTALL_from_PREFIX { $self->{SITEPREFIX} ||= $sprefix; $self->{VENDORPREFIX} ||= $vprefix;
@@ -55,10 +57,10 @@ index 4c00129..1ea2035 100644 my $arch = $Config{archname}; diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -index 391dc22..4a8e14c 100644 +index 5f9673e..89213ed 100644 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -@@ -3077,8 +3077,7 @@ sub prefixify { +@@ -3173,8 +3173,7 @@ sub prefixify { warn " prefixify $var => $path\n" if $Verbose >= 2; warn " from $sprefix to $rprefix\n" if $Verbose >= 2;
@@ -69,10 +71,10 @@ index 391dc22..4a8e14c 100644 warn " cannot prefix, using default.\n" if $Verbose >= 2; diff --git a/cpan/ExtUtils-MakeMaker/t/INST.t b/cpan/ExtUtils-MakeMaker/t/INST.t -index 91058bb..e399ced 100644 +index 3562162..e8d8025 100644 --- a/cpan/ExtUtils-MakeMaker/t/INST.t +++ b/cpan/ExtUtils-MakeMaker/t/INST.t -@@ -65,9 +65,7 @@ isa_ok( $mm, 'ExtUtils::MakeMaker' ); +@@ -67,9 +67,7 @@ isa_ok( $mm, 'ExtUtils::MakeMaker' ); is( $mm->{NAME}, 'Big::Dummy', 'NAME' ); is( $mm->{VERSION}, 0.01, 'VERSION' );
@@ -84,7 +86,7 @@ index 91058bb..e399ced 100644 is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' ); diff --git a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t -index e8de7c6..3fb3f12 100644 +index 5f7d395..fde96cb 100644 --- a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t +++ b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t @@ -10,7 +10,7 @@ BEGIN {
@@ -96,7 +98,7 @@ index e8de7c6..3fb3f12 100644 use MakeMaker::Test::Utils; use MakeMaker::Test::Setup::BFD; use ExtUtils::MakeMaker; -@@ -62,16 +62,16 @@ like( $stdout->read, qr{ +@@ -64,16 +64,16 @@ like( $stdout->read, qr{ (?:Writing\ MYMETA.yml\ and\ MYMETA.json\n)? }x );
@@ -117,3 +119,6 @@ index e8de7c6..3fb3f12 100644 my $PREFIX = File::Spec->catdir('foo', 'bar'); +-- +2.12.3 +
meta/recipes-devtools/perl/perl/debian/writable_site_dirs.diff +9 -5
@@ -1,4 +1,4 @@ -From 591c1f9b7d4755bfc59d9665bab1f2ca410de765 Mon Sep 17 00:00:00 2001 +From 2c82a64e1a27010dfbef5831de2fe73e283763aa Mon Sep 17 00:00:00 2001 From: Brendan O'Dea <[email protected]> Date: Tue, 8 Mar 2005 19:30:38 +1100 Subject: Set umask approproately for site install directories
@@ -7,15 +7,16 @@ Policy requires group writable site directories Patch-Name: debian/writable_site_dirs.diff Upstream-Status: Pending + --- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -index 197f102..5f1b87f 100644 +index 588c54b..285bb8c 100644 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -@@ -2138,7 +2138,7 @@ q{ "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \ +@@ -2243,7 +2243,7 @@ q{ "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \ pure_site_install :: all
@@ -24,7 +25,7 @@ index 197f102..5f1b87f 100644 }; push @m, q{ read "}.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \ -@@ -2199,8 +2199,8 @@ doc_perl_install :: all +@@ -2304,8 +2304,8 @@ doc_perl_install :: all doc_site_install :: all $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod"
@@ -33,5 +34,8 @@ index 197f102..5f1b87f 100644 + -$(NOECHO) umask 02; $(MKPATH) "$(DESTINSTALLARCHLIB)" + -$(NOECHO) umask 02; $(DOC_INSTALL) \ "Module" "$(NAME)" \ - "installed into" $(INSTALLSITELIB) \ + "installed into" "$(INSTALLSITELIB)" \ LINKTYPE "$(LINKTYPE)" \ +-- +2.12.3 +
meta/recipes-devtools/perl/perl/letgcc-find-errno.patch +19 -7
@@ -1,3 +1,8 @@ +From 4a9fd881468beea2cac3e84ef0530f1cbc07fa68 Mon Sep 17 00:00:00 2001 +From: Richard Purdie <[email protected]> +Date: Sun, 27 May 2007 21:04:11 +0000 +Subject: perl: 5.8.7 -> 5.8.8 (from OE) + Upstream-Status:Inappropriate [embedded specific] This removes all the logic that perl uses to locate an appropriate
@@ -10,12 +15,16 @@ external toolchain since perl will search in ${STAGING_INCDIR} for errno.h (when using gcc) and that isn't where it's located - its wherever the external toolchain keeps it's headers. -Index: perl-5.12.3/ext/Errno/Errno_pm.PL -=================================================================== ---- perl-5.12.3.orig/ext/Errno/Errno_pm.PL -+++ perl-5.12.3/ext/Errno/Errno_pm.PL -@@ -17,8 +17,18 @@ unlink "Errno.tmp" if -f "Errno.tmp"; - open OUT, ">Errno.tmp" or die "Cannot open Errno.tmp: $!"; +--- + ext/Errno/Errno_pm.PL | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL +index c1ec382..db77339 100644 +--- a/ext/Errno/Errno_pm.PL ++++ b/ext/Errno/Errno_pm.PL +@@ -16,8 +16,18 @@ unlink "Errno.tmp" if -f "Errno.tmp"; + open OUT, '>', 'Errno.tmp' or die "Cannot open Errno.tmp: $!"; select OUT; my $file; -my @files = get_files();
@@ -35,7 +44,7 @@ Index: perl-5.12.3/ext/Errno/Errno_pm.PL # MinGW complains "warning: #pragma system_header ignored outside include # file" if the header files are processed individually, so include them # all in .c file and process that instead. -@@ -53,7 +63,7 @@ sub process_file { +@@ -52,7 +62,7 @@ sub process_file { chomp($file = `cygpath -w "$file"`); }
@@ -44,3 +53,6 @@ Index: perl-5.12.3/ext/Errno/Errno_pm.PL # warn "Processing $file\n"; local *FH; +-- +2.12.3 +
meta/recipes-devtools/perl/perl/perl-PathTools-don-t-filter-out-blib-from-INC.patch +12 -10
@@ -1,4 +1,4 @@ -From 90c252cecc38aed5d5faedb30485dd6eee2e54eb Mon Sep 17 00:00:00 2001 +From 258d748f274925d839ebfd117c1d29755b30f512 Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Wed, 11 Feb 2015 15:14:40 +0800 Subject: [PATCH] perl / PathTools: don't filter out blib from @INC
@@ -13,21 +13,23 @@ the @INC and cause build errors like: Upstream-Status: Pending Signed-off-by: Wenzong Fan <[email protected]> + --- - dist/PathTools/Makefile.PL | 3 --- - 1 file changed, 3 deletions(-) + dist/PathTools/Makefile.PL | 1 + + 1 file changed, 1 insertion(+) diff --git a/dist/PathTools/Makefile.PL b/dist/PathTools/Makefile.PL -index 1b21de4..f562cb2 100644 +index 71b9a60..50765ce 100644 --- a/dist/PathTools/Makefile.PL +++ b/dist/PathTools/Makefile.PL -@@ -1,6 +1,3 @@ -- --BEGIN { @INC = grep {!/blib/} @INC } -- +@@ -6,6 +6,7 @@ + # get mixed up and SEGVs ensue. + + BEGIN { @INC = grep { $_ ne "blib/arch" and $_ ne "blib/lib" } @INC } ++BEGIN { @INC = grep {!/blib/} @INC } + require 5.005; use ExtUtils::MakeMaker; - WriteMakefile -- -1.9.1 +2.12.3
meta/recipes-devtools/perl/perl/perl-fix-conflict-between-skip_all-and-END.patch deleted +0 -181
181 lines not on this page · raw message
meta/recipes-devtools/perl/perl/perl-test-customized.patch +67 -56
145 lines not on this page · raw message
meta/recipes-devtools/perl/perl/pport_h-fix-require.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-devtools/perl/perl/utils-Makefile-force-miniperl.patch new file +28 -0
@@ -0,0 +1,28 @@ +From b80278a9ac843ba3b1ffc7ba1c567df9ce6e0eb0 Mon Sep 17 00:00:00 2001 +From: Leonardo Sandoval <[email protected]> +Date: Mon, 9 Oct 2017 09:34:17 -0700 +Subject: [PATCH] utils/Makefile.PL: force miniperl usage + +Upstream-Status: Inappropriate [OE-Core specific] + +Signed-off-by: Leonardo Sandoval <[email protected]> +--- + utils/Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/Makefile.PL b/utils/Makefile.PL +index f9f80ed..c6b57d7 100644 +--- a/utils/Makefile.PL ++++ b/utils/Makefile.PL +@@ -21,7 +21,7 @@ my $fh = open_new($target, undef, {by => $0}, 1); + + # These use the Cwd extension. For statically-built perls, we + # need perl, not just miniperl. +-my $perl = defined $Config{usedl} ? '../miniperl' : '../perl'; ++my $perl = '../miniperl'; # defined $Config{usedl} ? '../miniperl' : '../perl'; + + print $fh <<"EOT"; + PERL = $perl +-- +2.12.3 +
meta/recipes-devtools/perl/perl/write_buildcustomize.patch new file +40 -0
@@ -0,0 +1,40 @@ +From f1888a44b9720d31c35caf3d26a79824b066d43f Mon Sep 17 00:00:00 2001 +From: Leonardo Sandoval <[email protected]> +Date: Fri, 6 Oct 2017 12:13:20 -0700 +Subject: [PATCH] write_buildcustomize.pl: start at local directory when + looking for lib/buildcustomize.pl + +Otherwise, on the do_compile step we observe the following: + + | mv -f miniperl miniperl-target + | ln -s hostperl miniperl + | # ./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1' + | ./miniperl -Ilib -f write_buildcustomize.pl + | do "lib/buildcustomize.pl" failed, '.' is no longer in @INC; did you mean do "./lib/buildcustomize.pl"? at write_buildcustomize.pl line 101. + | Can't load generated lib/buildcustomize.pl: at write_buildcustomize.pl line 112. + | makefile:373: recipe for target 'lib/buildcustomize.pl' failed + | make[1]: *** [lib/buildcustomize.pl] Error 2 + +Upstream-Status: Pending + +Signed-off-by: Leonardo Sandoval <[email protected]> +--- + write_buildcustomize.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl +index 8666a6b..6b4de3a 100644 +--- a/write_buildcustomize.pl ++++ b/write_buildcustomize.pl +@@ -3,7 +3,7 @@ + use strict; + + my $osname = $^O; +-my $file = 'lib/buildcustomize.pl'; ++my $file = './lib/buildcustomize.pl'; + + if ( @ARGV % 2 ) { + my $dir = shift; +-- +2.12.3 +
meta/recipes-devtools/perl/perl_5.26.1.bb renamed from meta/recipes-devtools/perl/perl_5.24.1.bb +11 -3
@@ -63,8 +63,14 @@ SRC_URI += " \ file://ext-ODBM_File-t-odbm.t-fix-the-path-of-dbmt_common.p.patch \ file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ file://perl-errno-generation-gcc5.patch \ - file://perl-fix-conflict-between-skip_all-and-END.patch \ file://perl-test-customized.patch \ + file://write_buildcustomize.patch \ + file://avoid-manifypods.patch \ + file://PPPort_pm-fix-require.patch \ + file://pport_h-fix-require.patch \ + file://PPPort_xs-fix-require.patch \ + file://collade-makefile-use-local-mkheader.patch \ + file://utils-Makefile-force-miniperl.patch \ " # Fix test case issues
@@ -73,8 +79,8 @@ SRC_URI_append_class-target = " \ file://test/ext-DynaLoader-t-DynaLoader.t-fix-calling-dl_findfil.patch \ " -SRC_URI[md5sum] = "af6a84c7c3e2b8b269c105a5db2f6d53" -SRC_URI[sha256sum] = "03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f" +SRC_URI[md5sum] = "70e988b4318739b0cf3ad5e120bfde88" +SRC_URI[sha256sum] = "fe8208133e73e47afc3251c08d2c21c5a60160165a8ab8b669c43a420e4ec680" inherit perlnative siteinfo
@@ -312,6 +318,8 @@ PACKAGESPLITFUNCS_prepend = "split_perl_packages " python split_perl_packages () { libdir = d.expand('${libdir}/perl/${PV}') do_split_packages(d, libdir, 'auto/([^.]*)/[^/]*\.(so|ld|ix|al)', 'perl-module-%s', 'perl module %s', recursive=True, match_path=True, prepend=False) + do_split_packages(d, libdir, 'auto/([^.]*)/.*\.[a]', 'perl-module-%s-staticdev', 'perl module %s', recursive=True, match_path=True, prepend=False) + do_split_packages(d, libdir, 'auto/([^.]*)/.*\.[^a]', 'perl-module-%s', 'perl module %s', recursive=True, match_path=True, prepend=False) do_split_packages(d, libdir, 'Module/([^\/]*)\.pm', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False) do_split_packages(d, libdir, 'Module/([^\/]*)/.*', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False) do_split_packages(d, libdir, '(^(?!(CPAN\/|CPANPLUS\/|Module\/|unicore\/|auto\/)[^\/]).*)\.(pm|pl|e2x)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False)
Signature · 1 line
2.12.3
PATCH v3 3/5 git.inc: remove sed statement removing SVN lines from .packlist
In reply to [email protected]From: Leonardo Sandoval <[email protected]>
The git-perltools package created with perl 5.26.1 does not contain the .packlist file thus there is no need to sed on this file.
More general, the buildhistory-diff tool shows the following changes on the related package, clearly indicating that .packlist is not there anymore.
diff --git a/packages/i586-poky-linux/git/git-perltools/files-in-package.txt b/packages/i586-poky-linux/git/git-perltools/files-in-package.txt
index 0780bf9..f5b70f6 100644
--- a/packages/i586-poky-linux/git/git-perltools/files-in-package.txt
+++ b/packages/i586-poky-linux/git/git-perltools/files-in-package.txt
@@ -1,7 +1,7 @@
drwxr-xr-x root root 61 ./usr
drwxr-xr-x root root 26 ./usr/lib
drwxr-xr-x root root 30 ./usr/libexec
-drwxr-xr-x root root 269 ./usr/libexec/git-core
+drwxr-xr-x root root 288 ./usr/libexec/git-core
-rwxr-xr-x root root 42296 ./usr/libexec/git-core/git-add--interactive
-rwxr-xr-x root root 2323504 ./usr/libexec/git-core/git-am
-rwxr-xr-x root root 36973 ./usr/libexec/git-core/git-archimport
@@ -12,18 +12,28 @@ drwxr-xr-x root root 269 ./usr/libexec/git-core
-rwxr-xr-x root root 3702 ./usr/libexec/git-core/git-request-pull
-rwxr-xr-x root root 52159 ./usr/libexec/git-core/git-send-email
-rwxr-xr-x root root 28086 ./usr/libexec/git-core/git-submodule
+-rwxr-xr-x root root 64175 ./usr/libexec/git-core/git-svn
drwxr-xr-x root root 31 ./usr/lib/perl
drwxr-xr-x root root 28 ./usr/lib/perl/site_perl
-drwxr-xr-x root root 104 ./usr/lib/perl/site_perl/5.24.1
-drwxr-xr-x root root 25 ./usr/lib/perl/site_perl/5.24.1/auto
-drwxr-xr-x root root 31 ./usr/lib/perl/site_perl/5.24.1/auto/Git
--rw-r--r-- root root 1115 ./usr/lib/perl/site_perl/5.24.1/auto/Git/.packlist
--r--r--r-- root root 19087 ./usr/lib/perl/site_perl/5.24.1/Error.pm
-drwxr-xr-x root root 53 ./usr/lib/perl/site_perl/5.24.1/Git
--r--r--r-- root root 2473 ./usr/lib/perl/site_perl/5.24.1/Git/I18N.pm
--r--r--r-- root root 644 ./usr/lib/perl/site_perl/5.24.1/Git/IndexInfo.pm
--r--r--r-- root root 48000 ./usr/lib/perl/site_perl/5.24.1/Git.pm
--rw-r--r-- root root 226 ./usr/lib/perl/site_perl/5.24.1/perllocal.pod
+drwxr-xr-x root root 88 ./usr/lib/perl/site_perl/5.26.1
+-r--r--r-- root root 19087 ./usr/lib/perl/site_perl/5.26.1/Error.pm
+drwxr-xr-x root root 86 ./usr/lib/perl/site_perl/5.26.1/Git
+-r--r--r-- root root 2473 ./usr/lib/perl/site_perl/5.26.1/Git/I18N.pm
+-r--r--r-- root root 644 ./usr/lib/perl/site_perl/5.26.1/Git/IndexInfo.pm
+-r--r--r-- root root 48000 ./usr/lib/perl/site_perl/5.26.1/Git.pm
+drwxr-xr-x root root 195 ./usr/lib/perl/site_perl/5.26.1/Git/SVN
+-r--r--r-- root root 16945 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Editor.pm
+-r--r--r-- root root 18575 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Fetcher.pm
+-r--r--r-- root root 1798 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/GlobSpec.pm
+-r--r--r-- root root 9564 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Log.pm
+drwxr-xr-x root root 29 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Memoize
+-r--r--r-- root root 1748 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Memoize/YAML.pm
+-r--r--r-- root root 8145 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Migration.pm
+-r--r--r-- root root 71721 ./usr/lib/perl/site_perl/5.26.1/Git/SVN.pm
+-r--r--r-- root root 5319 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Prompt.pm
+-r--r--r-- root root 19358 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Ra.pm
+-r--r--r-- root root 4586 ./usr/lib/perl/site_perl/5.26.1/Git/SVN/Utils.pm
+-rw-r--r-- root root 226 ./usr/lib/perl/site_perl/5.26.1/perllocal.pod--- meta/recipes-devtools/git/git.inc | 1 - 1 file changed, 1 deletion(-)
meta/recipes-devtools/git/git.inc +0 -1
@@ -73,7 +73,6 @@ perl_native_fixup () { # module, which does not exist in OE-Core. rm -r ${D}${libexecdir}/git-core/git-svn \ ${D}${libdir}/perl/site_perl/*/Git/SVN* - sed -i -e '/SVN/d' ${D}${libdir}/perl/site_perl/*/auto/Git/.packlist fi }
Signature · 1 line
2.12.3
PATCH v3 4/5 libxml-namespacesupport-perl: upgrade to 1.12.9
In reply to [email protected]From: Leonardo Sandoval <[email protected]>
--- .../perl/libxml-namespacesupport-perl_1.12.9.bb | 35 ++++++++++++++++++++++ .../perl/libxml-namespacesupport-perl_1.12.bb | 23 -------------- 2 files changed, 35 insertions(+), 23 deletions(-) create mode 100644 meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.9.bb delete mode 100644 meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb
meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.9.bb new file +35 -0
@@ -0,0 +1,35 @@ +SUMMARY = "Perl module for supporting simple generic namespaces" +HOMEPAGE = "http://veillard.com/XML/" +DESCRIPTION = "XML::NamespaceSupport offers a simple way to process namespace-based XML names. \ + It also helps maintain a prefix-to-namespace URI map, and provides a number of \ + basic checks. " + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" +PR = "r3" + +LIC_FILES_CHKSUM = "file://META.yml;beginline=22;endline=22;md5=9ca1a4a941496e7feedac72c4fb8b137" + +# the upstream project complicate a bit url generartion on point release, using a underscore +# instead of a point on URL, i.e 1.12_9 instead of 1.12.9 +python () { + baseurl = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport" + pv = d.getVar('PV') + pvsplit = pv.split('.') + + if len(pvsplit) != 3: + d.setVar('SRC_URI', "%s-%s.tar.gz" % (baseurl, pv)) + d.setVar('S', "${WORKDIR}/XML-NamespaceSupport-${PV}") + else: + pvx, pvy, pvz = pvsplit + d.setVar('SRC_URI', "%s-%s.%s_%s.tar.gz" % (baseurl, pvx, pvy, pvz)) + d.setVar('S', "${WORKDIR}/XML-NamespaceSupport-%s.%s_%s" % (pvx, pvy, pvz)) +} + +SRC_URI[md5sum] = "165927a311fb640961b28607035beab8" +SRC_URI[sha256sum] = "2e84a057f0a8c845a612d212742cb94fca4fc8a433150b5721bd448f77d1e4a9" + +inherit cpan + +BBCLASSEXTEND="native" +
meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb deleted +0 -23
@@ -1,23 +0,0 @@ -SUMMARY = "Perl module for supporting simple generic namespaces" -HOMEPAGE = "http://veillard.com/XML/" -DESCRIPTION = "XML::NamespaceSupport offers a simple way to process namespace-based XML names. \ - It also helps maintain a prefix-to-namespace URI map, and provides a number of \ - basic checks. " - -SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0+" -PR = "r3" - -LIC_FILES_CHKSUM = "file://META.yml;beginline=22;endline=22;md5=9ca1a4a941496e7feedac72c4fb8b137" - -SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${PV}.tar.gz" -SRC_URI[md5sum] = "a8916c6d095bcf073e1108af02e78c97" -SRC_URI[sha256sum] = "47e995859f8dd0413aa3f22d350c4a62da652e854267aa0586ae544ae2bae5ef" - - -S = "${WORKDIR}/XML-NamespaceSupport-${PV}" - -inherit cpan - -BBCLASSEXTEND="native" -
Signature · 1 line
2.12.3
PATCH v3 5/5 ruby: upgrade to 2.4.2
In reply to [email protected]From: Leonardo Sandoval <[email protected]>
The CVE-2017-14064 patch is already at 2.4.2 as explained on project's commit, so removing from the recipe & repo.
commit 83735ba29a0bfdaffa8e9c2a1dc025c3b0b63153
Author: hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Wed Apr 12 00:21:18 2017 +0000
Merge json-2.0.4.
* https://github.com/flori/json/releases/tag/v2.0.4
* https://github.com/flori/json/blob/09fabeb03e73ed88dc8ce8f19d76ac59e51dae20/CHANGES.md#2017-03-23-204
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e---
.../ruby/ruby/ruby-CVE-2017-14064.patch | 87 ----------------------
.../ruby/{ruby_2.4.1.bb => ruby_2.4.2.bb} | 5 +-
2 files changed, 2 insertions(+), 90 deletions(-)
delete mode 100644 meta/recipes-devtools/ruby/ruby/ruby-CVE-2017-14064.patch
rename meta/recipes-devtools/ruby/{ruby_2.4.1.bb => ruby_2.4.2.bb} (88%)meta/recipes-devtools/ruby/ruby/ruby-CVE-2017-14064.patch deleted +0 -87
@@ -1,87 +0,0 @@ -From 8f782fd8e181d9cfe9387ded43a5ca9692266b85 Mon Sep 17 00:00:00 2001 -From: Florian Frank <[email protected]> -Date: Thu, 2 Mar 2017 12:12:33 +0100 -Subject: [PATCH] Fix arbitrary heap exposure problem - -Upstream-Status: Backport -CVE: CVE-2017-14064 - -Signed-off-by: Ovidiu Panait <[email protected]> ---- - ext/json/generator/generator.c | 12 ++++++------ - ext/json/generator/generator.h | 1 - - 2 files changed, 6 insertions(+), 7 deletions(-) - -diff --git a/ext/json/generator/generator.c b/ext/json/generator/generator.c -index ef85bb7..c88818c 100644 ---- a/ext/json/generator/generator.c -+++ b/ext/json/generator/generator.c -@@ -308,7 +308,7 @@ static char *fstrndup(const char *ptr, unsigned long len) { - char *result; - if (len <= 0) return NULL; - result = ALLOC_N(char, len); -- memccpy(result, ptr, 0, len); -+ memcpy(result, ptr, len); - return result; - } - -@@ -1062,7 +1062,7 @@ static VALUE cState_indent_set(VALUE self, VALUE indent) - } - } else { - if (state->indent) ruby_xfree(state->indent); -- state->indent = strdup(RSTRING_PTR(indent)); -+ state->indent = fstrndup(RSTRING_PTR(indent), len); - state->indent_len = len; - } - return Qnil; -@@ -1100,7 +1100,7 @@ static VALUE cState_space_set(VALUE self, VALUE space) - } - } else { - if (state->space) ruby_xfree(state->space); -- state->space = strdup(RSTRING_PTR(space)); -+ state->space = fstrndup(RSTRING_PTR(space), len); - state->space_len = len; - } - return Qnil; -@@ -1136,7 +1136,7 @@ static VALUE cState_space_before_set(VALUE self, VALUE space_before) - } - } else { - if (state->space_before) ruby_xfree(state->space_before); -- state->space_before = strdup(RSTRING_PTR(space_before)); -+ state->space_before = fstrndup(RSTRING_PTR(space_before), len); - state->space_before_len = len; - } - return Qnil; -@@ -1173,7 +1173,7 @@ static VALUE cState_object_nl_set(VALUE self, VALUE object_nl) - } - } else { - if (state->object_nl) ruby_xfree(state->object_nl); -- state->object_nl = strdup(RSTRING_PTR(object_nl)); -+ state->object_nl = fstrndup(RSTRING_PTR(object_nl), len); - state->object_nl_len = len; - } - return Qnil; -@@ -1208,7 +1208,7 @@ static VALUE cState_array_nl_set(VALUE self, VALUE array_nl) - } - } else { - if (state->array_nl) ruby_xfree(state->array_nl); -- state->array_nl = strdup(RSTRING_PTR(array_nl)); -+ state->array_nl = fstrndup(RSTRING_PTR(array_nl), len); - state->array_nl_len = len; - } - return Qnil; -diff --git a/ext/json/generator/generator.h b/ext/json/generator/generator.h -index 900b4d5..c367a62 100644 ---- a/ext/json/generator/generator.h -+++ b/ext/json/generator/generator.h -@@ -1,7 +1,6 @@ - #ifndef _GENERATOR_H_ - #define _GENERATOR_H_ - --#include <string.h> - #include <math.h> - #include <ctype.h> - --- -2.10.2 -
meta/recipes-devtools/ruby/ruby_2.4.2.bb renamed from meta/recipes-devtools/ruby/ruby_2.4.1.bb +2 -3
@@ -6,11 +6,10 @@ SRC_URI += " \ file://ruby-CVE-2017-9227.patch \ file://ruby-CVE-2017-9228.patch \ file://ruby-CVE-2017-9229.patch \ - file://ruby-CVE-2017-14064.patch \ " -SRC_URI[md5sum] = "782bca562e474dd25956dd0017d92677" -SRC_URI[sha256sum] = "a330e10d5cb5e53b3a0078326c5731888bb55e32c4abfeb27d9e7f8e5d000250" +SRC_URI[md5sum] = "fe106eed9738c4e03813ab904f8d891c" +SRC_URI[sha256sum] = "93b9e75e00b262bc4def6b26b7ae8717efc252c47154abb7392e54357e6c8c9c" # it's unknown to configure script, but then passed to extconf.rb # maybe it's not really needed as we're hardcoding the result with
Signature · 1 line
2.12.3
Quoted 1 line · On 10/17/2017 10:11 PM, [email protected] wrote:
...perl-native_5.24.1.bb => perl-native_5.26.1.bb} | 10 +++---
Have you done any measurements about how fast the recipe builds compated to 5.24? Is it faster, slower, or same-ish? Maybe there are some low hanging fruits to speed things up.
Alex