aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2023-05-21 18:10:23 +0000
committerRomain Tartière <romain@FreeBSD.org>2023-05-21 20:01:17 +0000
commit4f6ac69e2458c072ec4282da5db3ea26c8ad52b1 (patch)
tree3e090f0d45b247c7686255296d321bbf6041e4e5
parentdd0ea905a7583c86ca56380b10ea1147ee9c483f (diff)
downloadports-4f6ac69e2458c072ec4282da5db3ea26c8ad52b1.tar.gz
ports-4f6ac69e2458c072ec4282da5db3ea26c8ad52b1.zip
textproc/opensearch-dashboards: Update to 2.7.0
-rw-r--r--textproc/opensearch-dashboards/Makefile6
-rw-r--r--textproc/opensearch-dashboards/distinfo6
-rw-r--r--textproc/opensearch-dashboards/files/patch-bin_opensearch-dashboards-keystore13
-rw-r--r--textproc/opensearch-dashboards/files/patch-bin_opensearch-dashboards-plugin13
4 files changed, 4 insertions, 34 deletions
diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile
index 44f82e60a66b..706beb573562 100644
--- a/textproc/opensearch-dashboards/Makefile
+++ b/textproc/opensearch-dashboards/Makefile
@@ -1,7 +1,6 @@
PORTNAME= opensearch-dashboards
-DISTVERSION= 2.6.0
+DISTVERSION= 2.7.0
DISTVERSIONSUFFIX= -linux-x64
-PORTREVISION= 2
CATEGORIES= textproc www
MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
@@ -32,9 +31,6 @@ _DEVDIR= ${WRKDIR}/.devdir
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' -e 's|%%LOCALBASE%%|${LOCALBASE}|' -e 's|%%WRKSRC%%|${WRKSRC}|' \
- ${WRKSRC}/bin/opensearch-dashboards \
- ${WRKSRC}/bin/opensearch-dashboards-keystore \
- ${WRKSRC}/bin/opensearch-dashboards-plugin \
${WRKSRC}/node_modules/re2/binding.gyp
@${REINPLACE_CMD} -e 's|14.20.1|${NODE_VER}|g' ${WRKSRC}/package.json
${RM} \
diff --git a/textproc/opensearch-dashboards/distinfo b/textproc/opensearch-dashboards/distinfo
index cadd2680319d..964db868155b 100644
--- a/textproc/opensearch-dashboards/distinfo
+++ b/textproc/opensearch-dashboards/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681491572
-SHA256 (opensearch-dashboards-2.6.0-linux-x64.tar.gz) = d54f41131661fe1a092a43c2d3ca04b3753a29666feb1bc7066f07118b2bd8bb
-SIZE (opensearch-dashboards-2.6.0-linux-x64.tar.gz) = 217298981
+TIMESTAMP = 1684548918
+SHA256 (opensearch-dashboards-2.7.0-linux-x64.tar.gz) = a93665de8035ef616c1d4fcfaffc0cfc63a590b3852cd9f54a0009823b03328a
+SIZE (opensearch-dashboards-2.7.0-linux-x64.tar.gz) = 275618492
diff --git a/textproc/opensearch-dashboards/files/patch-bin_opensearch-dashboards-keystore b/textproc/opensearch-dashboards/files/patch-bin_opensearch-dashboards-keystore
deleted file mode 100644
index bf943cba637b..000000000000
--- a/textproc/opensearch-dashboards/files/patch-bin_opensearch-dashboards-keystore
+++ /dev/null
@@ -1,13 +0,0 @@
---- bin/opensearch-dashboards-keystore.orig 2022-06-30 21:38:00 UTC
-+++ bin/opensearch-dashboards-keystore
-@@ -26,8 +26,8 @@ while [ -h "$SCRIPT" ] ; do
- done
-
- DIR="$(dirname "${SCRIPT}")/.."
--CONFIG_DIR=${OSD_PATH_CONF:-"$DIR/config"}
--NODE="${DIR}/node/bin/node"
-+CONFIG_DIR="%%PREFIX%%/etc/opensearch-dashboards"
-+NODE="%%LOCALBASE%%/bin/node"
- test -x "$NODE"
- if [ ! -x "$NODE" ]; then
- echo "unable to find usable node.js executable."
diff --git a/textproc/opensearch-dashboards/files/patch-bin_opensearch-dashboards-plugin b/textproc/opensearch-dashboards/files/patch-bin_opensearch-dashboards-plugin
deleted file mode 100644
index 1a3cff5bef3f..000000000000
--- a/textproc/opensearch-dashboards/files/patch-bin_opensearch-dashboards-plugin
+++ /dev/null
@@ -1,13 +0,0 @@
---- bin/opensearch-dashboards-plugin.orig 2022-06-30 21:38:00 UTC
-+++ bin/opensearch-dashboards-plugin
-@@ -26,8 +26,8 @@ while [ -h "$SCRIPT" ] ; do
- done
-
- DIR="$(dirname "${SCRIPT}")/.."
--CONFIG_DIR=${OSD_PATH_CONF:-"$DIR/config"}
--NODE="${DIR}/node/bin/node"
-+CONFIG_DIR="%%PREFIX%%/etc/opensearch-dashboards"
-+NODE="%%LOCALBASE%%/bin/node"
- test -x "$NODE"
- if [ ! -x "$NODE" ]; then
- echo "unable to find usable node.js executable."