]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
ruby: upgrade 3.3.0 -> 3.3.4
authorRoss Burton <ross.burton@arm.com>
Fri, 19 Jul 2024 13:25:20 +0000 (14:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Jul 2024 10:05:11 +0000 (11:05 +0100)
3.3.4:

This release fixes a regression in Ruby 3.3.3 that dependencies are missing in
the gemspec of some bundled gems: net-pop, net-ftp, net-imap, and prime [Bug
like Heroku. If your bundle install runs correctly now, you may not have this
issue.

3.3.3:

This release includes:

RubyGems 3.5.11
Bundler 2.5.11
REXML 3.2.8
strscan 3.0.9
--dump=prism_parsetree is replaced by --parser=prism --dump=parsetree
Invalid encoding symbols raise SyntaxError instead of EncodingError
Memory leak fix in Ripper parsing
Bugfixes for YJIT, **{}, Ripper.tokenize, RubyVM::InstructionSequence#to_binary,
--with-gmp, and some build environments

3.3.2:

This release includes many bug-fixes. See the GitHub releases for further details.

3.3.1:

This release includes security fixes. Please check the topics below for details.

CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search
CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc
CVE-2024-27280: Buffer overread vulnerability in StringIO

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
meta/recipes-devtools/ruby/ruby_3.3.4.bb [moved from meta/recipes-devtools/ruby/ruby_3.3.0.bb with 98% similarity]

index 7402e7633316057ebb7ce780c9853f571ee15440..bd8f736247e5832e58412308d7bcd15e4e1a6b53 100644 (file)
@@ -1,4 +1,4 @@
-From caa03f46a3204a7e0f0e5d9d9cc9113304dc0382 Mon Sep 17 00:00:00 2001
+From b74950d4f06bbfb91b2e68044147a226c15f4639 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
 Date: Mon, 30 Sep 2019 16:57:01 +0100
 Subject: [PATCH] extmk: fix cross-compilation of external gems
@@ -16,10 +16,10 @@ Signed-off-by: AndrĂ© Draszik <andre.draszik@jci.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/ext/extmk.rb b/ext/extmk.rb
-index 428ffc9..87eff71 100755
+index d9c2417..da14c49 100755
 --- a/ext/extmk.rb
 +++ b/ext/extmk.rb
-@@ -420,8 +420,8 @@ else
+@@ -428,8 +428,8 @@ else
  end
  $ruby = [$ruby]
  $ruby << "-I'$(topdir)'"
index 67054d655331ef01979604ebdfabdaa726dcd0d0..bc1744da82d65fff0a3db02de8846be47554b6a2 100644 (file)
@@ -1,4 +1,4 @@
-From 980dcc5380db6f03451357140ae1487117300156 Mon Sep 17 00:00:00 2001
+From f4edf72c76bc06fa92c61f6cb9163cc777912a1f Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Tue, 25 Jan 2022 20:29:14 -0800
 Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv
index f3a65e785d6aaf1268e10c1c99b9158d99f0a18a..6f95685917b42d50bc8257c1ad6dbbf95f49f6a6 100644 (file)
@@ -1,4 +1,4 @@
-From 7f7facb85bd65adec24230fe8ca7f6a9863a1fd0 Mon Sep 17 00:00:00 2001
+From e6267676addd27f3c02667116185211d711ef940 Mon Sep 17 00:00:00 2001
 From: Christopher Larson <chris_larson@mentor.com>
 Date: Thu, 5 May 2016 10:59:07 -0700
 Subject: [PATCH] Obey LDFLAGS for the link of libruby
index e2d5b57c25cfdddb7e061f42aa2ec5f17edde664..abbbd35702d6d2d39e807e4d166543ff52f0852b 100644 (file)
@@ -1,4 +1,4 @@
-From 5079e678ce2a81416088c04f9123cd8207d5def2 Mon Sep 17 00:00:00 2001
+From 09a6df0d32e2177406ed391e536c0c7c4b503c5d Mon Sep 17 00:00:00 2001
 From: Christian Hofstaedtler <zeha@debian.org>
 Date: Tue, 10 Oct 2017 15:04:34 -0300
 Subject: [PATCH] rdoc: build reproducible documentation
index b14a731cfb6aebde908d5c6de1f1cb62b9b1dcfb..f08aaf555f314ad7e06b2dc81920e8ae21b1e1a0 100644 (file)
@@ -1,4 +1,4 @@
-From 99734381652602f76075017576a819c427ebb5f2 Mon Sep 17 00:00:00 2001
+From f491fff7d006954c1c51eb7a513a85bdbab0fe5a Mon Sep 17 00:00:00 2001
 From: Reiner Herrmann <reiner@reiner-h.de>
 Date: Tue, 10 Oct 2017 15:06:13 -0300
 Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile
index 24268625a282ea1fbafb6081eafe154ad6dd2eee..5570cdfcaaf1f7d415715b94e2d1ee3ced6d5d27 100644 (file)
@@ -1,4 +1,4 @@
-From 3bc324379aa3e322bad9353da8c0064cd671cc74 Mon Sep 17 00:00:00 2001
+From 91304f26dd4153ecae752ea875eec9ce2d5d3963 Mon Sep 17 00:00:00 2001
 From: Lucas Kanashiro <kanashiro@debian.org>
 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 a0c7faa..f0722d9 100644
+index 05ce483..5f2dbd1 100644
 --- a/lib/rubygems/specification.rb
 +++ b/lib/rubygems/specification.rb
-@@ -1774,7 +1774,9 @@ class Gem::Specification < Gem::BasicSpecification
+@@ -1698,7 +1698,9 @@ class Gem::Specification < Gem::BasicSpecification
                  raise(Gem::InvalidSpecificationException,
                        "invalid date format in specification: #{date.inspect}")
                end
@@ -26,6 +26,3 @@ index a0c7faa..f0722d9 100644
                Time.utc(date.year, date.month, date.day)
              else
                TODAY
--- 
-2.39.2
-
index 21604dfc349bc18593ab3c634b801f566f08d76d..8a1daba7bdbf5f71847beb9dec906a3ad8f6a0b5 100644 (file)
@@ -1,4 +1,4 @@
-From 1dc7ef09c3c567c4adb09ccfd97e0e59c58edb9f Mon Sep 17 00:00:00 2001
+From 42f8019e62f392f5bc09c25e90cc63123eb764fe Mon Sep 17 00:00:00 2001
 From: Lucas Kanashiro <kanashiro@debian.org>
 Date: Fri, 1 Nov 2019 15:25:17 -0300
 Subject: [PATCH] Make gemspecs reproducible
similarity index 98%
rename from meta/recipes-devtools/ruby/ruby_3.3.0.bb
rename to meta/recipes-devtools/ruby/ruby_3.3.4.bb
index 657fc31b4dfa8e387e59ff86e9b6a11f0b4a26e1..ebff4136c9cd78d41c1e9cbb09c811b30c539e83 100644 (file)
@@ -47,7 +47,7 @@ do_configure:prepend() {
 
 DEPENDS:append:libc-musl = " libucontext"
 
-SRC_URI[sha256sum] = "96518814d9832bece92a85415a819d4893b307db5921ae1f0f751a9a89a56b7d"
+SRC_URI[sha256sum] = "fe6a30f97d54e029768f2ddf4923699c416cdbc3a6e96db3e2d5716c7db96a34"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"