summaryrefslogtreecommitdiff
path: root/security/ssh/patches/patch-bg
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-12-25 05:28:33 +0000
committerkim <kim@pkgsrc.org>1999-12-25 05:28:33 +0000
commit608fa6b2dfe341f190938b918c4e6ebc15a056ef (patch)
tree79283d131b3e54b6543d4c57e90af12d329d5eee /security/ssh/patches/patch-bg
parentc3b8ad7ebcd63465936cc29d74a1b1bad873f2ad (diff)
downloadpkgsrc-608fa6b2dfe341f190938b918c4e6ebc15a056ef.tar.gz
Folded in IPv6 and Kerberos IV patches, so that both can be
compiled. This also fixes problems with Kerberos IV and V support clashing (you still have to choose one or the other at compile time, though). Compiles and runs on 1.4O -- needs testing on 1.4.2, and also some closer looking at certain patches (e.g. patch-au has a "#if 0" that could maybe be something else).
Diffstat (limited to 'security/ssh/patches/patch-bg')
-rw-r--r--security/ssh/patches/patch-bg48
1 files changed, 48 insertions, 0 deletions
diff --git a/security/ssh/patches/patch-bg b/security/ssh/patches/patch-bg
new file mode 100644
index 00000000000..30dc7459fef
--- /dev/null
+++ b/security/ssh/patches/patch-bg
@@ -0,0 +1,48 @@
+$NetBSD: patch-bg,v 1.1 1999/12/25 05:28:37 kim Exp $
+
+--- servconf.h.orig Wed May 12 07:19:28 1999
++++ servconf.h Fri Dec 24 21:50:42 1999
+@@ -64,6 +64,8 @@
+ #ifndef SERVCONF_H
+ #define SERVCONF_H
+
++#define MAX_PORTS 256 /* Max # hosts on allow list. */
++
+ #define MAX_ALLOW_SHOSTS 256 /* Max # hosts on allow shosts list. */
+ #define MAX_DENY_SHOSTS 256 /* Max # hosts on deny shosts list. */
+ #define MAX_ALLOW_HOSTS 256 /* Max # hosts on allow list. */
+@@ -82,8 +84,9 @@
+
+ typedef struct
+ {
+- int port; /* Port number to listen on. */
+- struct in_addr listen_addr; /* Address on which the server listens. */
++ unsigned int num_ports;
++ int ports[MAX_PORTS]; /* Port number to listen on. */
++ struct addrinfo *listen_addrs;/* Addresses on which the server listens. */
+ char *host_key_file; /* File containing host key. */
+ char *random_seed_file; /* File containing random seed. */
+ char *pid_file; /* File containing process ID number. */
+@@ -91,6 +94,9 @@
+ int login_grace_time; /* Disconnect if no auth in this time (sec). */
+ int key_regeneration_time; /* Server key lifetime (seconds). */
+ int permit_root_login; /* 0 = forced cmd only, 1 = no pwd, 2 = yes. */
++#ifdef ENABLE_LOG_AUTH
++ int log_auth; /* If true, log authentication info. */
++#endif /* ENABLE_LOG_AUTH */
+ int ignore_rhosts; /* Ignore .rhosts and .shosts. */
+ int ignore_root_rhosts; /* Ignore .rhosts and .shosts for root,
+ defaults to ignore_rhosts if not given. */
+@@ -111,6 +117,12 @@
+ password authentication mechanism, such
+ as SecurID or /etc/passwd */
+ int kerberos_tgt_passing; /* If true, permit Kerberos tgt passing. */
++#ifdef KRB4
++ int kerberos_ticket_cleanup; /* If true, destroy ticket file on logout. */
++#endif /* KRB4 */
++#ifdef AFS
++ int afs_token_passing; /* If true, permit AFS token passing. */
++#endif /* AFS */
+ int allow_tcp_forwarding;
+ int tis_authentication; /* If true, permit TIS authsrv auth. */
+ int password_authentication; /* If true, permit password authentication. */