[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: curl: Add a search path for CURL_CA_BUNDLE.
From: |
Marius Bakke |
Subject: |
03/07: gnu: curl: Add a search path for CURL_CA_BUNDLE. |
Date: |
Wed, 13 Dec 2017 13:30:36 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit dc138d6d69d3f1e0b4f5d22f5be049fe61a99234
Author: Marius Bakke <address@hidden>
Date: Wed Dec 13 07:09:02 2017 +0100
gnu: curl: Add a search path for CURL_CA_BUNDLE.
* gnu/packages/curl.scm (curl)[native-search-paths]: New field.
* gnu/packages/image-viewers.scm (feh)[native-search-paths]: Inherit.
---
gnu/packages/curl.scm | 9 +++++++++
gnu/packages/image-viewers.scm | 6 +-----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 2c28f3d..b9d4e7d 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -66,6 +66,15 @@
("groff" ,groff)
("pkg-config" ,pkg-config)
("python" ,python-2)))
+ (native-search-paths
+ ;; Note: This search path is respected by the `curl` command-line tool
only.
+ ;; Ideally we would bake this into libcurl itself so other users can
benefit,
+ ;; but it's not supported upstream due to thread safety concerns.
+ (list (search-path-specification
+ (variable "CURL_CA_BUNDLE")
+ (file-type 'regular)
+ (separator #f) ;single entry
+ (files '("etc/ssl/certs/ca-certificates.crt")))))
(arguments
`(#:configure-flags '("--with-gnutls" "--with-gssapi")
;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index facf81b..f4eac49 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -83,11 +83,7 @@
(native-search-paths
;; Feh allows overriding the libcurl builtin CA path (unset in Guix)
;; with the same variable as the `curl` command line HTTP tool.
- (list (search-path-specification
- (variable "CURL_CA_BUNDLE")
- (file-type 'regular)
- (separator #f) ;single entry
- (files '("etc/ssl/certs/ca-certificates.crt")))))
+ (package-native-search-paths curl))
(synopsis "Fast and light imlib2-based image viewer")
(description
"feh is an X11 image viewer aimed mostly at console users.
- branch core-updates updated (173c6ec -> 6ac46bf), Marius Bakke, 2017/12/13
- 01/07: gnu: freetype: Update to 2.8.1., Marius Bakke, 2017/12/13
- 03/07: gnu: curl: Add a search path for CURL_CA_BUNDLE.,
Marius Bakke <=
- 02/07: gnu: fontconfig: Update to 2.12.6., Marius Bakke, 2017/12/13
- 05/07: gnu: tcl, tk: Update to 8.6.7., Marius Bakke, 2017/12/13
- 06/07: gnu: tcl: Use 'modify-phases' syntax., Marius Bakke, 2017/12/13
- 04/07: gnu: curl: Remove obsolete workaround., Marius Bakke, 2017/12/13
- 07/07: gnu: mit-krb5: Update to 1.16., Marius Bakke, 2017/12/13