aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2021-11-26 23:07:39 +0000
committerRomain Tartière <romain@FreeBSD.org>2021-11-26 23:08:40 +0000
commit35d87da9988c372f5d2866778efb0ade41d78e8a (patch)
tree591c19a1303fe692bf83fba0405e9634a5265320
parent7fce51c316e971366dffe44763f637fd5960027c (diff)
downloadports-35d87da9988c372f5d2866778efb0ade41d78e8a.tar.gz
ports-35d87da9988c372f5d2866778efb0ade41d78e8a.zip
textproc/opensearch-dashboards: Update to 1.2.0
-rw-r--r--textproc/opensearch-dashboards/Makefile5
-rw-r--r--textproc/opensearch-dashboards/distinfo6
-rw-r--r--textproc/opensearch-dashboards/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js10
3 files changed, 9 insertions, 12 deletions
diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile
index b0c5963fbe65..1f61a724594c 100644
--- a/textproc/opensearch-dashboards/Makefile
+++ b/textproc/opensearch-dashboards/Makefile
@@ -1,6 +1,5 @@
PORTNAME= opensearch-dashboards
-DISTVERSION= 1.1.0
-PORTREVISION= 1
+DISTVERSION= 1.2.0
DISTVERSIONSUFFIX= -linux-x64
CATEGORIES= textproc www
MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
@@ -16,8 +15,6 @@ BUILD_DEPENDS= npm-node14>0:www/npm-node14
USES= nodejs:14,build,run python:build
USE_RC_SUBR= ${PORTNAME}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
_DEVDIR= ${WRKDIR}/.devdir
post-patch:
diff --git a/textproc/opensearch-dashboards/distinfo b/textproc/opensearch-dashboards/distinfo
index 5356cc0cbc48..4da5abd8b199 100644
--- a/textproc/opensearch-dashboards/distinfo
+++ b/textproc/opensearch-dashboards/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633497768
-SHA256 (opensearch-dashboards-1.1.0-linux-x64.tar.gz) = 51e3093daa23097694892d35a0b0eb42b3d7b7b683553fa34cca92913b4b4190
-SIZE (opensearch-dashboards-1.1.0-linux-x64.tar.gz) = 202916767
+TIMESTAMP = 1637961679
+SHA256 (opensearch-dashboards-1.2.0-linux-x64.tar.gz) = 14623798e61be6913e2a218d6ba3e308e5036359d7bda58482ad2f1340aa3c85
+SIZE (opensearch-dashboards-1.2.0-linux-x64.tar.gz) = 209294108
diff --git a/textproc/opensearch-dashboards/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js b/textproc/opensearch-dashboards/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js
index bef199433323..520cc7c3a192 100644
--- a/textproc/opensearch-dashboards/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js
+++ b/textproc/opensearch-dashboards/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js
@@ -1,11 +1,11 @@
---- plugins/reportsDashboards/server/routes/utils/constants.js.orig 2021-09-16 00:07:34 UTC
+--- plugins/reportsDashboards/server/routes/utils/constants.js.orig 2021-11-22 18:22:17 UTC
+++ plugins/reportsDashboards/server/routes/utils/constants.js
-@@ -130,7 +130,7 @@ const SECURITY_CONSTANTS = {
- PROXY_AUTH_IP_HEADER: 'x-forwarded-for'
- };
+@@ -107,7 +107,7 @@ const SECURITY_CONSTANTS = {
exports.SECURITY_CONSTANTS = SECURITY_CONSTANTS;
+ const EXTRA_HEADERS = ['cookie', 'x-proxy-user', 'x-proxy-roles', 'x-forwarded-for'];
+ exports.EXTRA_HEADERS = EXTRA_HEADERS;
-const CHROMIUM_PATH = `${__dirname}/../../../.chromium/headless_shell`;
-+const CHROMIUM_PATH = '%%LOCALBASE%%/bin/chrome';
++const CHROMIUM_PATH = `%%LOCALBASE%%/bin/chrome`;
/**
* Metric constants
*/