diff options
Diffstat (limited to 'poky/meta/recipes-devtools/perl/files')
7 files changed, 42 insertions, 138 deletions
diff --git a/poky/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch b/poky/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch new file mode 100644 index 0000000000..63815d44fb --- /dev/null +++ b/poky/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch @@ -0,0 +1,36 @@ +From a73fff1fcf0def4ce93964f1b63fe3ad0967259d Mon Sep 17 00:00:00 2001 +From: Robert Yang <liezhi.yang@windriver.com> +Date: Fri, 18 Feb 2022 09:44:26 +0000 +Subject: [PATCH] cpan/Sys-Syslog/Makefile.PL: Fix _PATH_LOG for deterministic + +It checks host's path such as /dev/log and uses it, this doesn't make sense for +cross build, and it causes undeterministic, for example, the contianer os +usually doesn't have /dev/log which leads to a different build result since +other host usually has /dev/log, so make it always use the default value to fix +the issue. + +Submitted a ticket to upstream: https://rt.cpan.org/Ticket/Display.html?id=141612 + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Robert Yang <liezhi.yang@windriver.com> +--- + cpan/Sys-Syslog/Makefile.PL | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/cpan/Sys-Syslog/Makefile.PL b/cpan/Sys-Syslog/Makefile.PL +index d09ba69..d44e58c 100644 +--- a/cpan/Sys-Syslog/Makefile.PL ++++ b/cpan/Sys-Syslog/Makefile.PL +@@ -130,6 +130,8 @@ else { + $_PATH_LOG = ""; + } + ++# OE specific ++$_PATH_LOG = ""; + + # if possible, generate the code that handles the constants with + # ExtUtils::Constant, otherwise use cached copy in fallback/ +-- +2.31.1 + diff --git a/poky/meta/recipes-devtools/perl/files/5bc1e5fdd87aa205011512cd1e6cc655bcf677fd.patch b/poky/meta/recipes-devtools/perl/files/5bc1e5fdd87aa205011512cd1e6cc655bcf677fd.patch deleted file mode 100644 index 1cb65d932c..0000000000 --- a/poky/meta/recipes-devtools/perl/files/5bc1e5fdd87aa205011512cd1e6cc655bcf677fd.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 5bc1e5fdd87aa205011512cd1e6cc655bcf677fd Mon Sep 17 00:00:00 2001 -From: Sergey Poznyakoff <gray@gnu.org> -Date: Wed, 23 Jun 2021 15:31:42 +0300 -Subject: [PATCH] Fix definition of ITEM_NOT_FOUND for pre-1.13 versions. - -Upstream-Status: Backport -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> ---- - ext/GDBM_File/GDBM_File.xs | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/ext/GDBM_File/GDBM_File.xs b/ext/GDBM_File/GDBM_File.xs -index 494c2889ca89..0125b5dcac4d 100644 ---- a/ext/GDBM_File/GDBM_File.xs -+++ b/ext/GDBM_File/GDBM_File.xs -@@ -145,10 +145,11 @@ output_datum(pTHX_ SV *arg, char *str, int size) - #define gdbm_setopt(db,optflag,optval,optlen) not_here("gdbm_setopt") - #endif - --#if GDBM_VERSION_MAJOR == 1 && GDBM_VERSION_MINOR < 13 --/* Prior to 1.13, gdbm_fetch family functions set gdbm_errno to GDBM_NO_ERROR -- if the requested key did not exist */ --# define ITEM_NOT_FOUND() (gdbm_errno == GDBM_NO_ERROR) -+#if GDBM_VERSION_MAJOR == 1 && GDBM_VERSION_MINOR < 13 -+/* Prior to 1.13, only gdbm_fetch set GDBM_ITEM_NOT_FOUND if the requested -+ key did not exist. Other similar function wouls set GDBM_NO_ERROR instead. -+ The GDBM_ITEM_NOT_FOUND existeds as early as in 1.7.3 */ -+# define ITEM_NOT_FOUND() (gdbm_errno == GDBM_NO_ERROR || gdbm_errno == GDBM_ITEM_NOT_FOUND) - #else - # define ITEM_NOT_FOUND() (gdbm_errno == GDBM_ITEM_NOT_FOUND) - #endif diff --git a/poky/meta/recipes-devtools/perl/files/CVE-2021-36770.patch b/poky/meta/recipes-devtools/perl/files/CVE-2021-36770.patch deleted file mode 100644 index 1ef548b305..0000000000 --- a/poky/meta/recipes-devtools/perl/files/CVE-2021-36770.patch +++ /dev/null @@ -1,40 +0,0 @@ -Backport patch to fix CVE-2021-36770. And drop the section of code which -updates version. - -Upstream-Status: Backport [https://github.com/Perl/perl5/commit/c1a937f] -CVE: CVE-2021-36770 - -Signed-off-by: Kai Kang <kai.kang@windriver.com> - -From c1a937fef07c061600a0078f4cb53fe9c2136bb9 Mon Sep 17 00:00:00 2001 -From: Ricardo Signes <rjbs@semiotic.systems> -Date: Mon, 9 Aug 2021 08:14:05 -0400 -Subject: [PATCH] Encode.pm: apply a local patch for CVE-2021-36770 - -I expect Encode to see a new release today. - -Without this fix, Encode::ConfigLocal can be loaded from a path relative -to the current directory, because the || operator will evaluate @INC in -scalar context, putting an integer as the only value in @INC. ---- - cpan/Encode/Encode.pm | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/cpan/Encode/Encode.pm b/cpan/Encode/Encode.pm -index a56a99947f..b96a850416 100644 ---- a/cpan/Encode/Encode.pm -+++ b/cpan/Encode/Encode.pm -@@ -65,8 +66,8 @@ require Encode::Config; - eval { - local $SIG{__DIE__}; - local $SIG{__WARN__}; -- local @INC = @INC || (); -- pop @INC if $INC[-1] eq '.'; -+ local @INC = @INC; -+ pop @INC if @INC && $INC[-1] eq '.'; - require Encode::ConfigLocal; - }; - --- -2.33.0 - diff --git a/poky/meta/recipes-devtools/perl/files/aacd2398e766500cb5d83c4d76b642fcf31d997a.patch b/poky/meta/recipes-devtools/perl/files/aacd2398e766500cb5d83c4d76b642fcf31d997a.patch deleted file mode 100644 index 628903f41c..0000000000 --- a/poky/meta/recipes-devtools/perl/files/aacd2398e766500cb5d83c4d76b642fcf31d997a.patch +++ /dev/null @@ -1,40 +0,0 @@ -From aacd2398e766500cb5d83c4d76b642fcf31d997a Mon Sep 17 00:00:00 2001 -From: Sergey Poznyakoff <gray@gnu.org> -Date: Wed, 23 Jun 2021 10:26:50 +0300 -Subject: [PATCH] Fix GDBM_File to compile with version 1.20 and earlier - -* ext/GDBM_File/GDBM_File.xs (ITEM_NOT_FOUND): Define conditionally, -depending on the GDBM_VERSION_MAJOR and GDBM_VERSION_MINOR. -Don't assume GDBM_ITEM_NOT_FOUND is a define (it isn't since -gdbm commit d3e27957). - -Upstream-Status: Backport -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> ---- - ext/GDBM_File/GDBM_File.xs | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -diff --git a/ext/GDBM_File/GDBM_File.xs b/ext/GDBM_File/GDBM_File.xs -index cd0bb6f26ffa..494c2889ca89 100644 ---- a/ext/GDBM_File/GDBM_File.xs -+++ b/ext/GDBM_File/GDBM_File.xs -@@ -145,14 +145,13 @@ output_datum(pTHX_ SV *arg, char *str, int size) - #define gdbm_setopt(db,optflag,optval,optlen) not_here("gdbm_setopt") - #endif - --#ifndef GDBM_ITEM_NOT_FOUND --# define GDBM_ITEM_NOT_FOUND GDBM_NO_ERROR --#endif -- -+#if GDBM_VERSION_MAJOR == 1 && GDBM_VERSION_MINOR < 13 - /* Prior to 1.13, gdbm_fetch family functions set gdbm_errno to GDBM_NO_ERROR - if the requested key did not exist */ --#define ITEM_NOT_FOUND() \ -- (gdbm_errno == GDBM_ITEM_NOT_FOUND || gdbm_errno == GDBM_NO_ERROR) -+# define ITEM_NOT_FOUND() (gdbm_errno == GDBM_NO_ERROR) -+#else -+# define ITEM_NOT_FOUND() (gdbm_errno == GDBM_ITEM_NOT_FOUND) -+#endif - - #define CHECKDB(db) do { \ - if (!db->dbp) { \ diff --git a/poky/meta/recipes-devtools/perl/files/ea57297a58b8f10ab885c19eec48ea076116cc1f.patch b/poky/meta/recipes-devtools/perl/files/ea57297a58b8f10ab885c19eec48ea076116cc1f.patch deleted file mode 100644 index 3864f1a121..0000000000 --- a/poky/meta/recipes-devtools/perl/files/ea57297a58b8f10ab885c19eec48ea076116cc1f.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ea57297a58b8f10ab885c19eec48ea076116cc1f Mon Sep 17 00:00:00 2001 -From: Sergey Poznyakoff <gray@gnu.org> -Date: Wed, 23 Jun 2021 14:24:47 +0300 -Subject: [PATCH] Raise version number in ext/GDBM_File/GDBM_File.pm - -Upstream-Status: Backport -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> - ---- - ext/GDBM_File/GDBM_File.pm | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/ext/GDBM_File/GDBM_File.pm b/ext/GDBM_File/GDBM_File.pm -index d837536f804c..cb08d091b829 100644 ---- a/ext/GDBM_File/GDBM_File.pm -+++ b/ext/GDBM_File/GDBM_File.pm -@@ -363,7 +363,7 @@ require XSLoader; - ); - - # This module isn't dual life, so no need for dev version numbers. --$VERSION = '1.19'; -+$VERSION = '1.20'; - - XSLoader::load(); - diff --git a/poky/meta/recipes-devtools/perl/files/perl-configpm-switch.patch b/poky/meta/recipes-devtools/perl/files/perl-configpm-switch.patch index 80ce4a6de7..15189a0c04 100644 --- a/poky/meta/recipes-devtools/perl/files/perl-configpm-switch.patch +++ b/poky/meta/recipes-devtools/perl/files/perl-configpm-switch.patch @@ -1,4 +1,4 @@ -From 5120acaa2be5787d9657f6b91bc8ee3c2d664fbe Mon Sep 17 00:00:00 2001 +From 1f7cc5db2ca549c37c6a7923368e1a0104f31b99 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <alex.kanavin@gmail.com> Date: Sun, 27 May 2007 21:04:11 +0000 Subject: [PATCH] perl: 5.8.7 -> 5.8.8 (from OE) @@ -20,7 +20,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/configpm b/configpm -index c8de8bf..204613c 100755 +index 94a4778..99b20c9 100755 --- a/configpm +++ b/configpm @@ -687,7 +687,7 @@ sub FETCH { diff --git a/poky/meta/recipes-devtools/perl/files/perl-rdepends.txt b/poky/meta/recipes-devtools/perl/files/perl-rdepends.txt index 3415f32ab1..74c24c3bb5 100644 --- a/poky/meta/recipes-devtools/perl/files/perl-rdepends.txt +++ b/poky/meta/recipes-devtools/perl/files/perl-rdepends.txt @@ -1,7 +1,11 @@ # Some additional dependencies that the above doesn't manage to figure out RDEPENDS:perl-module-file-spec += "perl-module-file-spec-unix" +RDEPENDS:perl-module-scalar-util += "perl-module-list-util" +RDEPENDS:perl-module-file-temp += "perl-module-scalar-util" +RDEPENDS:perl-module-file-temp += "perl-module-file-spec" RDEPENDS:perl-module-io-file += "perl-module-symbol" +RDEPENDS:perl-module-io-file += "perl-module-carp" RDEPENDS:perl-module-math-bigint += "perl-module-math-bigint-calc" RDEPENDS:perl-module-test-builder += "perl-module-list-util" RDEPENDS:perl-module-test-builder += "perl-module-scalar-util" |