all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [bug#30165] [PATCH] gnu: gnurl: Add '--with-ca-bundle' path to configure-flags.
@ 2018-01-24  1:55 Adam Van Ymeren
  2018-01-24 11:52 ` ng0+guixpatches
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Van Ymeren @ 2018-01-24  1:55 UTC (permalink / raw)
  To: ng0+guixpatches; +Cc: guix-devel


Regarding https://debbugs.gnu.org/30165

gnurl is failing to build on my system and I think this patch is to
blame.  Why is gnurl referencing something under the root filesystem
rather something provided by an input?  Shouldn't we provided
ca-certificates.crt from an input and reference that?

I guess we want to be able to to change what certificates that gnurl
accepts without rebulding the package, but I think we need something to
provide that file when building the package in the first place, or
disable the relelvant tests.

For reference the build error I'm seeing is
==========================
test 0324...[TLS-SRP with server cert checking]

curl returned 77, when expecting 51
 exit FAILED

 - abort tests

=========================

From the curl man page, exit code 77 means "Problem with reading the SSL
CA cert (path? access rights?)."

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [bug#30165] [PATCH] gnu: gnurl: Add '--with-ca-bundle' path to configure-flags.
@ 2018-01-18 23:07 ng0+guixpatches
  0 siblings, 0 replies; 9+ messages in thread
From: ng0+guixpatches @ 2018-01-18 23:07 UTC (permalink / raw)
  To: 30165; +Cc: ng0

From: ng0 <ng0@n0.is>

As a fork of cURL, gnURL on Guix needs to be made aware of the certificate store
to prevent the well-known issue we have.

* gnu/packages/gnunet.scm (gnurl)[configure-flags]: Add '--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt'.
---
 gnu/packages/gnunet.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 2d238febc..0ebfc9116 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2015, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
+;;; Copyright © 2016, 2017, 2018 ng0 <ng0@n0.is>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -205,7 +205,8 @@ authentication and support for SSL3 and TLS.")
       ("pkg-config" ,pkg-config)
       ("python" ,python-2)))
    (arguments
-    `(#:configure-flags (list "--disable-ntlm-wb")
+    `(#:configure-flags (list "--disable-ntlm-wb"
+                              "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt")
       #:test-target "test"
       #:parallel-tests? #f
       #:phases
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-01-24 18:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-24  1:55 [bug#30165] [PATCH] gnu: gnurl: Add '--with-ca-bundle' path to configure-flags Adam Van Ymeren
2018-01-24 11:52 ` ng0+guixpatches
2018-01-24 13:23   ` ng0
2018-01-24 14:40     ` Ricardo Wurmus
2018-01-24 17:00     ` Adam Van Ymeren
2018-01-24 17:00     ` Adam Van Ymeren
2018-01-24 17:56       ` ng0
2018-01-24 18:15         ` Adam Van Ymeren
  -- strict thread matches above, loose matches on Subject: below --
2018-01-18 23:07 ng0+guixpatches

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.