guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27414] [PATCH] gnu: expat: Replace with Expat 2.2.1 [security fixes


From: Leo Famulari
Subject: [bug#27414] [PATCH] gnu: expat: Replace with Expat 2.2.1 [security fixes]
Date: Sat, 17 Jun 2017 18:03:28 -0400

Fixes CVE-2016-9063, CVE-2017-9233, and several others. See the file 'Changes'
in the source distribution for more information.

* gnu/packages/xml.scm (expat)[replacement]: New field.
(expat-2.2.1): New variable.
---
 gnu/packages/xml.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 9635413b8..da76b1f48 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -55,6 +55,7 @@
 (define-public expat
   (package
     (name "expat")
+    (replacement expat-2.2.1)
     (version "2.2.0")
     (source (origin
              (method url-fetch)
@@ -74,6 +75,19 @@ stream-oriented parser in which an application registers 
handlers for
 things the parser might find in the XML document (like start tags).")
     (license license:expat)))
 
+(define expat-2.2.1
+  (package
+    (inherit expat)
+    (replacement #f)
+    (version "2.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/expat/expat/"
+                                  version "/expat-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "11c8jy1wvllvlk7xdc5cm8hdhg0hvs8j0aqy6s702an8wkdcls0q"))))))
+
 (define-public libxml2
   (package
     (name "libxml2")
-- 
2.13.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]