GNU bug report logs - #58215
curl: Enable sftp and scp protocols.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: elaexuotee@HIDDEN; Keywords: patch; dated Sat, 1 Oct 2022 08:30:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) patch. Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Oct 2022 08:29:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 01 04:29:12 2022
Received: from localhost ([127.0.0.1]:43605 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oeXs0-0007Lg-HX
	for submit <at> debbugs.gnu.org; Sat, 01 Oct 2022 04:29:12 -0400
Received: from lists.gnu.org ([209.51.188.17]:49692)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bounce+7434c3.08547a-bug-guix=gnu.org@HIDDEN>)
 id 1oeXrv-0007LW-PA
 for submit <at> debbugs.gnu.org; Sat, 01 Oct 2022 04:29:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43848)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1)
 (envelope-from <bounce+7434c3.08547a-bug-guix=gnu.org@HIDDEN>)
 id 1oeXrv-0003sz-J0
 for bug-guix@HIDDEN; Sat, 01 Oct 2022 04:29:07 -0400
Received: from m42-5.mailgun.net ([69.72.42.5]:39049)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1)
 (envelope-from <bounce+7434c3.08547a-bug-guix=gnu.org@HIDDEN>)
 id 1oeXrt-0004ax-Ts
 for bug-guix@HIDDEN; Sat, 01 Oct 2022 04:29:07 -0400
DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com;
 q=dns/txt; 
 s=krs; t=1664612944; x=1664699344; h=Content-Type: MIME-Version:
 Message-Id: Subject: Subject: From: From: To: To: Date: Sender: Sender;
 bh=FgpaetgiEevDj87vReZaba5q6BPx8ucXHIso4KBG2zc=;
 b=jWIsScc6v2hjnEuYrcneUd0DLeqWVBQZRBQ8YlLo3CWQ+zD89J2rfYTJZlmSylCnZaU+/SJi
 k+g19fNAJLlhbKafjifxdHRN273JbD/nVRq7FJF/caJNyNpgvowtPmt9Wy27fHr7A1GJix9i
 YosA79zZGyKqRb8SBmbzIA4IlwQuhQ2LjSCRl7N9piyRoLJIK5hAczyXWM/PDetYtgJMbrU/
 +LZBAOAwZfY9g6nf45buQhQqp0IrrPOCNs3xT+r7yZdIrWegmgBVColw7Ri2ChJr2H7qMTRn
 JEeUYJY5FHlxXgCcjHBclfF+wjXY7+Aqe+6i8OOASPMfMknmHKKJvg==
X-Mailgun-Sending-Ip: 69.72.42.5
X-Mailgun-Sid: WyJkMDM0YyIsImJ1Zy1ndWl4QGdudS5vcmciLCIwODU0N2EiXQ==
Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by b2cf175a49f0
 with SMTP id 6337fa4d7cdd3ad088f3417d (version=TLS1.3,
 cipher=TLS_AES_128_GCM_SHA256); Sat, 01 Oct 2022 08:29:01 GMT
Received: from localhost (aj099096.dynamic.ppp.asahi-net.or.jp [220.150.99.96])
 by wilsonb.com (Postfix) with ESMTPSA id 6FFE7A297C
 for <bug-guix@HIDDEN>; Sat,  1 Oct 2022 08:28:59 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com;
 s=201703; t=1664612939;
 bh=FgpaetgiEevDj87vReZaba5q6BPx8ucXHIso4KBG2zc=;
 h=Date:To:From:Subject:From;
 b=TkGArYE0Qw3mfNH/rk2yswN70qH8RWisKXQ2CMkk8/4z1Y7ep6tgsGzUaZsq6w5p4
 Re7JLn/JfwkBBOaHYAkLmqgdfujHAV4qSw80ZI3Y1lhSMK5qExLfVOsihJYiJ3CKNk
 /h4YdFtFjIXyQdZEgMokehayp1OUsHm14+kYYhsUPvTZcSYK/9tXzKW//+whza0JhP
 dTR20Kehk1PlsbwXCJfKOGn0R17jngvGiAvB24tDUaeWLtfquN55RQyti9W+/dzGOm
 Dg7CteBg1WsYo2IBtRcYM62IwgXfFieyUphkIW09MY2hiBPdUXj0j0WdtOsXLJsqCz
 eLSI0IXmpMMMy1mzcu31qOGoXR/5YL7ZS0ihVXXD69/vZRJnrAL3uP0yAVaQzPRoMK
 2jlBMpSTKWBmoMIvQ6Rc0Z6p88z0v1jpv4y3g3cbcriMQaer6R7hTRJqWTgK3fy8Y9
 6mG/sb3YP3xrSB+OCDpwh6sPhMGRABd8BsywYBq6+qYCWO5JFTndLnG005j+jY/Ldf
 4RIMEV/IPtbm+bB9AmD++3QGYWxjwyu7T3i0hQwx3kK3LP7d4fU+PG0FSzK05gn/Jv
 uID90RepkId5aZiCewSh0baRHC6jkSVtxDIryNSGq7vDVZUZ3O+3dGtJopmzPsbwDh
 ryiQvJPtcwiCYadd7sLt+gjs=
