We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
libssh2
1 parent 07c1d72 commit b13a9f8Copy full SHA for b13a9f8
patches/curl_stfp_patcher
@@ -25,9 +25,18 @@
25
26
27
#This script patches curl to enable native sftp support
28
-
29
sudo apt-get purge curl -y;
+sudo apt-get purge libssh2-1 -y;
30
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
40
wget -q https://curl.haxx.se/download/curl-"$CURL_VERSION".tar.gz
41
tar xf curl-"$CURL_VERSION".tar.gz
42
cd curl-"$CURL_VERSION" || exit
0 commit comments