all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: ng0 <ng0@libertad.pw>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: curl: Add ca-bundle to config.
Date: Wed, 04 Jan 2017 17:00:01 +0100	[thread overview]
Message-ID: <874m1ezugu.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20170104144655.12321-2-ng0@libertad.pw>

[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]

ng0 <ng0@libertad.pw> writes:

> * 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 <sleep_walker@suse.cz>
>  ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
>  ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
> +;;; Copyright © 2017 ng0 <ng0@libertad.pw>
>  ;;;
>  ;;; 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")

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2017-01-04 16:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04 14:46 PATCH as first attempt to fix the sad curl situation ng0
2017-01-04 14:46 ` [PATCH] gnu: curl: Add ca-bundle to config ng0
2017-01-04 16:00   ` Marius Bakke [this message]
2017-01-04 16:37     ` Marius Bakke
2017-01-04 17:07       ` ng0
2017-01-04 17:16       ` ng0
2017-01-04 17:23         ` ng0
2017-01-05 15:24           ` Ricardo Wurmus
2017-01-04 20:40       ` GnuTLS and the “trust store” Ludovic Courtès
2017-01-04 22:09         ` ng0
2017-01-05 10:28           ` Ludovic Courtès
2017-01-05 15:12             ` Ricardo Wurmus
2017-01-05 14:11         ` Marius Bakke
2017-01-05 15:08           ` Ricardo Wurmus
2017-01-05 23:10             ` Ludovic Courtès
2017-01-06 14:20               ` Ricardo Wurmus
2017-01-07 21:12                 ` Ludovic Courtès
2017-01-04 14:48 ` PATCH as first attempt to fix the sad curl situation ng0
2017-01-04 17:56   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874m1ezugu.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mbakke@fastmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ng0@libertad.pw \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.