guix-devel
[Top][All Lists]
Advanced

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

[PATCH 1/1] gnu: curl: Replace with 7.49.1 [fixes CVE-2016-3739].


From: Leo Famulari
Subject: [PATCH 1/1] gnu: curl: Replace with 7.49.1 [fixes CVE-2016-3739].
Date: Sat, 11 Jun 2016 23:38:30 -0400

* gnu/packages/curl.scm (curl)[replacement]: New field.
(curl/fixed): New variable.
---
 gnu/packages/curl.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 222910b..925602e 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -40,6 +40,7 @@
 (define-public curl
   (package
    (name "curl")
+   (replacement curl/fixed)
    (version "7.47.0")
    (source (origin
             (method url-fetch)
@@ -123,3 +124,17 @@ tunneling, and so on.")
    (license (license:non-copyleft "file://COPYING"
                                   "See COPYING in the distribution."))
    (home-page "http://curl.haxx.se/";)))
+
+(define curl/fixed
+  (package
+    (inherit curl)
+    (source
+     (let ((name "curl")
+           (version "7.49.1"))
+       (origin
+         (method url-fetch)
+           (uri (string-append "https://curl.haxx.se/download/curl-";
+                               version ".tar.lzma"))
+           (sha256
+            (base32
+             "033w3wyawali0rc5s15ywxpjnf476671m595r49sr4vj07idf3al")))))))
-- 
2.8.4




reply via email to

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