Skip to content

Commit

Permalink
Add compilation of latest libssh2 library
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiTronix committed Aug 26, 2024
1 parent 07c1d72 commit b13a9f8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion patches/curl_stfp_patcher
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,18 @@


#This script patches curl to enable native sftp support

sudo apt-get purge curl -y;
sudo apt-get purge libssh2-1 -y;
sudo apt-get install openssl libssl-dev

wget -q https://libssh2.org/download/libssh2-1.11.0.tar.gz
tar xf libssh2-1.11.0.tar.gz
cd libssh2-1.11.0 || exit
./configure --disable-docker-tests
make -s -j$(getconf _NPROCESSORS_ONLN)
sudo -s make install
sudo ldconfig

wget -q https://curl.haxx.se/download/curl-"$CURL_VERSION".tar.gz
tar xf curl-"$CURL_VERSION".tar.gz
cd curl-"$CURL_VERSION" || exit
Expand Down

0 comments on commit b13a9f8

Please sign in to comment.