gnu: ruby-minitar: Update to 0.5.4-1.e25205ec.

Fixes the security-related issue reported at
http://seclists.org/oss-sec/2017/q1/178.

* gnu/packages/ruby.scm (ruby-minitar): Update to 0.5.4-1.e25205ec.
[source]: Use GitHub URL.
This commit is contained in:
Ben Woodcroft 2017-01-26 08:11:17 +10:00
parent 70dfa4e07a
commit bfaf8efd74
No known key found for this signature in database
GPG Key ID: 2A6AD9F4AAC20DF6
1 changed files with 24 additions and 18 deletions

View File

@ -1859,25 +1859,31 @@ generation of complex SQL queries and is compatible with various RDBMSes.")
(license license:expat))) (license license:expat)))
(define-public ruby-minitar (define-public ruby-minitar
(package ;; We package from the GitHub source to fix the security issue reported at
(name "ruby-minitar") ;; https://github.com/halostatue/minitar/issues/16.
(version "0.5.4") (let ((commit "e25205ecbb6277ae8a3df1e6a306d7ed4458b6e4"))
(source (package
(origin (name "ruby-minitar")
(method url-fetch) (version (string-append "0.5.4-1." (string-take commit 8)))
(uri (rubygems-uri "minitar" version)) (source
(sha256 (origin
(base32 (method git-fetch)
"1vpdjfmdq1yc4i620frfp9af02ia435dnpj8ybsd7dc3rypkvbka")))) (uri (git-reference
(build-system ruby-build-system) (url "https://github.com/halostatue/minitar.git")
(arguments (commit commit)))
'(#:tests? #f)) ; missing a gemspec (file-name (string-append name "-" version "-checkout"))
(synopsis "Ruby library and utility for handling tar archives") (sha256
(description (base32
"Archive::Tar::Minitar is a pure-Ruby library and command-line utility "1iywfx07jgjqcmixzkxk9zdwfmij1fyg1z2jlwzj15cj7s99qlfv"))))
(build-system ruby-build-system)
(arguments
'(#:tests? #f)) ; missing a gemspec
(synopsis "Ruby library and utility for handling tar archives")
(description
"Archive::Tar::Minitar is a pure-Ruby library and command-line utility
that provides the ability to deal with POSIX tar archive files.") that provides the ability to deal with POSIX tar archive files.")
(home-page "http://www.github.com/atoulme/minitar") (home-page "http://www.github.com/atoulme/minitar")
(license (list license:gpl2+ license:ruby)))) (license (list license:gpl2+ license:ruby)))))
(define-public ruby-mini-portile (define-public ruby-mini-portile
(package (package