FS#57694 - [curl] libssh2 not enabled

Attached to Project: Arch Linux
Opened by Aaron Bishop (Erroneous) - Thursday, 01 March 2018, 19:14 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 25 September 2018, 22:26 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
Programs that require SSH functionality in libcurl may get errors during curl_easy_setopt when setting things like CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.
Changing ./configure in the PKGBUILD to have --with-libssh2 seems to fix this.

Additional info:
* package version 7.58.0-1

When building using current PKGBUILD, you eventually see:
curl version: 7.58.0
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr
Compiler: gcc
SSL support: enabled (OpenSSL)
SSH support: no (--with-libssh2)

If you add --with-libssh2 (already a dependency), you see:
curl version: 7.58.0
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr
Compiler: gcc
SSL support: enabled (OpenSSL)
SSH support: enabled (libSSH2)

Steps to reproduce:
makepkg

Patch:
diff -ruN a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD 2018-03-01 14:11:13.280295456 -0500
+++ b/PKGBUILD 2018-03-01 14:10:59.515077483 -0500
@@ -33,6 +33,7 @@
--enable-ipv6 \
--enable-versioned-symbols \
--enable-threaded-resolver \
+ --with-libssh2 \
--with-gssapi \
--with-random=/dev/urandom \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 25 September 2018, 22:26 GMT
Reason for closing:  Implemented
Additional comments about closing:  curl 7.61.1-3
Comment by Nicola (drakkan) - Wednesday, 04 April 2018, 22:39 GMT
while this bug is fixed we can use this package

https://aur.archlinux.org/packages/curl-ssh/
Comment by Vladimir Panteleev (CyberShadow) - Friday, 13 April 2018, 01:19 GMT
This bug is a regression, as previous versions of curl were built with SFTP/SCP support. See  FS#24104 .

This was caused by an upstream change - https://github.com/curl/curl/commit/c92d2e14cfb0db662f958effd2ac86f995cf1b5a caused support for SFTP/SCP protocols to no longer be built by default.

Loading...