Thu Mar 29 03:09:35 2018 UTC ()
lang/ruby23-base: update to 2.3.7, security release

Ruby 2.3.7 Released				Posted by usa on 28 Mar 2018

Ruby 2.3.7 has been released.

This release includes about 70 bug fixes after the previous release, and also
includes several security fixes.  Please check the topics below for details.

* CVE-2017-17742: HTTP response splitting in WEBrick
* CVE-2018-8777: DoS by large request in WEBrick
* CVE-2018-6914: Unintentional file and directory creation with directory
  traversal in tempfile and tmpdir
* CVE-2018-8778: Buffer under-read in String#unpack
* CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in
  UNIXServer and UNIXSocket
* CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir
* Multiple vulnerabilities in RubyGems

See the ChangeLog for details.

After this release, we will end the normal maintenance phase of Ruby 2.3, and
start the security maintenance phase of it.  This means that after the release
of 2.3.7 we will never backport any bug fixes to 2.3 except security fixes.
The term of the security maintenance phase is scheduled for 1 year.  By the
end of this term, official support of Ruby 2.3 will be over.  Therefore, we
recommend that you start planning to upgrade to Ruby 2.5 or 2.4.


(taca)
diff -r1.193 -r1.194 pkgsrc/lang/ruby/rubyversion.mk
diff -r1.15 -r1.16 pkgsrc/lang/ruby23-base/Makefile
diff -r1.15 -r1.16 pkgsrc/lang/ruby23-base/distinfo
diff -r1.1 -r0 pkgsrc/lang/ruby23-base/patches/patch-man_erb.1
diff -r1.1 -r0 pkgsrc/lang/ruby23-base/patches/patch-man_irb.1
diff -r1.1 -r0 pkgsrc/lang/ruby23-base/patches/patch-man_ri.1
diff -r1.1 -r0 pkgsrc/lang/ruby23-base/patches/patch-man_ruby.1

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

--- pkgsrc/lang/ruby/rubyversion.mk 2018/03/29 03:06:57 1.193
+++ pkgsrc/lang/ruby/rubyversion.mk 2018/03/29 03:09:35 1.194
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: rubyversion.mk,v 1.193 2018/03/29 03:06:57 taca Exp $ 1# $NetBSD: rubyversion.mk,v 1.194 2018/03/29 03:09:35 taca 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: 22 23 24 25 13# Possible values: 22 23 24 25
14# Default: 24 14# Default: 24
@@ -205,27 +205,27 @@ @@ -205,27 +205,27 @@
205_RUBYVERSION_MK= # defined 205_RUBYVERSION_MK= # defined
206 206
207.include "../../mk/bsd.prefs.mk" 207.include "../../mk/bsd.prefs.mk"
208 208
209.if defined(PKGNAME_REQD) 209.if defined(PKGNAME_REQD)
210. if !empty(PKGNAME_REQD:Mruby[0-9][0-9]-*) 210. if !empty(PKGNAME_REQD:Mruby[0-9][0-9]-*)
211_RUBY_VERSION_REQD:= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} 211_RUBY_VERSION_REQD:= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/}
212RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} 212RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/}
213. endif 213. endif
214.endif 214.endif
215 215
216# current supported Ruby's version 216# current supported Ruby's version
217RUBY22_VERSION= 2.2.9 217RUBY22_VERSION= 2.2.9
218RUBY23_VERSION= 2.3.6 218RUBY23_VERSION= 2.3.7
219RUBY24_VERSION= 2.4.4 219RUBY24_VERSION= 2.4.4
220RUBY25_VERSION= 2.5.1 220RUBY25_VERSION= 2.5.1
221 221
222# current API compatible version; used for version of shared library 222# current API compatible version; used for version of shared library
223RUBY22_API_VERSION= 2.2.0 223RUBY22_API_VERSION= 2.2.0
224RUBY23_API_VERSION= 2.3.0 224RUBY23_API_VERSION= 2.3.0
225RUBY24_API_VERSION= 2.4.0 225RUBY24_API_VERSION= 2.4.0
226RUBY25_API_VERSION= 2.5.0 226RUBY25_API_VERSION= 2.5.0
227 227
228# 228#
229RUBY_VERSION_DEFAULT?= 24 229RUBY_VERSION_DEFAULT?= 24
230 230
231# supported Ruby's version 231# supported Ruby's version

