From 9b3ba13c68b294045d8e19de0944c0825781fe53 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 7 May 2002 22:25:02 +0000 Subject: Re-Added upclient-4.2.1.23: Keeps track of your server uptime Upclient is a program that keeps track of your server uptime, and lets you compare it with the uptime of other (similar) hosts. It consists of two parts, a client- and a serverpart. The client runs on your server and sends the uptime every few minutes to the server. The server collects all data in a table on this site. Package re-added after the service formerly offered by uptimes.net is now again online as http://www.wonko.com/ --- net/upclient/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 net/upclient/Makefile (limited to 'net/upclient/Makefile') diff --git a/net/upclient/Makefile b/net/upclient/Makefile new file mode 100644 index 00000000000..bcdf2dedd5f --- /dev/null +++ b/net/upclient/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.11 2002/05/07 22:25:03 hubertf Exp $ +# + +DISTNAME= upclient-4.2.1.23 +PKGREVISION= 1 +CATEGORIES= net +MASTER_SITES= http://uptimes.atomicvoid.net/files/ + +MAINTAINER= hubertf@netbsd.org +HOMEPAGE= http://uptimes.wonko.com/ +COMMENT= Keeps track of your server uptime, and compares it to other hosts + +ALL_TARGET= bsd + +post-patch: + ${MV} ${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/upchk.bak + ${SED} \ + -e 's|@PREFIX@|${PREFIX}|g' \ + >${WRKSRC}/scripts/upchk <${WRKSRC}/scripts/upchk.bak + +do-build: + cd ${WRKSRC}/src && ${MAKE} ${ALL_TARGET} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/upclient ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/HISTORY ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/upclient + ${INSTALL_DATA} ${WRKSRC}/conf/upclient.conf ${PREFIX}/etc + ${SED} \ + -e 's|@PREFIX@|${PREFIX}|g' \ + -e 's|@INSTALL@|${INSTALL}|g' \ + -e 's|@SU@|${SU}|g' \ + ${FILESDIR}/upclient.sh >${PREFIX}/etc/rc.d/upclient + ${CHMOD} +x ${PREFIX}/etc/rc.d/upclient + +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3