From add0b0d394f0d039a7b8c690f352b30d44819160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Fri, 3 Jan 2025 12:44:13 +0100 Subject: [PATCH] Fix: Require libcurl >= 7.83.0 The curl function curl_easy_header is used which got introduced into libcurl with 7.83.0 according to https://curl.se/libcurl/c/curl_easy_header.html. Closes #861 --- INSTALL.md | 2 +- openvasd/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index e0c26730..52dbbe96 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -18,7 +18,7 @@ General build environment: Specific development libraries: * libcjson >= 1.7.14 (util) -* libcurl >= 7.74.0 (openvasd) +* libcurl >= 7.83.0 (openvasd) * libglib >= 2.42 (all) * libgio >= 2.42 (util) * zlib >= 1.2.8 (util) diff --git a/openvasd/CMakeLists.txt b/openvasd/CMakeLists.txt index 030ac798..ce0c8cda 100644 --- a/openvasd/CMakeLists.txt +++ b/openvasd/CMakeLists.txt @@ -13,7 +13,7 @@ endif (NOT PKG_CONFIG_FOUND) ## Dependency checks pkg_check_modules (GLIB REQUIRED glib-2.0>=2.42) -pkg_check_modules (CURL REQUIRED libcurl>=7.77.0) +pkg_check_modules (CURL REQUIRED libcurl>=7.83.0) # for json parsing we need cJSON pkg_check_modules (CJSON REQUIRED libcjson>=1.7.14)