ruby: upgrade 4.0.5 -> 4.0.9
PATCH 1/1 ruby: upgrade 4.0.5 -> 4.0.9
From: Deepak Rathore <[email protected]>
Release notes:
* https://www.ruby-lang.org/en/news/2026/07/14/ruby-4-0-6-released/
* This is a routine update that includes bugfixes.
* https://www.ruby-lang.org/en/news/2026/09/15/ruby-4-0-7-released/
* This is a routine update that includes bugfixes.
* https://www.ruby-lang.org/en/news/2026/10/22/ruby-4-0-8-released/
* This release includes the regexp fix for CVE-2026-97229.
* https://www.ruby-lang.org/en/news/2026/10/23/ruby-4-0-9-released/
* This release includes a fix for a regexp compilation bug related to CVE-2026-110264.
Signed-off-by Deepak Rathore <[email protected]>
---
.../0001-Don-t-save-the-original-name-and-timestamp.patch | 2 +-
.../0001-extmk-fix-cross-compilation-of-external-gems.patch | 2 +-
...-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch | 4 ++--
.../ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch | 2 +-
.../ruby/0003-rdoc-build-reproducible-documentation.patch | 2 +-
...b-mkmf.rb-sort-list-of-object-files-in-generated-M.patch | 2 +-
...Mark-Gemspec-reproducible-change-fixing-784225-too.patch | 6 +++---
.../ruby/ruby/0006-Make-gemspecs-reproducible.patch | 2 +-
...0007-Skip-test_rm_r_no_permissions-test-under-root.patch | 2 +-
meta/recipes-devtools/ruby/{ruby_4.0.5.bb => ruby_4.0.9.bb} | 2 +-
10 files changed, 13 insertions(+), 13 deletions(-)
rename meta/recipes-devtools/ruby/{ruby_4.0.5.bb => ruby_4.0.9.bb} (98%)meta/recipes-devtools/ruby/ruby/0001-Don-t-save-the-original-name-and-timestamp.patch +1 -1
@@ -1,4 +1,4 @@ -From efd3a6d0f0cef4b2313a106f1a00e7d4a597d510 Mon Sep 17 00:00:00 2001 +From 50214e465cf7ed0e61a9bddf40776ea02ea016a6 Mon Sep 17 00:00:00 2001 From: Changqing Li <[email protected]> Date: Fri, 27 Feb 2026 16:59:24 +0800 Subject: [PATCH] Don't save the original name and timestamp
meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch +1 -1
@@ -1,4 +1,4 @@ -From 7c1f11416499ce7cd1e6874840df2498e922ab78 Mon Sep 17 00:00:00 2001 +From a7223627ee307d17aaefec37af91be8aa713d13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <[email protected]> Date: Mon, 30 Sep 2019 16:57:01 +0100 Subject: [PATCH] extmk: fix cross-compilation of external gems
meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch +2 -2
@@ -1,4 +1,4 @@ -From 4b66682db87a92d20c5ef0a00ea6eef41526d0cc Mon Sep 17 00:00:00 2001 +From 26cb483121c5c8c8842ff77e00ddff0a706002a8 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 25 Jan 2022 20:29:14 -0800 Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 5 insertions(+) diff --git a/vm_dump.c b/vm_dump.c -index e2b4804..0b7d868 100644 +index 8558ed8..230702d 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -40,6 +40,11 @@
meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch +1 -1
@@ -1,4 +1,4 @@ -From e1cb706a8653c632419803f8d36f3dd2d787face Mon Sep 17 00:00:00 2001 +From 1093a46b7a4b9e7981921ead5818bccd03e05830 Mon Sep 17 00:00:00 2001 From: Christopher Larson <[email protected]> Date: Thu, 5 May 2016 10:59:07 -0700 Subject: [PATCH] Obey LDFLAGS for the link of libruby
meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch +1 -1
@@ -1,4 +1,4 @@ -From 8476953b735fabad857ddfe78dd3ffcbef4028c5 Mon Sep 17 00:00:00 2001 +From bc9ead00cb7700381689be2362a8db9ceda9be40 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler <[email protected]> Date: Tue, 10 Oct 2017 15:04:34 -0300 Subject: [PATCH] rdoc: build reproducible documentation
meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch +1 -1
@@ -1,4 +1,4 @@ -From 9fa6d40d1f7eed5be981c034c3f36bd4a3b5efab Mon Sep 17 00:00:00 2001 +From eec9acef646d6ed28a859e18461688520b2de1ba Mon Sep 17 00:00:00 2001 From: Reiner Herrmann <[email protected]> Date: Tue, 10 Oct 2017 15:06:13 -0300 Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile
meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch +3 -3
@@ -1,4 +1,4 @@ -From 265381bc616fa281a58b3761c33620c465884ca8 Mon Sep 17 00:00:00 2001 +From aff3fa8a85ae050bcb4cf6ff5cac5d4a93863643 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro <[email protected]> Date: Fri, 1 Nov 2019 15:25:17 -0300 Subject: [PATCH] Make gemspecs reproducible
@@ -12,10 +12,10 @@ Upstream-Status: Backport [debian] 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb -index 2db9352..925b7a0 100644 +index 9ae135c..427ab48 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb -@@ -1714,7 +1714,9 @@ class Gem::Specification < Gem::BasicSpecification +@@ -1726,7 +1726,9 @@ class Gem::Specification < Gem::BasicSpecification raise(Gem::InvalidSpecificationException, "invalid date format in specification: #{date.inspect}") end
meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch +1 -1
@@ -1,4 +1,4 @@ -From 40236d16b640b0c522a550b628cbfb6ee0cdc972 Mon Sep 17 00:00:00 2001 +From c8d3ce447197ce9fdb23b1f37b3b0cc161aa2791 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro <[email protected]> Date: Fri, 1 Nov 2019 15:25:17 -0300 Subject: [PATCH] Make gemspecs reproducible
meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch +1 -1
@@ -1,4 +1,4 @@ -From ccb40b4715abfb6c53d431bf421ccfbcdbc4ff93 Mon Sep 17 00:00:00 2001 +From 7e2e3baece59ae73a15a7d28a6f3330eeb09851f Mon Sep 17 00:00:00 2001 From: Jiaying Song <[email protected]> Date: Mon, 7 Jul 2025 15:05:57 +0800 Subject: [PATCH] Skip test_rm_r_no_permissions test under root
meta/recipes-devtools/ruby/ruby_4.0.9.bb renamed from meta/recipes-devtools/ruby/ruby_4.0.5.bb +1 -1
@@ -48,7 +48,7 @@ do_configure:prepend() { DEPENDS:append:libc-musl = " libucontext" -SRC_URI[sha256sum] = "7d6149079a63f8ae1d326c9fa65c6019ba2dc3155eae7b39159817911c88958e" +SRC_URI[sha256sum] = "c35350682ff050b79702d57ade4516e7336063f510155d19fb2fb5b3f3909511" PACKAGECONFIG ??= "" PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
Signature · 1 line
2.35.6