From e1444afa2dd78742e48daa7e4f4db03d53fa0efa Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 19 Apr 2017 18:16:22 -0400 Subject: [PATCH] gnu: curl: Replace with curl@7.54.0 [fixes CVE-2017-7468] * gnu/packages/curl.scm (curl)[replacement]: New field. (curl-7.54.0): New variable. --- gnu/packages/curl.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm index 22e18389e7..73d402ce18 100644 --- a/gnu/packages/curl.scm +++ b/gnu/packages/curl.scm @@ -40,6 +40,7 @@ (define-public curl (package (name "curl") + (replacement curl-7.54.0) (version "7.53.0") (source (origin (method url-fetch) @@ -119,3 +120,16 @@ tunneling, and so on.") (license (license:non-copyleft "file://COPYING" "See COPYING in the distribution.")) (home-page "https://curl.haxx.se/"))) + +(define curl-7.54.0 + (package + (inherit curl) + (version "7.54.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://curl.haxx.se/download/curl-" + version ".tar.lzma")) + (sha256 + (base32 + "02h7qhl8ynp75g1vcaw18ks0gp7nahvvkqck19pb1q0kkw1scsnd"))))))