Commit 99f2b8d6 authored by Casey Strouse's avatar Casey Strouse

Update ruby from 2.4.0 to 2.4.2

This is a security release addressing the following CVEs and several issues in
RubyGems.  CVE-2017-0898, CVE-2017-10784, CVE-2017-14033, CVE-2017-14064

Tested as working on XE500C13-K01US.
parent a7f97731
......@@ -3,21 +3,13 @@ require 'package'
class Ruby_latest < Package
description 'Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.'
homepage 'https://www.ruby-lang.org/en/'
version '2.4.0'
source_url 'http://cache.ruby-lang.org/pub/ruby/ruby-2.4.0.tar.xz'
source_sha256 '3a87fef45cba48b9322236be60c455c13fd4220184ce7287600361319bb63690'
version '2.4.2'
source_url 'http://cache.ruby-lang.org/pub/ruby/ruby-2.4.2.tar.xz'
source_sha256 '748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ruby_latest-2.4.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ruby_latest-2.4.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ruby_latest-2.4.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ruby_latest-2.4.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '021baa20aa4a2813bd7c3ce97326f0264b545f9e82efe6a6664b248fd39ba30a',
armv7l: '021baa20aa4a2813bd7c3ce97326f0264b545f9e82efe6a6664b248fd39ba30a',
i686: 'af4d41ef2cbcb83f407220da918ef8c8c4f67aa98bc95d4e7dbeefe6064a9e6b',
x86_64: 'b4650e927bc857af2e9eaf582f739954c95f8a6c1711ea41303330e9ca22bf12',
})
depends_on 'readline'
......@@ -25,7 +17,7 @@ class Ruby_latest < Package
depends_on 'openssl'
def self.build
system "CC='gcc' ./configure"
system "CC='gcc' ./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment