From nobody Wed Nov 16 19:07:10 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NCCGQ4r7Fz4hNvF; Wed, 16 Nov 2022 19:07:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NCCGQ4F20z3lMK; Wed, 16 Nov 2022 19:07:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668625630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DFzqOs99vJmnDFGaRgzd/O+hFWK4ciGBkwDrc4E/0Dw=; b=oGBoGwyScFFBzryQ7W7/Ch9G/s3LUdCpbUM1Lu1Eudt4Io3wew6ZvpgrdpDlQJD1NwFGNv uPv6tK4GwfkxqjmUcVF+lDB9UqfvuHigo+FBwnOsxJaS6xswGByeGGn5fC1OinpYOHDiyY CJcIpecZDC+Ohnyjsabi3d45jiD6cd6sOYAf2WIsy0FqUETjLJXJo6Hh0AAApbapWBoJD4 jNfWmj8Ia2Y1O87J/kByeWo4NdZdc59pK/6L8vZXb52tIvHvEpjwct4JJ0wgGIaXaO5ySw olkj1yAvxWxDP/Pe1wOTdiaP4Rkr8YMXruP9s0KZ1rLcgmuOtZGkfiB9yuXEjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668625630; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DFzqOs99vJmnDFGaRgzd/O+hFWK4ciGBkwDrc4E/0Dw=; b=RAgJXGWY/Y2S6bV4OJkLnr2qqXT8EgLY11J12gaBQxDw2bX0bf4SSATcFRWaOJ3ryygOdl vFEmsf3KPkOLwlWpIwVqquegPP6pAwljNWBWnUi7oQ4LsKH8wx6VDAIMAXLpWzgyDDCeVe BJavBBwm3fOh5TD+HJfEcwzrXGDex/YYZg/MXOrf23G3MvNjzd8GijDcwYtqZWwuC8ftsv IqhEp/Hscc0hCT+vm8LltzfZFLIz92FkUxA/6Tb6Mwc/ydQfApgSsd0ZtUe0Tv/T0o1VkI 8p/zzPfSS24xwIsi22fdQsOz09O+Eaqr9ug3ianK12TfRvwBKn1zGnCn7m+ijA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668625630; a=rsa-sha256; cv=none; b=hDd5oW+XR8QmnAJrHPthfOI9MRjpxwo4nhkYU36HnU+pfESQx9s+71BGVEBdpPZR9b+fDN XjSqiDYA8AqN/LJ7zjQK+X2v245ivW6KSSutNeupRZubrfcsPClTolWkJ8suxtu0uaeYIg sAg74pzPAI38r2HDBtZNcDI40g+pgOvmHa9Fr7a/aUusRY5g0mhNFxRWzfbpBQ7rmIQiuN 7k8THrHYQH+xEyyJjsBqjO4iOmsoqJP+qsQsGvi7GvN0VVEzAMkRDCmbdVWa3/r/j0BMiv qP56bdhJWVIxWS2kjgjGS5gPg2fkfNCCU49GVFqtO8n6KRhjlbbDexRgZwZ1Aw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NCCGQ3BCpz1CRf; Wed, 16 Nov 2022 19:07:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AGJ7AnP093392; Wed, 16 Nov 2022 19:07:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AGJ7AT7093391; Wed, 16 Nov 2022 19:07:10 GMT (envelope-from git) Date: Wed, 16 Nov 2022 19:07:10 GMT Message-Id: <202211161907.2AGJ7AT7093391@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: 003cac755cca - main - security/wazuh-agent: Fix compile issues List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 003cac755cca2a771b230fcfa777572d0a7354dc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=003cac755cca2a771b230fcfa777572d0a7354dc commit 003cac755cca2a771b230fcfa777572d0a7354dc Author: Jose Alonso Cardenas Marquez AuthorDate: 2022-11-16 19:04:54 +0000 Commit: Jose Alonso Cardenas Marquez 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")