aboutsummaryrefslogtreecommitdiff
path: root/misc/upclient/files
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-01-06 17:25:07 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-01-06 17:25:07 +0000
commit59fc53e8e854533f01842bef4505a70fbbbfc986 (patch)
tree74cc6894f801499eaa61415d79197300b96c2ab8 /misc/upclient/files
parent1f53784c600b49c403a9ec6361d6a5d3402059f0 (diff)
downloadports-59fc53e8e854533f01842bef4505a70fbbbfc986.tar.gz
ports-59fc53e8e854533f01842bef4505a70fbbbfc986.zip
Notes
Diffstat (limited to 'misc/upclient/files')
-rw-r--r--misc/upclient/files/patch-ab13
-rw-r--r--misc/upclient/files/patch-options.c14
2 files changed, 16 insertions, 11 deletions
diff --git a/misc/upclient/files/patch-ab b/misc/upclient/files/patch-ab
index b423a9795820..1f1af4045616 100644
--- a/misc/upclient/files/patch-ab
+++ b/misc/upclient/files/patch-ab
@@ -1,6 +1,6 @@
---- upclient.conf.orig Mon Dec 18 14:19:35 2000
-+++ upclient.conf Sat Dec 30 00:37:19 2000
-@@ -4,7 +4,7 @@
+--- upclient.conf.orig Wed Dec 27 00:48:16 2000
++++ upclient.conf Sat Dec 30 06:11:27 2000
+@@ -4,11 +4,11 @@
# upclient.conf
#
@@ -8,4 +8,9 @@
+PidFile = /var/run/upclient.pid # Location of pid file
AuthKey = <your_authkey> # Your Authorization key
- Interval = 120 # Transmit interval
+
+-Interval = 120 # Transmit interval
++Interval = 550 # Transmit interval
+ UptimeServer = data.uptimes.net # Uptimes Project's data server
+
+ SendIdleTime = 1 # Send your idle time
diff --git a/misc/upclient/files/patch-options.c b/misc/upclient/files/patch-options.c
index 6adf0f6e35a6..c6773e9241af 100644
--- a/misc/upclient/files/patch-options.c
+++ b/misc/upclient/files/patch-options.c
@@ -1,5 +1,5 @@
---- src/options.c.orig Mon Dec 18 02:20:24 2000
-+++ src/options.c Sat Dec 30 02:48:01 2000
+--- src/options.c.orig Wed Dec 27 00:41:53 2000
++++ src/options.c Sat Dec 30 06:09:57 2000
@@ -23,11 +23,7 @@
int cfg_proxyport = 8080;
char cfg_proxyuser[PROXYUSER_MAXLEN+1] = "";
@@ -12,15 +12,15 @@
#if defined(PLATFORM_UNIXWARE)
int cfg_sendload = 0;
#else
-@@ -99,11 +95,7 @@
- else if(strcmp(key, "PidFile") == 0)
+@@ -124,11 +120,7 @@
strcpy(cfg_pidfile, value);
- else if(strcmp(key, "SendIdleTime") == 0)
+ }
+ else if(strcmp(key, "SendIdleTime") == 0) {
-#if defined(PLATFORM_BSD)
- ;
-#else
cfg_sendidle = atol(value);
-#endif
- else if(strcmp(key, "SendLoadAvg") == 0)
+ }
+ else if(strcmp(key, "SendLoadAvg") == 0) {
#if defined(PLATFORM_UNIXWARE)
- ;