aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-10-05 08:11:34 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-10-05 09:41:31 +0200
commit759b55712e62e913f5ab650651108649775cead2 (patch)
tree4706f5d4eb9d86f197a8c3fadfa6fd20788636b1 /gnu/packages
parenta31725ff906df363f45269b9d8cc59adda3f6435 (diff)
downloadguix-759b55712e62e913f5ab650651108649775cead2.tar.gz
guix-759b55712e62e913f5ab650651108649775cead2.zip
gnu: curl: Update to 8.3.0.
According to upstream, the current version has 19 security issues. See also <https://curl.se/docs/vuln-7.85.0.html>. * gnu/packages/curl.scm (curl/fixed): New variable. (curl): Use it as replacement.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/curl.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 4e3c563570..cadf1ca361 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -65,6 +65,7 @@
(package
(name "curl")
(version "7.85.0")
+ (replacement curl/fixed)
(source (origin
(method url-fetch)
(uri (string-append "https://curl.se/download/curl-"
@@ -154,6 +155,20 @@ tunneling, and so on.")
"See COPYING in the distribution."))
(home-page "https://curl.haxx.se/")))
+(define curl/fixed
+ (let ((%version "8.3.0"))
+ (package
+ (inherit curl)
+ (version "8.3.0a") ; add lowercase 'a' for grafting
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://curl.se/download/curl-"
+ %version ".tar.xz"))
+ (sha256
+ (base32
+ "0qza6yf20y2l4aaxkn8dfw8p3fls1mxljvdb0m8z1i6ncxvn4v9p"))
+ (patches (search-patches "curl-use-ssl-cert-env.patch")))))))
+
(define-public curl-ssh
(package/inherit curl
(arguments