summaryrefslogtreecommitdiff
path: root/net/upclient/patches
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-04-06 20:09:59 +0000
committerhubertf <hubertf@pkgsrc.org>1999-04-06 20:09:59 +0000
commitc084681fdb6f093114ca96e7e4fc4bca8a3315c6 (patch)
tree909a45230d309606aa162a1c35916dd23d880f4f /net/upclient/patches
parent60060ae31db5d5c2d7587e286c5038c34b713da1 (diff)
downloadpkgsrc-c084681fdb6f093114ca96e7e4fc4bca8a3315c6.tar.gz
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.
Diffstat (limited to 'net/upclient/patches')
-rw-r--r--net/upclient/patches/patch-aa36
-rw-r--r--net/upclient/patches/patch-ab13
-rw-r--r--net/upclient/patches/patch-ac14
3 files changed, 63 insertions, 0 deletions
diff --git a/net/upclient/patches/patch-aa b/net/upclient/patches/patch-aa
new file mode 100644
index 00000000000..a8f3e0b0d88
--- /dev/null
+++ b/net/upclient/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/04/06 20:10:00 hubertf Exp $
+
+--- Makefile.orig Sat Apr 3 11:47:04 1999
++++ Makefile Sun Apr 4 06:31:51 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
+
+
+ ################
+@@ -13,7 +13,7 @@
+ @echo "You must specify the system which you want to compile for:"
+ @echo ""
+ @echo "make linux Linux"
+- @echo "make freebsd FreeBSD"
++ @echo "make bsd FreeBSD, NetBSD, OpenBSD, BSDi
+ @echo "make solaris Solaris"
+ @echo ""
+
+@@ -24,11 +24,11 @@
+ CFLAGS='-DLINUX -DCONFIGFILE=\"$(CONFIGFILE)\"' \
+ upclient
+
+-freebsd:
++bsd:
+ $(MAKE) CC=gcc \
+ LDFLAGS= \
+ OBJECTS= \
+- CFLAGS='-DFREEBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \
++ CFLAGS='-DxxxBSD -DCONFIGFILE=\"$(CONFIGFILE)\"' \
+ upclient
+
+ solaris:
diff --git a/net/upclient/patches/patch-ab b/net/upclient/patches/patch-ab
new file mode 100644
index 00000000000..ed7243ece1b
--- /dev/null
+++ b/net/upclient/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/04/06 20:10:00 hubertf Exp $
+
+--- upclient.c.orig Sat Apr 3 16:25:30 1999
++++ upclient.c Sun Apr 4 06:23:31 1999
+@@ -193,7 +193,7 @@
+ return 1;
+ }
+
+-#ifdef FREEBSD
++#ifdef xxxBSD
+ int getUptime (uptime)
+ unsigned long *uptime;
+ {
diff --git a/net/upclient/patches/patch-ac b/net/upclient/patches/patch-ac
new file mode 100644
index 00000000000..36ccb2065f4
--- /dev/null
+++ b/net/upclient/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/04/06 20:10:00 hubertf Exp $
+
+--- upclient.h.orig Sat Apr 3 12:16:00 1999
++++ upclient.h Sun Apr 4 06:23:36 1999
+@@ -30,7 +30,8 @@
+ #include <sys/types.h>
+ #include <sys/utsname.h>
+
+-#ifdef FREEBSD
++#ifdef xxxBSD
++#include <sys/param.h>
+ #include <sys/sysctl.h>
+ #endif
+