Date: Tue, 23 Jul 2002 22:24:48 +0300 (EEST) From: Andy Fawcett <andy@athame.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/40932: New Port: sysutils/uptimed Message-ID: <200207231924.g6NJOm0O054990@zappa.int.athame.co.uk>
next in thread | raw e-mail | index | archive | help
>Number: 40932 >Category: ports >Synopsis: New Port: sysutils/uptimed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 23 12:30:05 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Andy Fawcett >Release: FreeBSD 4.6-STABLE i386 >Organization: Being Lazy At Home! (BLAH!) >Environment: System: FreeBSD zappa.int.athame.co.uk 4.6-STABLE FreeBSD 4.6-STABLE #5: Fri Jul 5 22:48:35 EEST 2002 root@zappa.int.athame.co.uk:/usr/obj/usr/src/sys/ZAPPA i386 >Description: An uptime daemon, that keeps a record of your 'top' uptimes >How-To-Repeat: >Fix: --- uptimed.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # uptimed # uptimed/files # uptimed/files/uptimed.sh.sample # uptimed/pkg-comment # uptimed/distinfo # uptimed/Makefile # uptimed/pkg-plist # uptimed/pkg-descr # echo c - uptimed mkdir -p uptimed > /dev/null 2>&1 echo c - uptimed/files mkdir -p uptimed/files > /dev/null 2>&1 echo x - uptimed/files/uptimed.sh.sample sed 's/^X//' >uptimed/files/uptimed.sh.sample << 'END-of-uptimed/files/uptimed.sh.sample' X#!/bin/sh Xcase "$1" in Xstart) X /usr/local/sbin/uptimed -b X echo -n ' uptimed' X /usr/local/sbin/uptimed X ;; Xstop) X ;; Xrestart) X ;; X*) X echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1 X exit 65 X ;; Xesac END-of-uptimed/files/uptimed.sh.sample echo x - uptimed/pkg-comment sed 's/^X//' >uptimed/pkg-comment << 'END-of-uptimed/pkg-comment' XRob Kaper's uptime daemon END-of-uptimed/pkg-comment echo x - uptimed/distinfo sed 's/^X//' >uptimed/distinfo << 'END-of-uptimed/distinfo' XMD5 (uptimed-0.2.0.tar.gz) = 6f9c87634a27eb4e1e8b38c7d771d4f4 END-of-uptimed/distinfo echo x - uptimed/Makefile sed 's/^X//' >uptimed/Makefile << 'END-of-uptimed/Makefile' X# New ports collection makefile for: uptimed X# Date created: 23 July 2002 X# Whom: Andy Fawcett <andy@athame.co.uk> X# X# $FreeBSD$ X XPORTNAME= uptimed XPORTVERSION= 0.2.0 XCATEGORIES= sysutils XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= uptimed XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= andy@athame.co.uk X XPREFIX= ${LOCALBASE} X XINSTALLS_SHLIB= yes X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --prefix=${LOCALBASE} X XUSE_GMAKE= yes X XMAN1= uprecords.1 XMAN8= uptimed.8 X Xpost-install: X ${INSTALL_SCRIPT} ${FILESDIR}/uptimed.sh.sample ${PREFIX}/etc/rc.d/ X ${INSTALL_PROGRAM} ${PREFIX}/bin/uprecords ${PREFIX}/www/cgi-bin/uprecords.cgi X ${INSTALL_DATA} ${WRKSRC}/sample-cgi/* ${PREFIX}/www/cgi-bin/ X X.include <bsd.port.mk> END-of-uptimed/Makefile echo x - uptimed/pkg-plist sed 's/^X//' >uptimed/pkg-plist << 'END-of-uptimed/pkg-plist' Xbin/uprecords Xetc/uptimed.conf-dist Xlib/libuptimed.a Xlib/libuptimed.la Xlib/libuptimed.so Xlib/libuptimed.so.0 Xsbin/uptimed Xetc/rc.d/uptimed.sh.sample Xwww/cgi-bin/uprecords.cgi Xwww/cgi-bin/uprecords.conf Xwww/cgi-bin/uprecords.footer Xwww/cgi-bin/uprecords.header END-of-uptimed/pkg-plist echo x - uptimed/pkg-descr sed 's/^X//' >uptimed/pkg-descr << 'END-of-uptimed/pkg-descr' XUptimed is an uptime record daemon keeping track of the highest uptimes Xa computer system ever had. It uses the system boot time to keep sessions Xapart from each other. Uptimed comes with a console front-end to parse Xthe records, which can also easily be used to show your records on a web page. X XWWW: http://www.unixcode.org/uptimed/ X X- Andy Fawcett Xandy@athame.co.uk END-of-uptimed/pkg-descr exit --- uptimed.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207231924.g6NJOm0O054990>