Skip to content

Commit

Permalink
build(thirdparty): bump libcurl from 7.47.0 to 8.4.0 (#1633)
Browse files Browse the repository at this point in the history
#1604

In pegasus, both prometheus-cpp
and http client are
based on libcurl.

Above all, an important version 8.4.0 for libcurl, which has fixed severity HIGH
security problem(curl/curl#12026), would be
released in Oct 11.

Therefore, we should bump libcurl from 7.47.0 to 8.4.0
  • Loading branch information
empiredan authored Oct 12, 2023
1 parent 0ccf110 commit 6064d70
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -297,17 +297,20 @@ set(CURL_OPTIONS
--without-libssh2
--without-ssl
--without-libidn
--without-zstd
)
if (APPLE)
set(CURL_OPTIONS
${CURL_OPTIONS}
--without-nghttp2
)
${CURL_OPTIONS}
--without-nghttp2
--without-libidn2
--without-brotli
)
endif ()
ExternalProject_Add(curl
URL ${OSS_URL_PREFIX}/curl-7.47.0.tar.gz
http://curl.haxx.se/download/curl-7.47.0.tar.gz
URL_MD5 5109d1232d208dfd712c0272b8360393
URL ${OSS_URL_PREFIX}/curl-8.4.0.tar.gz
http://curl.haxx.se/download/curl-8.4.0.tar.gz
URL_MD5 533e8a3b1228d5945a6a512537bea4c7
CONFIGURE_COMMAND ./configure --prefix=${TP_OUTPUT}
${CURL_OPTIONS}
BUILD_IN_SOURCE 1
Expand Down

0 comments on commit 6064d70

Please sign in to comment.