svn commit: r510860 - in head/sysutils/tuptime: . files
Steve Wills
swills at FreeBSD.org
Mon Sep 2 22:33:19 UTC 2019
Author: swills
Date: Mon Sep 2 22:33:17 2019
New Revision: 510860
URL: https://svnweb.freebsd.org/changeset/ports/510860
Log:
sysutils/tuptime: update to 4.0.0
PR: 239602
Submitted by: Ricardo Fraile <rfraile at rfraile.eu>
Approved by: Jeremy Johnston <jeremy at smart-serv.net> (maintainer)
Modified:
head/sysutils/tuptime/Makefile (contents, props changed)
head/sysutils/tuptime/distinfo (contents, props changed)
head/sysutils/tuptime/files/pkg-message.in (contents, props changed)
head/sysutils/tuptime/files/tuptime.in
head/sysutils/tuptime/pkg-descr (contents, props changed)
Modified: head/sysutils/tuptime/Makefile
==============================================================================
--- head/sysutils/tuptime/Makefile Mon Sep 2 22:30:14 2019 (r510859)
+++ head/sysutils/tuptime/Makefile Mon Sep 2 22:33:17 2019 (r510860)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tuptime
-DISTVERSION= 3.4.0
+DISTVERSION= 4.0.0
CATEGORIES= sysutils
MAINTAINER= jeremy at smart-serv.net
Modified: head/sysutils/tuptime/distinfo
==============================================================================
--- head/sysutils/tuptime/distinfo Mon Sep 2 22:30:14 2019 (r510859)
+++ head/sysutils/tuptime/distinfo Mon Sep 2 22:33:17 2019 (r510860)
@@ -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
Modified: head/sysutils/tuptime/files/pkg-message.in
==============================================================================
--- head/sysutils/tuptime/files/pkg-message.in Mon Sep 2 22:30:14 2019 (r510859)
+++ head/sysutils/tuptime/files/pkg-message.in Mon Sep 2 22:33:17 2019 (r510860)
@@ -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:
Modified: head/sysutils/tuptime/files/tuptime.in
==============================================================================
--- head/sysutils/tuptime/files/tuptime.in Mon Sep 2 22:30:14 2019 (r510859)
+++ head/sysutils/tuptime/files/tuptime.in Mon Sep 2 22:33:17 2019 (r510860)
@@ -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
Modified: head/sysutils/tuptime/pkg-descr
==============================================================================
--- head/sysutils/tuptime/pkg-descr Mon Sep 2 22:30:14 2019 (r510859)
+++ head/sysutils/tuptime/pkg-descr Mon Sep 2 22:33:17 2019 (r510860)
@@ -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
More information about the svn-ports-all
mailing list