Date: Sat, 25 Apr 2020 18:39:54 +0000 (UTC) From: Greg Lewis <glewis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r532971 - in head/textproc/kibana7: . files Message-ID: <202004251839.03PIds1W082315@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glewis Date: Sat Apr 25 18:39:54 2020 New Revision: 532971 URL: https://svnweb.freebsd.org/changeset/ports/532971 Log: * Update to 7.6.2 * Be more liberal about the version of node10 allowed [1] PR: 245761 [1] Submitted by: Sven R <admin@hackacad.net> [1] Added: head/textproc/kibana7/files/patch-src_setup__node__env_node__version__validator.js (contents, props changed) Modified: head/textproc/kibana7/Makefile head/textproc/kibana7/distinfo Modified: head/textproc/kibana7/Makefile ============================================================================== --- head/textproc/kibana7/Makefile Sat Apr 25 18:38:11 2020 (r532970) +++ head/textproc/kibana7/Makefile Sat Apr 25 18:39:54 2020 (r532971) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= kibana -PORTVERSION= 7.6.1 +PORTVERSION= 7.6.2 DISTVERSIONSUFFIX= -darwin-x86_64 CATEGORIES= textproc www MASTER_SITES= https://artifacts.elastic.co/downloads/kibana/ \ Modified: head/textproc/kibana7/distinfo ============================================================================== --- head/textproc/kibana7/distinfo Sat Apr 25 18:38:11 2020 (r532970) +++ head/textproc/kibana7/distinfo Sat Apr 25 18:39:54 2020 (r532971) @@ -1,3 +1,3 @@ -TIMESTAMP = 1583840704 -SHA256 (kibana-7.6.1-darwin-x86_64.tar.gz) = 846efd53d7a7d4ccb41222f3b1f771016a3e904d9116804ed95df417c9e1e842 -SIZE (kibana-7.6.1-darwin-x86_64.tar.gz) = 259198456 +TIMESTAMP = 1587791471 +SHA256 (kibana-7.6.2-darwin-x86_64.tar.gz) = d9148476c797ed38a0607b8bc52d83885b63e555124deccec7df8e0c4e24a88d +SIZE (kibana-7.6.2-darwin-x86_64.tar.gz) = 259226108 Added: head/textproc/kibana7/files/patch-src_setup__node__env_node__version__validator.js ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/kibana7/files/patch-src_setup__node__env_node__version__validator.js Sat Apr 25 18:39:54 2020 (r532971) @@ -0,0 +1,18 @@ +--- src/setup_node_env/node_version_validator.js.orig 2020-04-25 11:11:41.868361000 -0700 ++++ src/setup_node_env/node_version_validator.js 2020-04-25 11:13:08.195399000 -0700 +@@ -25,11 +25,11 @@ + 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. + + 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. + + console.error(errorMessage); + process.exit(1); +-} +\ No newline at end of file ++}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004251839.03PIds1W082315>