cvs diff -r1.15 -r1.16 pkgsrc/lang/ruby23-base/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/ruby23-base/Attic/Makefile 2018/02/23 15:26:14 1.15
+++ pkgsrc/lang/ruby23-base/Attic/Makefile 2018/03/29 03:09:35 1.16
@@ -1,25 +1,20 @@ @@ -1,25 +1,20 @@
1# $NetBSD: Makefile,v 1.15 2018/02/23 15:26:14 wiz Exp $ 1# $NetBSD: Makefile,v 1.16 2018/03/29 03:09:35 taca Exp $
2 2
3DISTNAME= ${RUBY_DISTNAME} 3DISTNAME= ${RUBY_DISTNAME}
4PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION} 4PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION}
5PKGREVISION= 2 
6CATEGORIES= lang ruby 5CATEGORIES= lang ruby
7MASTER_SITES= ${MASTER_SITE_RUBY} 6MASTER_SITES= ${MASTER_SITE_RUBY}
8 7
9PATCH_SITES= https://bugs.ruby-lang.org/attachments/download/7029/ 
10PATCHFILES= rubygems-276-for-ruby23.patch 
11PATCH_DIST_STRIP= -p0 
12 
13MAINTAINER= taca@NetBSD.org 8MAINTAINER= taca@NetBSD.org
14HOMEPAGE= ${RUBY_HOMEPAGE} 9HOMEPAGE= ${RUBY_HOMEPAGE}
15COMMENT= Ruby ${RUBY_VERSION} release minimum base package 10COMMENT= Ruby ${RUBY_VERSION} release minimum base package
16 11
17RUBY_VERSIONS_ACCEPTED= 23 12RUBY_VERSIONS_ACCEPTED= 23
18 13
19USE_LANGUAGES= c 14USE_LANGUAGES= c
20USE_TOOLS+= pax yacc pkg-config 15USE_TOOLS+= pax yacc pkg-config
21GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
22TEST_TARGET= test 17TEST_TARGET= test
23CONFIGURE_ARGS+= --enable-shared 18CONFIGURE_ARGS+= --enable-shared
24WRKSRC= ${RUBY_WRKSRC} 19WRKSRC= ${RUBY_WRKSRC}
25 20

