diff options
author | swills <swills@FreeBSD.org> | 2015-04-14 00:35:59 +0000 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2015-04-14 00:35:59 +0000 |
commit | c27609cdb1032cded53a94e17b57a7d43ef7a15c (patch) | |
tree | 9589b26040002526803da655e4ab1a1b42ea9548 | |
parent | 8b0f596786a36bff45bc11e812062b2c2fac96dd (diff) | |
download | FreeBSD-ports-c27609cdb1032cded53a94e17b57a7d43ef7a15c.zip FreeBSD-ports-c27609cdb1032cded53a94e17b57a7d43ef7a15c.tar.gz |
Update Ruby to latest versions to address CVE-2015-1855.
Security: https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/ (vuxml forthcoming)
-rw-r--r-- | Mk/bsd.ruby.mk | 12 | ||||
-rw-r--r-- | lang/ruby20/distinfo | 4 | ||||
-rw-r--r-- | lang/ruby21/distinfo | 4 | ||||
-rw-r--r-- | lang/ruby21/pkg-plist | 2 | ||||
-rw-r--r-- | lang/ruby22/distinfo | 4 | ||||
-rw-r--r-- | lang/ruby22/files/patch-tool_rbinstall.rb | 6 |
6 files changed, 17 insertions, 15 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 331202c..a4f3022 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -172,17 +172,17 @@ RUBY?= ${LOCALBASE}/bin/${RUBY_NAME} # Ruby 2.0 # RUBY_RELVERSION= 2.0.0 -RUBY_PORTREVISION= 1 +RUBY_PORTREVISION= 0 RUBY_PORTEPOCH= 1 -RUBY_PATCHLEVEL= 643 +RUBY_PATCHLEVEL= 645 RUBY20= "" # PLIST_SUB helpers . elif ${RUBY_VER} == 2.1 # # Ruby 2.1 # -RUBY_RELVERSION= 2.1.5 -RUBY_PORTREVISION= 4 +RUBY_RELVERSION= 2.1.6 +RUBY_PORTREVISION= 0 RUBY_PORTEPOCH= 1 RUBY_PATCHLEVEL= 0 RUBY21= "" # PLIST_SUB helpers @@ -191,8 +191,8 @@ RUBY21= "" # PLIST_SUB helpers # # Ruby 2.2 # -RUBY_RELVERSION= 2.2.1 -RUBY_PORTREVISION= 1 +RUBY_RELVERSION= 2.2.2 +RUBY_PORTREVISION= 0 RUBY_PORTEPOCH= 1 RUBY_PATCHLEVEL= 0 RUBY22= "" # PLIST_SUB helpers diff --git a/lang/ruby20/distinfo b/lang/ruby20/distinfo index 97bea0b..8b737c0 100644 --- a/lang/ruby20/distinfo +++ b/lang/ruby20/distinfo @@ -1,2 +1,2 @@ -SHA256 (ruby/ruby-2.0.0-p643.tar.bz2) = 1f626f20647693a215a8db3ea0d6ab5ab9cee7c1945cc441b9f8f7b9612b91a0 -SIZE (ruby/ruby-2.0.0-p643.tar.bz2) = 10772113 +SHA256 (ruby/ruby-2.0.0-p645.tar.bz2) = 2dcdcf9900cb923a16d3662d067bc8c801997ac3e4a774775e387e883b3683e9 +SIZE (ruby/ruby-2.0.0-p645.tar.bz2) = 10786492 diff --git a/lang/ruby21/distinfo b/lang/ruby21/distinfo index ee658c4..65fb014 100644 --- a/lang/ruby21/distinfo +++ b/lang/ruby21/distinfo @@ -1,2 +1,2 @@ -SHA256 (ruby/ruby-2.1.5.tar.xz) = 22ba1eb8d475c9ed7e0541418d86044c1ea4c093ab79c300c38fc0f721afe9a3 -SIZE (ruby/ruby-2.1.5.tar.xz) = 9371780 +SHA256 (ruby/ruby-2.1.6.tar.xz) = 137b27bffefd795fd97c288fff539d135f42320f8a1afddde99a34e1fbe7314e +SIZE (ruby/ruby-2.1.6.tar.xz) = 9381724 diff --git a/lang/ruby21/pkg-plist b/lang/ruby21/pkg-plist index 20d7ff1..9049ac2 100644 --- a/lang/ruby21/pkg-plist +++ b/lang/ruby21/pkg-plist @@ -759,6 +759,8 @@ lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%% %%RUBY_LIBDIR%%/rubygems/source_specific_file.rb %%RUBY_LIBDIR%%/rubygems/spec_fetcher.rb %%RUBY_LIBDIR%%/rubygems/specification.rb +%%RUBY_LIBDIR%%/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem +%%RUBY_LIBDIR%%/rubygems/ssl_certs/AddTrustExternalCARoot.pem %%RUBY_LIBDIR%%/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem %%RUBY_LIBDIR%%/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem %%RUBY_LIBDIR%%/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem diff --git a/lang/ruby22/distinfo b/lang/ruby22/distinfo index bf1d5af..c453929 100644 --- a/lang/ruby22/distinfo +++ b/lang/ruby22/distinfo @@ -1,2 +1,2 @@ -SHA256 (ruby/ruby-2.2.1.tar.xz) = 3b2852c07fdc12d0ba2b5698c7587ae2b46141539a526d143da5860b55a626c0 -SIZE (ruby/ruby-2.2.1.tar.xz) = 10320352 +SHA256 (ruby/ruby-2.2.2.tar.xz) = f033b5d08ab57083e48c1d81bcd7399967578c370b664da90e12a32891424462 +SIZE (ruby/ruby-2.2.2.tar.xz) = 10463044 diff --git a/lang/ruby22/files/patch-tool_rbinstall.rb b/lang/ruby22/files/patch-tool_rbinstall.rb index 7f9ea0d..e3ef7b8 100644 --- a/lang/ruby22/files/patch-tool_rbinstall.rb +++ b/lang/ruby22/files/patch-tool_rbinstall.rb @@ -1,5 +1,5 @@ ---- tool/rbinstall.rb.orig 2014-12-26 15:44:52.000000000 +0900 -+++ tool/rbinstall.rb 2015-03-06 07:28:12.508424655 +0900 +--- tool/rbinstall.rb.orig 2015-03-25 03:33:14.000000000 +0000 ++++ tool/rbinstall.rb 2015-04-13 18:16:00.160952000 +0000 @@ -311,6 +311,7 @@ libdir = CONFIG[CONFIG.fetch("libdirname", "libdir"), true] rubyhdrdir = CONFIG["rubyhdrdir", true] @@ -79,7 +79,7 @@ -install?(:ext, :comm, :gem) do - begin - require "zlib" -- rescue LoadErroe +- rescue LoadError - end - if defined?(Zlib) - require 'pathname' |