git: 339623011f2c - main - security/wazuh-agent: update to 4.3.8

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sat, 24 Sep 2022 06:44:01 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=339623011f2c712d20e14c9b99164359a9aa1f05

commit 339623011f2c712d20e14c9b99164359a9aa1f05
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-09-24 06:42:16 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-09-24 06:43:26 +0000

    security/wazuh-agent: update to 4.3.8
    
    ChangeLog at:   https://documentation.wazuh.com/current/release-notes/release-4-3-8.html
---
 security/wazuh-agent/Makefile  |  4 +--
 security/wazuh-agent/distinfo  | 78 +++++++++++++++++++++---------------------
 security/wazuh-agent/pkg-plist |  4 +--
 3 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/security/wazuh-agent/Makefile b/security/wazuh-agent/Makefile
index b118dd24e781..c08d79b62dfd 100644
--- a/security/wazuh-agent/Makefile
+++ b/security/wazuh-agent/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	wazuh
-DISTVERSION=	4.3.7
+DISTVERSION=	4.3.8
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 MASTER_SITES=	https://packages.wazuh.com/deps/16/libraries/sources/:wazuh_sources
@@ -127,7 +127,7 @@ do-install:
 	${INSTALL_DATA} /dev/null ${STAGEDIR}${WAZUHPREFIX}/etc/client.keys
 	${INSTALL_DATA} ${WRKSRC}/etc/wpk_root.pem ${STAGEDIR}${WAZUHPREFIX}/etc/
 