cvs diff -r1.15 -r1.16 pkgsrc/lang/ruby23-base/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/ruby23-base/Attic/distinfo 2018/02/19 16:46:26 1.15
+++ pkgsrc/lang/ruby23-base/Attic/distinfo 2018/03/29 03:09:35 1.16
@@ -1,30 +1,22 @@ @@ -1,30 +1,22 @@
1$NetBSD: distinfo,v 1.15 2018/02/19 16:46:26 taca Exp $ 1$NetBSD: distinfo,v 1.16 2018/03/29 03:09:35 taca Exp $
2 2
3SHA1 (ruby-2.3.6.tar.bz2) = 07c3b66d544dd22c22fbae3f16cfb3eeb88b7b1e 3SHA1 (ruby-2.3.7.tar.bz2) = 3bb88965405da5e4de2432eeb445fffa8a66fb33
4RMD160 (ruby-2.3.6.tar.bz2) = 664e027a6f172212ac8ebff3aa9b99df4e99906b 4RMD160 (ruby-2.3.7.tar.bz2) = cb8f83f773a0d1cfc8595148ac61aff253f6b67d
5SHA512 (ruby-2.3.6.tar.bz2) = bc3c7a115745a38e44bd91eb5637b1e412011c471d9749db7960185ef75737b944dd0e524f22432809649952ca7d93f46d458990e9cd2b0db5ca8abf4bc8ea99 5SHA512 (ruby-2.3.7.tar.bz2) = e72754f7703f0706c4b0bccd053035536053451fe069a55427984cc0bc5692b86bd51c243c5f62f78527c66b08300d2e4aa19b73e6ded13d6020aa2450e66a7d
6Size (ruby-2.3.6.tar.bz2) = 14429114 bytes 6Size (ruby-2.3.7.tar.bz2) = 14421177 bytes
7SHA1 (rubygems-276-for-ruby23.patch) = 859334e0313e522826b28c4878611f34c46b7526 
8RMD160 (rubygems-276-for-ruby23.patch) = c4d7718b7e4845811bf54917ca185ac49c75d6b3 
9SHA512 (rubygems-276-for-ruby23.patch) = b2b363bec953aa4cfd17bd501753a621b829d5052780f33c6d74d813f128f703a4dd59db53ac59860aed6f741fd1a77b1ef173523f0f8b49b91282e5c8181961 
10Size (rubygems-276-for-ruby23.patch) = 19953 bytes 
11SHA1 (patch-configure) = 3737bf52082288b02e7382d71a322f4822c5abe4 7SHA1 (patch-configure) = 3737bf52082288b02e7382d71a322f4822c5abe4
12SHA1 (patch-ext_dbm_extconf.rb) = c998f8735db54b1ae2bc8b6caa359ce88bc7a45b 8SHA1 (patch-ext_dbm_extconf.rb) = c998f8735db54b1ae2bc8b6caa359ce88bc7a45b
13SHA1 (patch-ext_openssl_ossl__ssl.c) = 24e794aae278da6204e29212d9e2add0b0119ea4 9SHA1 (patch-ext_openssl_ossl__ssl.c) = 24e794aae278da6204e29212d9e2add0b0119ea4
14SHA1 (patch-lib_mkmf.rb) = d01302bac014ec1d72bbf19df64bc2c93c07ec5e 10SHA1 (patch-lib_mkmf.rb) = d01302bac014ec1d72bbf19df64bc2c93c07ec5e
15SHA1 (patch-lib_rdoc_ri_driver.rb) = bdbe04aa1dd1719d901233b16bcb318172a42b6c 11SHA1 (patch-lib_rdoc_ri_driver.rb) = bdbe04aa1dd1719d901233b16bcb318172a42b6c
16SHA1 (patch-lib_rubygems.rb) = d8968f54bdc973379675a3ebb5ca68325cff6644 12SHA1 (patch-lib_rubygems.rb) = d8968f54bdc973379675a3ebb5ca68325cff6644
17SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 7f5af0331a7e16f6c3ed472cf33ddaf762c5c4b2 13SHA1 (patch-lib_rubygems_commands_setup__command.rb) = 7f5af0331a7e16f6c3ed472cf33ddaf762c5c4b2
18SHA1 (patch-lib_rubygems_config__file.rb) = 6c45b2adaa35284d32e5c3035d8435897bd22bda 14SHA1 (patch-lib_rubygems_config__file.rb) = 6c45b2adaa35284d32e5c3035d8435897bd22bda
19SHA1 (patch-lib_rubygems_defaults.rb) = 3a4bfa91441a7416d079e51719d7df646d1aa940 15SHA1 (patch-lib_rubygems_defaults.rb) = 3a4bfa91441a7416d079e51719d7df646d1aa940
20SHA1 (patch-lib_rubygems_dependency__installer.rb) = 91741a1836d3635d3b89dd7d775c3ae549f6363c 16SHA1 (patch-lib_rubygems_dependency__installer.rb) = 91741a1836d3635d3b89dd7d775c3ae549f6363c
21SHA1 (patch-lib_rubygems_install__update__options.rb) = 167cfeeb47842d20eaadd15ed89ea886cbfd33db 17SHA1 (patch-lib_rubygems_install__update__options.rb) = 167cfeeb47842d20eaadd15ed89ea886cbfd33db
22SHA1 (patch-lib_rubygems_installer.rb) = 37218b0ebf874095dce8b92bc30b5beb720e13a2 18SHA1 (patch-lib_rubygems_installer.rb) = 37218b0ebf874095dce8b92bc30b5beb720e13a2
23SHA1 (patch-lib_rubygems_platform.rb) = 244a6698636012235882ae606ae3a3b4dffd3faf 19SHA1 (patch-lib_rubygems_platform.rb) = 244a6698636012235882ae606ae3a3b4dffd3faf
24SHA1 (patch-lib_rubygems_specification.rb) = 46f517d6128d1366c0a302a7d04d2caec7ec948f 20SHA1 (patch-lib_rubygems_specification.rb) = 46f517d6128d1366c0a302a7d04d2caec7ec948f
25SHA1 (patch-man_erb.1) = a03758f5ae399463b140fbac92c39e6ccc9d18bd 
26SHA1 (patch-man_irb.1) = bf3cd43511ddc51a41dced16f2be1c9f8018d226 
27SHA1 (patch-man_ri.1) = d8917e7a08bbc3eb41349570cc658d40c1b3463f 
28SHA1 (patch-man_ruby.1) = c6d1de29fe470024b926226615d97d485dececd9 
29SHA1 (patch-test_rubygems_test__gem.rb) = 47cc7af18fc5f30d6d695e70851cfaf3205a9266 21SHA1 (patch-test_rubygems_test__gem.rb) = 47cc7af18fc5f30d6d695e70851cfaf3205a9266
30SHA1 (patch-tool_rbinstall.rb) = 159b657293029cb5bc096d7c23ae85fe05c88ba2 22SHA1 (patch-tool_rbinstall.rb) = 159b657293029cb5bc096d7c23ae85fe05c88ba2

File Deleted: pkgsrc/lang/ruby23-base/patches/Attic/patch-man_erb.1

File Deleted: pkgsrc/lang/ruby23-base/patches/Attic/patch-man_irb.1

File Deleted: pkgsrc/lang/ruby23-base/patches/Attic/patch-man_ri.1

File Deleted: pkgsrc/lang/ruby23-base/patches/Attic/patch-man_ruby.1