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

@@ -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