1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/security/wazuh-dashboard/Makefile
Jose Alonso Cardenas Marquez e9a4fa124d
security/wazuh-*: Update to 4.7.5
- Fix build/installation on aarch64
- Fix runtime issues on 14.x and 15.x because of openssl3 support [1]

PR:		279363
Reported by:	girgen [1]
2024-06-15 12:38:13 -05:00

41 lines
1.3 KiB
Makefile

PORTNAME= wazuh
DISTVERSIONPREFIX= v
DISTVERSION= 4.7.5
CATEGORIES= security
MASTER_SITES= LOCAL/acm/${PORTNAME}/
PKGNAMESUFFIX= -dashboard
DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-plugins-${DISTVERSION}-${OPENSEARCH_VERSION}${EXTRACT_SUFX} \
opensearch_dashboards.yml
DIST_SUBDIR= ${PORTNAME}-${DISTVERSION}
MAINTAINER= acm@FreeBSD.org
COMMENT= Web user interface for data visualization and analysis
WWW= https://github.com/wazuh/wazuh-dashboard-plugins
LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/www/opensearch-dashboards/bin/opensearch-dashboards:textproc/opensearch-dashboards210
NO_BUILD= yes
SUB_FILES= pkg-message
OPENSEARCH_VERSION= 2.10.0
ETCDIR= ${PREFIX}/etc/wazuh-dashboard
WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-plugins
do-extract:
@${MKDIR} ${WRKSRC}
@cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${PORTNAME}${PKGNAMESUFFIX}-plugins-${DISTVERSION}-${OPENSEARCH_VERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}
${CP} ${_DISTDIR}/opensearch_dashboards.yml ${WRKDIR}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/www/opensearch-dashboards/plugins/wazuh
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/wazuh-dashboard
@${INSTALL_DATA} ${WRKDIR}/opensearch_dashboards.yml ${STAGEDIR}${PREFIX}/etc/wazuh-dashboard
(cd ${WRKSRC} && ${COPYTREE_SHARE} . \
${STAGEDIR}/${PREFIX}/www/opensearch-dashboards/plugins/wazuh)
.include <bsd.port.mk>