diff options
Diffstat (limited to 'security/ssh2/files/patch-ah')
-rw-r--r-- | security/ssh2/files/patch-ah | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/security/ssh2/files/patch-ah b/security/ssh2/files/patch-ah index e968267ef800..5400ef05dd3f 100644 --- a/security/ssh2/files/patch-ah +++ b/security/ssh2/files/patch-ah @@ -1,6 +1,6 @@ ---- apps/ssh/sshchsession.c.orig Wed May 17 18:01:34 2000 -+++ apps/ssh/sshchsession.c Wed May 17 18:11:14 2000 -@@ -77,6 +77,11 @@ +--- apps/ssh/sshchsession.c.orig Thu Aug 24 17:40:41 2000 ++++ apps/ssh/sshchsession.c Sun Aug 27 01:16:55 2000 +@@ -83,6 +83,11 @@ #include <ulimit.h> #endif /* ULIMIT_H */ @@ -12,7 +12,7 @@ #define SSH_DEBUG_MODULE "Ssh2ChannelSession" #define SSH_SESSION_INTERACTIVE_WINDOW 10000 -@@ -483,6 +488,67 @@ +@@ -489,6 +494,67 @@ if (getenv("TZ")) ssh_child_set_env(envp, envsizep, "TZ", getenv("TZ")); @@ -80,9 +80,9 @@ /* Set SSH_CLIENT. */ snprintf(buf, sizeof(buf), "%s %s %s %s", session->common->remote_ip, session->common->remote_port, -@@ -710,12 +776,20 @@ +@@ -729,12 +795,20 @@ char buff[100], *time_string; - + /* Check /etc/nologin. */ +#ifdef __FreeBSD__ + f = fopen("/var/run/nologin", "r"); @@ -101,7 +101,7 @@ while (fgets(buf, sizeof(buf), f)) fputs(buf, stderr); fclose(f); -@@ -878,7 +952,11 @@ +@@ -918,7 +992,11 @@ { struct stat mailbuf; if (stat(mailbox, &mailbuf) == -1 || mailbuf.st_size == 0) |