From d6900606188dec4c100a648715d8c702e74dd7cd Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Tue, 31 Mar 2026 10:37:01 +0200 Subject: [PATCH] package/perl: security bump to version 5.42.2 fix CVE 2026-4176 : contains a vulnerable version of Compress::Raw::Zlib For release notes, see: https://perldoc.perl.org/5.42.2/perl5422delta Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- package/perl/perl.hash | 14 +++++++------- package/perl/perl.mk | 5 +++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/package/perl/perl.hash b/package/perl/perl.hash index 3aefdd05b6..d88de6c425 100644 --- a/package/perl/perl.hash +++ b/package/perl/perl.hash @@ -1,12 +1,12 @@ -# 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 +# Hashes from: https://www.cpan.org/src/5.0/perl-5.42.2.tar.xz.{md5,sha1,sha256}.txt +md5 be6e70b71ec6589fc090f7303c5b3056 perl-5.42.2.tar.xz +sha1 dc36549204ec31680e1c7c0acb37fad0de83a339 perl-5.42.2.tar.xz +sha256 0a585eeb9e363c0f80482ddb3571625250c2c86aeb408853e8ea50805cfb14bb perl-5.42.2.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 +# Hash from: https://github.com/arsv/perl-cross/releases/download/1.6.4/perl-cross-1.6.4.hash +sha256 b6202173b0a8a43fb312867d85a8cd33527f3f234b1b6e591cdaa9895c9920c7 perl-cross-1.6.4.tar.gz # Locally calculated sha256 dd90d4f42e4dcadf5a7c09eea0189d93c7b37ae560c91f0f6d5233ed3b9292a2 Artistic sha256 8979e6dd61852041643c5c5c40ea63b2bd1b438a67d114e62cbaef808c514315 Copying -sha256 189e9d6ac7743ed4e832f14c9edb6f782c92d8868b447fa2684f7fe5a81465c1 README +sha256 16381bf5fe73ad96ed26449b52eb4a85b2a32a49763c8a788d43af80f3add548 README diff --git a/package/perl/perl.mk b/package/perl/perl.mk index c31a368b70..c96eb44135 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -6,7 +6,7 @@ # When updating the version here, also update utils/scancpan PERL_VERSION_MAJOR = 42 -PERL_VERSION = 5.$(PERL_VERSION_MAJOR).0 +PERL_VERSION = 5.$(PERL_VERSION_MAJOR).2 PERL_SITE = https://www.cpan.org/src/5.0 PERL_SOURCE = perl-$(PERL_VERSION).tar.xz PERL_LICENSE = Artistic or GPL-1.0+ @@ -15,7 +15,7 @@ PERL_CPE_ID_VENDOR = perl PERL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) PERL_INSTALL_STAGING = YES -PERL_CROSS_VERSION = 1.6.3 +PERL_CROSS_VERSION = 1.6.4 # DO NOT refactor with the github helper (the result is not the same) PERL_CROSS_SITE = https://github.com/arsv/perl-cross/releases/download/$(PERL_CROSS_VERSION) PERL_CROSS_SOURCE = perl-cross-$(PERL_CROSS_VERSION).tar.gz @@ -28,6 +28,7 @@ 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.42.0 $(@D)/cnf/diffs/perl5-5.42.2 endef PERL_POST_EXTRACT_HOOKS += PERL_CROSS_EXTRACT