summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/opensearch-dashboards219/Makefile12
1 files changed, 5 insertions, 7 deletions
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 \