gnu: expat: Update to 2.2.2.

* gnu/packages/xml.scm (expat): Update to 2.2.2.
[replacement]: Remove field.
(expat-2.2.2): Remove variable.
This commit is contained in:
Efraim Flashner 2017-10-01 22:13:50 +03:00
parent 3651c4714e
commit b33c255d4d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 15 deletions

View File

@ -56,15 +56,14 @@
(define-public expat (define-public expat
(package (package
(name "expat") (name "expat")
(version "2.2.1") (version "2.2.2")
(replacement expat-2.2.2)
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/expat/expat/" (uri (string-append "mirror://sourceforge/expat/expat/"
version "/expat-" version ".tar.bz2")) version "/expat-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"11c8jy1wvllvlk7xdc5cm8hdhg0hvs8j0aqy6s702an8wkdcls0q")))) "0ik0r39ala9c6hj4kxrk933klgwkzlkbrfhvhaykx8l1rwgr2xj3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "http://www.libexpat.org/") (home-page "http://www.libexpat.org/")
(synopsis "Stream-oriented XML parser library written in C") (synopsis "Stream-oriented XML parser library written in C")
@ -74,18 +73,6 @@ stream-oriented parser in which an application registers handlers for
things the parser might find in the XML document (like start tags).") things the parser might find in the XML document (like start tags).")
(license license:expat))) (license license:expat)))
(define expat-2.2.2 ; Fixes CVE-2017-9233, CVE-2016-9063 and other issues.
(package
(inherit expat)
(version "2.2.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/expat/expat/"
version "/expat-" version ".tar.bz2"))
(sha256
(base32
"0ik0r39ala9c6hj4kxrk933klgwkzlkbrfhvhaykx8l1rwgr2xj3"))))))
(define-public libebml (define-public libebml
(package (package
(name "libebml") (name "libebml")