Skip to content

Commit

Permalink
sysutils/tuptime: update to 5.2.2
Browse files Browse the repository at this point in the history
  * 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)
  • Loading branch information
Ricardo Fraile authored and fernape committed Mar 22, 2023
1 parent a5a598d commit 6af80e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sysutils/tuptime/Makefile
@@ -1,5 +1,5 @@
PORTNAME= tuptime
DISTVERSION= 5.2.1
DISTVERSION= 5.2.2
CATEGORIES= sysutils

MAINTAINER= jeremy@smart-serv.net
Expand Down
6 changes: 3 additions & 3 deletions 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
2 changes: 1 addition & 1 deletion sysutils/tuptime/files/pkg-message.in
Expand Up @@ -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
}
]
4 changes: 2 additions & 2 deletions sysutils/tuptime/files/tuptime.in
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 6af80e6

Please sign in to comment.