diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-02-21 12:34:51 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 23:27:06 +0000 |
commit | 95a4f9aa12c4f6cfec2aa13fb4195f20504486f6 (patch) | |
tree | 3e666264bbcbf191aa40510becb9700d669a16fe /meta/recipes-devtools/perl | |
parent | 2d238896de3dd946022eab4c447243bd33641a14 (diff) | |
download | poky-95a4f9aa12c4f6cfec2aa13fb4195f20504486f6.tar.gz |
perl: Upgrade to 5.24.1
Upgrade config.sh to match new version.
Removed CVE patches already in upstream:
- perl-fix-CVE-2016-1238.patch
- perl-fix-CVE-2016-6185.patch
Update customized.dat patch to match new hashes.
(From OE-Core rev: f3f1614b87aa5c55653fe8f3247fb094baf98087)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/perl-native_5.24.1.bb (renamed from meta/recipes-devtools/perl/perl-native_5.24.0.bb) | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl-rdepends_5.24.1.inc (renamed from meta/recipes-devtools/perl/perl-rdepends_5.24.0.inc) | 0 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl/config.sh | 60 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-1238.patch | 352 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-6185.patch | 128 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl/perl-test-customized.patch | 86 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.24.1.bb (renamed from meta/recipes-devtools/perl/perl_5.24.0.bb) | 6 |
7 files changed, 88 insertions, 548 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.24.0.bb b/meta/recipes-devtools/perl/perl-native_5.24.1.bb index 42162574b0..d111bcdd42 100644 --- a/meta/recipes-devtools/perl/perl-native_5.24.0.bb +++ b/meta/recipes-devtools/perl/perl-native_5.24.1.bb | |||
@@ -13,8 +13,8 @@ SRC_URI += "\ | |||
13 | file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ | 13 | file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ |
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI[md5sum] = "59456ae4bd4b06cb6e57cb19a3b2d349" | 16 | SRC_URI[md5sum] = "af6a84c7c3e2b8b269c105a5db2f6d53" |
17 | SRC_URI[sha256sum] = "a9a37c0860380ecd7b23aa06d61c20fc5bc6d95198029f3684c44a9d7e2952f2" | 17 | SRC_URI[sha256sum] = "03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f" |
18 | 18 | ||
19 | inherit native | 19 | inherit native |
20 | 20 | ||
diff --git a/meta/recipes-devtools/perl/perl-rdepends_5.24.0.inc b/meta/recipes-devtools/perl/perl-rdepends_5.24.1.inc index 10e3c0429f..10e3c0429f 100644 --- a/meta/recipes-devtools/perl/perl-rdepends_5.24.0.inc +++ b/meta/recipes-devtools/perl/perl-rdepends_5.24.1.inc | |||
diff --git a/meta/recipes-devtools/perl/perl/config.sh b/meta/recipes-devtools/perl/perl/config.sh index 6666e6f34a..4657673005 100644 --- a/meta/recipes-devtools/perl/perl/config.sh +++ b/meta/recipes-devtools/perl/perl/config.sh | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | : Configure command line arguments. | 15 | : Configure command line arguments. |
16 | config_arg0='Configure' | 16 | config_arg0='Configure' |
17 | 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.0 -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' | 17 | 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' |
18 | config_argc=28 | 18 | config_argc=28 |
19 | config_arg1='-des' | 19 | config_arg1='-des' |
20 | config_arg2='-Doptimize=-O2' | 20 | config_arg2='-Doptimize=-O2' |
@@ -26,7 +26,7 @@ config_arg7='-Dinstallprefix=@EXECPREFIX@' | |||
26 | config_arg8='-Dprefix=@EXECPREFIX@' | 26 | config_arg8='-Dprefix=@EXECPREFIX@' |
27 | config_arg9='-Dvendorprefix=@EXECPREFIX@' | 27 | config_arg9='-Dvendorprefix=@EXECPREFIX@' |
28 | config_arg10='-Dsiteprefix=@EXECPREFIX@' | 28 | config_arg10='-Dsiteprefix=@EXECPREFIX@' |
29 | config_arg11='-Dotherlibdirs=@LIBDIR@/perl/5.24.0' | 29 | config_arg11='-Dotherlibdirs=@LIBDIR@/perl/5.24.1' |
30 | config_arg12='-Duseshrplib' | 30 | config_arg12='-Duseshrplib' |
31 | config_arg13='-Dusethreads' | 31 | config_arg13='-Dusethreads' |
32 | config_arg14='-Duseithreads' | 32 | config_arg14='-Duseithreads' |
@@ -64,13 +64,13 @@ alignbytes='8' | |||
64 | ansi2knr='' | 64 | ansi2knr='' |
65 | aphostname='' | 65 | aphostname='' |
66 | api_revision='5' | 66 | api_revision='5' |
67 | api_subversion='0' | 67 | api_subversion='1' |
68 | api_version='24' | 68 | api_version='24' |
69 | api_versionstring='5.24.0' | 69 | api_versionstring='5.24.1' |
70 | ar='ar' | 70 | ar='ar' |
71 | archlib='@LIBDIR@/perl/5.24.0/@ARCH@-thread-multi' | 71 | archlib='@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi' |
72 | archlibexp='@STAGINGDIR@@LIBDIR@/perl/5.24.0/@ARCH@-thread-multi' | 72 | archlibexp='@STAGINGDIR@@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi' |
73 | archlib_exp='@LIBDIR@/perl/5.24.0/@ARCH@-thread-multi' | 73 | archlib_exp='@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi' |
74 | archname64='' | 74 | archname64='' |
75 | archname='@ARCH@-thread-multi' | 75 | archname='@ARCH@-thread-multi' |
76 | archobjs='' | 76 | archobjs='' |
@@ -88,7 +88,7 @@ castflags='0' | |||
88 | cat='cat' | 88 | cat='cat' |
89 | cc='gcc' | 89 | cc='gcc' |
90 | cccdlflags='-fPIC' | 90 | cccdlflags='-fPIC' |
91 | ccdlflags='-Wl,-E -Wl,-rpath,@LIBDIR@/perl/5.24.0/@ARCH@-thread-multi/CORE' | 91 | ccdlflags='-Wl,-E -Wl,-rpath,@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi/CORE' |
92 | ccflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2' | 92 | ccflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2' |
93 | ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | 93 | ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' |
94 | ccname='gcc' | 94 | ccname='gcc' |
@@ -838,7 +838,7 @@ inc_version_list_init='0' | |||
838 | incpath='' | 838 | incpath='' |
839 | inews='' | 839 | inews='' |
840 | initialinstalllocation='@USRBIN@' | 840 | initialinstalllocation='@USRBIN@' |
841 | installarchlib='@LIBDIR@/perl/5.24.0/@ARCH@-thread-multi' | 841 | installarchlib='@LIBDIR@/perl/5.24.1/@ARCH@-thread-multi' |
842 | installbin='@USRBIN@' | 842 | installbin='@USRBIN@' |
843 | installhtml1dir='' | 843 | installhtml1dir='' |
844 | installhtml3dir='' | 844 | installhtml3dir='' |
@@ -846,23 +846,23 @@ installman1dir='' | |||
846 | installman3dir='' | 846 | installman3dir='' |
847 | installprefix='@EXECPREFIX@' | 847 | installprefix='@EXECPREFIX@' |
848 | installprefixexp='@EXECPREFIX@' | 848 | installprefixexp='@EXECPREFIX@' |
849 | installprivlib='@LIBDIR@/perl/5.24.0' | 849 | installprivlib='@LIBDIR@/perl/5.24.1' |
850 | installscript='@USRBIN@' | 850 | installscript='@USRBIN@' |
851 | installsitearch='@LIBDIR@/perl/site_perl/5.24.0/@ARCH@-thread-multi' | 851 | installsitearch='@LIBDIR@/perl/site_perl/5.24.1/@ARCH@-thread-multi' |
852 | installsitebin='@USRBIN@' | 852 | installsitebin='@USRBIN@' |
853 | installsitehtml1dir='' | 853 | installsitehtml1dir='' |
854 | installsitehtml3dir='' | 854 | installsitehtml3dir='' |
855 | installsitelib='@LIBDIR@/perl/site_perl/5.24.0' | 855 | installsitelib='@LIBDIR@/perl/site_perl/5.24.1' |
856 | installsiteman1dir='' | 856 | installsiteman1dir='' |
857 | installsiteman3dir='' | 857 | installsiteman3dir='' |
858 | installsitescript='@USRBIN@' | 858 | installsitescript='@USRBIN@' |
859 | installstyle='lib/perl' | 859 | installstyle='lib/perl' |
860 | installusrbinperl='define' | 860 | installusrbinperl='define' |
861 | installvendorarch='@LIBDIR@/perl/vendor_perl/5.24.0/@ARCH@-thread-multi' | 861 | installvendorarch='@LIBDIR@/perl/vendor_perl/5.24.1/@ARCH@-thread-multi' |
862 | installvendorbin='@USRBIN@' | 862 | installvendorbin='@USRBIN@' |
863 | installvendorhtml1dir='' | 863 | installvendorhtml1dir='' |
864 | installvendorhtml3dir='' | 864 | installvendorhtml3dir='' |
865 | installvendorlib='@LIBDIR@/perl/vendor_perl/5.24.0' | 865 | installvendorlib='@LIBDIR@/perl/vendor_perl/5.24.1' |
866 | installvendorman1dir='' | 866 | installvendorman1dir='' |
867 | installvendorman3dir='' | 867 | installvendorman3dir='' |
868 | installvendorscript='@USRBIN@' | 868 | installvendorscript='@USRBIN@' |
@@ -965,7 +965,7 @@ optimize='-O2' | |||
965 | orderlib='false' | 965 | orderlib='false' |
966 | osname='linux' | 966 | osname='linux' |
967 | osvers='3.19.5-yocto-standard' | 967 | osvers='3.19.5-yocto-standard' |
968 | otherlibdirs='@LIBDIR@/perl/5.24.0' | 968 | otherlibdirs='@LIBDIR@/perl/5.24.1' |
969 | package='perl' | 969 | package='perl' |
970 | pager='/usr/bin/less -isr' | 970 | pager='/usr/bin/less -isr' |
971 | passcat='cat /etc/passwd' | 971 | passcat='cat /etc/passwd' |
@@ -986,8 +986,8 @@ pmake='' | |||
986 | pr='' | 986 | pr='' |
987 | prefix='@EXECPREFIX@' | 987 | prefix='@EXECPREFIX@' |
988 | prefixexp='@EXECPREFIX@' | 988 | prefixexp='@EXECPREFIX@' |
989 | privlib='@LIBDIR@/perl/5.24.0' | 989 | privlib='@LIBDIR@/perl/5.24.1' |
990 | privlibexp='@LIBDIR@/perl/5.24.0' | 990 | privlibexp='@LIBDIR@/perl/5.24.1' |
991 | procselfexe='"/proc/self/exe"' | 991 | procselfexe='"/proc/self/exe"' |
992 | prototype='define' | 992 | prototype='define' |
993 | ptrsize='8' | 993 | ptrsize='8' |
@@ -1053,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 | |||
1053 | 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' | 1053 | 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' |
1054 | sig_size='69' | 1054 | sig_size='69' |
1055 | signal_t='void' | 1055 | signal_t='void' |
1056 | sitearch='@LIBDIR@/perl/site_perl/5.24.0/@ARCH@-thread-multi' | 1056 | sitearch='@LIBDIR@/perl/site_perl/5.24.1/@ARCH@-thread-multi' |
1057 | sitearchexp='@LIBDIR@/perl/site_perl/5.24.0/@ARCH@-thread-multi' | 1057 | sitearchexp='@LIBDIR@/perl/site_perl/5.24.1/@ARCH@-thread-multi' |
1058 | sitebin='@USRBIN@' | 1058 | sitebin='@USRBIN@' |
1059 | sitebinexp='@USRBIN@' | 1059 | sitebinexp='@USRBIN@' |
1060 | sitehtml1dir='' | 1060 | sitehtml1dir='' |
1061 | sitehtml1direxp='' | 1061 | sitehtml1direxp='' |
1062 | sitehtml3dir='' | 1062 | sitehtml3dir='' |
1063 | sitehtml3direxp='' | 1063 | sitehtml3direxp='' |
1064 | sitelib='@LIBDIR@/perl/site_perl/5.24.0' | 1064 | sitelib='@LIBDIR@/perl/site_perl/5.24.1' |
1065 | sitelib_stem='@LIBDIR@/perl/site_perl' | 1065 | sitelib_stem='@LIBDIR@/perl/site_perl' |
1066 | sitelibexp='@LIBDIR@/perl/site_perl/5.24.0' | 1066 | sitelibexp='@LIBDIR@/perl/site_perl/5.24.1' |
1067 | siteman1dir='' | 1067 | siteman1dir='' |
1068 | siteman1direxp='' | 1068 | siteman1direxp='' |
1069 | siteman3dir='' | 1069 | siteman3dir='' |
@@ -1102,7 +1102,7 @@ stdio_stream_array='' | |||
1102 | strerror_r_proto='REENTRANT_PROTO_B_IBW' | 1102 | strerror_r_proto='REENTRANT_PROTO_B_IBW' |
1103 | strings='@INCLUDEDIR@/string.h' | 1103 | strings='@INCLUDEDIR@/string.h' |
1104 | submit='' | 1104 | submit='' |
1105 | subversion='0' | 1105 | subversion='1' |
1106 | sysman='@EXECPREFIX@/share/man/man1' | 1106 | sysman='@EXECPREFIX@/share/man/man1' |
1107 | sysroot='' | 1107 | sysroot='' |
1108 | tail='' | 1108 | tail='' |
@@ -1182,17 +1182,17 @@ uvtype='unsigned long' | |||
1182 | uvuformat='"lu"' | 1182 | uvuformat='"lu"' |
1183 | uvxformat='"lx"' | 1183 | uvxformat='"lx"' |
1184 | vaproto='define' | 1184 | vaproto='define' |
1185 | vendorarch='@LIBDIR@/perl/vendor_perl/5.24.0/@ARCH@-thread-multi' | 1185 | vendorarch='@LIBDIR@/perl/vendor_perl/5.24.1/@ARCH@-thread-multi' |
1186 | vendorarchexp='@LIBDIR@/perl/vendor_perl/5.24.0/@ARCH@-thread-multi' | 1186 | vendorarchexp='@LIBDIR@/perl/vendor_perl/5.24.1/@ARCH@-thread-multi' |
1187 | vendorbin='@USRBIN@' | 1187 | vendorbin='@USRBIN@' |
1188 | vendorbinexp='@USRBIN@' | 1188 | vendorbinexp='@USRBIN@' |
1189 | vendorhtml1dir=' ' | 1189 | vendorhtml1dir=' ' |
1190 | vendorhtml1direxp='' | 1190 | vendorhtml1direxp='' |
1191 | vendorhtml3dir=' ' | 1191 | vendorhtml3dir=' ' |
1192 | vendorhtml3direxp='' | 1192 | vendorhtml3direxp='' |
1193 | vendorlib='@LIBDIR@/perl/vendor_perl/5.24.0' | 1193 | vendorlib='@LIBDIR@/perl/vendor_perl/5.24.1' |
1194 | vendorlib_stem='@LIBDIR@/perl/vendor_perl' | 1194 | vendorlib_stem='@LIBDIR@/perl/vendor_perl' |
1195 | vendorlibexp='@LIBDIR@/perl/vendor_perl/5.24.0' | 1195 | vendorlibexp='@LIBDIR@/perl/vendor_perl/5.24.1' |
1196 | vendorman1dir=' ' | 1196 | vendorman1dir=' ' |
1197 | vendorman1direxp='' | 1197 | vendorman1direxp='' |
1198 | vendorman3dir=' ' | 1198 | vendorman3dir=' ' |
@@ -1201,8 +1201,8 @@ vendorprefix='@EXECPREFIX@' | |||
1201 | vendorprefixexp='@EXECPREFIX@' | 1201 | vendorprefixexp='@EXECPREFIX@' |
1202 | vendorscript='@USRBIN@' | 1202 | vendorscript='@USRBIN@' |
1203 | vendorscriptexp='@USRBIN@' | 1203 | vendorscriptexp='@USRBIN@' |
1204 | version='5.24.0' | 1204 | version='5.24.1' |
1205 | version_patchlevel_string='version 24 subversion 0' | 1205 | version_patchlevel_string='version 24 subversion 1' |
1206 | versiononly='undef' | 1206 | versiononly='undef' |
1207 | vi='' | 1207 | vi='' |
1208 | xlibpth='@LIBDIR@/386 @BASELIBDIR@386' | 1208 | xlibpth='@LIBDIR@/386 @BASELIBDIR@386' |
@@ -1212,10 +1212,10 @@ zcat='' | |||
1212 | zip='zip' | 1212 | zip='zip' |
1213 | PERL_REVISION=5 | 1213 | PERL_REVISION=5 |
1214 | PERL_VERSION=24 | 1214 | PERL_VERSION=24 |
1215 | PERL_SUBVERSION=0 | 1215 | PERL_SUBVERSION=1 |
1216 | PERL_API_REVISION=5 | 1216 | PERL_API_REVISION=5 |
1217 | PERL_API_VERSION=24 | 1217 | PERL_API_VERSION=24 |
1218 | PERL_API_SUBVERSION=0 | 1218 | PERL_API_SUBVERSION=1 |
1219 | PERL_PATCHLEVEL='' | 1219 | PERL_PATCHLEVEL='' |
1220 | PERL_CONFIG_SH=true | 1220 | PERL_CONFIG_SH=true |
1221 | : Variables propagated from previous config.sh file. | 1221 | : Variables propagated from previous config.sh file. |
diff --git a/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-1238.patch b/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-1238.patch deleted file mode 100644 index 730ef178ad..0000000000 --- a/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-1238.patch +++ /dev/null | |||
@@ -1,352 +0,0 @@ | |||
1 | From 9987be3d24286d96d9dccec0433253ee8ad894b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tony Cook <tony@develop-help.com> | ||
3 | Date: Tue, 21 Jun 2016 10:02:02 +1000 | ||
4 | Subject: [PATCH] perl: fix CVE-2016-1238 | ||
5 | |||
6 | (perl #127834) remove . from the end of @INC if complex modules are loaded | ||
7 | |||
8 | While currently Encode and Storable are know to attempt to load modules | ||
9 | not included in the core, updates to other modules may lead to those | ||
10 | also attempting to load new modules, so be safe and remove . for those | ||
11 | as well. | ||
12 | |||
13 | Backport patch from http://perl5.git.perl.org/perl.git/commitdiff/cee96d52c39b1e7b36e1c62d38bcd8d86e9a41ab | ||
14 | |||
15 | Upstream-Status: Backport | ||
16 | CVE: CVE-2016-1238 | ||
17 | Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | ||
18 | --- | ||
19 | cpan/Archive-Tar/bin/ptar | 1 + | ||
20 | cpan/Archive-Tar/bin/ptardiff | 1 + | ||
21 | cpan/Archive-Tar/bin/ptargrep | 1 + | ||
22 | cpan/CPAN/scripts/cpan | 1 + | ||
23 | cpan/Digest-SHA/shasum | 1 + | ||
24 | cpan/Encode/bin/enc2xs | 1 + | ||
25 | cpan/Encode/bin/encguess | 1 + | ||
26 | cpan/Encode/bin/piconv | 1 + | ||
27 | cpan/Encode/bin/ucmlint | 1 + | ||
28 | cpan/Encode/bin/unidump | 1 + | ||
29 | cpan/ExtUtils-MakeMaker/bin/instmodsh | 1 + | ||
30 | cpan/IO-Compress/bin/zipdetails | 1 + | ||
31 | cpan/JSON-PP/bin/json_pp | 1 + | ||
32 | cpan/Test-Harness/bin/prove | 1 + | ||
33 | dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp | 1 + | ||
34 | dist/Module-CoreList/corelist | 1 + | ||
35 | ext/Pod-Html/bin/pod2html | 1 + | ||
36 | utils/c2ph.PL | 1 + | ||
37 | utils/h2ph.PL | 2 ++ | ||
38 | utils/h2xs.PL | 2 ++ | ||
39 | utils/libnetcfg.PL | 1 + | ||
40 | utils/perlbug.PL | 1 + | ||
41 | utils/perldoc.PL | 5 ++++- | ||
42 | utils/perlivp.PL | 2 ++ | ||
43 | utils/splain.PL | 6 ++++++ | ||
44 | 25 files changed, 36 insertions(+), 1 deletion(-) | ||
45 | |||
46 | diff --git a/cpan/Archive-Tar/bin/ptar b/cpan/Archive-Tar/bin/ptar | ||
47 | index 0eaffa7..9dc6402 100644 | ||
48 | --- a/cpan/Archive-Tar/bin/ptar | ||
49 | +++ b/cpan/Archive-Tar/bin/ptar | ||
50 | @@ -1,6 +1,7 @@ | ||
51 | #!/usr/bin/perl | ||
52 | use strict; | ||
53 | |||
54 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
55 | use File::Find; | ||
56 | use Getopt::Std; | ||
57 | use Archive::Tar; | ||
58 | diff --git a/cpan/Archive-Tar/bin/ptardiff b/cpan/Archive-Tar/bin/ptardiff | ||
59 | index 66bd859..4668fa6 100644 | ||
60 | --- a/cpan/Archive-Tar/bin/ptardiff | ||
61 | +++ b/cpan/Archive-Tar/bin/ptardiff | ||
62 | @@ -1,5 +1,6 @@ | ||
63 | #!/usr/bin/perl | ||
64 | |||
65 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
66 | use strict; | ||
67 | use Archive::Tar; | ||
68 | use Getopt::Std; | ||
69 | diff --git a/cpan/Archive-Tar/bin/ptargrep b/cpan/Archive-Tar/bin/ptargrep | ||
70 | index 1a320f1..8dc6b4f 100644 | ||
71 | --- a/cpan/Archive-Tar/bin/ptargrep | ||
72 | +++ b/cpan/Archive-Tar/bin/ptargrep | ||
73 | @@ -4,6 +4,7 @@ | ||
74 | # archive. See 'ptargrep --help' for more documentation. | ||
75 | # | ||
76 | |||
77 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
78 | use strict; | ||
79 | use warnings; | ||
80 | |||
81 | diff --git a/cpan/CPAN/scripts/cpan b/cpan/CPAN/scripts/cpan | ||
82 | index 5f4320e..ccba47e 100644 | ||
83 | --- a/cpan/CPAN/scripts/cpan | ||
84 | +++ b/cpan/CPAN/scripts/cpan | ||
85 | @@ -1,5 +1,6 @@ | ||
86 | #!/usr/local/bin/perl | ||
87 | |||
88 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
89 | use strict; | ||
90 | use vars qw($VERSION); | ||
91 | |||
92 | diff --git a/cpan/Digest-SHA/shasum b/cpan/Digest-SHA/shasum | ||
93 | index 14ddd60..62a2b0e 100644 | ||
94 | --- a/cpan/Digest-SHA/shasum | ||
95 | +++ b/cpan/Digest-SHA/shasum | ||
96 | @@ -13,6 +13,7 @@ | ||
97 | ## "-0" option for reading bit strings, and | ||
98 | ## "-p" option for portable digests (to be deprecated). | ||
99 | |||
100 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
101 | use strict; | ||
102 | use warnings; | ||
103 | use Fcntl; | ||
104 | diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs | ||
105 | index 4d64e38..473a15c 100644 | ||
106 | --- a/cpan/Encode/bin/enc2xs | ||
107 | +++ b/cpan/Encode/bin/enc2xs | ||
108 | @@ -4,6 +4,7 @@ BEGIN { | ||
109 | # with $ENV{PERL_CORE} set | ||
110 | # In case we need it in future... | ||
111 | require Config; import Config; | ||
112 | + pop @INC if $INC[-1] eq '.'; | ||
113 | } | ||
114 | use strict; | ||
115 | use warnings; | ||
116 | diff --git a/cpan/Encode/bin/encguess b/cpan/Encode/bin/encguess | ||
117 | index 5d7ac80..0be5c7c 100644 | ||
118 | --- a/cpan/Encode/bin/encguess | ||
119 | +++ b/cpan/Encode/bin/encguess | ||
120 | @@ -1,5 +1,6 @@ | ||
121 | #!./perl | ||
122 | use 5.008001; | ||
123 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
124 | use strict; | ||
125 | use warnings; | ||
126 | use Encode; | ||
127 | diff --git a/cpan/Encode/bin/piconv b/cpan/Encode/bin/piconv | ||
128 | index c1dad9e..60b2a59 100644 | ||
129 | --- a/cpan/Encode/bin/piconv | ||
130 | +++ b/cpan/Encode/bin/piconv | ||
131 | @@ -1,6 +1,7 @@ | ||
132 | #!./perl | ||
133 | # $Id: piconv,v 2.7 2014/05/31 09:48:48 dankogai Exp $ | ||
134 | # | ||
135 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
136 | use 5.8.0; | ||
137 | use strict; | ||
138 | use Encode ; | ||
139 | diff --git a/cpan/Encode/bin/ucmlint b/cpan/Encode/bin/ucmlint | ||
140 | index 622376d..25e0d67 100644 | ||
141 | --- a/cpan/Encode/bin/ucmlint | ||
142 | +++ b/cpan/Encode/bin/ucmlint | ||
143 | @@ -3,6 +3,7 @@ | ||
144 | # $Id: ucmlint,v 2.2 2008/03/12 09:51:11 dankogai Exp $ | ||
145 | # | ||
146 | |||
147 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
148 | use strict; | ||
149 | our $VERSION = do { my @r = (q$Revision: 2.2 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; | ||
150 | |||
151 | diff --git a/cpan/Encode/bin/unidump b/cpan/Encode/bin/unidump | ||
152 | index ae0da30..f190827 100644 | ||
153 | --- a/cpan/Encode/bin/unidump | ||
154 | +++ b/cpan/Encode/bin/unidump | ||
155 | @@ -1,5 +1,6 @@ | ||
156 | #!./perl | ||
157 | |||
158 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
159 | use strict; | ||
160 | use Encode; | ||
161 | use Getopt::Std; | ||
162 | diff --git a/cpan/ExtUtils-MakeMaker/bin/instmodsh b/cpan/ExtUtils-MakeMaker/bin/instmodsh | ||
163 | index e551434..b3b109f 100644 | ||
164 | --- a/cpan/ExtUtils-MakeMaker/bin/instmodsh | ||
165 | +++ b/cpan/ExtUtils-MakeMaker/bin/instmodsh | ||
166 | @@ -1,5 +1,6 @@ | ||
167 | #!/usr/bin/perl -w | ||
168 | |||
169 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
170 | use strict; | ||
171 | use IO::File; | ||
172 | use ExtUtils::Packlist; | ||
173 | diff --git a/cpan/IO-Compress/bin/zipdetails b/cpan/IO-Compress/bin/zipdetails | ||
174 | index 0249850..1b9c70a 100644 | ||
175 | --- a/cpan/IO-Compress/bin/zipdetails | ||
176 | +++ b/cpan/IO-Compress/bin/zipdetails | ||
177 | @@ -5,6 +5,7 @@ | ||
178 | # Display info on the contents of a Zip file | ||
179 | # | ||
180 | |||
181 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
182 | use strict; | ||
183 | use warnings ; | ||
184 | |||
185 | diff --git a/cpan/JSON-PP/bin/json_pp b/cpan/JSON-PP/bin/json_pp | ||
186 | index df9d243..896cd2f 100644 | ||
187 | --- a/cpan/JSON-PP/bin/json_pp | ||
188 | +++ b/cpan/JSON-PP/bin/json_pp | ||
189 | @@ -1,5 +1,6 @@ | ||
190 | #!/usr/bin/perl | ||
191 | |||
192 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
193 | use strict; | ||
194 | use Getopt::Long; | ||
195 | |||
196 | diff --git a/cpan/Test-Harness/bin/prove b/cpan/Test-Harness/bin/prove | ||
197 | index 6637cc4..d71b238 100644 | ||
198 | --- a/cpan/Test-Harness/bin/prove | ||
199 | +++ b/cpan/Test-Harness/bin/prove | ||
200 | @@ -1,5 +1,6 @@ | ||
201 | #!/usr/bin/perl -w | ||
202 | |||
203 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
204 | use strict; | ||
205 | use warnings; | ||
206 | use App::Prove; | ||
207 | diff --git a/dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp b/dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp | ||
208 | index e2ac71a..d596cdf 100644 | ||
209 | --- a/dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp | ||
210 | +++ b/dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp | ||
211 | @@ -1,5 +1,6 @@ | ||
212 | #!perl | ||
213 | use 5.006; | ||
214 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
215 | use strict; | ||
216 | eval { | ||
217 | require ExtUtils::ParseXS; | ||
218 | diff --git a/dist/Module-CoreList/corelist b/dist/Module-CoreList/corelist | ||
219 | index aa4a945..bbe61cc 100644 | ||
220 | --- a/dist/Module-CoreList/corelist | ||
221 | +++ b/dist/Module-CoreList/corelist | ||
222 | @@ -130,6 +130,7 @@ requested perl versions. | ||
223 | |||
224 | =cut | ||
225 | |||
226 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
227 | use Module::CoreList; | ||
228 | use Getopt::Long qw(:config no_ignore_case); | ||
229 | use Pod::Usage; | ||
230 | diff --git a/ext/Pod-Html/bin/pod2html b/ext/Pod-Html/bin/pod2html | ||
231 | index b022859..7d1d232 100644 | ||
232 | --- a/ext/Pod-Html/bin/pod2html | ||
233 | +++ b/ext/Pod-Html/bin/pod2html | ||
234 | @@ -216,6 +216,7 @@ This program is distributed under the Artistic License. | ||
235 | |||
236 | =cut | ||
237 | |||
238 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
239 | use Pod::Html; | ||
240 | |||
241 | pod2html @ARGV; | ||
242 | diff --git a/utils/c2ph.PL b/utils/c2ph.PL | ||
243 | index 13389ec..cef0b5c 100644 | ||
244 | --- a/utils/c2ph.PL | ||
245 | +++ b/utils/c2ph.PL | ||
246 | @@ -280,6 +280,7 @@ Anyway, here it is. Should run on perl v4 or greater. Maybe less. | ||
247 | |||
248 | $RCSID = '$Id: c2ph,v 1.7 95/10/28 10:41:47 tchrist Exp Locker: tchrist $'; | ||
249 | |||
250 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
251 | use File::Temp; | ||
252 | |||
253 | ###################################################################### | ||
254 | diff --git a/utils/h2ph.PL b/utils/h2ph.PL | ||
255 | index 55c1f72..300b756 100644 | ||
256 | --- a/utils/h2ph.PL | ||
257 | +++ b/utils/h2ph.PL | ||
258 | @@ -36,6 +36,8 @@ $Config{startperl} | ||
259 | |||
260 | print OUT <<'!NO!SUBS!'; | ||
261 | |||
262 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
263 | + | ||
264 | use strict; | ||
265 | |||
266 | use Config; | ||
267 | diff --git a/utils/h2xs.PL b/utils/h2xs.PL | ||
268 | index 268f680..f95ee0c 100644 | ||
269 | --- a/utils/h2xs.PL | ||
270 | +++ b/utils/h2xs.PL | ||
271 | @@ -35,6 +35,8 @@ $Config{startperl} | ||
272 | |||
273 | print OUT <<'!NO!SUBS!'; | ||
274 | |||
275 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
276 | + | ||
277 | use warnings; | ||
278 | |||
279 | =head1 NAME | ||
280 | diff --git a/utils/libnetcfg.PL b/utils/libnetcfg.PL | ||
281 | index 59a2de8..26d2f99 100644 | ||
282 | --- a/utils/libnetcfg.PL | ||
283 | +++ b/utils/libnetcfg.PL | ||
284 | @@ -97,6 +97,7 @@ Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl 5.8. | ||
285 | |||
286 | # $Id: Configure,v 1.8 1997/03/04 09:22:32 gbarr Exp $ | ||
287 | |||
288 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
289 | use strict; | ||
290 | use IO::File; | ||
291 | use Getopt::Std; | ||
292 | diff --git a/utils/perlbug.PL b/utils/perlbug.PL | ||
293 | index 885785a..ae8c343 100644 | ||
294 | --- a/utils/perlbug.PL | ||
295 | +++ b/utils/perlbug.PL | ||
296 | @@ -57,6 +57,7 @@ print OUT <<'!NO!SUBS!'; | ||
297 | my @patches = Config::local_patches(); | ||
298 | my $patch_tags = join "", map /(\S+)/ ? "+$1 " : (), @patches; | ||
299 | |||
300 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
301 | use warnings; | ||
302 | use strict; | ||
303 | use Config; | ||
304 | diff --git a/utils/perldoc.PL b/utils/perldoc.PL | ||
305 | index e201de9..cd60bd4 100644 | ||
306 | --- a/utils/perldoc.PL | ||
307 | +++ b/utils/perldoc.PL | ||
308 | @@ -44,7 +44,10 @@ $Config{startperl} | ||
309 | # This "$file" file was generated by "$0" | ||
310 | |||
311 | require 5; | ||
312 | -BEGIN { \$^W = 1 if \$ENV{'PERLDOCDEBUG'} } | ||
313 | +BEGIN { | ||
314 | + \$^W = 1 if \$ENV{'PERLDOCDEBUG'}; | ||
315 | + pop \@INC if \$INC[-1] eq '.'; | ||
316 | +} | ||
317 | use Pod::Perldoc; | ||
318 | exit( Pod::Perldoc->run() ); | ||
319 | |||
320 | diff --git a/utils/perlivp.PL b/utils/perlivp.PL | ||
321 | index cc49f96..696a44e 100644 | ||
322 | --- a/utils/perlivp.PL | ||
323 | +++ b/utils/perlivp.PL | ||
324 | @@ -39,6 +39,8 @@ print OUT "\n# perlivp $^V\n"; | ||
325 | |||
326 | print OUT <<'!NO!SUBS!'; | ||
327 | |||
328 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
329 | + | ||
330 | sub usage { | ||
331 | warn "@_\n" if @_; | ||
332 | print << " EOUSAGE"; | ||
333 | diff --git a/utils/splain.PL b/utils/splain.PL | ||
334 | index 9c70b61..cae84a0 100644 | ||
335 | --- a/utils/splain.PL | ||
336 | +++ b/utils/splain.PL | ||
337 | @@ -38,6 +38,12 @@ $Config{startperl} | ||
338 | if \$running_under_some_shell; | ||
339 | !GROK!THIS! | ||
340 | |||
341 | +print <<'!NO!SUBS!'; | ||
342 | + | ||
343 | +BEGIN { pop @INC if $INC[-1] eq '.' } | ||
344 | + | ||
345 | +!NO!SUBS! | ||
346 | + | ||
347 | while (<IN>) { | ||
348 | print OUT unless /^package diagnostics/; | ||
349 | } | ||
350 | -- | ||
351 | 2.8.1 | ||
352 | |||
diff --git a/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-6185.patch b/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-6185.patch deleted file mode 100644 index 2722af35bc..0000000000 --- a/meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-6185.patch +++ /dev/null | |||
@@ -1,128 +0,0 @@ | |||
1 | From 7cedaa8bc2ca9e63369d0e2d4c4c23af9febb93a Mon Sep 17 00:00:00 2001 | ||
2 | From: Father Chrysostomos <sprout@cpan.org> | ||
3 | Date: Sat, 2 Jul 2016 22:56:51 -0700 | ||
4 | Subject: [PATCH] perl: fix CVE-2016-6185 | ||
5 | MIME-Version: 1.0 | ||
6 | |||
7 | Don't let XSLoader load relative paths | ||
8 | |||
9 | [rt.cpan.org #115808] | ||
10 | |||
11 | The logic in XSLoader for determining the library goes like this: | ||
12 | |||
13 | my $c = () = split(/::/,$caller,-1); | ||
14 | $modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename | ||
15 | my $file = "$modlibname/auto/$modpname/$modfname.bundle"; | ||
16 | |||
17 | (That last line varies by platform.) | ||
18 | |||
19 | $caller is the calling package. $modlibname is the calling file. It | ||
20 | removes as many path segments from $modlibname as there are segments | ||
21 | in $caller. So if you have Foo/Bar/XS.pm calling XSLoader from the | ||
22 | Foo::Bar package, the $modlibname will end up containing the path in | ||
23 | @INC where XS.pm was found, followed by "/Foo". Usually the fallback | ||
24 | to Dynaloader::bootstrap_inherit, which does an @INC search, makes | ||
25 | things Just Work. | ||
26 | |||
27 | But if our hypothetical Foo/Bar/XS.pm actually calls | ||
28 | XSLoader::load from inside a string eval, then path ends up being | ||
29 | "(eval 1)/auto/Foo/Bar/Bar.bundle". | ||
30 | |||
31 | So if someone creates a directory named '(eval 1)' with a naughty | ||
32 | binary file in it, it will be loaded if a script using Foo::Bar is run | ||
33 | in the parent directory. | ||
34 | |||
35 | This commit makes XSLoader fall back to Dynaloader's @INC search if | ||
36 | the calling file has a relative path that is not found in @INC. | ||
37 | |||
38 | Backport patch from http://perl5.git.perl.org/perl.git/commitdiff/08e3451d7 | ||
39 | |||
40 | Upstream-Status: Backport | ||
41 | CVE: CVE-2016-6185 | ||
42 | Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | ||
43 | --- | ||
44 | dist/XSLoader/XSLoader_pm.PL | 25 +++++++++++++++++++++++++ | ||
45 | dist/XSLoader/t/XSLoader.t | 27 ++++++++++++++++++++++++++- | ||
46 | 2 files changed, 51 insertions(+), 1 deletion(-) | ||
47 | |||
48 | diff --git a/dist/XSLoader/XSLoader_pm.PL b/dist/XSLoader/XSLoader_pm.PL | ||
49 | index 668411d..778e46b 100644 | ||
50 | --- a/dist/XSLoader/XSLoader_pm.PL | ||
51 | +++ b/dist/XSLoader/XSLoader_pm.PL | ||
52 | @@ -104,6 +104,31 @@ print OUT <<'EOT'; | ||
53 | my $modpname = join('/',@modparts); | ||
54 | my $c = () = split(/::/,$caller,-1); | ||
55 | $modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename | ||
56 | + # Does this look like a relative path? | ||
57 | + if ($modlibname !~ m|^[\\/]|) { | ||
58 | + # Someone may have a #line directive that changes the file name, or | ||
59 | + # may be calling XSLoader::load from inside a string eval. We cer- | ||
60 | + # tainly do not want to go loading some code that is not in @INC, | ||
61 | + # as it could be untrusted. | ||
62 | + # | ||
63 | + # We could just fall back to DynaLoader here, but then the rest of | ||
64 | + # this function would go untested in the perl core, since all @INC | ||
65 | + # paths are relative during testing. That would be a time bomb | ||
66 | + # waiting to happen, since bugs could be introduced into the code. | ||
67 | + # | ||
68 | + # So look through @INC to see if $modlibname is in it. A rela- | ||
69 | + # tive $modlibname is not a common occurrence, so this block is | ||
70 | + # not hot code. | ||
71 | + FOUND: { | ||
72 | + for (@INC) { | ||
73 | + if ($_ eq $modlibname) { | ||
74 | + last FOUND; | ||
75 | + } | ||
76 | + } | ||
77 | + # Not found. Fall back to DynaLoader. | ||
78 | + goto \&XSLoader::bootstrap_inherit; | ||
79 | + } | ||
80 | + } | ||
81 | EOT | ||
82 | |||
83 | my $dl_dlext = quotemeta($Config::Config{'dlext'}); | ||
84 | diff --git a/dist/XSLoader/t/XSLoader.t b/dist/XSLoader/t/XSLoader.t | ||
85 | index 2ff11fe..1e86faa 100644 | ||
86 | --- a/dist/XSLoader/t/XSLoader.t | ||
87 | +++ b/dist/XSLoader/t/XSLoader.t | ||
88 | @@ -33,7 +33,7 @@ my %modules = ( | ||
89 | 'Time::HiRes'=> q| ::can_ok( 'Time::HiRes' => 'usleep' ) |, # 5.7.3 | ||
90 | ); | ||
91 | |||
92 | -plan tests => keys(%modules) * 3 + 9; | ||
93 | +plan tests => keys(%modules) * 3 + 10; | ||
94 | |||
95 | # Try to load the module | ||
96 | use_ok( 'XSLoader' ); | ||
97 | @@ -125,3 +125,28 @@ XSLoader::load("Devel::Peek"); | ||
98 | EOS | ||
99 | or ::diag $@; | ||
100 | } | ||
101 | + | ||
102 | +SKIP: { | ||
103 | + skip "File::Path not available", 1 | ||
104 | + unless eval { require File::Path }; | ||
105 | + my $name = "phooo$$"; | ||
106 | + File::Path::make_path("$name/auto/Foo/Bar"); | ||
107 | + open my $fh, | ||
108 | + ">$name/auto/Foo/Bar/Bar.$Config::Config{'dlext'}"; | ||
109 | + close $fh; | ||
110 | + my $fell_back; | ||
111 | + local *XSLoader::bootstrap_inherit = sub { | ||
112 | + $fell_back++; | ||
113 | + # Break out of the calling subs | ||
114 | + goto the_test; | ||
115 | + }; | ||
116 | + eval <<END; | ||
117 | +#line 1 $name | ||
118 | +package Foo::Bar; | ||
119 | +XSLoader::load("Foo::Bar"); | ||
120 | +END | ||
121 | + the_test: | ||
122 | + ok $fell_back, | ||
123 | + 'XSLoader will not load relative paths based on (caller)[1]'; | ||
124 | + File::Path::remove_tree($name); | ||
125 | +} | ||
126 | -- | ||
127 | 2.8.1 | ||
128 | |||
diff --git a/meta/recipes-devtools/perl/perl/perl-test-customized.patch b/meta/recipes-devtools/perl/perl/perl-test-customized.patch index dc4ab0023f..90e4dcd5fb 100644 --- a/meta/recipes-devtools/perl/perl/perl-test-customized.patch +++ b/meta/recipes-devtools/perl/perl/perl-test-customized.patch | |||
@@ -14,51 +14,73 @@ Upstream-Status: Inappropriate [embedded specific] | |||
14 | Signed-off-by: Bill Randle <william.c.randle@intel.com> | 14 | Signed-off-by: Bill Randle <william.c.randle@intel.com> |
15 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> | 15 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> |
16 | --- | 16 | --- |
17 | t/porting/customized.dat | 10 +++++----- | 17 | t/porting/customized.dat | 16 ++++++++-------- |
18 | 1 file changed, 5 insertions(+), 5 deletions(-) | 18 | 1 file changed, 8 insertions(+), 8 deletions(-) |
19 | 19 | ||
20 | diff --git a/t/porting/customized.dat b/t/porting/customized.dat | 20 | diff --git a/t/porting/customized.dat b/t/porting/customized.dat |
21 | index f871a32..e11d147 100644 | 21 | index defeae1..b5d3c46 100644 |
22 | --- a/t/porting/customized.dat | 22 | --- a/t/porting/customized.dat |
23 | +++ b/t/porting/customized.dat | 23 | +++ b/t/porting/customized.dat |
24 | @@ -3,8 +3,8 @@ Encode cpan/Encode/encoding.pm 51c19efc9bfe8467d6ae12a4654f6e7f980715bf | 24 | @@ -18,12 +18,12 @@ Encode cpan/Encode/bin/unidump 715f47c2fcc661268f3c6cd3de0d27c72b745cd2 |
25 | Encode cpan/Encode/Encode.pm e146861ff2e6aaa62defa4887eade68dd7b17c8e | ||
26 | Encode cpan/Encode/encoding.pm 51c19efc9bfe8467d6ae12a4654f6e7f980715bf | ||
25 | ExtUtils::Constant cpan/ExtUtils-Constant/t/Constant.t a0369c919e216fb02767a637666bb4577ad79b02 | 27 | ExtUtils::Constant cpan/ExtUtils-Constant/t/Constant.t a0369c919e216fb02767a637666bb4577ad79b02 |
26 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command/MM.pm 8d772fbc6a57637ab24d12a02794073ee71b489c | 28 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/bin/instmodsh 5bc04a0173b8b787f465271b6186220326ae8eef |
27 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm 9be9ac3fee6fd6df702469904e02c8b4c6f2502e | 29 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/bin/instmodsh 2070fe968fa344d89aea1bdc6a8dbb0c467d0612 |
28 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm bb2443c2314c50f09f7eab4aacc03ade8b9907dd | 30 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command.pm e3a372e07392179711ea9972087c1105a2780fad |
29 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 830acdc810e2974d7fd4ec408ea1bfa825c75b69 | 31 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command/MM.pm b72721bd6aa9bf7ec328bda99a8fdb63cac6114d |
30 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm 224832767ac102e53daf668a4243f9389a753589 | 32 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm 0e1e4c25eddb999fec6c4dc66593f76db34cfd16 |
31 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm effd272b3c9224af6fd0f6cae7183f33ec4b1106 | 33 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm bfd2aa00ca4ed251f342e1d1ad704abbaf5a615e |
32 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Config.pm 5c41b40e33464c6635258061dff4ece018b46bd9 | 34 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 5529ae3064365eafd99536621305d52f4ab31b45 |
35 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm d593d8fdc5c0ebcb6d3701c70fc6640c50d93455 | ||
36 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm bf9174c70a0e50ff2fee4552c7df89b37d292da1 | ||
37 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Config.pm bc88b275af73b8faac6abd59a9aad3f625925810 | ||
33 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/FAQ.pod 062e5d14a803fbbec8d61803086a3d7997e8a473 | 38 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/FAQ.pod 062e5d14a803fbbec8d61803086a3d7997e8a473 |
34 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Tutorial.pod a8a9cab7d67922ed3d6883c864e1fe29aaa6ad89 | 39 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Tutorial.pod a8a9cab7d67922ed3d6883c864e1fe29aaa6ad89 |
35 | @@ -14,7 +14,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mkbootstrap.pm 5d5cd55e | 40 | @@ -33,7 +33,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mkbootstrap.pm 412e95c3 |
36 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm 23a4b33b974e036d59bf55aa02e025506a408048 | 41 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm 8559ef191b4371d0c381472464856a8a73825b2a |
37 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm 288df61e9ba7be3505b58b6345091fe1f310a117 | 42 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm 09d579ed9daea95c3bf47de2e0b8fe3aa0ff6447 |
38 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm 8578f2ea4ec9e764a789f6ecf620ea449ddca8c1 | 43 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm f720c13748293b792f7073aa96e7daecb590b183 |
39 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm 9f1f6c51fb0337726c99332facc52159c0619fe2 | 44 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm 243649a399d293ae7ad0f26b7eab2668aa864ce8 |
40 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm 0f9eaebf7f93b5de213e60708a0fe257396ee188 | 45 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm ec39f68802a6fee8daaa914fc7131f40533cfc23 |
41 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm a0ec076bedfa0c2e52fc2b735fbc75b4c2706bbf | 46 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm b63c90129303b2c17d084fb828aa2c02a2ad85b8 |
42 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Cygwin.pm 976b10ec76d1fe6f7ee9000b5596e8950434880b | 47 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Cygwin.pm cabd1c97eaa427067811d92807e34c17940c7350 |
43 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm bc4b33fa5296ab35bcb1be1c18759b93c4de2598 | 48 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm 6a185d897a600c34615a6073f4de0ac2f54fef3e |
44 | @@ -23,7 +23,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_MacOS.pm 83601fa89eb | 49 | @@ -42,7 +42,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_MacOS.pm 1f5eb772eed |
45 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_NW5.pm 8185a7db6c4d7e0fdc5001aeaa8c2b612a884a5e | 50 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_NW5.pm de777d7809c0d73e5d4622a29921731c7e5dff48 |
46 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_OS2.pm 2fe66ca8a894d6a2ae340b8bf6f8d69c5e1f7fbe | 51 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_OS2.pm 01e8f08a82b5304009574e3ac0892b4066ff7639 |
47 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm e8a4dbba69a1d551bd581ea6a3f2415bacbc0ae5 | 52 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm 5340052b58557a6764f5ac9f8b807fefec404a06 |
48 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm d666ac424618c3e11b8549755c9646d942bd2d57 | 53 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 3c3b93f431b0a51b9592b3d69624dbf5409f6f74 |
49 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 211d37e5d841e462cf2d0644c43ef01a1366fbee | 54 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 0d6ed5e4bdcdcd28e968e8629a592fdd0cc84818 |
50 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_UWIN.pm f6581a0e75e45bfc26f343f173d3366c43fb1221 | 55 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_UWIN.pm 40397f4cd2d49700b80b4ef490da98add24c5b37 |
51 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VMS.pm 1997912b5018970cdeb3dae8fd7e0c24f6e5d567 | 56 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VMS.pm 147e97fbabb74841f0733dbd5d1b9f3fa51f87c1 |
52 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VOS.pm 210a4eda8b081d9986477e3a9762fce6ebea8474 | 57 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VOS.pm 3f13ed7045ff3443bcb4dd6c95c98b9bd705820f |
53 | @@ -32,7 +32,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win95.pm f73ef46755d | 58 | @@ -51,7 +51,7 @@ ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win95.pm 48e8a2fe176 |
54 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MY.pm 6059d9bb7c4f0c154a61f115aa6b24ba08622b81 | 59 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/MY.pm 6fefe99045b64459905d4721f3a494d8d50f7ab9 |
55 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/testlib.pm 6347934cbe40da977790cea6c81987816b2fe26b | 60 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/lib/ExtUtils/testlib.pm 172778ad21c065a89cd270668eb9f99a7364b41c |
56 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/cd.t 0a71fbd646a7be8358b07b6f64f838243cc0aef4 | 61 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/cd.t 0a71fbd646a7be8358b07b6f64f838243cc0aef4 |
57 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/echo.t 37aec8f794c52e037540757eb5b2556f79419ff7 | 62 | -ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/echo.t 37aec8f794c52e037540757eb5b2556f79419ff7 |
58 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/echo.t 1a93dd8834e4bb0e5facf08204e782807567b2eb | 63 | +ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/echo.t 1a93dd8834e4bb0e5facf08204e782807567b2eb |
59 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/lib/MakeMaker/Test/NoXS.pm 371cdff1b2375017907cfbc9c8f4a31f5ad10582 | 64 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/lib/MakeMaker/Test/NoXS.pm 371cdff1b2375017907cfbc9c8f4a31f5ad10582 |
60 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/prereq.t 53bda2c549fd13a6b6c13a070ca6bc79883081c0 | 65 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/prereq.t 53bda2c549fd13a6b6c13a070ca6bc79883081c0 |
61 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/vstrings.t 90035a2bdbf45f15b9c3196d072d7cba7e662871 | 66 | ExtUtils::MakeMaker cpan/ExtUtils-MakeMaker/t/vstrings.t 90035a2bdbf45f15b9c3196d072d7cba7e662871 |
67 | @@ -165,7 +165,7 @@ bignum cpan/bignum/lib/bigrat.pm 7fccc9df30e43dbbae6e5ea91b26c8046545c9a9 | ||
68 | bignum cpan/bignum/lib/Math/BigFloat/Trace.pm a6b4b995e18f4083252e6dc72e9bef69671893dd | ||
69 | bignum cpan/bignum/lib/Math/BigInt/Trace.pm d9596963673760cae3eeeb752c1eeeec50bb2290 | ||
70 | libnet cpan/libnet/lib/Net/Cmd.pm a44a10c939a4c35f923c4638054178c32f1d283a | ||
71 | -libnet cpan/libnet/lib/Net/Config.pm 9bd49bf4de0dc438bceee0ef4baf8ba7a6633327 | ||
72 | +libnet cpan/libnet/lib/Net/Config.pm 2873da5efbffed67934dd297ef6f360b3558cb0b | ||
73 | libnet cpan/libnet/lib/Net/Domain.pm 1bbed50f70fd1ff3e1cdf087b19a9349cddfaced | ||
74 | libnet cpan/libnet/lib/Net/FTP.pm 40dba553c8d44e1530daec2d07a6e50910401f2e | ||
75 | libnet cpan/libnet/lib/Net/FTP/A.pm c570b10730b168990034dcf9cb00e305a100f336 | ||
76 | @@ -176,6 +176,6 @@ libnet cpan/libnet/lib/Net/FTP/L.pm ac1599c775faee0474710e4f75051c8949f13df2 | ||
77 | libnet cpan/libnet/lib/Net/Netrc.pm 009cfc08f8a5bf247257acb64a21e1b6ad8b2c9c | ||
78 | libnet cpan/libnet/lib/Net/NNTP.pm 6325fc05fd9ef81dc8d461a77b2a3f56ad1ae114 | ||
79 | libnet cpan/libnet/lib/Net/POP3.pm 2d8065646df80061dae5a9e3465a36a6557165fd | ||
80 | -libnet cpan/libnet/lib/Net/SMTP.pm f3ed7a177b49ee0ba65ac1c414de797cdbbe6886 | ||
81 | +libnet cpan/libnet/lib/Net/SMTP.pm f1beb42bfbef4333ed24ad63d5dd1aa5c67b20c7 | ||
82 | libnet cpan/libnet/lib/Net/Time.pm b3df8bbaa3bc253fbf77e8386c59a1b2aae13627 | ||
83 | version cpan/version/lib/version.pm ff75e2076be10bd4c05133cd979fda0b38ca8653 | ||
62 | -- | 84 | -- |
63 | 2.1.4 | 85 | 2.1.4 |
64 | 86 | ||
diff --git a/meta/recipes-devtools/perl/perl_5.24.0.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb index 6804341170..147e151d74 100644 --- a/meta/recipes-devtools/perl/perl_5.24.0.bb +++ b/meta/recipes-devtools/perl/perl_5.24.1.bb | |||
@@ -65,8 +65,6 @@ SRC_URI += " \ | |||
65 | file://perl-errno-generation-gcc5.patch \ | 65 | file://perl-errno-generation-gcc5.patch \ |
66 | file://perl-fix-conflict-between-skip_all-and-END.patch \ | 66 | file://perl-fix-conflict-between-skip_all-and-END.patch \ |
67 | file://perl-test-customized.patch \ | 67 | file://perl-test-customized.patch \ |
68 | file://perl-fix-CVE-2016-6185.patch \ | ||
69 | file://perl-fix-CVE-2016-1238.patch \ | ||
70 | " | 68 | " |
71 | 69 | ||
72 | # Fix test case issues | 70 | # Fix test case issues |
@@ -75,8 +73,8 @@ SRC_URI_append_class-target = " \ | |||
75 | file://test/ext-DynaLoader-t-DynaLoader.t-fix-calling-dl_findfil.patch \ | 73 | file://test/ext-DynaLoader-t-DynaLoader.t-fix-calling-dl_findfil.patch \ |
76 | " | 74 | " |
77 | 75 | ||
78 | SRC_URI[md5sum] = "59456ae4bd4b06cb6e57cb19a3b2d349" | 76 | SRC_URI[md5sum] = "af6a84c7c3e2b8b269c105a5db2f6d53" |
79 | SRC_URI[sha256sum] = "a9a37c0860380ecd7b23aa06d61c20fc5bc6d95198029f3684c44a9d7e2952f2" | 77 | SRC_URI[sha256sum] = "03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f" |
80 | 78 | ||
81 | inherit perlnative siteinfo | 79 | inherit perlnative siteinfo |
82 | 80 | ||