diff -Naur tuptime/Makefile tuptime-new/Makefile --- tuptime/Makefile 2018-09-25 18:25:43.000000000 +0200 +++ tuptime-new/Makefile 2019-08-02 15:19:18.321079000 +0200 @@ -2,7 +2,7 @@ # $FreeBSD: head/sysutils/tuptime/Makefile 480685 2018-09-25 16:25:43Z fernape $ PORTNAME= tuptime -DISTVERSION= 3.4.0 +DISTVERSION= 4.0.0 CATEGORIES= sysutils MAINTAINER= jeremy@smart-serv.net diff -Naur tuptime/distinfo tuptime-new/distinfo --- tuptime/distinfo 2018-09-25 18:25:43.000000000 +0200 +++ tuptime-new/distinfo 2019-08-02 15:19:29.954000000 +0200 @@ -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 diff -Naur tuptime/files/pkg-message.in tuptime-new/files/pkg-message.in --- tuptime/files/pkg-message.in 2018-09-25 18:25:43.000000000 +0200 +++ tuptime-new/files/pkg-message.in 2019-08-02 15:19:33.630008000 +0200 @@ -1,9 +1,10 @@ ====================================================================== 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: diff -Naur tuptime/files/tuptime.in tuptime-new/files/tuptime.in --- tuptime/files/tuptime.in 2018-09-25 18:25:43.000000000 +0200 +++ tuptime-new/files/tuptime.in 2019-08-02 15:19:57.450319000 +0200 @@ -1,4 +1,4 @@ -# $FreeBSD: head/sysutils/tuptime/files/tuptime.in 480685 2018-09-25 16:25:43Z fernape $ +# $FreeBSD$ #!/bin/sh # # PROVIDE: tuptime @@ -18,7 +18,9 @@ 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_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 diff -Naur tuptime/pkg-descr tuptime-new/pkg-descr --- tuptime/pkg-descr 2015-10-30 09:35:56.000000000 +0100 +++ tuptime-new/pkg-descr 2019-08-02 15:20:14.347240000 +0200 @@ -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