Skip to content

Commit

Permalink
[curlBuild] curl 8.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Haldir65 committed Jul 31, 2024
1 parent 6e93e76 commit 9034e89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions scripts/build_curl_http3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ function _build_psl(){

function _build_curl(){
_green "_build_curl begin \n"
local CURL_VERSION_NUMERIC=8.8.0
_download_if_not_exists https://github.com/curl/curl/releases/download/curl-8_8_0/curl-$CURL_VERSION_NUMERIC.tar.gz curl-$CURL_VERSION_NUMERIC.tar.gz
local CURL_VERSION_NUMERIC=8.9.1
_download_if_not_exists https://github.com/curl/curl/releases/download/curl-8_9_1/curl-$CURL_VERSION_NUMERIC.tar.gz curl-$CURL_VERSION_NUMERIC.tar.gz
tar xzvf curl-$CURL_VERSION_NUMERIC.tar.gz -C ${build_dir}
# cp scripts/0001-Fix-compilation-with-disable-manual.patch ${build_dir}/curl-8.7.1/commit_38d582ff5.patch
## https://sourceforge.net/p/curl/bugs/1350/
Expand Down
9 changes: 5 additions & 4 deletions scripts/build_curl_http3_openwrt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,12 @@ function _build_psl(){
function _build_curl(){
cd ${now_dir}
_green "_build_curl begin \n"
_download_if_not_exists https://github.com/curl/curl/releases/download/curl-8_7_1/curl-8.7.1.tar.gz curl-8.7.1.tar.gz
tar xzvf curl-8.7.1.tar.gz -C ${build_dir}
local CURL_VERSION_NUMERIC=8.9.1
_download_if_not_exists https://github.com/curl/curl/releases/download/curl-8_9_1/curl-$CURL_VERSION_NUMERIC.tar.gz curl-$CURL_VERSION_NUMERIC.tar.gz
tar xzvf curl-$CURL_VERSION_NUMERIC.tar.gz -C ${build_dir}
# cp scripts/0001-Fix-compilation-with-disable-manual.patch ${build_dir}/curl-8.7.1/commit_38d582ff5.patch
## https://sourceforge.net/p/curl/bugs/1350/
pushd ${build_dir}/curl-8.7.1
pushd ${build_dir}/curl-$CURL_VERSION_NUMERIC
# patch -p1 < commit_38d582ff5.patch
rm -rf src/tool_hugehelp.c
autoreconf -fi
Expand Down Expand Up @@ -359,7 +360,7 @@ function _build_curl(){
make install
_green "_build_curl completed \n"
rm -rf ${curl_http3_dir}/share
rm -rf curl-8.7.1.tar.gz
rm -rf curl-$CURL_VERSION_NUMERIC.tar.gz
popd
}

Expand Down

0 comments on commit 9034e89

Please sign in to comment.