textproc/opensearch-dashboards219: Remove DEPRECATED and EXPIRE_DATE
- Update node dependency to node20 - Bump PORTREVISION
This commit is contained in:
parent
7b87536dfc
commit
4a195f2f08
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user