Comment 39 for bug 311029

Valentin Wittich (vwittich) wrote :

> Could someone describe a test case using the backend which we could use to
> test that the feature is working if we enable it to bionic (the 'curl
> --version' output tells us that the backend is enabled but it would be
> good to also check that it's actually correctly working)

Not sure what you mean by test case using the backend. But I compiled version 7.63.0 and it looks like it works find. Though I just used git-ftp to upload via sftp, but that worked smooth.

Here is what I did to install it with ubuntu 18.04. I had to compile debhelper too.

git clone https://git.launchpad.net/ubuntu/+source/debhelper
cd debhelper/
sudo apt-get install build-essential po4a
dpkg-buildpackage -uc -us
cd ..
sudo apt-get install dwz
sudo dpkg -i debhelper_12ubuntu1_all.deb

git clone https://git.launchpad.net/ubuntu/+source/curl
cd curl/
sudo apt-get install build-essential libssh-dev
dpkg-buildpackage -b -rfakeroot -us -uc
cd ..
sudo dpkg -i libcurl*.deb
sudo dpkg -i curl*.deb

Here the versions output:

# curl --version
curl 7.63.0 (x86_64-pc-linux-gnu) libcurl/7.63.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) libssh/0.7.0/openssl/zlib nghttp2/1.30.0 librtmp/2.3
Release-Date: 2018-12-12
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL