From nobody Sun Sep 25 05:42:16 2022 X-Original-To: dev-commits-ports-all@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 4MZvsj1Mryz4dK3V; Sun, 25 Sep 2022 05:42:17 +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 4MZvsj0mwJz3D9h; Sun, 25 Sep 2022 05:42:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664084537; 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=o5mSTKDCZ/NsByHtEk+NBFp9sRhw2du67nP6l0cTr7s=; b=T9w/oDVXxW8D9AIXBP1KGzo8+PDiP4vRqOvYk8WdcKzdtaCGTOo8d5aMfNbG9/WXUUNBeF M5LI/a9WSKQuJFQptDPciL2P/ePhLrm3uKn+q16TCKuAD4JbLgdraFiY3dSwLFD398Eew6 67+BvW6OO57U+VKOZ59PpBsz5GdKgFLUn5mXI+f3uRH2j1Dc9JgzLY3jnd1s8BbE4Jnm/9 BAsfcFiDoHoe9HkSPX2NALnjIzFru+xCZzwqBdImu8jK/VUWQ1cdWWXklR7OMJVy9Qc62N Y2AykfCdVFp07il9Rj6rVTsBZ33VLACUt9AkxFgrsAoVHfF7Vloz/Rqkg08kdA== 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 4MZvsh6xtqzKTr; Sun, 25 Sep 2022 05:42:16 +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 28P5gG5f023530; Sun, 25 Sep 2022 05:42:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28P5gGFH023529; Sun, 25 Sep 2022 05:42:16 GMT (envelope-from git) Date: Sun, 25 Sep 2022 05:42:16 GMT Message-Id: <202209250542.28P5gGFH023529@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: 8c9cf931f27f - main - security/wazuh-indexer: New port: A highly scalable, full-text search and analytics engine List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 8c9cf931f27fd827b57e6c3e5e438542a9cd72bf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664084537; 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=o5mSTKDCZ/NsByHtEk+NBFp9sRhw2du67nP6l0cTr7s=; b=N+UKN+N2AVab29PWLkagnRkQu4wUtrRGm6QnktDAcwtmZYWgT0lqukNVXavsqjEYqlsJht h2SgXjltbfRpcLi9sjWlLZhn7moXTIlfrNCdvlZjnokcTzubaWGXTMUrQMwHA1qTX7uQ9C wsQV4lijiiPvA7bdH5mnnx7WWtEsWNyxBLsD8Sc1kqL0WT8qJ9vaDLThCN/rGCxWojav8o nrh+4JBNxZh56rT3LUeYUzi/YlfdNIhW6KGORCN4SLtvF4qzABqH+Svfzshzfq5K9HN+S1 ksvH0WQu08br6JUsyIp/fmai2NFNGQ3QYaVAfuShXO6s3LlQ3ABEq2pCNZYvFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664084537; a=rsa-sha256; cv=none; b=EqJL/0oCCEN2f8W1hf757GzaJoWOoGwu6eQRIAdzq5OzLHfcCO2rAMiiehyXI6XuCO0D+L vf5o4wKGhpzLtblCMWZxrq9c7QytXdvTY0hh09zUwrLj2cygf6EWS1xRJ0Ei+KNdC/GT3C HawuQZ1RDvTyRWVbjVhIKyHu+6jvov2RlITNxCx3scPA9kl5FuqstVj+OqyQOnyZmppwKf t4NODAuXu33xBmzBp4ExX9E+E9rX3ELg6UsKmoaCCMNtSYcM7UOMm5QbjdxHaK7vtBUehB UbpqwEek02IeirK2tIcyu8EmD2MtDYhw468A2loPo16/g7RxCnq3jUcWswoUOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c9cf931f27fd827b57e6c3e5e438542a9cd72bf commit 8c9cf931f27fd827b57e6c3e5e438542a9cd72bf Author: Jose Alonso Cardenas Marquez AuthorDate: 2022-09-25 05:40:47 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2022-09-25 05:42:07 +0000 security/wazuh-indexer: New port: A highly scalable, full-text search and analytics engine Wazuh is a free and open source platform used for threat prevention, detection, and response. It is capable of protecting workloads across on-premises, virtualized, containerized, and cloud-based environments. Wazuh solution consists of an endpoint security agent, deployed to the monitored systems, and a management server, which collects and analyzes data gathered by the agents. Besides, Wazuh has been fully integrated with the Elastic Stack, providing a search engine and data visualization tool that allows users to navigate through their security alerts. --- security/Makefile | 1 + security/wazuh-indexer/Makefile | 33 ++++++++++++++ security/wazuh-indexer/distinfo | 3 ++ security/wazuh-indexer/files/pkg-message.in | 69 +++++++++++++++++++++++++++++ security/wazuh-indexer/pkg-descr | 9 ++++ 5 files changed, 115 insertions(+) diff --git a/security/Makefile b/security/Makefile index 35caf7d9f56e..077cac0c38a7 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1277,6 +1277,7 @@ SUBDIR += vxquery SUBDIR += wapiti SUBDIR += wazuh-agent + SUBDIR += wazuh-indexer SUBDIR += wazuh-manager SUBDIR += webfwlog SUBDIR += weggli diff --git a/security/wazuh-indexer/Makefile b/security/wazuh-indexer/Makefile new file mode 100644 index 000000000000..7ebb9bcf199f --- /dev/null +++ b/security/wazuh-indexer/Makefile @@ -0,0 +1,33 @@ +PORTNAME= wazuh +PORTVERSION= 4.3.8 +CATEGORIES= security +MASTER_SITES= LOCAL/acm/${PORTNAME}/ +PKGNAMESUFFIX= -indexer +DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}.yml +DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} + +MAINTAINER= acm@FreeBSD.org +COMMENT= A highly scalable, full-text search and analytics engine +WWW= https://wazuh.com/ + +LICENSE= GPLv2 + +RUN_DEPENDS= ${LOCALBASE}/lib/opensearch/bin/opensearch:textproc/opensearch + +NO_BUILD= yes + +PLIST_FILES= etc/wazuh-indexer/wazuh-indexer.yml + +SUB_FILES= pkg-message + +ETCDIR= ${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX} + +do-extract: + @${MKDIR} ${WRKSRC} + ${CP} ${_DISTDIR}/wazuh-indexer.yml ${WRKSRC} + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/wazuh-indexer + ${INSTALL_DATA} ${WRKSRC}/wazuh-indexer.yml ${STAGEDIR}${PREFIX}/etc/wazuh-indexer/ + +.include diff --git a/security/wazuh-indexer/distinfo b/security/wazuh-indexer/distinfo new file mode 100644 index 000000000000..cb09fde899d7 --- /dev/null +++ b/security/wazuh-indexer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1663822747 +SHA256 (wazuh-4.3.8/wazuh-indexer.yml) = f6bc1d4de01742268ca42ef285896c31b7a31fb82f0c9f13de32d383fa3669e0 +SIZE (wazuh-4.3.8/wazuh-indexer.yml) = 2123 diff --git a/security/wazuh-indexer/files/pkg-message.in b/security/wazuh-indexer/files/pkg-message.in new file mode 100644 index 000000000000..156f632b9b72 --- /dev/null +++ b/security/wazuh-indexer/files/pkg-message.in @@ -0,0 +1,69 @@ +[ +{ type: install + message: <