From patchwork Sun Mar 15 00:25:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: iyzsong--- via Guix-patches via X-Patchwork-Id: 20678 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0B79C27BBEA; Sun, 15 Mar 2020 00:26:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id B578A27BBE4 for ; Sun, 15 Mar 2020 00:26:12 +0000 (GMT) Received: from localhost ([::1]:49690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDH6a-00026L-1a for patchwork@mira.cbaines.net; Sat, 14 Mar 2020 20:26:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57469) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDH6S-000210-1x for guix-patches@gnu.org; Sat, 14 Mar 2020 20:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDH6Q-0001j7-SR for guix-patches@gnu.org; Sat, 14 Mar 2020 20:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDH6Q-0001iC-Oz for guix-patches@gnu.org; Sat, 14 Mar 2020 20:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDH6Q-0004tf-KR for guix-patches@gnu.org; Sat, 14 Mar 2020 20:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40065] [PATCH] gnu: dehydrated: Declare cURL's native search paths. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Mar 2020 00:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40065@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158423194718795 (code B ref -1); Sun, 15 Mar 2020 00:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2020 00:25:47 +0000 Received: from localhost ([127.0.0.1]:34104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDH64-0004sz-PR for submit@debbugs.gnu.org; Sat, 14 Mar 2020 20:25:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:46169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDH63-0004sq-8Q for submit@debbugs.gnu.org; Sat, 14 Mar 2020 20:25:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57303) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDH61-0001Wr-MQ for guix-patches@gnu.org; Sat, 14 Mar 2020 20:25:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDH60-0000bd-37 for guix-patches@gnu.org; Sat, 14 Mar 2020 20:25:37 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:44720) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jDH5z-0000Uf-KH for guix-patches@gnu.org; Sat, 14 Mar 2020 20:25:36 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id e93853d5 for ; Sun, 15 Mar 2020 00:25:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=94Q0SuUim DH6YcS4wCvJ4mqTGWTTk6uTpcL36ywy8wA=; b=BVhBbt3Ej+yF7LGnk/o5HzhGG UR+tQp2OV/26rp/+dxkT3oUddLWciYtlcDF/eGzhXYUKYDTyBZGfHf5lwaEPsCkF 4QHvpUP648g68YUA5h9NuSXRW1+D5hGnQIE0JMIo5OxV8sFKNiv2uy03333yTLgN /XF/yAPEVUWK8xfB+VotcLKixN6MD6+hcr0fygAf6dDgTsg4MzC2RMLriFdlVqGZ iRJHGrb+qqZL2dwSAmRYEh7T6Skhh3dFaD1huKmr9HvlhRP2x4i4C2+fqGvlVags gXRm+fvQPxQnk5JV+j39v7hLf0U2bGb7HsyfnyTSsf/OxsfF53x9SLKfjmQRQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 89a620d2 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Sun, 15 Mar 2020 00:25:31 +0000 (UTC) Date: Sun, 15 Mar 2020 01:25:56 +0100 Message-Id: <20200315002556.12076-1-me@tobias.gr> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches X-Patchwork-Original-From: Tobias Geerinckx-Rice via Guix-patches via From: iyzsong--- via Guix-patches via X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2017, 2018, 2019, 2020 Marius Bakke -;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2018 Clément Lassieur ;;; @@ -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