* Patch to add ca-bundle to gnurl.
@ 2017-01-04 17:32 ng0
2017-01-04 17:32 ` [PATCH] gnu: gnurl: Add ca-bundle to config ng0
0 siblings, 1 reply; 3+ messages in thread
From: ng0 @ 2017-01-04 17:32 UTC (permalink / raw)
To: guix-devel
ng0@wasp /gnu/store/za7qym30saxfjaa5fiqrh4kykkk56401-gnurl-7.52.1/bin$ ./gnurl-config --configure
'CONFIG_SHELL=/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin/bash' 'SHELL=/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin/bash' '--prefix=/gnu/store/za7qym30saxfjaa5fiqrh4kykkk56401-gnurl-7.52.1' '--enable-fast-install' '--docdir=/gnu/store/g5f5j1bqhc0cqvi8fdcjmvv4dpcjb3br-gnurl-7.52.1-doc/share/doc/gnurl' '--build=x86_64-unknown-linux-gnu' '--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' '--with-ca-bundle=/gnu/store/nd946vlingp0ff63y18sqmv823cday9w-nss-certs-3.27.1/etc/ssl/certs/ca-certificates.crt' 'build_alias=x86_64-unknown-linux-gnu'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] gnu: gnurl: Add ca-bundle to config.
2017-01-04 17:32 Patch to add ca-bundle to gnurl ng0
@ 2017-01-04 17:32 ` ng0
2017-01-04 22:37 ` ng0
0 siblings, 1 reply; 3+ messages in thread
From: ng0 @ 2017-01-04 17:32 UTC (permalink / raw)
To: guix-devel
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: gnurl: Add ca-bundle to config.
2017-01-04 17:32 ` [PATCH] gnu: gnurl: Add ca-bundle to config ng0
@ 2017-01-04 22:37 ` ng0
0 siblings, 0 replies; 3+ messages in thread
From: ng0 @ 2017-01-04 22:37 UTC (permalink / raw)
To: guix-devel
ng0 <ng0@libertad.pw> writes:
> * gnu/packages/gnunet.scm (gnurl)[arguments]: Add "--with-ca-bundle" configure flag.
> [arguments]: configure-flags: Use list.
> [arguments]: Add "nss-certs" to native-inputs.
Reading old threads and the last replies from ludovic I think
this solution will not be accepted or work. I prefer to discuss
this in the curl thread.
> ---
> 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
>
>
--
♥Ⓐ ng0
PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-04 22:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 17:32 Patch to add ca-bundle to gnurl ng0
2017-01-04 17:32 ` [PATCH] gnu: gnurl: Add ca-bundle to config ng0
2017-01-04 22:37 ` ng0
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).