diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1998-01-22 13:37:55 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1998-01-22 13:37:55 +0000 |
commit | 07199742b4d9d0a07e499b812ab45629b70da9c3 (patch) | |
tree | 5342def6bba16748d4ed5cc11cf5f523fe1a862e /security | |
parent | 8cff771ce278947ffb32e469fec258e9e8457bc9 (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/ssh/files/patch-af | 18 | ||||
-rw-r--r-- | security/ssh2/files/patch-af | 18 |
2 files changed, 30 insertions, 6 deletions
diff --git a/security/ssh/files/patch-af b/security/ssh/files/patch-af index e09faf299d44..0dfba6e1e2f0 100644 --- a/security/ssh/files/patch-af +++ b/security/ssh/files/patch-af @@ -1,5 +1,5 @@ --- sshd.c.orig Tue Jan 20 15:24:10 1998 -+++ sshd.c Thu Jan 22 14:55:40 1998 ++++ sshd.c Thu Jan 22 16:29:19 1998 @@ -428,6 +428,10 @@ #include "firewall.h" /* TIS authsrv authentication */ #endif @@ -356,7 +356,19 @@ /* Set custom environment options from RSA authentication. */ while (custom_environment) -@@ -3647,7 +3828,11 @@ +@@ -3632,7 +3813,11 @@ + struct stat mailbuf; + + if (stat(mailbox, &mailbuf) == -1 || mailbuf.st_size == 0) ++#ifdef __FreeBSD__ ++ ; ++#else + printf("No mail.\n"); ++#endif + else if (mailbuf.st_atime > mailbuf.st_mtime) + printf("You have mail.\n"); + else +@@ -3647,7 +3832,11 @@ /* Execute the shell. */ argv[0] = buf; argv[1] = NULL; @@ -368,7 +380,7 @@ /* Executing the shell failed. */ perror(shell); exit(1); -@@ -3668,7 +3853,11 @@ +@@ -3668,7 +3857,11 @@ argv[1] = "-c"; argv[2] = (char *)command; argv[3] = NULL; diff --git a/security/ssh2/files/patch-af b/security/ssh2/files/patch-af index e09faf299d44..0dfba6e1e2f0 100644 --- a/security/ssh2/files/patch-af +++ b/security/ssh2/files/patch-af @@ -1,5 +1,5 @@ --- sshd.c.orig Tue Jan 20 15:24:10 1998 -+++ sshd.c Thu Jan 22 14:55:40 1998 ++++ sshd.c Thu Jan 22 16:29:19 1998 @@ -428,6 +428,10 @@ #include "firewall.h" /* TIS authsrv authentication */ #endif @@ -356,7 +356,19 @@ /* Set custom environment options from RSA authentication. */ while (custom_environment) -@@ -3647,7 +3828,11 @@ +@@ -3632,7 +3813,11 @@ + struct stat mailbuf; + + if (stat(mailbox, &mailbuf) == -1 || mailbuf.st_size == 0) ++#ifdef __FreeBSD__ ++ ; ++#else + printf("No mail.\n"); ++#endif + else if (mailbuf.st_atime > mailbuf.st_mtime) + printf("You have mail.\n"); + else +@@ -3647,7 +3832,11 @@ /* Execute the shell. */ argv[0] = buf; argv[1] = NULL; @@ -368,7 +380,7 @@ /* Executing the shell failed. */ perror(shell); exit(1); -@@ -3668,7 +3853,11 @@ +@@ -3668,7 +3857,11 @@ argv[1] = "-c"; argv[2] = (char *)command; argv[3] = NULL; |