* [Buildroot] [PATCH] perl: bump to version 5.32.0
@ 2021-01-22 18:30 Francois Perrad
2021-01-23 20:34 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2021-01-22 18:30 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
...the-generated-subdirectory-Makefiles.patch | 32 -------------------
package/perl/perl.hash | 8 ++---
package/perl/perl.mk | 6 ++--
utils/scancpan | 8 ++---
4 files changed, 11 insertions(+), 43 deletions(-)
delete mode 100644 package/perl/0001-fix-the-generated-subdirectory-Makefiles.patch
diff --git a/package/perl/0001-fix-the-generated-subdirectory-Makefiles.patch b/package/perl/0001-fix-the-generated-subdirectory-Makefiles.patch
deleted file mode 100644
index ae1ce0699..000000000
--- a/package/perl/0001-fix-the-generated-subdirectory-Makefiles.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 30ae4c9e2ac6cd27138ebf124cbda9232c56bdf7 Mon Sep 17 00:00:00 2001
-From: Francois Perrad <francois.perrad@gadz.org>
-Date: Tue, 16 Oct 2018 21:20:12 +0200
-Subject: [PATCH] fix the generated subdirectory Makefiles
-
-all variables used by BR must be propagated
-
-similar to https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/98e8532fffe5afa8186329acc44fb957427f1823
-
-see https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/331, merged in EU-MM v7.35_08
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
----
- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
-index d579256e86..48642e98fa 100644
---- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
-+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
-@@ -702,7 +702,7 @@ END
- }
- if ($self->{PARENT}) {
- $self->{PARENT}->{CHILDREN}->{$newclass} = $self;
-- foreach my $opt (qw(POLLUTE PERL_CORE LINKTYPE LD OPTIMIZE)) {
-+ foreach my $opt (qw(POLLUTE PERL_CORE LINKTYPE AR FULL_AR CC CCFLAGS OPTIMIZE LD LDDLFLAGS LDFLAGS PERL_ARCHLIB DESTDIR )) {
- if (exists $self->{PARENT}->{$opt}
- and not exists $self->{$opt})
- {
---
-2.17.1
-
diff --git a/package/perl/perl.hash b/package/perl/perl.hash
index ba3a39d43..28bfb4fa9 100644
--- a/package/perl/perl.hash
+++ b/package/perl/perl.hash
@@ -1,7 +1,7 @@
-# Hashes from: http://www.cpan.org/src/5.0/perl-5.30.3.tar.xz.{md5,sha1,sha256}.txt
-md5 0af2ab0f01ec13e37cc13a27de930936 perl-5.30.3.tar.xz
-sha1 1003c6aa71d8966501038178459a9fa4e9aba747 perl-5.30.3.tar.xz
-sha256 6967595f2e3f3a94544c35152f9a25e0cb8ea24ae45f4bf1882f2e33f4a400f4 perl-5.30.3.tar.xz
+# Hashes from: https://www.cpan.org/src/5.0/perl-5.32.0.tar.xz.{md5,sha1,sha256}.txt
+md5 3812cd9a096a72cb27767c7e2e40441c perl-5.32.0.tar.xz
+sha1 0426c89d8ad5542def3e0065c299d449230aeb6c perl-5.32.0.tar.xz
+sha256 6f436b447cf56d22464f980fac1916e707a040e96d52172984c5d184c09b859b perl-5.32.0.tar.xz
# Hashes from: https://github.com/arsv/perl-cross/releases/download/1.3.4/perl-cross-1.3.4.hash
sha256 755aa0ca8141a942188a269564f86c3c82349f82c346ed5c992495d7f35138ba perl-cross-1.3.4.tar.gz
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 5f6aa9767..9b024e849 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -5,9 +5,9 @@
################################################################################
# When updating the version here, also update utils/scancpan
-PERL_VERSION_MAJOR = 30
-PERL_VERSION = 5.$(PERL_VERSION_MAJOR).3
-PERL_SITE = http://www.cpan.org/src/5.0
+PERL_VERSION_MAJOR = 32
+PERL_VERSION = 5.$(PERL_VERSION_MAJOR).0
+PERL_SITE = https://www.cpan.org/src/5.0
PERL_SOURCE = perl-$(PERL_VERSION).tar.xz
PERL_LICENSE = Artistic or GPL-1.0+
PERL_LICENSE_FILES = Artistic Copying README
diff --git a/utils/scancpan b/utils/scancpan
index 3ce3203bd..075f19356 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -488,9 +488,9 @@ use Digest::SHA qw(sha256_hex);
use Text::Wrap;
$Text::Wrap::columns = 62;
-# Below, 5.030 should be aligned with the version of perl actually
+# Below, 5.032 should be aligned with the version of perl actually
# bundled in Buildroot:
-die <<"MSG" if $] < 5.030;
+die <<"MSG" if $] < 5.032;
This script needs a host perl with the same major version as Buildroot target perl.
Your current host perl is:
@@ -498,7 +498,7 @@ Your current host perl is:
version $]
You may install a local one by running:
- perlbrew install perl-5.30.0
+ perlbrew install perl-5.32.0
MSG
my ($help, $man, $quiet, $force, $recommend, $test, $host);
@@ -967,7 +967,7 @@ in order to work with the right CoreList data.
=head1 LICENSE
-Copyright (C) 2013-2019 by Francois Perrad <francois.perrad@gadz.org>
+Copyright (C) 2013-2020 by Francois Perrad <francois.perrad@gadz.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] perl: bump to version 5.32.0
2021-01-22 18:30 [Buildroot] [PATCH] perl: bump to version 5.32.0 Francois Perrad
@ 2021-01-23 20:34 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-01-23 20:34 UTC (permalink / raw)
To: buildroot
On Fri, 22 Jan 2021 19:30:46 +0100
Francois Perrad <fperrad@gmail.com> wrote:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> ...the-generated-subdirectory-Makefiles.patch | 32 -------------------
> package/perl/perl.hash | 8 ++---
> package/perl/perl.mk | 6 ++--
> utils/scancpan | 8 ++---
> 4 files changed, 11 insertions(+), 43 deletions(-)
> delete mode 100644 package/perl/0001-fix-the-generated-subdirectory-Makefiles.patch
This commit breaks "make perl-legal-info":
>>> perl 5.32.0 Collecting legal info
Artistic: OK (sha256: dd90d4f42e4dcadf5a7c09eea0189d93c7b37ae560c91f0f6d5233ed3b9292a2)
Copying: OK (sha256: d77d235e41d54594865151f4751e835c5a82322b0e87ace266567c3391a4b912)
ERROR: README has wrong sha256 hash:
ERROR: expected: 4916e95d32b84e07c045d839646f74996f577e5f497bbba8177a94b31415cee7
ERROR: got : f3742c110e125e5078745d71eb55059a672f933a8450ae9e8a807bfe685caf94
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
Also, you're updating perl, but not perl-cross. Is the perl-cross
version we use still compatible, with no changes, with perl 5.32.0 ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-23 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-22 18:30 [Buildroot] [PATCH] perl: bump to version 5.32.0 Francois Perrad
2021-01-23 20:34 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.