mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: expat: Replace with 2.2.9 [fixes CVE-2019-15903].
* gnu/packages/xml.scm (expat-2.2.9): New variable. (expat)[replacement]: New field.
This commit is contained in:
parent
24496210ea
commit
e436379c94
1 changed files with 19 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
||||
;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
|
||||
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
|
||||
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
||||
|
@ -67,6 +67,7 @@ (define-public expat
|
|||
(package
|
||||
(name "expat")
|
||||
(version "2.2.7")
|
||||
(replacement expat-2.2.9)
|
||||
(source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -88,6 +89,23 @@ (define-public expat
|
|||
things the parser might find in the XML document (like start tags).")
|
||||
(license license:expat)))
|
||||
|
||||
(define expat-2.2.9
|
||||
(package
|
||||
(inherit expat)
|
||||
(version "2.2.9")
|
||||
(source (let ((dot->underscore (lambda (c) (if (char=? #\. c) #\_ c))))
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (list (string-append "mirror://sourceforge/expat/expat/"
|
||||
version "/expat-" version ".tar.xz")
|
||||
(string-append
|
||||
"https://github.com/libexpat/libexpat/releases/download/R_"
|
||||
(string-map dot->underscore version)
|
||||
"/expat-" version ".tar.xz")))
|
||||
(sha256
|
||||
(base32
|
||||
"1960mmgbb4cm64n1p0nz3hrs1pw03hkrfcw8prmnn4622mdrd9hy")))))))
|
||||
|
||||
(define-public libebml
|
||||
(package
|
||||
(name "libebml")
|
||||
|
|
Loading…
Reference in a new issue