summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-28 19:27:20 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-28 19:27:20 +0000
commit5e30dde42ddeec0853bf30c5c99cb59e126685ad (patch)
tree9044658c973d8d0d39e8799857eb9fe8789f66e1
parentUpdate to version 0.51 (diff)
Import of upclient.
This is the client program for the Server Uptimes project. For more information on the Server Uptimes project visit their web site at: http://uptime.hexon.cx/ PR: 13272 Submitted by: Kelly Yancey <kbyanc@posi.net>
Notes
Notes: svn path=/head/; revision=21067
Diffstat (limited to '')
-rw-r--r--misc/upclient/Makefile21
-rw-r--r--misc/upclient/distinfo1
-rw-r--r--misc/upclient/files/patch-aa30
-rw-r--r--misc/upclient/files/patch-ab9
-rw-r--r--misc/upclient/pkg-comment1
-rw-r--r--misc/upclient/pkg-descr7
-rw-r--r--misc/upclient/pkg-message18
-rw-r--r--misc/upclient/pkg-plist2
8 files changed, 89 insertions, 0 deletions
diff --git a/misc/upclient/Makefile b/misc/upclient/Makefile
new file mode 100644
index 000000000000..a5f49e5a4826
--- /dev/null
+++ b/misc/upclient/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: upclient
+# Version required: 3.04
+# Date created: 20 Aug 1999
+# Whom: Kelly Yancey <kbyanc@posi.net>
+#
+# $Id$
+#
+
+DISTNAME= upclient-3.04
+CATEGORIES= misc
+MASTER_SITES= ftp://uptime.hexon.cx/pub/
+
+MAINTAINER= kbyanc@posi.net
+
+ALL_TARGET= bsd
+INSTALL_TARGET= bsd install CP=$(CP)
+
+post-install:
+ ${CAT} ${PKGMESSAGE} | ${SED} 's:/usr/local:${PREFIX}:g'
+
+.include <bsd.port.mk>
diff --git a/misc/upclient/distinfo b/misc/upclient/distinfo
new file mode 100644
index 000000000000..26394ae8ee8f
--- /dev/null
+++ b/misc/upclient/distinfo
@@ -0,0 +1 @@
+MD5 (upclient-3.04.tar.gz) = 5a67b17ef0ddbd44fa668c81d8de0547
diff --git a/misc/upclient/files/patch-aa b/misc/upclient/files/patch-aa
new file mode 100644
index 000000000000..2548b11b7689
--- /dev/null
+++ b/misc/upclient/files/patch-aa
@@ -0,0 +1,30 @@
+--- Makefile.orig Sat Apr 10 02:47:19 1999
++++ Makefile Fri Aug 20 14:51:05 1999
+@@ -1,7 +1,7 @@
+ # Uptime Client Makefile
+
+ # Location of config file (for example /etc/upclient.conf)
+-CONFIGFILE = upclient.conf
++CONFIGFILE = $(PREFIX)/etc/upclient.conf
+
+
+ ################
+@@ -29,10 +29,8 @@
+ upclient
+
+ bsd:
+- $(MAKE) CC=gcc \
+- LDFLAGS= \
+- OBJECTS= \
+- CFLAGS='-DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \
++ $(MAKE) OBJECTS= \
++ CFLAGS='$(CFLAGS) -DPLAT_xxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \
+ upclient
+
+ solaris:
+@@ -88,3 +86,5 @@
+ install: prepared-for-install
+ strip $(BINNAME)
+ chmod 755 $(BINNAME)
++ $(INSTALL) $(BINNAME) $(PREFIX)/bin
++ $(CP) upclient.conf $(PREFIX)/etc
diff --git a/misc/upclient/files/patch-ab b/misc/upclient/files/patch-ab
new file mode 100644
index 000000000000..f96076a7a67a
--- /dev/null
+++ b/misc/upclient/files/patch-ab
@@ -0,0 +1,9 @@
+--- upclient.conf.orig Fri Aug 20 11:22:32 1999
++++ upclient.conf Fri Aug 20 11:25:12 1999
+@@ -3,5 +3,5 @@
+ HostID <HostID>
+ Login <Loginname>
+ Pass <Password>
+-Interval 60
++Interval 550
+ UptimeServer uptime.hexon.cx
diff --git a/misc/upclient/pkg-comment b/misc/upclient/pkg-comment
new file mode 100644
index 000000000000..b1a7ba505b64
--- /dev/null
+++ b/misc/upclient/pkg-comment
@@ -0,0 +1 @@
+The Server Uptimes project client
diff --git a/misc/upclient/pkg-descr b/misc/upclient/pkg-descr
new file mode 100644
index 000000000000..6db9410553fb
--- /dev/null
+++ b/misc/upclient/pkg-descr
@@ -0,0 +1,7 @@
+This is the client program for the Server Uptimes project.
+For more information on the Server Uptimes project visit their web site at:
+
+WWW: http://uptime.hexon.cx/
+
+ -Kelly
+ kbyanc@posi.net
diff --git a/misc/upclient/pkg-message b/misc/upclient/pkg-message
new file mode 100644
index 000000000000..7b9a496b6756
--- /dev/null
+++ b/misc/upclient/pkg-message
@@ -0,0 +1,18 @@
+Before running the client for the first time, be sure to:
+ 1. visit the Server Uptimes project web site and register yourself
+ (WWW: http://uptime.hexon.cx/register.html),
+
+ 2. log in (WWW: http://uptime.hexon.cx/login)
+
+ 3. Add your host (WWW: http://uptime.hexon.cx/login/cgi-bin/addhost.cgi)
+
+Note that in order to send your uptime information to the uptime server,
+you hosts need more-or-less full-time Internet access.
+
+You will also need to edit /usr/local/etc/upclient.conf:
+HostID is the ID you've received when you added your host
+Login and pass are your login and password
+Interval is the amount of time between each update.
+Don't set this higher than 10 minutes, or else your host
+won't appear in the list.
+
diff --git a/misc/upclient/pkg-plist b/misc/upclient/pkg-plist
new file mode 100644
index 000000000000..31a45bd42dc8
--- /dev/null
+++ b/misc/upclient/pkg-plist
@@ -0,0 +1,2 @@
+bin/upclient
+etc/upclient.conf