git: 4a195f2f08e5 - main - textproc/opensearch-dashboards219: Remove DEPRECATED and EXPIRE_DATE

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Tue, 24 Jun 2025 00:48:44 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4a195f2f08e5fa3495155d34e5ff41d2ef2d3d41

commit 4a195f2f08e5fa3495155d34e5ff41d2ef2d3d41
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2025-06-24 00:47:37 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-06-24 00:47:37 +0000

    textproc/opensearch-dashboards219: Remove DEPRECATED and EXPIRE_DATE
    
    - Update node dependency to node20
    - Bump PORTREVISION
---
 security/wazuh-dashboard/Makefile          |  4 +---
 security/wazuh-indexer/Makefile            |  4 +---
 textproc/opensearch-dashboards219/Makefile | 12 +++++-------
 3 files changed, 7 insertions(+), 13 deletions(-)

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,6 +1,7 @@
 PORTNAME=	wazuh
 DISTVERSIONPREFIX=	v
 DISTVERSION=	4.12.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	LOCAL/acm/${PORTNAME}/
 PKGNAMESUFFIX=  -dashboard
@@ -14,9 +15,6 @@ 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
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,5 +1,6 @@
 PORTNAME=	wazuh
 PORTVERSION=	4.12.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	LOCAL/acm/${PORTNAME}/
 PKGNAMESUFFIX=	-indexer
@@ -12,9 +13,6 @@ 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
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,6 +1,7 @@
 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
@@ -12,17 +13,14 @@ 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
@@ -32,7 +30,7 @@ SUB_LIST=	PORTNAME="${PORTNAME}" \
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-NODE_VER=	18.18.0
+NODE_VER=	20.19.2
 NO_BUILD=	yes
 
 _DEVDIR=	${WRKDIR}/.devdir
@@ -46,7 +44,7 @@ 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 \