Sat Apr 16 09:41:21 2022 UTC ()
Pullup ticket #6618 - requested by taca
lang/ruby31-base: security update

Revisions pulled up:
- lang/ruby/rubyversion.mk                                      1.249
- lang/ruby31-base/distinfo                                     1.3

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Tue Apr 12 15:12:13 UTC 2022

   Modified Files:
   	pkgsrc/lang/ruby: rubyversion.mk
   	pkgsrc/lang/ruby31-base: distinfo

   Log Message:
   lang/ruby31-base: update to 3.1.2

   Ruby 3.1.2 has been released.

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

   * CVE-2022-28738: Double free in Regexp compilation
   * CVE-2022-28739: Buffer overrun in String-to-Float conversion

   See the commit logs for further details.

   To generate a diff of this commit:
   cvs rdiff -u -r1.248 -r1.249 pkgsrc/lang/ruby/rubyversion.mk
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/ruby31-base/distinfo


(spz)
diff -r1.244.2.4 -r1.244.2.5 pkgsrc/lang/ruby/rubyversion.mk
diff -r1.2 -r1.2.2.1 pkgsrc/lang/ruby31-base/distinfo

cvs diff -r1.244.2.4 -r1.244.2.5 pkgsrc/lang/ruby/rubyversion.mk (expand / switch to unified diff)

--- pkgsrc/lang/ruby/rubyversion.mk 2022/04/16 09:23:40 1.244.2.4
+++ pkgsrc/lang/ruby/rubyversion.mk 2022/04/16 09:41:21 1.244.2.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: rubyversion.mk,v 1.244.2.4 2022/04/16 09:23:40 spz Exp $ 1# $NetBSD: rubyversion.mk,v 1.244.2.5 2022/04/16 09:41:21 spz Exp $
2# 2#
3 3
4# This file determines which Ruby version is used as a dependency for 4# This file determines which Ruby version is used as a dependency for
5# a package. 5# a package.
6# 6#
7# 7#
8# === User-settable variables === 8# === User-settable variables ===
9# 9#
10# RUBY_VERSION_DEFAULT 10# RUBY_VERSION_DEFAULT
11# The preferered Ruby version to use. 11# The preferered Ruby version to use.
12# 12#
13# Possible values: 26 27 30 31 13# Possible values: 26 27 30 31
14# Default: 27 14# Default: 27
@@ -206,27 +206,27 @@ _RUBYVERSION_MK= # defined @@ -206,27 +206,27 @@ _RUBYVERSION_MK= # defined
206.include "../../mk/bsd.prefs.mk" 206.include "../../mk/bsd.prefs.mk"
207 207
208.if defined(PKGNAME_REQD) 208.if defined(PKGNAME_REQD)
209. if !empty(PKGNAME_REQD:Mruby[0-9][0-9]-*) 209. if !empty(PKGNAME_REQD:Mruby[0-9][0-9]-*)
210_RUBY_VERSION_REQD:= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} 210_RUBY_VERSION_REQD:= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/}
211RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} 211RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/}
212. endif 212. endif
213.endif 213.endif
214 214
215# current supported Ruby's version 215# current supported Ruby's version
216RUBY26_VERSION= 2.6.10 216RUBY26_VERSION= 2.6.10
217RUBY27_VERSION= 2.7.6 217RUBY27_VERSION= 2.7.6
218RUBY30_VERSION= 3.0.4 218RUBY30_VERSION= 3.0.4
219RUBY31_VERSION= 3.1.1 219RUBY31_VERSION= 3.1.2
220 220
221# current API compatible version; used for version of shared library 221# current API compatible version; used for version of shared library
222RUBY26_API_VERSION= 2.6.0 222RUBY26_API_VERSION= 2.6.0
223RUBY27_API_VERSION= 2.7.0 223RUBY27_API_VERSION= 2.7.0
224RUBY30_API_VERSION= 3.0.0 224RUBY30_API_VERSION= 3.0.0
225RUBY31_API_VERSION= 3.1.0 225RUBY31_API_VERSION= 3.1.0
226 226
227# 227#
228RUBY_VERSION_DEFAULT?= 27 228RUBY_VERSION_DEFAULT?= 27
229 229
230# supported Ruby's version 230# supported Ruby's version
231RUBY_VERSIONS_SUPPORTED= 26 27 30 31 231RUBY_VERSIONS_SUPPORTED= 26 27 30 31
232 232

