package/perl: bump to version 5.42.0

For release notes, see:
https://perldoc.perl.org/5.42.0/perl5420delta

Note: the release notes mention fixed CVE. Those were already fixed in
Buildroot commit [1] and [2]. Therefore, this update is not marked as a
security fix.

This commit also updates the `utils/scancpan` script, in order to
update the messages about the host-perl version.

[1] 61f5e2efca
[2] 164c84ee9b

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Julien: add commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Francois Perrad
2025-12-19 07:45:22 +01:00
committed by Julien Olivain
parent 2ce452ed71
commit 11d6d10deb
4 changed files with 13 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ config BR2_PACKAGE_PERL
An interpreted scripting language, known among some as
"Unix's Swiss Army Chainsaw".
http://www.perl.org/
https://www.perl.org/
if BR2_PACKAGE_PERL

View File

@@ -1,12 +1,12 @@
# Hashes from: https://www.cpan.org/src/5.0/perl-5.40.3.tar.xz.{md5,sha1,sha256}.txt
md5 f526a5975a7cc6f53f28326437b1eb39 perl-5.40.3.tar.xz
sha1 7c95250ceff00d649c1f5afa511987a2c4da61d3 perl-5.40.3.tar.xz
sha256 65f63b4763ab6cb9bb3d5731dd10369e1705be3c59be9847d453eb60b349ab43 perl-5.40.3.tar.xz
# Hashes from: https://www.cpan.org/src/5.0/perl-5.42.0.tar.xz.{md5,sha1,sha256}.txt
md5 7a6950a9f12d01eb96a9d2ed2f4e0072 perl-5.42.0.tar.xz
sha1 3b557f28dcb412b115d9628c37fc94b2fda08384 perl-5.42.0.tar.xz
sha256 73cf6cc1ea2b2b1c110a18c14bbbc73a362073003893ffcedc26d22ebdbdd0c3 perl-5.42.0.tar.xz
# Hash from: https://github.com/arsv/perl-cross/releases/download/1.6.3/perl-cross-1.6.3.hash
sha256 cd57d8f8017727dc7e19cca55e1e9f22664edecf6c9f04c3515ecc13fd88e4f3 perl-cross-1.6.3.tar.gz
# Locally calculated
sha256 dd90d4f42e4dcadf5a7c09eea0189d93c7b37ae560c91f0f6d5233ed3b9292a2 Artistic
sha256 d77d235e41d54594865151f4751e835c5a82322b0e87ace266567c3391a4b912 Copying
sha256 af805523b88a8ebb60afc009caaf247a498208502f7b8b3d9d3e329fcfb1dc3b README
sha256 8979e6dd61852041643c5c5c40ea63b2bd1b438a67d114e62cbaef808c514315 Copying
sha256 189e9d6ac7743ed4e832f14c9edb6f782c92d8868b447fa2684f7fe5a81465c1 README

View File

@@ -5,8 +5,8 @@
################################################################################
# When updating the version here, also update utils/scancpan
PERL_VERSION_MAJOR = 40
PERL_VERSION = 5.$(PERL_VERSION_MAJOR).3
PERL_VERSION_MAJOR = 42
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+
@@ -28,7 +28,6 @@ PERL_EXTRA_DOWNLOADS = $(PERL_CROSS_SITE)/$(PERL_CROSS_SOURCE)
define PERL_CROSS_EXTRACT
$(call suitable-extractor,$(PERL_CROSS_SOURCE)) $(PERL_DL_DIR)/$(PERL_CROSS_SOURCE) | \
$(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) -
mv $(@D)/cnf/diffs/perl5-5.40.2 $(@D)/cnf/diffs/perl5-5.40.3
endef
PERL_POST_EXTRACT_HOOKS += PERL_CROSS_EXTRACT

View File

@@ -488,9 +488,9 @@ use Digest::SHA qw(sha256_hex);
use Text::Wrap;
$Text::Wrap::columns = 62;
# Below, 5.036 should be aligned with the version of perl actually
# Below, 5.042 should be aligned with the version of perl actually
# bundled in Buildroot:
die <<"MSG" if $] < 5.036;
die <<"MSG" if $] < 5.042;
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.36.0
perlbrew install perl-5.42.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-2023 by Francois Perrad <francois.perrad@gadz.org>
Copyright (C) 2013-2025 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