summaryrefslogtreecommitdiff
path: root/net/socks4/patches/patch-ab
blob: 7d0ba84c6ffe5d73f296b85b7a9a2f35434f85e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$NetBSD: patch-ab,v 1.2 1998/08/07 11:10:58 agc Exp $

--- include/socks.h	1998/06/11 13:02:06	1.1
+++ include/socks.h	1998/06/11 13:04:33
@@ -6,7 +6,7 @@
  * This is overridden at run time by the contents of environment
  * variable SOCKS_SERVER if it exists.
  */
-#define SOCKS_DEFAULT_SERVER	"SOCKS.server.for.your.site"
+#define SOCKS_DEFAULT_SERVER	"gateway.amdahl.com"
 
 /*
  * Default Domain Nameserver for the SOCKS clients.
@@ -54,11 +54,11 @@
  * to /usr/ucb/finger.orig and the pathname you should use here is the
  * new (altered) pathname, i.e., /usr/ucb/finger.orig.
  */
-#define ORIG_FINGER	"/usr/ucb/finger.orig"
+#define ORIG_FINGER	"/usr/bin/finger.orig"
 /* Overridden at runtime by environment variable ORIG_FINGER if it exists. */
 
 /* Control file for versatile clients */
-#define SOCKS_CONF	"/etc/socks.conf"
+#define SOCKS_CONF	"@PREFIX@/etc/socks.conf"
 
 /*
  * Default port number for SOCKS services.
@@ -85,7 +85,7 @@
  * This is the file that controls access to the SOCKS server
  * and its services.
  */
-#define SOCKD_CONF	"/etc/sockd.conf"
+#define SOCKD_CONF	"@PREFIX@/etc/sockd.conf"
 
 /*
  * Define this if your SOCKS server is multi-homed (i.e.,
@@ -101,7 +101,7 @@
  * which destination networks/hosts. See sockd man pages for details.
  * This has no effects if MULTIHOMED_SERVER is undefined.
  */
-#define SOCKD_ROUTE_FILE "/etc/sockd.route"
+#define SOCKD_ROUTE_FILE "@PREFIX@/etc/sockd.route"
 
 /* Current SOCKS protocol version */
 #define SOCKS_VERSION	4