mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: tar: Replace with 1.34 [fixes CVE-2021-20193].
* gnu/packages/base.scm (tar)[replacement]: New field. (tar-1.34): New variable.
This commit is contained in:
parent
893a31ec20
commit
33a80e1110
1 changed files with 16 additions and 0 deletions
|
@ -180,6 +180,7 @@ (define-public tar
|
|||
(package
|
||||
(name "tar")
|
||||
(version "1.32")
|
||||
(replacement tar-1.34)
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/tar/tar-"
|
||||
|
@ -234,6 +235,21 @@ (define-public tar
|
|||
(license gpl3+)
|
||||
(home-page "https://www.gnu.org/software/tar/")))
|
||||
|
||||
(define-public tar-1.34 ; fixes CVE-2021-20193
|
||||
(package
|
||||
(inherit tar)
|
||||
(version "1.34")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/tar/tar-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0a0x87anh9chbi2cgcyy7pmnm5hzk4yd1w2j8gm1wplwhwkbvgk3"))
|
||||
(patches
|
||||
(search-patches "tar-skip-unreliable-tests.patch"
|
||||
"tar-remove-wholesparse-check.patch"))))))
|
||||
|
||||
(define-public patch
|
||||
(package
|
||||
(name "patch")
|
||||
|
|
Loading…
Reference in a new issue