diff options
author | Sven Ruediger <admin@hackacad.net> | 2025-05-12 14:42:59 +0300 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-05-12 14:52:36 +0300 |
commit | c16e43dfcd58235f5a797624b0d9a0376014f494 (patch) | |
tree | b228f176ded6d56e53d4d11f26f7a0b621d9b03f | |
parent | textproc/opensearch: Update 2.17.1 => 3.0.0 (diff) |
textproc/opensearch-dashboards: Update 2.17.1 => 3.0.0
Release Notes:
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/release-notes/opensearch-dashboards.release-notes-2.18.0.md
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/release-notes/opensearch-dashboards.release-notes-2.19.0.md
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/release-notes/opensearch-dashboards.release-notes-2.19.1.md
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/release-notes/opensearch-dashboards.release-notes-3.0.0.md
Improve port:
- replace PORTREVISION with DISTVERSION;
- fix warnings from portclippy and portlint;
- add NO_ARCH=yes.
PR: 286648
-rw-r--r-- | textproc/opensearch-dashboards/Makefile | 25 | ||||
-rw-r--r-- | textproc/opensearch-dashboards/distinfo | 6 |
2 files changed, 13 insertions, 18 deletions
diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile index 2f462a21baed..8662aac5efff 100644 --- a/textproc/opensearch-dashboards/Makefile +++ b/textproc/opensearch-dashboards/Makefile @@ -1,7 +1,7 @@ PORTNAME= opensearch-dashboards -DISTVERSION?= 2.17.1 -PORTREVISION?= 1 +DISTVERSION?= 3.0.0 DISTVERSIONSUFFIX= -linux-x64 +PORTREVISION?= 0 CATEGORIES= textproc www MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/ @@ -12,31 +12,26 @@ WWW= https://opensearch.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -CONFLICTS?= 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} +CONFLICTS?= opensearch-dashboards210 opensearch-dashboards213 opensearch-dashboards216 + +NO_ARCH= yes +NO_BUILD= yes SUB_FILES= pkg-deinstall SUB_LIST= PORTNAME="${PORTNAME}" \ PKGNAMESUFFIX="${PKGNAMESUFFIX}" \ WWWDIR=${WWWDIR} -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -NODE_VER= 18.18.0 -NO_BUILD= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} _DEVDIR= ${WRKDIR}/.devdir post-patch: - @${REINPLACE_CMD} -e 's|14.20.1|${NODE_VER}|g' ${WRKSRC}/package.json - ${RM} \ - ${WRKSRC}/bin/*.orig \ - ${WRKSRC}/bin/*.bak \ - ${WRKSRC}/package.json.bak + ${RM} ${WRKSRC}/bin/*.orig ${WRKSRC}/bin/*.bak ${RM} -r ${WRKSRC}/plugins/reportsDashboards/.chromium do-install: diff --git a/textproc/opensearch-dashboards/distinfo b/textproc/opensearch-dashboards/distinfo index f8f17eaa07af..f8ccb85afb14 100644 --- a/textproc/opensearch-dashboards/distinfo +++ b/textproc/opensearch-dashboards/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1728930542 -SHA256 (opensearch-dashboards-2.17.1-linux-x64.tar.gz) = c66d39cc9b283f6dc2ebd043cb096ffe523cc95221ae73c555270411ac2f4146 -SIZE (opensearch-dashboards-2.17.1-linux-x64.tar.gz) = 329739658 +TIMESTAMP = 1746618916 +SHA256 (opensearch-dashboards-3.0.0-linux-x64.tar.gz) = 8d4e826961e1d01501f7eb5f4851894d249b046c17b331018e57521f404bbe9e +SIZE (opensearch-dashboards-3.0.0-linux-x64.tar.gz) = 382012461 |