[blfs] branch trunk updated: Update to ruby-4.0.5 (Security update).

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <177949499121.27661.1298567698628202554@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new b2119fac7b Update to ruby-4.0.5 (Security update).
b2119fac7b is described below

commit b2119fac7b9685dfbcb761143fe0a840783fe249
Author: Bruce Dubbs <[email protected]>
AuthorDate: Fri May 22 19:09:39 2026 -0500

    Update to ruby-4.0.5 (Security update).
---
 general/prog/ruby.xml              | 24 ++++++++++++++++++++----
 introduction/welcome/changelog.xml |  4 ++++
 packages.ent                       |  2 +-
 3 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/general/prog/ruby.xml b/general/prog/ruby.xml
index bef23bfcce..0053a1a2fd 100644
--- a/general/prog/ruby.xml
+++ b/general/prog/ruby.xml
@@ -6,10 +6,10 @@
 
   <!ENTITY ruby-download-http "https://cache.ruby-lang.org/pub/ruby/&ruby-minor-version;/ruby-&ruby-version;.tar.xz">
   <!ENTITY ruby-download-ftp  " ">
-  <!ENTITY ruby-md5sum        "e182f8c1c1a5c2804b2783439a5ee1cc">
-  <!ENTITY ruby-size          "18 MB">
-  <!ENTITY ruby-buildsize     "2.8 GB (with C API docs and tests)">
-  <!ENTITY ruby-time          "1.5 SBU (with C API docs; using parallelism=4; add 0.4 SBU for tests)">
+  <!ENTITY ruby-md5sum        "89be441b4ece4bda98b1d8deca3c63d6">
+  <!ENTITY ruby-size          "17 MB">
+  <!ENTITY ruby-buildsize     "1.8 GB (with C API docs and tests)">
+  <!ENTITY ruby-time          "1.7 SBU (with C API docs; using parallelism=4; add 0.5 SBU for tests)">
 ]>
 
 <sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
@@ -67,6 +67,16 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Required patch:
+          <ulink url="&patch-root;/ruby/ruby-4.0.5-openssl4_fixes-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Ruby Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -100,6 +110,12 @@
       </para>
     </note>
 
+    <para>
+      First, apply a patch for compatibility with openssl4:
+    </para>
+
+<screen><userinput>patch -Np1 -i ../ruby-4.0.5-openssl4_fixes-1.patch</userinput></screen>
+
     <para>
       Install <application>Ruby</application> by running the following
       command:
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index a125f0697b..5cea26273e 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -42,6 +42,10 @@
     <listitem>
       <para>May 22nd, 2026</para>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to ruby-4.0.5 (Security update). Fixes
+          <ulink url="&blfs-ticket-root;23284">#23284</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[jlocash] - Add a patch fontconfig-2.18.0. Addresses
           <ulink url="&blfs-ticket-root;23338">#23338</ulink>.</para>
diff --git a/packages.ent b/packages.ent
index c8933d98b4..dc16b0f0d3 100644
--- a/packages.ent
+++ b/packages.ent
@@ -406,7 +406,7 @@
 <!ENTITY python311-version                  "3.11.1">
 
 <!ENTITY ruby-minor-version           "4.0">
-<!ENTITY ruby-patch-version           "3">
+<!ENTITY ruby-patch-version           "5">
 <!ENTITY ruby-version                 "&ruby-minor-version;.&ruby-patch-version;">
 <!ENTITY ruby-gemdir                  "/usr/lib/ruby/gems/&ruby-minor-version;.0">
 <!ENTITY rust-version                 "1.95.0">

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.