summaryrefslogtreecommitdiff
path: root/net/upclient/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-05-07 22:25:02 +0000
committerhubertf <hubertf>2002-05-07 22:25:02 +0000
commit5b954bc83b592a1434d929bd5d984c06b82e62c8 (patch)
treee3eac5fe419d5c50169c8296a7834ee1f9a6f0a7 /net/upclient/patches
parent80db7cf1298bb70168620b46bc2a9245d3150696 (diff)
downloadpkgsrc-5b954bc83b592a1434d929bd5d984c06b82e62c8.tar.gz
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/
Diffstat (limited to 'net/upclient/patches')
-rw-r--r--net/upclient/patches/patch-aa18
-rw-r--r--net/upclient/patches/patch-ab13
-rw-r--r--net/upclient/patches/patch-ac12
-rw-r--r--net/upclient/patches/patch-ad2
4 files changed, 44 insertions, 1 deletions
diff --git a/net/upclient/patches/patch-aa b/net/upclient/patches/patch-aa
new file mode 100644
index 00000000000..bfaf540bb80
--- /dev/null
+++ b/net/upclient/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.7 2002/05/07 22:25:03 hubertf Exp $
+
+--- src/options.c Sat Jun 16 14:15:04 2001
++++ src/options.c Tue Jun 19 10:48:25 2001
+@@ -298,8 +298,11 @@
+ if(!(fp = fopen("/etc/"CONFIGFILE, "r"))) {
+ /* Failed, now try to open config file in /usr/local/etc */
+ if(!(fp = fopen("/usr/local/etc/"CONFIGFILE, "r"))) {
+- printf("Error: couldn't open config file %s for reading in:\n- current directory\n- /etc\n- /usr/local/etc\n", CONFIGFILE);
+- exit(-1);
++ /* Failed, now try to open config file in /usr/pkg/etc */
++ if (!(fp = fopen("/usr/pkg/etc/"CONFIGFILE, "r"))) {
++ printf("Error: couldn't open config file %s for reading in:\n- current directory\n- /etc\n- /usr/local/etc\n- /usr/pkg/etc\n", CONFIGFILE);
++ exit(-1);
++ }
+ }
+ }
+ }
diff --git a/net/upclient/patches/patch-ab b/net/upclient/patches/patch-ab
new file mode 100644
index 00000000000..ae42b1a5e65
--- /dev/null
+++ b/net/upclient/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.5 2002/05/07 22:25:04 hubertf Exp $
+
+--- scripts/upchk.orig Tue Jun 19 11:15:24 2001
++++ scripts/upchk Tue Jun 19 11:15:51 2001
+@@ -24,7 +24,7 @@
+ #
+
+ # change this to the full path AND name of your upclient executable:
+-upclient="/usr/local/sbin/upclient"
++upclient="@PREFIX@/bin/upclient"
+
+ # change this to the name of your upclient's pidfile (as defined in
+ # config.h of the upclient distribution)
diff --git a/net/upclient/patches/patch-ac b/net/upclient/patches/patch-ac
new file mode 100644
index 00000000000..4dd8debb8d9
--- /dev/null
+++ b/net/upclient/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.5 2002/05/07 22:25:04 hubertf Exp $
+
+--- src/stats-bsd.c.orig Sat Jun 16 21:12:53 2001
++++ src/stats-bsd.c
+@@ -21,6 +21,7 @@
+ #include <sys/dkstat.h>
+ #include <sys/sysctl.h>
+ #include <sys/utsname.h>
++#include <sys/sched.h>
+
+ /**
+ * @desc Get statistics
diff --git a/net/upclient/patches/patch-ad b/net/upclient/patches/patch-ad
index 2f24736eef9..eb2036eedb9 100644
--- a/net/upclient/patches/patch-ad
+++ b/net/upclient/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.1.1.1 2002/05/07 22:20:59 hubertf Exp $
+$NetBSD: patch-ad,v 1.2 2002/05/07 22:25:04 hubertf Exp $
--- conf/upclient.conf.orig Sat Jun 16 18:33:54 2001
+++ conf/upclient.conf