diff --git a/security/wazuh-dashboard/Makefile b/security/wazuh-dashboard/Makefile index f0223e63f902..acab9aeb48f6 100644 --- a/security/wazuh-dashboard/Makefile +++ b/security/wazuh-dashboard/Makefile @@ -1,43 +1,41 @@ PORTNAME= wazuh DISTVERSIONPREFIX= v DISTVERSION= 4.12.0 +PORTREVISION= 1 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 -DEPRECATED= Depends on expiring textproc/opensearch-dashboards219 -EXPIRATION_DATE=2025-09-01 - RUN_DEPENDS= ${LOCALBASE}/www/opensearch-dashboards/bin/opensearch-dashboards:textproc/opensearch-dashboards219 NO_BUILD= yes SUB_FILES= pkg-message OPENSEARCH_VERSION= 2.19.1 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 @${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/) .include diff --git a/security/wazuh-indexer/Makefile b/security/wazuh-indexer/Makefile index 8854e5b64121..710d6a2e194f 100644 --- a/security/wazuh-indexer/Makefile +++ b/security/wazuh-indexer/Makefile @@ -1,37 +1,35 @@ PORTNAME= wazuh PORTVERSION= 4.12.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= LOCAL/acm/${PORTNAME}/ PKGNAMESUFFIX= -indexer DISTFILES= ${PORTNAME}-${PORTVERSION}${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 -DEPRECATED= Depends on expiring textproc/opensearch-dashboards219 -EXPIRATION_DATE=2025-09-01 - RUN_DEPENDS= ${LOCALBASE}/lib/opensearch/bin/opensearch:textproc/opensearch219 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}/${PORTNAME}-${PORTVERSION}-indexer.yml ${WRKSRC}/wazuh-indexer.yml do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX} ${INSTALL_DATA} ${WRKSRC}/wazuh-indexer.yml \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX}/wazuh-indexer.yml .include diff --git a/textproc/opensearch-dashboards219/Makefile b/textproc/opensearch-dashboards219/Makefile index d45962095735..8939dc02e167 100644 --- a/textproc/opensearch-dashboards219/Makefile +++ b/textproc/opensearch-dashboards219/Makefile @@ -1,95 +1,93 @@ PORTNAME= opensearch-dashboards DISTVERSION= 2.19.1 DISTVERSIONSUFFIX= -linux-${OPENSEARCH_ARCH} +PORTREVISION= 1 CATEGORIES= textproc www MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/ PKGNAMESUFFIX= 219 MAINTAINER= opensearch@FreeBSD.org COMMENT= Visualization dashboards for OpenSearch WWW= https://opensearch.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -DEPRECATED= Depends on expired www/npm-node18 -EXPIRATION_DATE=2025-09-01 - ONLY_FOR_ARCHS= aarch64 amd64 CONFLICTS= opensearch-dashboards opensearch-dashboards210 opensearch-dashboards213 \ opensearch-dashboards216 -BUILD_DEPENDS= npm-node18>0:www/npm-node18 +BUILD_DEPENDS= npm-node20>0:www/npm-node20 -USES= nodejs:18,build,run python:build +USES= nodejs:20,build,run python:build USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-deinstall SUB_LIST= PORTNAME="${PORTNAME}" \ PKGNAMESUFFIX="${PKGNAMESUFFIX}" \ WWWDIR=${WWWDIR} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -NODE_VER= 18.18.0 +NODE_VER= 20.19.2 NO_BUILD= yes _DEVDIR= ${WRKDIR}/.devdir .include .if ${ARCH} == "aarch64" OPENSEARCH_ARCH= arm64 .else OPENSEARCH_ARCH= x64 .endif post-patch: - @${REINPLACE_CMD} -e 's|14.20.1|${NODE_VER}|g' ${WRKSRC}/package.json + @${REINPLACE_CMD} -e 's|<19|<=${NODE_VER}|g' ${WRKSRC}/package.json ${RM} \ ${WRKSRC}/bin/*.orig \ ${WRKSRC}/bin/*.bak \ ${WRKSRC}/package.json.bak ${RM} -r ${WRKSRC}/plugins/reportsDashboards/.chromium do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/config/opensearch_dashboards.yml ${STAGEDIR}${ETCDIR}/opensearch_dashboards.yml.sample (cd ${WRKSRC} && \ ${COPYTREE_SHARE} "data node_modules package.json plugins src" ${STAGEDIR}${WWWDIR} && \ ${COPYTREE_BIN} bin ${STAGEDIR}${WWWDIR}) post-install: ${ECHO} "@sample ${ETCDIR}/opensearch_dashboards.yml.sample" >> ${TMPPLIST} ${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} ${ECHO} "@dir(www,www) ${WWWDIR}/data" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/reportsDashboards/node_modules/set-interval-async/test/resources/legacy" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/reportsDashboards/node_modules/set-interval-async/test/resources/fixed" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/reportsDashboards/node_modules/set-interval-async/test/resources/dynamic" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/reportsDashboards/node_modules/set-interval-async/examples/fixed" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/reportsDashboards/node_modules/set-interval-async/examples/dynamic" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/observabilityDashboards/server/adaptors/integrations/__test__" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/observabilityDashboards/server/adaptors/integrations/repository/__test__" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Alerts/components/AlertFlyout" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/CreateDetector/components/ConfigureAlerts/components/AlertCondition" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/AlertTriggerView" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/DetectorBasicDetailsView" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/DetectorRulesView" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/FieldMappingsView" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateAlertConditions" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateDetectorBasicDetails" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateDetectorRules" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateFieldMappings" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/AlertTriggersView" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/DetectorDetails" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/DetectorDetailsView" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/Detectors" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/EditFieldMappings" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/DeleteModal" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/RuleEditor/components" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/RulesTable" >> ${TMPPLIST} ${ECHO} "@dir ${WWWDIR}/plugins/securityDashboards/server/multitenancy/test" >> ${TMPPLIST} .include