From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH] gnu: curl: Add ca-bundle to config. Date: Wed, 4 Jan 2017 14:46:55 +0000 Message-ID: <20170104144655.12321-2-ng0@libertad.pw> References: <20170104144655.12321-1-ng0@libertad.pw> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOmpu-0002sX-4m for guix-devel@gnu.org; Wed, 04 Jan 2017 09:46:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOmps-000113-PX for guix-devel@gnu.org; Wed, 04 Jan 2017 09:46:42 -0500 Received: from aibo.runbox.com ([91.220.196.211]:42845) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOmps-00010l-J7 for guix-devel@gnu.org; Wed, 04 Jan 2017 09:46:40 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOmpr-0001sJ-Cm for guix-devel@gnu.org; Wed, 04 Jan 2017 15:46:39 +0100 In-Reply-To: <20170104144655.12321-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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 ;;; Copyright © 2015 Ludovic Courtès ;;; Copyright © 2016 Leo Famulari +;;; Copyright © 2017 ng0 ;;; ;;; 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