[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: curl: Add ca-bundle to config.
From: |
ng0 |
Subject: |
[PATCH] gnu: curl: Add ca-bundle to config. |
Date: |
Wed, 4 Jan 2017 14:46:55 +0000 |
* gnu/packages/curl.scm (curl)[arguments]: Add "--with-ca-bundle" configure
flag.
[arguments]: Disable failing test number 324.
---
gnu/packages/curl.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 7329d870d..3473055b8 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2015 Tomáš Čech <address@hidden>
;;; Copyright © 2015 Ludovic Courtès <address@hidden>
;;; Copyright © 2016 Leo Famulari <address@hidden>
+;;; Copyright © 2017 ng0 <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -65,7 +66,8 @@
("pkg-config" ,pkg-config)
("python" ,python-2)))
(arguments
- `(#:configure-flags '("--with-gnutls" "--with-gssapi")
+ `(#:configure-flags '("--with-gnutls" "--with-gssapi"
+
"--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt")
;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
#:phases
(modify-phases %standard-phases
@@ -104,6 +106,15 @@
;; * Connection #3 to host server4.example.com left intact[LF]
(delete-file "tests/data/test1510")
+ ;; XXX: FIXME: Test #0324 requires access to the
+ ;; /etc/ssl/certs/ca-certificates.crt, which can't happen for the
builder.
+ ;; It fails with the following error:
+ ;; test 0324...[TLS-SRP with server cert checking]
+ ;; curl returned 77, when expecting 51
+ ;; exit FAILED
+ ;; - abort tests
+ (delete-file "tests/data/test324")
+
;; The top-level "make check" does "make -C tests quiet-test", which
;; is too quiet. Use the "test" target instead, which is more
;; verbose.
--
2.11.0
- PATCH as first attempt to fix the sad curl situation, ng0, 2017/01/04
- [PATCH] gnu: curl: Add ca-bundle to config.,
ng0 <=
- Re: [PATCH] gnu: curl: Add ca-bundle to config., Marius Bakke, 2017/01/04
- Re: [PATCH] gnu: curl: Add ca-bundle to config., Marius Bakke, 2017/01/04
- Re: [PATCH] gnu: curl: Add ca-bundle to config., ng0, 2017/01/04
- Re: [PATCH] gnu: curl: Add ca-bundle to config., ng0, 2017/01/04
- Re: [PATCH] gnu: curl: Add ca-bundle to config., ng0, 2017/01/04
- Re: [PATCH] gnu: curl: Add ca-bundle to config., Ricardo Wurmus, 2017/01/05
- GnuTLS and the “trust store”, Ludovic Courtès, 2017/01/04
- Re: GnuTLS and the “trust store”, ng0, 2017/01/04
- Re: GnuTLS and the “trust store”, Ludovic Courtès, 2017/01/05
- Re: GnuTLS and the “trust store”, Ricardo Wurmus, 2017/01/05