git: 477c4bae06ee - main - textproc/kibana8: Update to 8.5.3

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Tue, 13 Dec 2022 21:53:47 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=477c4bae06ee3121c4cce024d1970ad29c8aea93

commit 477c4bae06ee3121c4cce024d1970ad29c8aea93
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2022-12-13 21:16:04 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2022-12-13 21:53:11 +0000

    textproc/kibana8: Update to 8.5.3
    
    Release notes:
    https://www.elastic.co/guide/en/kibana/8.5/release-notes-8.5.3.html
---
 textproc/kibana8/Makefile        | 2 +-
 textproc/kibana8/distinfo        | 6 +++---
 textproc/kibana8/files/kibana.in | 9 +++------
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/textproc/kibana8/Makefile b/textproc/kibana8/Makefile
index eee28b4a18c7..833d77bebd89 100644
--- a/textproc/kibana8/Makefile
+++ b/textproc/kibana8/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	kibana
-DISTVERSION=	8.5.2
+DISTVERSION=	8.5.3
 DISTVERSIONSUFFIX=	-darwin-x86_64
 CATEGORIES=	textproc www
 MASTER_SITES=	https://artifacts.elastic.co/downloads/kibana/ \
diff --git a/textproc/kibana8/distinfo b/textproc/kibana8/distinfo
index f16b50637a35..0c43143e6786 100644
--- a/textproc/kibana8/distinfo
+++ b/textproc/kibana8/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1669456190
-SHA256 (kibana-8.5.2-darwin-x86_64.tar.gz) = d568576f7daac371aab10409381450cae27a919fc7aa613bac62b11f0a338030
-SIZE (kibana-8.5.2-darwin-x86_64.tar.gz) = 150384461
+TIMESTAMP = 1670966063
+SHA256 (kibana-8.5.3-darwin-x86_64.tar.gz) = 5df94f135e6b25fbce02618914544b18d1193e6e71a6daa8281afded896f8bb3
+SIZE (kibana-8.5.3-darwin-x86_64.tar.gz) = 150367363
 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
diff --git a/textproc/kibana8/files/kibana.in b/textproc/kibana8/files/kibana.in
index 4b64a40c487a..101be36fbb34 100644
--- a/textproc/kibana8/files/kibana.in
+++ b/textproc/kibana8/files/kibana.in
@@ -40,11 +40,11 @@ fi
 NODE="%%LOCALBASE%%/bin/node"
 
 required_files="${kibana_config}"
-pidfile="/var/run/${name}-daemon.pid"
-_kpidfile="/var/run/${name}.pid"
+pidfile="/var/run/${name}.pid"
+procname="${NODE}"
 
 command="/usr/sbin/daemon"
-command_args="-f ${kibana_syslog_output_flags} -P ${pidfile} -t ${name} \
+command_args="-f ${kibana_syslog_output_flags} -p ${pidfile} -t ${name} \
 	/usr/bin/env BABEL_DISABLE_CACHE=1 NODE_ENV=production ${kibana_env} \
 	${NODE} --no-warnings --max-http-header-size=65536 \
 	%%WWWDIR%%/src/cli/dist serve \
@@ -56,9 +56,6 @@ kibana_start_precmd()
 	if [ ! -e "${pidfile}" ]; then
 		install -m 0600 -o ${kibana_user} -g ${kibana_group} /dev/null ${pidfile}
 	fi
-	if [ ! -e "${_kpidfile}" ]; then
-		install -m 0600 -o ${kibana_user} -g ${kibana_group} /dev/null ${_kpidfile}
-	fi
 	if [ ! -f ${kibana_log} ]; then
 		install -o ${kibana_user} -g ${kibana_group} -m 640 /dev/null ${kibana_log}
 	fi