From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH] gnu: curl: Add ca-bundle to config. Date: Wed, 04 Jan 2017 17:00:01 +0100 Message-ID: <874m1ezugu.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170104144655.12321-1-ng0@libertad.pw> <20170104144655.12321-2-ng0@libertad.pw> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOnyz-0005Di-Ih for guix-devel@gnu.org; Wed, 04 Jan 2017 11:00:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOnyw-0008Ef-AC for guix-devel@gnu.org; Wed, 04 Jan 2017 11:00:09 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55694) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOnyw-0008EW-5q for guix-devel@gnu.org; Wed, 04 Jan 2017 11:00:06 -0500 In-Reply-To: <20170104144655.12321-2-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: ng0 , guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ng0 writes: > * gnu/packages/curl.scm (curl)[arguments]: Add "--with-ca-bundle" configu= re 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 =C2=A9 2015 Tom=C3=A1=C5=A1 =C4=8Cech > ;;; Copyright =C2=A9 2015 Ludovic Court=C3=A8s > ;;; Copyright =C2=A9 2016 Leo Famulari > +;;; Copyright =C2=A9 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=3D/etc/ssl/certs/ca-certific= ates.crt") This may not work on all distros, and is "impure" since this path is not managed by Guix. If we are doing this, it should be referring to (string-append (assoc-ref %build-inputs "nss-certs") "/etc/ssl/..."). That will likely fix the test as well. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlhtHAEACgkQoqBt8qM6 VPrL8ggAzMRTkq4SNfGkl/6473QJNecm8iJeNvik406eYEMFf2ULxOWA9u4d3rTt vpl2rKuYIi6e9Vw9MDUQF+sy48VVQFqlOYXzIBP9EnRdQQnI4ACBV5M5vPmEGkuz bnuCQM4Lt08yx6Q9f3wX3AeHzmm/SlETPwDZktAdlPXiKN9WWmOZHzzLOUhwv2bD rSJPSPiXJAfjUyogp8TaibLZsb8IK6cdp3AlpWDNAvlt23ptg7fv7JcjvY2WvN9f 3XoB1Fcg4QG/+v4gt+ET34ZGbcHGr1eAhqqGHcylLa9pXzuHpxduFQHj5fca2Vbj Ldm5Izjm7oDk2lsjA0GCPqpA2z/KdA== =snnS -----END PGP SIGNATURE----- --=-=-=--