git: 003cac755cca - main - security/wazuh-agent: Fix compile issues
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Nov 2022 19:07:10 UTC
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=003cac755cca2a771b230fcfa777572d0a7354dc commit 003cac755cca2a771b230fcfa777572d0a7354dc Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2022-11-16 19:04:54 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2022-11-16 19:06:55 +0000 security/wazuh-agent: Fix compile issues - Add missing dependency PR: 267700 Reported by: mike _at_ sentex.net --- security/wazuh-agent/Makefile | 2 ++ .../wazuh-agent/files/patch-src-data_provider_CMakeLists.txt | 11 +++++++++++ .../files/patch-src-shared_modules-dbsync_CMakeLists.txt | 11 +++++++++++ .../files/patch-src-shared_modules-rsync_CMakeLists.txt | 11 +++++++++++ 4 files changed, 35 insertions(+) diff --git a/security/wazuh-agent/Makefile b/security/wazuh-agent/Makefile index f1b29f55e56f..2b55dad6a1e8 100644 --- a/security/wazuh-agent/Makefile +++ b/security/wazuh-agent/Makefile @@ -1,6 +1,7 @@ PORTNAME= wazuh DISTVERSION= 4.3.9 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://packages.wazuh.com/deps/17/libraries/sources/:wazuh_sources PKGNAMESUFFIX= -agent @@ -16,6 +17,7 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cmake:devel/cmake-core +LIB_DEPENDS= libnghttp2.so:www/libnghttp2 USES= cpe gmake perl5 readline shebangfix sqlite:3 uidfix diff --git a/security/wazuh-agent/files/patch-src-data_provider_CMakeLists.txt b/security/wazuh-agent/files/patch-src-data_provider_CMakeLists.txt new file mode 100644 index 000000000000..f042a27f6a88 --- /dev/null +++ b/security/wazuh-agent/files/patch-src-data_provider_CMakeLists.txt @@ -0,0 +1,11 @@ +--- src/data_provider/CMakeLists.txt 2022-11-15 18:38:58.096561000 -0500 ++++ src/data_provider/CMakeLists.txt 2022-11-15 18:39:14.271410000 -0500 +@@ -146,7 +146,7 @@ + target_link_libraries(sysinfo cjson ${SRC_FOLDER}/external/libplist/bin/lib/libplist-2.0.a) + endif(CMAKE_SYSTEM_NAME STREQUAL "Windows") + +-target_link_libraries(sysinfo wazuhext) ++target_link_libraries(sysinfo nghttp2 wazuhext) + + + if(APPLE) diff --git a/security/wazuh-agent/files/patch-src-shared_modules-dbsync_CMakeLists.txt b/security/wazuh-agent/files/patch-src-shared_modules-dbsync_CMakeLists.txt new file mode 100644 index 000000000000..e26d226d0907 --- /dev/null +++ b/security/wazuh-agent/files/patch-src-shared_modules-dbsync_CMakeLists.txt @@ -0,0 +1,11 @@ +--- src/shared_modules/dbsync/CMakeLists.txt 2022-11-15 18:47:00.075043000 -0500 ++++ src/shared_modules/dbsync/CMakeLists.txt 2022-11-15 18:47:18.385940000 -0500 +@@ -72,7 +72,7 @@ + endif(NOT CMAKE_SYSTEM_NAME STREQUAL "AIX") + endif(CMAKE_SYSTEM_NAME STREQUAL "Windows") + +-target_link_libraries(dbsync wazuhext) ++target_link_libraries(dbsync nghttp2 wazuhext) + + if(CMAKE_BUILD_TYPE STREQUAL "Release") + if(CMAKE_SYSTEM_NAME STREQUAL "AIX") diff --git a/security/wazuh-agent/files/patch-src-shared_modules-rsync_CMakeLists.txt b/security/wazuh-agent/files/patch-src-shared_modules-rsync_CMakeLists.txt new file mode 100644 index 000000000000..aac9d1e9aaf0 --- /dev/null +++ b/security/wazuh-agent/files/patch-src-shared_modules-rsync_CMakeLists.txt @@ -0,0 +1,11 @@ +--- src/shared_modules/rsync/CMakeLists.txt 2022-11-15 18:49:35.527593000 -0500 ++++ src/shared_modules/rsync/CMakeLists.txt 2022-11-15 18:49:52.194493000 -0500 +@@ -74,7 +74,7 @@ + endif(NOT CMAKE_SYSTEM_NAME STREQUAL "AIX") + endif(CMAKE_SYSTEM_NAME STREQUAL "Windows") + +-target_link_libraries(rsync dbsync wazuhext) ++target_link_libraries(rsync nghttp2 dbsync wazuhext) + + if(CMAKE_BUILD_TYPE STREQUAL "Release") + if(CMAKE_SYSTEM_NAME STREQUAL "AIX")