sysutils/tuptime: update to 4.0.0

PR:		239602
Submitted by:	Ricardo Fraile <rfraile@rfraile.eu>
Approved by:	Jeremy Johnston <jeremy@smart-serv.net> (maintainer)
This commit is contained in:
Steve Wills 2019-09-02 22:33:17 +00:00
parent ef9cc62400
commit fd653e3306
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510860
5 changed files with 13 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tuptime
DISTVERSION= 3.4.0
DISTVERSION= 4.0.0
CATEGORIES= sysutils
MAINTAINER= jeremy@smart-serv.net

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1537724492
SHA256 (rfrail3-tuptime-3.4.0_GH0.tar.gz) = 9f917daed6d3a6f592072a3165d99c7b41fc4e8ed6e2e4fbc4ab670fb0c1c82b
SIZE (rfrail3-tuptime-3.4.0_GH0.tar.gz) = 43003
TIMESTAMP = 1564685971
SHA256 (rfrail3-tuptime-4.0.0_GH0.tar.gz) = 4ec860560e3c00d5a723b282ddd3c7751abab6f48e810656e4c1a21eea173cfb
SIZE (rfrail3-tuptime-4.0.0_GH0.tar.gz) = 53732

View File

@ -2,9 +2,10 @@
{ type: install
message: <<EOM
tuptime requires execution at startup and shutdown on rc.d, please
add to /etc/rc.conf:
add it to /etc/rc.conf and start:
tuptime_enable="YES"
sysrc tuptime_enable=YES
service tuptime start
tuptime requires a scheduled execution on cron, please add to
/etc/crontab:

View File

@ -18,7 +18,9 @@ export PATH=$PATH:/usr/local/bin/
tuptime_start()
{
echo "Starting $name."
command_args="-x"
if /usr/sbin/pw usershow "${tuptime_user}" >/dev/null 2>&1; then
su -m ${tuptime_user} -c "$name $command_args"
else
@ -28,7 +30,9 @@ tuptime_start()
tuptime_stop()
{
echo "Stopping $name."
command_args="-xg"
if /usr/sbin/pw usershow "${tuptime_user}" >/dev/null 2>&1; then
su -m ${tuptime_user} -c "$name $command_args"
else

View File

@ -1,5 +1,4 @@
Tuptime is a tool that reports historical and statistical running time of
the system, keeping it between restarts. Like uptime(1) command but with
more interesting output.
Tuptime reports historical and statistical real time of the system, keeping
it between restarts. Like uptime(1) command but with more interesting output.
WWW: https://github.com/rfrail3/tuptime