Skip to content

Commit b13a9f8

Browse files
committed
Add compilation of latest libssh2 library
1 parent 07c1d72 commit b13a9f8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

patches/curl_stfp_patcher

+10-1
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,18 @@
2525

2626

2727
#This script patches curl to enable native sftp support
28-
2928
sudo apt-get purge curl -y;
29+
sudo apt-get purge libssh2-1 -y;
3030
sudo apt-get install openssl libssl-dev
31+
32+
wget -q https://libssh2.org/download/libssh2-1.11.0.tar.gz
33+
tar xf libssh2-1.11.0.tar.gz
34+
cd libssh2-1.11.0 || exit
35+
./configure --disable-docker-tests
36+
make -s -j$(getconf _NPROCESSORS_ONLN)
37+
sudo -s make install
38+
sudo ldconfig
39+
3140
wget -q https://curl.haxx.se/download/curl-"$CURL_VERSION".tar.gz
3241
tar xf curl-"$CURL_VERSION".tar.gz
3342
cd curl-"$CURL_VERSION" || exit

0 commit comments

Comments
 (0)