git: 892dc1e481db - 2024Q2 - lang/ruby31: Update to 3.1.5

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 23 Apr 2024 14:59:27 UTC
The branch 2024Q2 has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=892dc1e481dbf062046a5332c5d7a41717c7e3cd

commit 892dc1e481dbf062046a5332c5d7a41717c7e3cd
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-04-23 14:08:13 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-04-23 14:58:45 +0000

    lang/ruby31: Update to 3.1.5
    
    After the release of 3.1.3 Ruby 3.1 series has entered security
    maintainance phase that only security fixes are provided. And it is
    expected to reach its EoL on March 31, 2025. So mark DEPRECATED to
    encourage user to migrate to newer version, and set EXPIRATION_DATE to
    its expected EoL day.
    
    ReleaseNotes:   https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-1-5-released/
    MFH:            2024Q1
    Security:       2ce1a2f1-0177-11ef-a45e-08002784c58d
    (cherry picked from commit d228858e03f68ee87e95ba232a7399916c582019)
---
 Mk/Uses/ruby.mk       | 4 ++--
 lang/ruby31/Makefile  | 3 +++
 lang/ruby31/distinfo  | 6 +++---
 lang/ruby31/pkg-plist | 1 +
 4 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/Mk/Uses/ruby.mk b/Mk/Uses/ruby.mk
index 1ebe6ad91524..db778caf380f 100644
--- a/Mk/Uses/ruby.mk
+++ b/Mk/Uses/ruby.mk
@@ -148,8 +148,8 @@ RUBY?=			${LOCALBASE}/bin/ruby${RUBY_SUFFIX}
 #
 # Ruby 3.1
 #
-RUBY_DISTVERSION=	3.1.4
-RUBY_PORTREVISION=	1
+RUBY_DISTVERSION=	3.1.5
+RUBY_PORTREVISION=	0
 
 .      elif ${RUBY_VER} == 3.2
 #
diff --git a/lang/ruby31/Makefile b/lang/ruby31/Makefile
index 750ad893b761..4a0444b6679a 100644
--- a/lang/ruby31/Makefile
+++ b/lang/ruby31/Makefile
@@ -15,6 +15,9 @@ LICENSE_COMB=	dual
 LICENSE_FILE_BSD2CLAUSE=	${WRKSRC}/BSDL
 LICENSE_FILE_RUBY=	${WRKSRC}/COPYING
 
+DEPRECATED=	Please migrate to newer version. Ruby 3.1 is expected to reach its EoL on March 31, 2025
+EXPIRATION_DATE=	2025-03-31
+
 # Using LIB_DEPENDS finds the libffi from gcc which causes problems
 BUILD_DEPENDS=	libffi>=0:devel/libffi
 LIB_DEPENDS=	libyaml.so:textproc/libyaml
diff --git a/lang/ruby31/distinfo b/lang/ruby31/distinfo
index 41be02864cf8..68b9b2d7da57 100644
--- a/lang/ruby31/distinfo
+++ b/lang/ruby31/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680203228
-SHA256 (ruby/ruby-3.1.4.tar.xz) = 1b6d6010e76036c937b9671f4752f065aeca800a6c664f71f6c9a699453af94f
-SIZE (ruby/ruby-3.1.4.tar.xz) = 15316604
+TIMESTAMP = 1713880378
+SHA256 (ruby/ruby-3.1.5.tar.xz) = f9375a45bdf1cc41298558e7ac6c367f7b6cdcccf7196618b21f0886ff583b91
+SIZE (ruby/ruby-3.1.5.tar.xz) = 15293020
diff --git a/lang/ruby31/pkg-plist b/lang/ruby31/pkg-plist
index e8ffd04fa6c4..a299de989432 100644
--- a/lang/ruby31/pkg-plist
+++ b/lang/ruby31/pkg-plist
@@ -9843,6 +9843,7 @@ libdata/pkgconfig/ruby-%%RUBY_VER%%.pc
 %%RDOC%%%%RUBY_RIDIR%%/RDoc/Store/main%3d-i.ri
 %%RDOC%%%%RUBY_RIDIR%%/RDoc/Store/main-i.ri
 %%RDOC%%%%RUBY_RIDIR%%/RDoc/Store/make_variable_map-i.ri
+%%RDOC%%%%RUBY_RIDIR%%/RDoc/Store/marshal_load-i.ri
 %%RDOC%%%%RUBY_RIDIR%%/RDoc/Store/method_file-i.ri
 %%RDOC%%%%RUBY_RIDIR%%/RDoc/Store/module_names-i.ri
 %%RDOC%%%%RUBY_RIDIR%%/RDoc/Store/modules_hash-i.ri