Date: Sat, 01 Oct 2022 17:28:57 +0900
To: bug-guix@HIDDEN
From: elaexuotee@HIDDEN
Subject: curl: Enable sftp and scp protocols.
Message-Id: <28RFBJCTKG6BF.27U4995JD8SM4@HIDDEN>
User-Agent: mblaze/1.2
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----_=_273a047c5098ef08146f3523_=_"
Received-SPF: pass client-ip=69.72.42.5;
 envelope-from=bounce+7434c3.08547a-bug-guix=gnu.org@HIDDEN;
 helo=m42-5.mailgun.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This is a multipart message in MIME format.

------_=_273a047c5098ef08146f3523_=_
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Apparently, our curl is compiled without libssl2 support enabled,

    $ curl scp://...
    curl: (1) Protocol "scp" not supported or disabled in libcurl

This patch fixes that.


------_=_273a047c5098ef08146f3523_=_
Content-Disposition: attachment;
 filename*0*=UTF-8''0001-curl-Enable-sftp-and-scp-protocols.patch
Content-Type: text/x-patch
Content-Transfer-Encoding: quoted-printable

=46rom 7d90bdbd6377ca29387d0482eefc5f051ff524ed Mon Sep 17 00:00:00 2001
=46rom: "B. Wilson" <elaexuotee@HIDDEN>
=44ate: Sat, 1 Oct 2022 17:00:44 +0900
=53ubject: [PATCH] curl: Enable sftp and scp protocols.
=54o: bug-guix@HIDDEN
=0A---
=20gnu/packages/curl.scm | 5 ++++-
=201 file changed, 4 insertions(+), 1 deletion(-)
=0Adiff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
=69ndex d82d94abff..29f70f1abe 100644
=2D-- a/gnu/packages/curl.scm
=2B++ b/gnu/packages/curl.scm
=40@ -14,6 +14,7 @@
=20;;; Copyright =C2=A9 2020 Jan (janneke) Nieuwenhuizen <janneke@HIDDEN>
=20;;; Copyright =C2=A9 2021 Jean-Baptiste Volatier <jbv@HIDDEN>
=20;;; Copyright =C2=A9 2021 Felix Gruber <felgru@HIDDEN>
=2B;;; Copyright =C2=A9 2022 B. Wilson <elaexuotee@HIDDEN>
=20;;;
=20;;; This file is part of GNU Guix.
=20;;;
=40@ -76,7 +77,7 @@ (define-public curl
=20   (build-system gnu-build-system)
=20   (outputs '("out"
=20              "doc"))                             ;1.2 MiB of man3 pages=
=0A-   (inputs (list gnutls libidn mit-krb5
=2B   (inputs (list gnutls libidn libssh2 mit-krb5
=20                 `(,nghttp2 "lib") zlib))
=20   (native-inputs
=20     `(("nghttp2" ,nghttp2)
=40@ -100,6 +101,8 @@ (define-public curl
=20      #:configure-flags (list "--with-gnutls"
=20                              (string-append "--with-gssapi=3D"
=20                                             (assoc-ref %build-inputs "m=
=69t-krb5"))
=2B                              (string-append "--with-libssh2=3D"
=2B                                             (assoc-ref %build-inputs "l=
=69bssh2"))
=20                              "--disable-static")
=20      #:phases
=20      (modify-phases %standard-phases
=2D-=20
=32.37.3
=0A=

------_=_273a047c5098ef08146f3523_=_--




Acknowledgement sent to elaexuotee@HIDDEN:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#58215; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 1 Oct 2022 12:00:02 UTC

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