-	${INSTALL_DATA} ${WRKSRC}/etc/ossec-agent.conf ${STAGEDIR}${WAZUHPREFIX}/etc/ossec.conf
+	${INSTALL_DATA} ${WRKSRC}/etc/ossec-agent.conf ${STAGEDIR}${WAZUHPREFIX}/etc/ossec.conf.sample
 
 	${INSTALL_SCRIPT} ${WRKSRC}/src/agentlessd/scripts/* ${STAGEDIR}${WAZUHPREFIX}/agentless/
 
diff --git a/security/wazuh-agent/distinfo b/security/wazuh-agent/distinfo
index 614f004a6566..7da937ee704b 100644
--- a/security/wazuh-agent/distinfo
+++ b/security/wazuh-agent/distinfo
@@ -1,39 +1,39 @@
-TIMESTAMP = 1661466277
-SHA256 (wazuh-4.3.7/cJSON.tar.gz) = 678d796318da57d5f38075e74bbb3b77375dc3f8bb49da341ad1b43c417e8cc1
-SIZE (wazuh-4.3.7/cJSON.tar.gz) = 27863
-SHA256 (wazuh-4.3.7/curl.tar.gz) = 78ad4a75fec89dd83c75cf35203c1c757c21cb2a6ff574647b13bf86c8798d66
-SIZE (wazuh-4.3.7/curl.tar.gz) = 3692998
-SHA256 (wazuh-4.3.7/libdb.tar.gz) = 7e9c44e8c7fdb186ff521a8d085b1bfa634d342dcc777ecea1fbf9a98ab5dc5e
-SIZE (wazuh-4.3.7/libdb.tar.gz) = 3874990
-SHA256 (wazuh-4.3.7/libffi.tar.gz) = 0e971f64bacc22094e89f034bba075b40ecc2c2c2900eecd7ae85815fd6c9f69
-SIZE (wazuh-4.3.7/libffi.tar.gz) = 964576
-SHA256 (wazuh-4.3.7/libyaml.tar.gz) = 35daad608b372d5ce099f738c0f21bfcc03d6920d92f448386c584e664f1376a
-SIZE (wazuh-4.3.7/libyaml.tar.gz) = 424656
-SHA256 (wazuh-4.3.7/openssl.tar.gz) = cdd47d1de792c94eef02344a768afee151c16f5fb92582ba3b97168a7b65ffc0
-SIZE (wazuh-4.3.7/openssl.tar.gz) = 10162682
-SHA256 (wazuh-4.3.7/procps.tar.gz) = 221f395e29d1bdbe4bacc9db39602eee0bae685a935437be0d7feb42e3192d07
-SIZE (wazuh-4.3.7/procps.tar.gz) = 55897
-SHA256 (wazuh-4.3.7/sqlite.tar.gz) = e68521637d9e4e60115707cd7f35275a92ce6d0fc1ff04e22d7bbf0c393f8ff1
-SIZE (wazuh-4.3.7/sqlite.tar.gz) = 2296429
-SHA256 (wazuh-4.3.7/zlib.tar.gz) = ddbeac924cc7fc3274ad0d5cfcf2a72792f0500e9607c65d02e8753f3a510a01
-SIZE (wazuh-4.3.7/zlib.tar.gz) = 643568
-SHA256 (wazuh-4.3.7/audit-userspace.tar.gz) = e82a32e5edf93b055160e14bc97f41dead39287925851dc80a7638e2d4d30434
-SIZE (wazuh-4.3.7/audit-userspace.tar.gz) = 1682820
-SHA256 (wazuh-4.3.7/msgpack.tar.gz) = 06d63bcf32896cd0af5480c401134b1ad1c166fd84ebe5b486e792101ee854e2
-SIZE (wazuh-4.3.7/msgpack.tar.gz) = 591294
-SHA256 (wazuh-4.3.7/bzip2.tar.gz) = 27688ee0316a64b39e511b2c224070cad97c394a5f711f9d055fc1809d895bcd
-SIZE (wazuh-4.3.7/bzip2.tar.gz) = 71277
-SHA256 (wazuh-4.3.7/nlohmann.tar.gz) = b5c3a99e9eb5331d958e2bdd3a6283c4b9ea7ad674dd4669ee26d5c5eef845fe
-SIZE (wazuh-4.3.7/nlohmann.tar.gz) = 134429
-SHA256 (wazuh-4.3.7/googletest.tar.gz) = 8c1e8a0a7f221c2125e99e6acb709da2ba472476b4d057c58de504bebf38d417
-SIZE (wazuh-4.3.7/googletest.tar.gz) = 885874
-SHA256 (wazuh-4.3.7/libpcre2.tar.gz) = d0bafc3579fa0af0a39951586edfa349e1f4be83d28bed86abe0a3fc4b34fcfa
-SIZE (wazuh-4.3.7/libpcre2.tar.gz) = 1252173
-SHA256 (wazuh-4.3.7/libplist.tar.gz) = 88278d4bdfc1bd6a3a1a55a4f3d933683d2732ba09cf7a749fe8ec8eec406e3c
-SIZE (wazuh-4.3.7/libplist.tar.gz) = 1520623
-SHA256 (wazuh-4.3.7/libarchive.tar.gz) = f863f382ead9f61abc560ff0ead0be3aa9e95b6f8c62756e1f034f4c2386ba79
-SIZE (wazuh-4.3.7/libarchive.tar.gz) = 7040169
-SHA256 (wazuh-4.3.7/popt.tar.gz) = d6880a06622ca32dc4aa39ad5dcf7bef2faa81bd931afbe64ba434ad8fee1daa
-SIZE (wazuh-4.3.7/popt.tar.gz) = 891309
-SHA256 (wazuh-4.3.7/wazuh-wazuh-v4.3.7_GH0.tar.gz) = c0aa8a409d14d805c552bb244a5834d9f514d47de1d9be4f5e1fee8843e7ef37
-SIZE (wazuh-4.3.7/wazuh-wazuh-v4.3.7_GH0.tar.gz) = 8640440
+TIMESTAMP = 1663747419
+SHA256 (wazuh-4.3.8/cJSON.tar.gz) = 678d796318da57d5f38075e74bbb3b77375dc3f8bb49da341ad1b43c417e8cc1
+SIZE (wazuh-4.3.8/cJSON.tar.gz) = 27863
+SHA256 (wazuh-4.3.8/curl.tar.gz) = 78ad4a75fec89dd83c75cf35203c1c757c21cb2a6ff574647b13bf86c8798d66
+SIZE (wazuh-4.3.8/curl.tar.gz) = 3692998
+SHA256 (wazuh-4.3.8/libdb.tar.gz) = 7e9c44e8c7fdb186ff521a8d085b1bfa634d342dcc777ecea1fbf9a98ab5dc5e
+SIZE (wazuh-4.3.8/libdb.tar.gz) = 3874990
+SHA256 (wazuh-4.3.8/libffi.tar.gz) = 0e971f64bacc22094e89f034bba075b40ecc2c2c2900eecd7ae85815fd6c9f69
+SIZE (wazuh-4.3.8/libffi.tar.gz) = 964576
+SHA256 (wazuh-4.3.8/libyaml.tar.gz) = 35daad608b372d5ce099f738c0f21bfcc03d6920d92f448386c584e664f1376a
+SIZE (wazuh-4.3.8/libyaml.tar.gz) = 424656
+SHA256 (wazuh-4.3.8/openssl.tar.gz) = cdd47d1de792c94eef02344a768afee151c16f5fb92582ba3b97168a7b65ffc0
+SIZE (wazuh-4.3.8/openssl.tar.gz) = 10162682
+SHA256 (wazuh-4.3.8/procps.tar.gz) = 221f395e29d1bdbe4bacc9db39602eee0bae685a935437be0d7feb42e3192d07
+SIZE (wazuh-4.3.8/procps.tar.gz) = 55897
+SHA256 (wazuh-4.3.8/sqlite.tar.gz) = e68521637d9e4e60115707cd7f35275a92ce6d0fc1ff04e22d7bbf0c393f8ff1
+SIZE (wazuh-4.3.8/sqlite.tar.gz) = 2296429
+SHA256 (wazuh-4.3.8/zlib.tar.gz) = ddbeac924cc7fc3274ad0d5cfcf2a72792f0500e9607c65d02e8753f3a510a01
+SIZE (wazuh-4.3.8/zlib.tar.gz) = 643568
+SHA256 (wazuh-4.3.8/audit-userspace.tar.gz) = e82a32e5edf93b055160e14bc97f41dead39287925851dc80a7638e2d4d30434
+SIZE (wazuh-4.3.8/audit-userspace.tar.gz) = 1682820
+SHA256 (wazuh-4.3.8/msgpack.tar.gz) = 06d63bcf32896cd0af5480c401134b1ad1c166fd84ebe5b486e792101ee854e2
+SIZE (wazuh-4.3.8/msgpack.tar.gz) = 591294
+SHA256 (wazuh-4.3.8/bzip2.tar.gz) = 27688ee0316a64b39e511b2c224070cad97c394a5f711f9d055fc1809d895bcd
+SIZE (wazuh-4.3.8/bzip2.tar.gz) = 71277
+SHA256 (wazuh-4.3.8/nlohmann.tar.gz) = b5c3a99e9eb5331d958e2bdd3a6283c4b9ea7ad674dd4669ee26d5c5eef845fe
+SIZE (wazuh-4.3.8/nlohmann.tar.gz) = 134429
+SHA256 (wazuh-4.3.8/googletest.tar.gz) = 8c1e8a0a7f221c2125e99e6acb709da2ba472476b4d057c58de504bebf38d417
+SIZE (wazuh-4.3.8/googletest.tar.gz) = 885874
+SHA256 (wazuh-4.3.8/libpcre2.tar.gz) = d0bafc3579fa0af0a39951586edfa349e1f4be83d28bed86abe0a3fc4b34fcfa
+SIZE (wazuh-4.3.8/libpcre2.tar.gz) = 1252173
+SHA256 (wazuh-4.3.8/libplist.tar.gz) = 88278d4bdfc1bd6a3a1a55a4f3d933683d2732ba09cf7a749fe8ec8eec406e3c
+SIZE (wazuh-4.3.8/libplist.tar.gz) = 1520623
+SHA256 (wazuh-4.3.8/libarchive.tar.gz) = f863f382ead9f61abc560ff0ead0be3aa9e95b6f8c62756e1f034f4c2386ba79
+SIZE (wazuh-4.3.8/libarchive.tar.gz) = 7040169
+SHA256 (wazuh-4.3.8/popt.tar.gz) = d6880a06622ca32dc4aa39ad5dcf7bef2faa81bd931afbe64ba434ad8fee1daa
+SIZE (wazuh-4.3.8/popt.tar.gz) = 891309
+SHA256 (wazuh-4.3.8/wazuh-wazuh-v4.3.8_GH0.tar.gz) = 57e27c7f222348dee31c24147c6eb74dabb2237d4185379e98bf2b831ac3cf5c
+SIZE (wazuh-4.3.8/wazuh-wazuh-v4.3.8_GH0.tar.gz) = 8641871
diff --git a/security/wazuh-agent/pkg-plist b/security/wazuh-agent/pkg-plist
index bcc14090eca5..1600cc01ea4e 100644
--- a/security/wazuh-agent/pkg-plist
+++ b/security/wazuh-agent/pkg-plist
@@ -49,7 +49,7 @@
 @mode 660
 @owner root
 @group wazuh
-/var/ossec/etc/ossec.conf
+@sample /var/ossec/etc/ossec.conf.sample
 /var/ossec/etc/shared/cis_apache2224_rcl.txt
 /var/ossec/etc/shared/cis_debian_linux_rcl.txt
 /var/ossec/etc/shared/cis_mysql5-6_community_rcl.txt
@@ -429,7 +429,7 @@
 @dir /var/ossec/backup
 @dir /var/ossec/bin
 @dir /var/ossec/etc/shared/default
-@dir /var/ossec/etc/shared
+@dir(root,wazuh,770) /var/ossec/etc/shared
 @dir(wazuh,wazuh,770) /var/ossec/etc
 @dir(root,wazuh,750) /var/ossec/lib
 @dir(wazuh,wazuh,750) /var/ossec/logs/wazuh