pkgsrc/net/socks4/patches/patch-ab

45 lines
1.5 KiB
Text

$NetBSD: patch-ab,v 1.3 2003/05/01 22:03:50 jmmv 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 "@PKG_SYSCONFDIR@/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 "@PKG_SYSCONFDIR@/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 "@PKG_SYSCONFDIR@/sockd.route"
/* Current SOCKS protocol version */
#define SOCKS_VERSION 4