Date: Fri, 20 Aug 1999 15:02:02 -0400 (EDT) From: kbyanc@posi.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/13272: new port: misc/upclient Message-ID: <199908201902.PAA80493@kronos.alcnet.com>
next in thread | raw e-mail | index | archive | help
>Number: 13272 >Category: ports >Synopsis: new port: misc/upclient >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: Fri Aug 20 12:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Kelly Yancey >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: >Description: This is the client for the Server Uptimes project... WWW: http://uptime.hexon.cx/ I don't normally like including so much instruction in the DESCR file, but I thought it was necessary because the web site doesn't make it clear that you have to register yourself and your hosts before it will start posting your hosts' uptime on-line. I included the notes in the DESCR file in hopes to inform people before they install the port and again in the post-install target to prevent confusion. Kelly ~kbyanc@posi.net~ # 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: # # upclient # upclient/patches # upclient/patches/patch-aa # upclient/patches/patch-ab # upclient/pkg # upclient/pkg/PLIST # upclient/pkg/COMMENT # upclient/pkg/DESCR # upclient/files # upclient/files/md5 # upclient/Makefile # echo c - upclient mkdir -p upclient > /dev/null 2>&1 echo c - upclient/patches mkdir -p upclient/patches > /dev/null 2>&1 echo x - upclient/patches/patch-aa sed 's/^X//' >upclient/patches/patch-aa << 'END-of-upclient/patches/patch-aa' X--- Makefile.orig Sat Apr 10 02:47:19 1999 X+++ Makefile Fri Aug 20 14:51:05 1999 X@@ -1,7 +1,7 @@ X # Uptime Client Makefile X X # Location of config file (for example /etc/upclient.conf) X-CONFIGFILE = upclient.conf X+CONFIGFILE = $(PREFIX)/etc/upclient.conf X X X ################ X@@ -29,10 +29,8 @@ X upclient X X bsd: X- $(MAKE) CC=gcc \ X- LDFLAGS= \ X- OBJECTS= \ X- CFLAGS='-DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \ X+ $(MAKE) OBJECTS= \ X+ CFLAGS='$(CFLAGS) -DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \ X upclient X X solaris: X@@ -88,3 +86,5 @@ X install: prepared-for-install X strip $(BINNAME) X chmod 755 $(BINNAME) X+ $(INSTALL) $(BINNAME) $(PREFIX)/bin X+ $(CP) upclient.conf $(PREFIX)/etc END-of-upclient/patches/patch-aa echo x - upclient/patches/patch-ab sed 's/^X//' >upclient/patches/patch-ab << 'END-of-upclient/patches/patch-ab' X--- upclient.conf.orig Fri Aug 20 11:22:32 1999 X+++ upclient.conf Fri Aug 20 11:25:12 1999 X@@ -3,5 +3,5 @@ X HostID <HostID> X Login <Loginname> X Pass <Password> X-Interval 60 X+Interval 550 X UptimeServer uptime.hexon.cx END-of-upclient/patches/patch-ab echo c - upclient/pkg mkdir -p upclient/pkg > /dev/null 2>&1 echo x - upclient/pkg/PLIST sed 's/^X//' >upclient/pkg/PLIST << 'END-of-upclient/pkg/PLIST' Xbin/upclient Xetc/upclient.conf END-of-upclient/pkg/PLIST echo x - upclient/pkg/COMMENT sed 's/^X//' >upclient/pkg/COMMENT << 'END-of-upclient/pkg/COMMENT' XThe Server Uptimes project client END-of-upclient/pkg/COMMENT echo x - upclient/pkg/DESCR sed 's/^X//' >upclient/pkg/DESCR << 'END-of-upclient/pkg/DESCR' XThis is the client program for the Server Uptimes project. XFor more information on the Server Uptimes project visit their web site at: X X WWW: http://uptime.hexon.cx/ X XBefore running the client for the first time, be sure to: X 1. visit the Server Uptimes project web site and register yourself X (WWW: http://uptime.hexon.cx/register.html), X X 2. log in (WWW: http://uptime.hexon.cx/login) X X 3. Add your host (WWW: http://uptime.hexon.cx/login/cgi-bin/addhost.cgi) X XNote that in order to send your uptime information to the uptime server, Xyou hosts need more-or-less full-time Internet access. X X -Kelly X kbyanc@posi.net END-of-upclient/pkg/DESCR echo c - upclient/files mkdir -p upclient/files > /dev/null 2>&1 echo x - upclient/files/md5 sed 's/^X//' >upclient/files/md5 << 'END-of-upclient/files/md5' XMD5 (upclient-3.04.tar.gz) = 5a67b17ef0ddbd44fa668c81d8de0547 END-of-upclient/files/md5 echo x - upclient/Makefile sed 's/^X//' >upclient/Makefile << 'END-of-upclient/Makefile' X# New ports collection makefile for: upclient X# Version required: 3.04 X# Date created: 20 Aug 1999 X# Whom: Kelly Yancey <kbyanc@posi.net> X# X# $Id$ X# X XDISTNAME= upclient-3.04 XCATEGORIES= misc XMASTER_SITES= ftp://uptime.hexon.cx/pub/ X XMAINTAINER= kbyanc@posi.net X XALL_TARGET= bsd XINSTALL_TARGET= bsd install CP=$(CP) X Xpost-install: X @$(ECHO) X @$(ECHO) "Before running upclient for the first time, you should visit" X @$(ECHO) "the Server Uptimes project web site at" X @$(ECHO) " WWW: http://uptime.hexon.cx/" X @$(ECHO) "Be sure to register yourself, log in, and add each of your" X @$(ECHO) "hosts which will be running the upclient." X @$(ECHO) X @$(ECHO) "Finally, you need to edit $(PREFIX)/etc/upclient.conf:" X @$(ECHO) " HostID is the ID you\'ve received when you added your host" X @$(ECHO) " Login and pass are your login and password" X @$(ECHO) " Interval is the amount of time between each update." X @$(ECHO) " Don't set this higher than 10 minutes, or else your host" X @$(ECHO) " won't appear in the list." X @$(ECHO) X X.include <bsd.port.mk> END-of-upclient/Makefile exit >How-To-Repeat: >Fix: >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?199908201902.PAA80493>