all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@libertad.pw>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: gnurl: Add ca-bundle to config.
Date: Wed,  4 Jan 2017 17:32:16 +0000	[thread overview]
Message-ID: <20170104173216.2959-2-ng0@libertad.pw> (raw)
In-Reply-To: <20170104173216.2959-1-ng0@libertad.pw>

* gnu/packages/gnunet.scm (gnurl)[arguments]: Add "--with-ca-bundle" configure flag.
[arguments]: configure-flags: Use list.
[arguments]: Add "nss-certs" to native-inputs.
---
 gnu/packages/gnunet.scm | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 27e1ffb4e..451293c9f 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2016 ng0 <ng0@libertad.pw>
+;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27,6 +27,7 @@
   #:use-module (gnu packages file)
   #:use-module (gnu packages aidc)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages certs)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages gettext)
@@ -184,20 +185,26 @@ and support for SSL3 and TLS.")
       ("libtool" ,libtool)
       ("groff" ,groff)
       ("perl" ,perl)
+      ("nss-certs" ,nss-certs)
       ("pkg-config" ,pkg-config)
       ("python" ,python-2)))
    (arguments
-    `(#:configure-flags '("--enable-ipv6" "--with-gnutls" "--without-libssh2"
-                          "--without-libmetalink" "--without-winidn"
-                          "--without-librtmp" "--without-nghttp2"
-                          "--without-nss" "--without-cyassl"
-                          "--without-polarssl" "--without-ssl"
-                          "--without-winssl" "--without-darwinssl"
-                          "--disable-sspi" "--disable-ntlm-wb"
-                          "--disable-ldap" "--disable-rtsp" "--disable-dict"
-                          "--disable-telnet" "--disable-tftp" "--disable-pop3"
-                          "--disable-imap" "--disable-smtp" "--disable-gopher"
-                          "--disable-file" "--disable-ftp" "--disable-smb")
+    `(#:configure-flags (list
+                         "--enable-ipv6" "--with-gnutls" "--without-libssh2"
+                         "--without-libmetalink" "--without-winidn"
+                         "--without-librtmp" "--without-nghttp2"
+                         "--without-nss" "--without-cyassl"
+                         "--without-polarssl" "--without-ssl"
+                         "--without-winssl" "--without-darwinssl"
+                         "--disable-sspi" "--disable-ntlm-wb"
+                         "--disable-ldap" "--disable-rtsp" "--disable-dict"
+                         "--disable-telnet" "--disable-tftp" "--disable-pop3"
+                         "--disable-imap" "--disable-smtp" "--disable-gopher"
+                         "--disable-file" "--disable-ftp" "--disable-smb"
+                         (string-append
+                          "--with-ca-bundle="
+                          (string-append (assoc-ref %build-inputs "nss-certs")
+                                         "/etc/ssl/certs/ca-certificates.crt")))
       #:test-target "test"
       #:parallel-tests? #f
       #:phases
-- 
2.11.0

  reply	other threads:[~2017-01-04 17:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04 17:32 Patch to add ca-bundle to gnurl ng0
2017-01-04 17:32 ` ng0 [this message]
2017-01-04 22:37   ` [PATCH] gnu: gnurl: Add ca-bundle to config ng0

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=20170104173216.2959-2-ng0@libertad.pw \
    --to=ng0@libertad.pw \
    --cc=guix-devel@gnu.org \
    /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.