[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates updated: gnu: curl: Update to 7.76.0 [security fixes
From: |
guix-commits |
Subject: |
branch core-updates updated: gnu: curl: Update to 7.76.0 [security fixes]. |
Date: |
Fri, 02 Apr 2021 07:18:35 -0400 |
This is an automated email from the git hooks/post-receive script.
lle_bout pushed a commit to branch core-updates
in repository guix.
The following commit(s) were added to refs/heads/core-updates by this push:
new 2e0b1b6 gnu: curl: Update to 7.76.0 [security fixes].
2e0b1b6 is described below
commit 2e0b1b62e94b926041ca9af70537dd9b3ab64edf
Author: Léo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Fri Apr 2 13:13:48 2021 +0200
gnu: curl: Update to 7.76.0 [security fixes].
Fixes CVE-2021-22876 and CVE-2021-22890.
* gnu/packages/curl.scm (curl): Update to 7.76.0.
---
gnu/packages/curl.scm | 4 ++--
gnu/packages/patches/curl-use-ssl-cert-env.patch | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index f1dc5ae..17bee2e 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -53,14 +53,14 @@
(define-public curl
(package
(name "curl")
- (version "7.74.0")
+ (version "7.76.0")
(source (origin
(method url-fetch)
(uri (string-append "https://curl.haxx.se/download/curl-"
version ".tar.xz"))
(sha256
(base32
- "12w7gskrglg6qrmp822j37fmbr0icrcxv7rib1fy5xiw80n5z7cr"))
+ "1j2g04m6als6hmqzvddv84c31m0x90bfgyz3bjrwdkarbkby40k3"))
(patches (search-patches "curl-use-ssl-cert-env.patch"))))
(build-system gnu-build-system)
(outputs '("out"
diff --git a/gnu/packages/patches/curl-use-ssl-cert-env.patch
b/gnu/packages/patches/curl-use-ssl-cert-env.patch
index c8e80b4..24be6e3 100644
--- a/gnu/packages/patches/curl-use-ssl-cert-env.patch
+++ b/gnu/packages/patches/curl-use-ssl-cert-env.patch
@@ -47,14 +47,14 @@ diff -ur curl-7.66.0.orig/lib/url.c curl-7.66.0/lib/url.c
+ extern char * Curl_ssl_cert_dir;
+ extern char * Curl_ssl_cert_file;
+ if(Curl_ssl_cert_dir) {
-+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAPATH_ORIG],
Curl_ssl_cert_dir))
++ if(result = Curl_setstropt(&set->str[STRING_SSL_CAPATH],
Curl_ssl_cert_dir))
+ return result;
+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAPATH_PROXY],
Curl_ssl_cert_dir))
+ return result;
+ }
+
+ if(Curl_ssl_cert_file) {
-+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAFILE_ORIG],
Curl_ssl_cert_file))
++ if(result = Curl_setstropt(&set->str[STRING_SSL_CAFILE],
Curl_ssl_cert_file))
+ return result;
+ if(result = Curl_setstropt(&set->str[STRING_SSL_CAFILE_PROXY],
Curl_ssl_cert_file))
+ return result;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates updated: gnu: curl: Update to 7.76.0 [security fixes].,
guix-commits <=