git: 6af80e6ff0eb - main - sysutils/tuptime: update to 5.2.2

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 22 Mar 2023 11:18:06 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6af80e6ff0ebc9d185ddb71cc08867a92b64b1c3

commit 6af80e6ff0ebc9d185ddb71cc08867a92b64b1c3
Author:     Ricardo Fraile <r@rfmoz.eu>
AuthorDate: 2023-03-22 11:12:20 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-03-22 11:13:21 +0000

    sysutils/tuptime: update to 5.2.2
    
      * Swich between longest/shortest on default output with -i
      * Option -x, --silent renamed to -q, --quiet
    
    PR:             270373
    Reported by:    r@rfmoz.eu
    Approved by:    jeremy@smart-serv.net (maintainer)
---
 sysutils/tuptime/Makefile             | 2 +-
 sysutils/tuptime/distinfo             | 6 +++---
 sysutils/tuptime/files/pkg-message.in | 2 +-
 sysutils/tuptime/files/tuptime.in     | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sysutils/tuptime/Makefile b/sysutils/tuptime/Makefile
index 55dfa77e571e..e3fc4c40045c 100644
--- a/sysutils/tuptime/Makefile
+++ b/sysutils/tuptime/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tuptime
-DISTVERSION=	5.2.1
+DISTVERSION=	5.2.2
 CATEGORIES=	sysutils
 
 MAINTAINER=	jeremy@smart-serv.net
diff --git a/sysutils/tuptime/distinfo b/sysutils/tuptime/distinfo
index 98714c929fcd..4f8a7e28b466 100644
--- a/sysutils/tuptime/distinfo
+++ b/sysutils/tuptime/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665729519
-SHA256 (rfmoz-tuptime-5.2.1_GH0.tar.gz) = 7bd938e79ece1e084fa57ce9315f6a3f7f127654c598ef8c898a599bd6e9b4ff
-SIZE (rfmoz-tuptime-5.2.1_GH0.tar.gz) = 59699
+TIMESTAMP = 1679346517
+SHA256 (rfmoz-tuptime-5.2.2_GH0.tar.gz) = 2db03803f3d44c2d4a4bba424eb6cc392092c63a6a281c003adb9bdeb4c57f55
+SIZE (rfmoz-tuptime-5.2.2_GH0.tar.gz) = 61154
diff --git a/sysutils/tuptime/files/pkg-message.in b/sysutils/tuptime/files/pkg-message.in
index 1b066447f5b1..4b7aad1c04c7 100644
--- a/sysutils/tuptime/files/pkg-message.in
+++ b/sysutils/tuptime/files/pkg-message.in
@@ -10,7 +10,7 @@ add it to /etc/rc.conf and start:
 tuptime requires a scheduled execution on cron, please add to
 /etc/crontab:
 
-	*/5 * * * * root %%PREFIX%%/bin/tuptime -x > /dev/null
+	*/5 * * * * root %%PREFIX%%/bin/tuptime -q > /dev/null
 EOM
 }
 ]
diff --git a/sysutils/tuptime/files/tuptime.in b/sysutils/tuptime/files/tuptime.in
index b9469acf0020..e3badf86f97c 100644
--- a/sysutils/tuptime/files/tuptime.in
+++ b/sysutils/tuptime/files/tuptime.in
@@ -18,7 +18,7 @@ export PATH=$PATH:/usr/local/bin/
 tuptime_start()
 {
 	echo "Starting $name."
-	command_args="-x"
+	command_args="-q"
 
 	if /usr/sbin/pw usershow "${tuptime_user}" >/dev/null 2>&1; then
 		su -m ${tuptime_user} -c "$name $command_args"
@@ -30,7 +30,7 @@ tuptime_start()
 tuptime_stop()
 {
 	echo "Stopping $name."
-	command_args="-xg"
+	command_args="-qg"
 
 	if /usr/sbin/pw usershow "${tuptime_user}" >/dev/null 2>&1; then
 		su -m ${tuptime_user} -c "$name $command_args"