gnu: ruby-2.2.7: Fix CVE-2017-{0899,0900,0901,0902}.

* gnu/packages/patches/ruby-2.2.7-rubygems-2613-ruby22.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ruby.scm (ruby-2.2.7)[source]: Use it.
This commit is contained in:
Ben Woodcroft 2017-08-31 10:26:21 +08:00
parent db542518b3
commit c959e5a1dc
No known key found for this signature in database
GPG key ID: 2A6AD9F4AAC20DF6
3 changed files with 357 additions and 0 deletions

View file

@ -155,6 +155,7 @@ a focus on simplicity and productivity.")
(uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
(version-major+minor version)
"/ruby-" version ".tar.xz"))
(patches (search-patches "ruby-2.2.7-rubygems-2613-ruby22.patch"))
(sha256
(base32
"0lyb7gnbbhs3a3v9grsjgbaixm20wxz6x3h0czyrxnj3cpp8lk13"))))))