[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/13: gnu: curl: Use $SSL_CERT_DIR/$SSL_CERT_FILE.
From: |
guix-commits |
Subject: |
10/13: gnu: curl: Use $SSL_CERT_DIR/$SSL_CERT_FILE. |
Date: |
Fri, 13 May 2022 11:52:22 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit eebcfc65d89419d046f6f0789cf3c79676cecec5
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat May 7 08:37:35 2022 +0000
gnu: curl: Use $SSL_CERT_DIR/$SSL_CERT_FILE.
* gnu/packages/curl.scm (curl)[native-search-paths]: Use the
$SSL_CERT_DIR/$SSL_CERT_FILE from (guix search-paths) instead
of a local copy.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/curl.scm | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index a83ecbaa09..7fa0261147 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -41,6 +41,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
+ #:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE))
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@@ -82,15 +83,8 @@
("python" ,python-minimal-wrapper)))
(native-search-paths
;; These variables are introduced by curl-use-ssl-cert-env.patch.
- (list (search-path-specification
- (variable "SSL_CERT_DIR")
- (separator #f) ;single entry
- (files '("etc/ssl/certs")))
- (search-path-specification
- (variable "SSL_CERT_FILE")
- (file-type 'regular)
- (separator #f) ;single entry
- (files '("etc/ssl/certs/ca-certificates.crt")))
+ (list $SSL_CERT_DIR
+ $SSL_CERT_FILE
;; Note: This search path is respected by the `curl` command-line
;; tool only. Patching libcurl to read it too would bring no
;; advantages and require maintaining a more complex patch.
- 01/13: doc: Add "Writing Manifests" node., (continued)
- 01/13: doc: Add "Writing Manifests" node., guix-commits, 2022/05/13
- 04/13: gnu: artanis: Remove input labels., guix-commits, 2022/05/13
- 02/13: gnu: guile-ics: Update to 0.2.1, guix-commits, 2022/05/13
- 07/13: gnu: openssl: Use $SSL_CERT_DIR/$SSL_CERT_FILE., guix-commits, 2022/05/13
- 12/13: gnu: poke: Update to 2.3., guix-commits, 2022/05/13
- 13/13: gnu: xonsh: Update to 0.12.4., guix-commits, 2022/05/13
- 06/13: search-paths: Define $SSL_CERT_DIR and $SSL_CERT_FILE., guix-commits, 2022/05/13
- 08/13: gnu: cuirass: Use $SSL_CERT_DIR., guix-commits, 2022/05/13
- 05/13: gnu: pipe-viewer: Update to 0.2.0, guix-commits, 2022/05/13
- 03/13: gnu: artanis: Update to 0.5.1., guix-commits, 2022/05/13
- 10/13: gnu: curl: Use $SSL_CERT_DIR/$SSL_CERT_FILE.,
guix-commits <=
- 09/13: gnu: cmake-bootstrap: Use $SSL_CERT_DIR/$SSL_CERT_FILE., guix-commits, 2022/05/13
- 11/13: gnu: guix: Use $SSL_CERT_DIR., guix-commits, 2022/05/13