summaryrefslogtreecommitdiff
path: root/net/zephyr/patches
diff options
context:
space:
mode:
authorsommerfe <sommerfe>1998-04-09 19:49:16 +0000
committersommerfe <sommerfe>1998-04-09 19:49:16 +0000
commita7924bffa90a04645a41c5e08d0ae792309309e8 (patch)
tree33021eeae5c89e181da72804b4a052b7b17f1965 /net/zephyr/patches
parent15278b49114797f41e56b175b1ae6c57cc50ddef (diff)
downloadpkgsrc-a7924bffa90a04645a41c5e08d0ae792309309e8.tar.gz
Fix zephyr built with kerberosIV
Diffstat (limited to 'net/zephyr/patches')
-rw-r--r--net/zephyr/patches/patch-ab61
1 files changed, 61 insertions, 0 deletions
diff --git a/net/zephyr/patches/patch-ab b/net/zephyr/patches/patch-ab
new file mode 100644
index 00000000000..94c1fad9f2a
--- /dev/null
+++ b/net/zephyr/patches/patch-ab
@@ -0,0 +1,61 @@
+*** server/zserver.h.~1~ Tue Jun 18 15:43:02 1996
+--- server/zserver.h Thu Apr 9 13:26:04 1998
+***************
+*** 209,215 ****
+ void add_to_key_sched_cache __P((des_cblock key, Sched *sched));
+ int krb_set_key __P((char *key, int cvt));
+ int krb_rd_req __P((KTEXT authent, char *service, char *instance,
+! unsigned KRB_INT32 from_addr, AUTH_DAT *ad, char *fn));
+ int krb_find_ticket __P((KTEXT authent, KTEXT ticket));
+ int krb_get_lrealm __P((char *r, int n));
+ #endif
+--- 209,215 ----
+ void add_to_key_sched_cache __P((des_cblock key, Sched *sched));
+ int krb_set_key __P((char *key, int cvt));
+ int krb_rd_req __P((KTEXT authent, char *service, char *instance,
+! KRB_INT32 from_addr, AUTH_DAT *ad, char *fn));
+ int krb_find_ticket __P((KTEXT authent, KTEXT ticket));
+ int krb_get_lrealm __P((char *r, int n));
+ #endif
+*** server/zsrv_conf.h.~1~ Fri Jun 30 18:11:35 1995
+--- server/zsrv_conf.h Thu Apr 9 13:24:38 1998
+***************
+*** 48,51 ****
+--- 48,53 ----
+ #define SWEEP_INTERVAL 3600 /* Time between sweeps of the ticket
+ hash table */
+
++ #define KRB_INT32 int32_t
++
+ #endif /* __ZSRV_CONF_H__ */
+*** lib/zephyr/ZMkAuth.c.~1~ Tue Jun 18 15:44:46 1996
+--- lib/zephyr/ZMkAuth.c Thu Apr 9 13:31:37 1998
+***************
+*** 44,50 ****
+ char *cstart, *cend;
+ ZChecksum_t checksum;
+ CREDENTIALS cred;
+- extern unsigned long des_quad_cksum();
+
+ now = time(0);
+ if (last_authent_time == 0 || (now - last_authent_time > 120)) {
+--- 44,49 ----
+*** server/kopt.c.~1~ Tue Jun 18 15:43:00 1996
+--- server/kopt.c Thu Apr 9 13:26:24 1998
+***************
+*** 234,240 ****
+ KTEXT authent; /* The received message */
+ char *service; /* Service name */
+ char *instance; /* Service instance */
+! unsigned KRB_INT32 from_addr; /* Net address of originating host */
+ AUTH_DAT *ad; /* Structure to be filled in */
+ char *fn; /* Filename to get keys from */
+ {
+--- 234,240 ----
+ KTEXT authent; /* The received message */
+ char *service; /* Service name */
+ char *instance; /* Service instance */
+! KRB_INT32 from_addr; /* Net address of originating host */
+ AUTH_DAT *ad; /* Structure to be filled in */
+ char *fn; /* Filename to get keys from */
+ {