diff options
author | will <will@FreeBSD.org> | 2002-10-11 04:00:43 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2002-10-11 04:00:43 +0800 |
commit | 0441c011a1ce0fc1c581c2db5a9897d4885b416d (patch) | |
tree | ea2b89775e5261bc3f1b76c0f7a1cbde913aa5a6 /sysutils | |
parent | a7486147238a04d287b6ac4080d9a8c7aa40f234 (diff) | |
download | freebsd-ports-gnome-0441c011a1ce0fc1c581c2db5a9897d4885b416d.tar.gz freebsd-ports-gnome-0441c011a1ce0fc1c581c2db5a9897d4885b416d.tar.zst freebsd-ports-gnome-0441c011a1ce0fc1c581c2db5a9897d4885b416d.zip |
Add uptimed 0.2.0, Rob Kaper's uptime daemon.
PR: 40932
Submitted by: Andy Fawcett <andy@athame.co.uk>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/uptimed/Makefile | 33 | ||||
-rw-r--r-- | sysutils/uptimed/distinfo | 1 | ||||
-rw-r--r-- | sysutils/uptimed/files/uptimed.sh.sample | 16 | ||||
-rw-r--r-- | sysutils/uptimed/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/uptimed/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/uptimed/pkg-plist | 12 |
7 files changed, 73 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 4f5b258a8a35..d68c33cf830f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -220,6 +220,7 @@ SUBDIR += unquote SUBDIR += upsd SUBDIR += upsmon + SUBDIR += uptimed SUBDIR += userlist SUBDIR += uwatch SUBDIR += videogen diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile new file mode 100644 index 000000000000..3cfb3cfbd65d --- /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 000000000000..934f0a7a8136 --- /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 000000000000..004119ef423b --- /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 000000000000..079204572fa0 --- /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 000000000000..4dca1115f1ab --- /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 000000000000..9030455516cf --- /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 |