summaryrefslogtreecommitdiffstats
path: root/sysutils/uptimed
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-10-10 20:00:43 +0000
committerwill <will@FreeBSD.org>2002-10-10 20:00:43 +0000
commit0441c011a1ce0fc1c581c2db5a9897d4885b416d (patch)
treeea2b89775e5261bc3f1b76c0f7a1cbde913aa5a6 /sysutils/uptimed
parenta7486147238a04d287b6ac4080d9a8c7aa40f234 (diff)
downloadFreeBSD-ports-0441c011a1ce0fc1c581c2db5a9897d4885b416d.zip
FreeBSD-ports-0441c011a1ce0fc1c581c2db5a9897d4885b416d.tar.gz
Add uptimed 0.2.0, Rob Kaper's uptime daemon.
PR: 40932 Submitted by: Andy Fawcett <andy@athame.co.uk>
Diffstat (limited to 'sysutils/uptimed')
-rw-r--r--sysutils/uptimed/Makefile33
-rw-r--r--sysutils/uptimed/distinfo1
-rw-r--r--sysutils/uptimed/files/uptimed.sh.sample16
-rw-r--r--sysutils/uptimed/pkg-comment1
-rw-r--r--sysutils/uptimed/pkg-descr9
-rw-r--r--sysutils/uptimed/pkg-plist12
6 files changed, 72 insertions, 0 deletions
diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile
new file mode 100644
index 0000000..3cfb3cf
--- /dev/null
+++ b/sysutils/uptimed/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: uptimed
+# Date created: 23 July 2002
+# Whom: Andy Fawcett <andy@athame.co.uk>
+#
+# $FreeBSD$
+
+PORTNAME= uptimed
+PORTVERSION= 0.2.0
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= uptimed
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= andy@athame.co.uk
+
+PREFIX= ${LOCALBASE}
+
+INSTALLS_SHLIB= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${LOCALBASE}
+
+USE_GMAKE= yes
+
+MAN1= uprecords.1
+MAN8= uptimed.8
+
+post-install:
+ ${INSTALL_SCRIPT} ${FILESDIR}/uptimed.sh.sample ${PREFIX}/etc/rc.d/
+ ${INSTALL_PROGRAM} ${PREFIX}/bin/uprecords ${PREFIX}/www/cgi-bin/uprecords.cgi
+ ${INSTALL_DATA} ${WRKSRC}/sample-cgi/* ${PREFIX}/www/cgi-bin/
+
+.include <bsd.port.mk>
diff --git a/sysutils/uptimed/distinfo b/sysutils/uptimed/distinfo
new file mode 100644
index 0000000..934f0a7
--- /dev/null
+++ b/sysutils/uptimed/distinfo
@@ -0,0 +1 @@
+MD5 (uptimed-0.2.0.tar.gz) = 6f9c87634a27eb4e1e8b38c7d771d4f4
diff --git a/sysutils/uptimed/files/uptimed.sh.sample b/sysutils/uptimed/files/uptimed.sh.sample
new file mode 100644
index 0000000..004119e
--- /dev/null
+++ b/sysutils/uptimed/files/uptimed.sh.sample
@@ -0,0 +1,16 @@
+#!/bin/sh
+case "$1" in
+start)
+ /usr/local/sbin/uptimed -b
+ echo -n ' uptimed'
+ /usr/local/sbin/uptimed
+ ;;
+stop)
+ ;;
+restart)
+ ;;
+*)
+ echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
+ exit 65
+ ;;
+esac
diff --git a/sysutils/uptimed/pkg-comment b/sysutils/uptimed/pkg-comment
new file mode 100644
index 0000000..0792045
--- /dev/null
+++ b/sysutils/uptimed/pkg-comment
@@ -0,0 +1 @@
+Rob Kaper's uptime daemon
diff --git a/sysutils/uptimed/pkg-descr b/sysutils/uptimed/pkg-descr
new file mode 100644
index 0000000..4dca111
--- /dev/null
+++ b/sysutils/uptimed/pkg-descr
@@ -0,0 +1,9 @@
+Uptimed is an uptime record daemon keeping track of the highest uptimes
+a computer system ever had. It uses the system boot time to keep sessions
+apart from each other. Uptimed comes with a console front-end to parse
+the records, which can also easily be used to show your records on a web page.
+
+WWW: http://www.unixcode.org/uptimed/
+
+- Andy Fawcett
+andy@athame.co.uk
diff --git a/sysutils/uptimed/pkg-plist b/sysutils/uptimed/pkg-plist
new file mode 100644
index 0000000..9030455
--- /dev/null
+++ b/sysutils/uptimed/pkg-plist
@@ -0,0 +1,12 @@
+bin/uprecords
+etc/uptimed.conf-dist
+lib/libuptimed.a
+lib/libuptimed.la
+lib/libuptimed.so
+lib/libuptimed.so.0
+sbin/uptimed
+etc/rc.d/uptimed.sh.sample
+www/cgi-bin/uprecords.cgi
+www/cgi-bin/uprecords.conf
+www/cgi-bin/uprecords.footer
+www/cgi-bin/uprecords.header
OpenPOWER on IntegriCloud