aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/opensearch-dashboards/Makefile18
-rw-r--r--textproc/opensearch-dashboards/distinfo4
2 files changed, 15 insertions, 7 deletions
diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile
index 539461907fa0..a063a3a54bdf 100644
--- a/textproc/opensearch-dashboards/Makefile
+++ b/textproc/opensearch-dashboards/Makefile
@@ -1,23 +1,25 @@
PORTNAME= opensearch-dashboards
-DISTVERSION?= 3.2.0
-DISTVERSIONSUFFIX= -linux-x64
-PORTREVISION?= 0
+DISTVERSION= 3.2.0
+DISTVERSIONSUFFIX= -linux-${OPENSEARCH_ARCH}
+PORTREVISION= 1
CATEGORIES= textproc www
MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
MAINTAINER= opensearch@FreeBSD.org
-COMMENT?= Visualization dashboards for OpenSearch
+COMMENT= Visualization dashboards for OpenSearch
WWW= https://opensearch.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+ONLY_FOR_ARCHS= aarch64 amd64
+
BUILD_DEPENDS= npm-node20>0:www/npm-node20
USES= nodejs:20,build,run python:build
USE_RC_SUBR= ${PORTNAME}
-CONFLICTS?= opensearch-dashboards210 opensearch-dashboards213 opensearch-dashboards216
+CONFLICTS_INSTALL= opensearch-dashboards219
NO_ARCH= yes
NO_BUILD= yes
@@ -30,6 +32,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
_DEVDIR= ${WRKDIR}/.devdir
+.include <bsd.port.pre.mk>
+
+OPENSEARCH_ARCH= ${ARCH:S|aarch64|arm64|:S|amd64|x64|}
+
post-patch:
${RM} ${WRKSRC}/bin/*.orig ${WRKSRC}/bin/*.bak
${RM} -r ${WRKSRC}/plugins/reportsDashboards/.chromium
@@ -73,4 +79,4 @@ post-install:
${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/RulesTable" >> ${TMPPLIST}
${ECHO} "@dir ${WWWDIR}/plugins/securityDashboards/server/multitenancy/test" >> ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/opensearch-dashboards/distinfo b/textproc/opensearch-dashboards/distinfo
index 6c3b3d613412..bc3be244053b 100644
--- a/textproc/opensearch-dashboards/distinfo
+++ b/textproc/opensearch-dashboards/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1757059451
+TIMESTAMP = 1759778382
+SHA256 (opensearch-dashboards-3.2.0-linux-arm64.tar.gz) = acd4903c3a89b51e5584d405362e4257c911cfa419f3388bea3fd6ea1016e731
+SIZE (opensearch-dashboards-3.2.0-linux-arm64.tar.gz) = 406266963
SHA256 (opensearch-dashboards-3.2.0-linux-x64.tar.gz) = a09ce437ac0a0089b86550f3f2360b586b764fb619740c550ee9e4ac2a5dfee0
SIZE (opensearch-dashboards-3.2.0-linux-x64.tar.gz) = 406560982