aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-16 01:14:24 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-16 01:16:30 +0000
commit454a205f826e15ffa82023c78e178f38e6177f1b (patch)
tree9e201593ab891b3226154d4d75c4fea67c2a9d70 /textproc
parent3034bd2d70e6e9333a52771f74a70a452543c885 (diff)
downloadports-454a205f826e15ffa82023c78e178f38e6177f1b.tar.gz
ports-454a205f826e15ffa82023c78e178f38e6177f1b.zip
Diffstat (limited to 'textproc')
-rw-r--r--textproc/opensearch-dashboards13/Makefile11
-rw-r--r--textproc/opensearch-dashboards13/distinfo6
-rw-r--r--textproc/opensearch-dashboards13/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js11
-rw-r--r--textproc/opensearch13/Makefile2
-rw-r--r--textproc/opensearch13/distinfo6
5 files changed, 13 insertions, 23 deletions
diff --git a/textproc/opensearch-dashboards13/Makefile b/textproc/opensearch-dashboards13/Makefile
index ba1474e2557b..c71f65032d29 100644
--- a/textproc/opensearch-dashboards13/Makefile
+++ b/textproc/opensearch-dashboards13/Makefile
@@ -1,5 +1,5 @@
PORTNAME= opensearch-dashboards
-DISTVERSION= 1.3.6
+DISTVERSION= 1.3.9
DISTVERSIONSUFFIX= -linux-x64
CATEGORIES= textproc www
MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
@@ -26,6 +26,8 @@ OPTIONS_DEFINE= CHROME
CHROME_DESC= Add dependency on www/chromium (required for PDF reports)
CHROME_RUN_DEPENDS=chrome:www/chromium
+NODE_VER= 14.21.1
+
_DEVDIR= ${WRKDIR}/.devdir
post-patch:
@@ -33,15 +35,14 @@ post-patch:
${WRKSRC}/bin/opensearch-dashboards \
${WRKSRC}/bin/opensearch-dashboards-keystore \
${WRKSRC}/bin/opensearch-dashboards-plugin \
- ${WRKSRC}/node_modules/re2/binding.gyp \
- ${WRKSRC}/plugins/reportsDashboards/server/routes/utils/constants.js
+ ${WRKSRC}/node_modules/re2/binding.gyp
+ @${REINPLACE_CMD} -e 's|10.24.1|${NODE_VER}|g' ${WRKSRC}/package.json
${RM} \
${WRKSRC}/bin/*.orig \
${WRKSRC}/bin/*.bak \
${WRKSRC}/node_modules/re2/binding.gyp.orig \
${WRKSRC}/node_modules/re2/binding.gyp.bak \
- ${WRKSRC}/plugins/reportsDashboards/server/routes/utils/constants.js.orig \
- ${WRKSRC}/plugins/reportsDashboards/server/routes/utils/constants.js.bak
+ ${WRKSRC}/package.json.bak
${RM} -r ${WRKSRC}/plugins/reportsDashboards/.chromium
do-configure:
diff --git a/textproc/opensearch-dashboards13/distinfo b/textproc/opensearch-dashboards13/distinfo
index c059c4acdffb..bdbafbc80015 100644
--- a/textproc/opensearch-dashboards13/distinfo
+++ b/textproc/opensearch-dashboards13/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670368957
-SHA256 (opensearch-dashboards-1.3.6-linux-x64.tar.gz) = 4b0cd477fdcbbd54d835d2f60412ea1946eca0c9c1029397139e5852d98d684d
-SIZE (opensearch-dashboards-1.3.6-linux-x64.tar.gz) = 250723484
+TIMESTAMP = 1681596241
+SHA256 (opensearch-dashboards-1.3.9-linux-x64.tar.gz) = 31069fc9f4eb19e4c2335c41e31c92d93c71885a900362f93f388d7be0afc6d5
+SIZE (opensearch-dashboards-1.3.9-linux-x64.tar.gz) = 164764900
diff --git a/textproc/opensearch-dashboards13/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js b/textproc/opensearch-dashboards13/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js
deleted file mode 100644
index 20519110401b..000000000000
--- a/textproc/opensearch-dashboards13/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugins/reportsDashboards/server/routes/utils/constants.js.orig 2022-06-30 21:47:37 UTC
-+++ plugins/reportsDashboards/server/routes/utils/constants.js
-@@ -138,7 +138,7 @@ const replaceBlockedKeywords = htmlString => {
- };
-
- exports.replaceBlockedKeywords = replaceBlockedKeywords;
--const CHROMIUM_PATH = `${__dirname}/../../../.chromium/headless_shell`;
-+const CHROMIUM_PATH = `%%LOCALBASE%%/bin/chrome`;
- /**
- * Metric constants
- */
diff --git a/textproc/opensearch13/Makefile b/textproc/opensearch13/Makefile
index 85edb72ba84f..288982aab1ca 100644
--- a/textproc/opensearch13/Makefile
+++ b/textproc/opensearch13/Makefile
@@ -1,5 +1,5 @@
PORTNAME= opensearch
-DISTVERSION= 1.3.6
+DISTVERSION= 1.3.9
DISTVERSIONSUFFIX= -linux-x64
CATEGORIES= textproc java devel
MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
diff --git a/textproc/opensearch13/distinfo b/textproc/opensearch13/distinfo
index ce98a5e2c7ea..0569e3c2bee0 100644
--- a/textproc/opensearch13/distinfo
+++ b/textproc/opensearch13/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670283394
-SHA256 (opensearch-1.3.6-linux-x64.tar.gz) = 0784cc05ec03dc9cac17dca923272ae08ebc9a43fbbbb61397024f1c90cdb024
-SIZE (opensearch-1.3.6-linux-x64.tar.gz) = 421906066
+TIMESTAMP = 1681596190
+SHA256 (opensearch-1.3.9-linux-x64.tar.gz) = cc8f086578e38d5998da015f9b89061c3c2e08962643b7e6eb28f3f25716a9be
+SIZE (opensearch-1.3.9-linux-x64.tar.gz) = 423200993