GNU bug report logs - #40065
[PATCH] gnu: dehydrated: Declare cURL's native search paths.

Previous Next

Package: guix-patches;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Sun, 15 Mar 2020 00:26:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40065 in the body.
You can then email your comments to 40065 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#40065; Package guix-patches. (Sun, 15 Mar 2020 00:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 15 Mar 2020 00:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: dehydrated: Declare cURL's native search paths.
Date: Sun, 15 Mar 2020 01:25:56 +0100
* gnu/packages/tls.scm (dehydrated)[native-search-paths]: Use curl's.
---

Posted because I'm not sure what the worst way to handle the recursion
is.  Or why it happens.

Kind regards,

T G-R

 gnu/packages/tls.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index c8eea9c928..1cd6487e4a 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -10,7 +10,7 @@
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
 ;;; Copyright © 2017 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke <mbakke <at> fastmail.com>
-;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2017 Rutger Helling <rhelling <at> mykolab.com>
 ;;; Copyright © 2018 Clément Lassieur <clement <at> lassieur.org>
 ;;;
@@ -988,6 +988,13 @@ coding footprint.")
     (native-inputs
      `(("gzip" ,gzip)
        ("tar" ,tar)))
+    (native-search-paths
+     ;; XXX Using (package-native-search-paths curl) here recurses infinitely.
+     (list (search-path-specification
+            (variable "CURL_CA_BUNDLE")
+            (file-type 'regular)
+            (separator #f)
+            (files '("etc/ssl/certs/ca-certificates.crt")))))
     (home-page "https://dehydrated.io/")
     (synopsis "Let's Encrypt/ACME client implemented as a shell script")
     (description "Dehydrated is a client for signing certificates with an
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#40065; Package guix-patches. (Tue, 24 Mar 2020 17:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 40065 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 40065 <at> debbugs.gnu.org
Subject: Re: [bug#40065] [PATCH] gnu: dehydrated: Declare cURL's native search
 paths.
Date: Tue, 24 Mar 2020 18:50:27 +0100
Tobias Geerinckx-Rice <me <at> tobias.gr> skribis:

> * gnu/packages/tls.scm (dehydrated)[native-search-paths]: Use curl's.

LGTM!

> Posted because I'm not sure what the worst way to handle the recursion
> is.  Or why it happens.

Recursion is expected here: loading tls.scm would require loading curl’s
module first, which itself depends on tls.scm.

Ludo’.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Tue, 03 Aug 2021 19:50:02 GMT) Full text and rfc822 format available.

Notification sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
bug acknowledged by developer. (Tue, 03 Aug 2021 19:50:02 GMT) Full text and rfc822 format available.

Message #13 received at 40065-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>, 40065-done <at> debbugs.gnu.org
Subject: Re: bug#40065: [PATCH] gnu: dehydrated: Declare cURL's native
 search paths.
Date: Tue, 03 Aug 2021 15:49:37 -0400
Hi!

Ludovic Courtès <ludo <at> gnu.org> writes:

> Tobias Geerinckx-Rice <me <at> tobias.gr> skribis:
>
>> * gnu/packages/tls.scm (dehydrated)[native-search-paths]: Use curl's.
>
> LGTM!
>
>> Posted because I'm not sure what the worst way to handle the recursion
>> is.  Or why it happens.
>
> Recursion is expected here: loading tls.scm would require loading curl’s
> module first, which itself depends on tls.scm.
>
> Ludo’.

Pushed with commit 77e2df870bdd3605925b78642661e252a83b2369.

Closing.

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 Sep 2021 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.