Update to ruby-3.2.2 (Security Update)

This commit is contained in:
Douglas R. Reno 2023-04-06 19:27:45 -05:00
parent 82a1523687
commit 25a9be8a1a
3 changed files with 28 additions and 16 deletions

View File

@ -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 "23617540ad13c57ed8dd9d4ed32192a5">
<!ENTITY ruby-md5sum "377853f31d10bfe37c58b8537fc3e05d">
<!ENTITY ruby-size "14 MB">
<!ENTITY ruby-buildsize "461 MB (add 1.3 GB for C API docs)">
<!ENTITY ruby-time "1.4 SBU (using parallelism=4; add 5.0 SBU for tests; add 0.8 SBU for C API docs)">
<!ENTITY ruby-buildsize "694 MB (add 1.0 GB for C API docs)">
<!ENTITY ruby-time "1.2 SBU (using parallelism=4; add 4.6 SBU for tests; add 0.6 SBU for C API docs)">
]>
<sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
@ -101,6 +101,7 @@
<screen><userinput>./configure --prefix=/usr \
--enable-shared \
--without-valgrind \
--without-baseruby \
--docdir=/usr/share/doc/ruby-&ruby-version; &amp;&amp;
make</userinput></screen>
@ -111,6 +112,18 @@ make</userinput></screen>
<screen><userinput>make capi</userinput></screen>
<para>
The tests require that the new version of Ruby is already installed to
run correctly. If you want to run the tests, execute them after installing
the package. <!-- Ticket #17887 -->
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>
To test the results, issue: <command>make check</command>. There are over
25,000 tests. Some tests related to ipv6 may indicate errors. If the
@ -118,6 +131,7 @@ make</userinput></screen>
/tmp) then several additional tests may fail. A few tests may fail due
to system configuration expectations.
</para>
<!-- With 3.0.2:
Finished tests in 443.541527s, 47.5739 tests/s, 6031.9921 assertions/s.
21101 tests, 2675439 assertions, 4 failures, 1 errors, 45 skips
@ -130,12 +144,6 @@ with 3.2.0 there are several summaries:
23392 tests, 5583318 assertions, 3 failures, 0 errors, 79 skips
-->
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<note>
<para>
If you have Ruby-On-Rails applications installed and did an
@ -163,6 +171,12 @@ bundle update rake</userinput></screen>
the <filename class="libraryfile">libruby</filename> shared library.
</para>
<para>
<parameter>--without-baseruby</parameter>: This switch prevents using the
system <command>ruby</command> if it is already installed. The build
system will use the newly built version instead.
</para>
<para>
<option>--disable-install-doc</option>: This switch disables building and
installing rdoc indexes and C API documents.
@ -178,12 +192,6 @@ bundle update rake</userinput></screen>
and installing C API documents.
</para>
<para>
<option>--without-baseruby</option>: This switch prevents using the
system <command>ruby</command> if it is already installed. The build
system will use the newly built version instead.
</para>
</sect2>
<sect2 role="content">

View File

@ -41,6 +41,10 @@
<listitem>
<para>April 6th, 2023</para>
<itemizedlist>
<listitem>
<para>[renodr] - Update to ruby-3.2.2 (Security Update). Fixes
<ulink url="&blfs-ticket-root;17887">#17887</ulink>.</para>
</listitem>
<listitem>
<para>[pierre] - Update to accountsservice-23.13.9. Fixes
<ulink url="&blfs-ticket-root;17789">#17789</ulink>.</para>

View File

@ -341,7 +341,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
<!ENTITY python3-site "/usr/lib/python&python3-majorver;/site-packages">
<!ENTITY ruby-minor-version "3.2">
<!ENTITY ruby-patch-version "1">
<!ENTITY ruby-patch-version "2">
<!ENTITY ruby-version "&ruby-minor-version;.&ruby-patch-version;">
<!ENTITY ruby-gemdir "/usr/lib/ruby/gems/&ruby-minor-version;.0">
<!ENTITY rust-version "1.68.2">