aboutsummaryrefslogtreecommitdiff
path: root/net/zephyr
diff options
context:
space:
mode:
authorJohn W. De Boskey <jwd@FreeBSD.org>2001-11-26 19:35:23 +0000
committerJohn W. De Boskey <jwd@FreeBSD.org>2001-11-26 19:35:23 +0000
commit03cef729d226b7a9450e76949a7e2162bc982380 (patch)
tree564b5fc5aec92dd690f2ce66d9793a2c4b036cc5 /net/zephyr
parent345085a5bf4e4a3e103a5f3ba6980ee76d30ac6b (diff)
downloadports-03cef729d226b7a9450e76949a7e2162bc982380.tar.gz
ports-03cef729d226b7a9450e76949a7e2162bc982380.zip
Notes
Diffstat (limited to 'net/zephyr')
-rw-r--r--net/zephyr/files/patch-ag34
1 files changed, 34 insertions, 0 deletions
diff --git a/net/zephyr/files/patch-ag b/net/zephyr/files/patch-ag
new file mode 100644
index 000000000000..2585114f395a
--- /dev/null
+++ b/net/zephyr/files/patch-ag
@@ -0,0 +1,34 @@
+--- lib/ZInit.c.orig Fri Jan 22 18:19:14 1999
++++ lib/ZInit.c Wed Nov 21 16:32:06 2001
+@@ -36,6 +36,7 @@
+ int s, sinsize = sizeof(sin);
+ Code_t code;
+ ZNotice_t notice;
++ char *realm = NULL;
+ #ifdef HAVE_KRB4
+ char *krealm = NULL;
+ int krbval;
+@@ -104,7 +105,11 @@
+ return (krbval);
+ }
+ #else
+- strcpy(__Zephyr_realm, "local-realm");
++ realm = ZGetVariable("realm");
++ if (realm)
++ strcpy(__Zephyr_realm, realm);
++ else
++ strcpy(__Zephyr_realm, "local-realm");
+ #endif
+
+ __My_addr.s_addr = INADDR_NONE;
+--- lib/ZVariables.c.orig Thu Jun 3 10:51:42 1999
++++ lib/ZVariables.c Mon Nov 26 08:51:56 2001
+@@ -36,7 +36,7 @@
+ if ((ret = get_varval(varfile, var)) != ZERR_NONE)
+ return (ret);
+
+- sprintf(varfile, "%s/zephyr.vars", SYSCONFDIR);
++ sprintf(varfile, "%s/zephyr/zephyr.vars", SYSCONFDIR);
+ return (get_varval(varfile, var));
+ }
+