cvs diff -r1.2 -r1.2.2.1 pkgsrc/lang/ruby31-base/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/ruby31-base/distinfo 2022/02/20 15:59:09 1.2
+++ pkgsrc/lang/ruby31-base/distinfo 2022/04/16 09:41:21 1.2.2.1
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1$NetBSD: distinfo,v 1.2 2022/02/20 15:59:09 taca Exp $ 1$NetBSD: distinfo,v 1.2.2.1 2022/04/16 09:41:21 spz Exp $
2 2
3BLAKE2s (ruby-3.1.1.tar.xz) = c2785175bbc542c3049a9ccbb8e394ab1548e92ecaa366479bca13eb937b7c5d 3BLAKE2s (ruby-3.1.2.tar.xz) = 5384cfebbd466de36f68f554be2c045363e6c074d90a94a4c035ecaadf3c878b
4SHA512 (ruby-3.1.1.tar.xz) = 8877fa9a458964a59a11529cd10b3d25b5f6238cd4678b6dcea0bd4b750499cf8ff39d8824053b4ab26c5cd0cfb604a57807ce61580175857fcf00b2cff3e55f 4SHA512 (ruby-3.1.2.tar.xz) = 4a74e9efc6ea4b3eff4fec7534eb1fff4794d021531defc2e9937e53c6668db8ecdc0fff2bc23d5e6602d0df344a2caa85b31c5414309541e3d5313ec82b6e21
5Size (ruby-3.1.1.tar.xz) = 15103808 bytes 5Size (ruby-3.1.2.tar.xz) = 15101588 bytes
6SHA1 (patch-common.mk) = c23eed58427b2fd4ba8fdb3692f609701a666c6d 6SHA1 (patch-common.mk) = c23eed58427b2fd4ba8fdb3692f609701a666c6d
7SHA1 (patch-configure) = c8a09d995d9d09c1142f22cf59f04fa61b528a2a 7SHA1 (patch-configure) = c8a09d995d9d09c1142f22cf59f04fa61b528a2a
8SHA1 (patch-ext_openssl_openssl__missing.h) = 3f8d79736fd14806dfaf76e333eec63ff3ff5890 8SHA1 (patch-ext_openssl_openssl__missing.h) = 3f8d79736fd14806dfaf76e333eec63ff3ff5890
9SHA1 (patch-lib_mkmf.rb) = 4a3cd18548dbdf43a13695d4e76f817c0347e335 9SHA1 (patch-lib_mkmf.rb) = 4a3cd18548dbdf43a13695d4e76f817c0347e335
10SHA1 (patch-lib_rdoc_encoding.rb) = 0e82d2942d9bfcb67dc7c994889d7bc5ec2ae85a 10SHA1 (patch-lib_rdoc_encoding.rb) = 0e82d2942d9bfcb67dc7c994889d7bc5ec2ae85a
11SHA1 (patch-lib_rdoc_ri_driver.rb) = f4d3e59e35b608acd4edc17916142c7f033e6198 11SHA1 (patch-lib_rdoc_ri_driver.rb) = f4d3e59e35b608acd4edc17916142c7f033e6198
12SHA1 (patch-lib_rubygems.rb) = 5208798483129d1391891ca4af46ed11e072737a 12SHA1 (patch-lib_rubygems.rb) = 5208798483129d1391891ca4af46ed11e072737a
13SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 181bb7554d760182588b0e1b0aafb84c317f41ad 13SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 181bb7554d760182588b0e1b0aafb84c317f41ad
14SHA1 (patch-lib_rubygems_dependency__installer.rb) = 1776508907f17547ffe93f637d6f18d335061d76 14SHA1 (patch-lib_rubygems_dependency__installer.rb) = 1776508907f17547ffe93f637d6f18d335061d76
15SHA1 (patch-lib_rubygems_install__update__options.rb) = 1e953b5a517a805fd7184e359fbc06e67a5ff9b3 15SHA1 (patch-lib_rubygems_install__update__options.rb) = 1e953b5a517a805fd7184e359fbc06e67a5ff9b3
16SHA1 (patch-lib_rubygems_installer.rb) = 03fcd57d4e7ea03cf2ffc3d219fd489e30361014 16SHA1 (patch-lib_rubygems_installer.rb) = 03fcd57d4e7ea03cf2ffc3d219fd489e30361014
17SHA1 (patch-lib_rubygems_platform.rb) = 7ef0d86c2d84b942db726d293a319d7ea54e56c8 17SHA1 (patch-lib_rubygems_platform.rb) = 7ef0d86c2d84b942db726d293a319d7ea54e56c8
18SHA1 (patch-test_rubygems_test__gem.rb) = e624da5b9c49f9409160a7b0fdd2efad17986cab 18SHA1 (patch-test_rubygems_test__gem.rb) = e624da5b9c49f9409160a7b0fdd2efad17986cab