Skip to content

Commit

Permalink
textproc/kibana8: Update to 8.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajlutter committed Jan 12, 2023
1 parent be4cf41 commit 62a9b54
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions textproc/kibana8/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= kibana
DISTVERSION= 8.5.3
DISTVERSION= 8.6.0
DISTVERSIONSUFFIX= -darwin-x86_64
CATEGORIES= textproc www
MASTER_SITES= https://artifacts.elastic.co/downloads/kibana/ \
Expand Down Expand Up @@ -47,7 +47,7 @@ BINS= kibana-encryption-keys kibana-keystore kibana-plugin \
# Set node-nan version here
_NODE_NAN_VER= 2.17.0
# Set node-re version here
_NODE_RE2_VER= 1.17.8
_NODE_RE2_VER= 1.18.0
#######################################################################

_NODECMD= ${LOCALBASE}/bin/node --version
Expand Down
10 changes: 5 additions & 5 deletions textproc/kibana8/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TIMESTAMP = 1670966063
SHA256 (kibana-8.5.3-darwin-x86_64.tar.gz) = 5df94f135e6b25fbce02618914544b18d1193e6e71a6daa8281afded896f8bb3
SIZE (kibana-8.5.3-darwin-x86_64.tar.gz) = 150367363
TIMESTAMP = 1673471563
SHA256 (kibana-8.6.0-darwin-x86_64.tar.gz) = 82d0dc9f9bba0df0554e377b46a895ae1aec61a626b845173e1c5ace885754c4
SIZE (kibana-8.6.0-darwin-x86_64.tar.gz) = 152583948
SHA256 (nodejs-nan-v2.17.0_GH0.tar.gz) = bcf5dfe59c26377b2096d903ecf6c2dbdae92528b1373a0565c40fe07537610d
SIZE (nodejs-nan-v2.17.0_GH0.tar.gz) = 179443
SHA256 (uhop-node-re2-1.17.8_GH0.tar.gz) = 4cf8c52cd92ae26eff9b26a9a213ea25eb97fbe381da2a5755c6ea8015ee347f
SIZE (uhop-node-re2-1.17.8_GH0.tar.gz) = 41523
SHA256 (uhop-node-re2-1.18.0_GH0.tar.gz) = 1a756518dc35ee07318e414338afaa8186c03d5929a609c51259d978359ee6b8
SIZE (uhop-node-re2-1.18.0_GH0.tar.gz) = 51921
10 changes: 5 additions & 5 deletions textproc/kibana8/files/patch-config_kibana.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--- config/kibana.yml.orig 2021-10-26 12:51:47 UTC
--- config/kibana.yml.orig 2023-01-04 12:19:12 UTC
+++ config/kibana.yml
@@ -91,7 +91,7 @@
#elasticsearch.logQueries: false
@@ -125,7 +125,7 @@
#path.data: data

# Specifies the path where Kibana creates the process ID file.
-#pid.file: /run/kibana/kibana.pid
+pid.file: /var/run/kibana.pid

# Enables you to specify a file where Kibana stores log output.
#logging.dest: stdout
# Set the interval in milliseconds to sample system and process performance
# metrics. Minimum is 100ms. Defaults to 5000ms.
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
--- src/setup_node_env/node_version_validator.js.orig 2021-10-07 21:19:53 UTC
--- src/setup_node_env/node_version_validator.js.orig 2023-01-04 12:19:12 UTC
+++ src/setup_node_env/node_version_validator.js
@@ -14,11 +14,11 @@ var pkg = require('../../package.json'); // Note: This
@@ -15,13 +15,13 @@ var pkg = require('../../package.json');
var currentVersion = process && process.version || null;
var rawRequiredVersion = pkg && pkg.engines && pkg.engines.node || null;
var requiredVersion = rawRequiredVersion ? 'v' + rawRequiredVersion : rawRequiredVersion;
-var isVersionValid = !!currentVersion && !!requiredVersion && currentVersion === requiredVersion; // Validates current the NodeJS version compatibility when Kibana starts.
+var isVersionValid = !!currentVersion && !!requiredVersion && currentVersion >= requiredVersion; // Validates current the NodeJS version compatibility when Kibana starts.
-var isVersionValid = !!currentVersion && !!requiredVersion && currentVersion === requiredVersion;
+var isVersionValid = !!currentVersion && !!requiredVersion && currentVersion >= requiredVersion;

// Validates current the NodeJS version compatibility when Kibana starts.
if (!isVersionValid) {
- var errorMessage = 'Kibana does not support the current Node.js version ' + currentVersion + '. Please use Node.js ' + requiredVersion + '.'; // Actions to apply when validation fails: error report + exit.
+ var errorMessage = 'Kibana does not support the current Node.js version ' + currentVersion + '. Please use Node.js >= ' + requiredVersion + '.'; // Actions to apply when validation fails: error report + exit.
- var errorMessage = 'Kibana does not support the current Node.js version ' + currentVersion + '. Please use Node.js ' + requiredVersion + '.';
+ var errorMessage = 'Kibana does not support the current Node.js version ' + currentVersion + '. Please use Node.js >= ' + requiredVersion + '.';

// Actions to apply when validation fails: error report + exit.
console.error(errorMessage);
process.exit(1);
-}
Expand Down

0 comments on commit 62a9b54

Please sign in to comment.