OpenCSW Bug Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004847 [curl] other feature N/A 2011-10-20 17:33 2011-10-25 20:32
Reporter jpassmore View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004847: Can SSH support be added to curl?
Description Please add SSH/SFTP support to curl.
Additional Information SSH/SFTP support is missing:

#curl --version
curl 7.21.6 (sparc-sun-solaris2.9) libcurl/7.21.6 OpenSSL/0.9.8r zlib/1.2.5 libidn/1.22
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM SSL libz
Tags No tags attached.
Attached Files

- Relationships
related to 0004848closeddam libcurl4 is linked against instead of 

-  Notes
dam (administrator)
2011-10-20 17:44

The problem is slightly subtle: SSH/SFTP is actually in
  libcurl4_feature CSWlibcurl4-feature 7.21.6,REV=2011.04.29 409.8 KB
which can be installed as aux-library which is used automatically instead of the minimal-feature one if installed. However, I just noticed there is a linkage problem where links to instead of leading to an unresolvable linkage meaning the feature lib is not used:
  unstable9s# ldd -r /opt/csw/lib/ => /opt/csw/lib/sparcv8/

This can be circumvented by installing the dev package:
  libfbopenssl_dev CSWlibfbopenssl-dev 0.0.4,REV=2011.07.09 2.5 KB

After this the feature lib is correctly used:

unstable9s# curl --version
curl 7.21.6 (sparc-sun-solaris2.9) libcurl/7.21.6 OpenSSL/0.9.8r zlib/1.2.5 c-ares/1.7.4 libidn/1.22 libssh2/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile NTLM SPNEGO SSL libz

Please use this workaround for now until libcurl4-feature is fixed.
dam (administrator)
2011-10-20 17:50

To be precise: to enable the supported features for you please do
   pkgutil -i libcurl4_feature libfbopenssl_dev
dam (administrator)
2011-10-20 22:53

Updated packages for the latest 7.21.7 with additional RTMP support is available at [^]
Please verify if this fixes your issue.

Best regards

  -- Dago
dam (administrator)
2011-10-22 19:49

An updated curl 7.22.0,REV=2011.10.21 has been released into current/.
jpassmore (reporter)
2011-10-25 16:04

Works perfectly now. Thanks for the fast response!
dam (administrator)
2011-10-25 20:32

Closing as verified by reporter.

Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker