From f0ca59b2b5e3ec904210d8c0a010cbd5fe3909b6 Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Wed, 24 Nov 1999 03:36:23 +0000 Subject: Update the CVS_DATE. This brings in support for TIS authentication, obsoleting a couple patches (it's the same code, though, except for additions). This also brings in KNFization of everything (please hold the cheering down :) and made me reroll all my patches. My patches have been almost entirely rewritten. The places are the same, but the code's rewritten. It fits with the style (KNF) now, and looks better. I've also added strlcat.c to the build, which, just like strlcpy.c, is necessary for compatibility with older libcs. After strlcat() snuck into the OpenSSH code recently, this would prevent OpenSSH from building on (e.g.) FreeBSD 3.2. Adding it to ssh/lib/ makes it work yet again :) --- security/openssh/files/patch-ak | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'security/openssh/files/patch-ak') diff --git a/security/openssh/files/patch-ak b/security/openssh/files/patch-ak index 7248dbab9bed..f76d52056c2e 100644 --- a/security/openssh/files/patch-ak +++ b/security/openssh/files/patch-ak @@ -1,14 +1,12 @@ ---- ./login.c.orig Sat Nov 13 16:50:45 1999 -+++ ./login.c Sat Nov 13 17:59:23 1999 -@@ -20,7 +20,11 @@ - #include "includes.h" - RCSID("$Id: login.c,v 1.7 1999/09/30 16:55:06 deraadt Exp $"); - -+#if defined(__FreeBSD__) -+#include -+#else - #include +--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/ssh.c Tue Nov 23 18:57:50 1999 ++++ ./ssh.c Tue Nov 23 19:28:33 1999 +@@ -123,6 +123,9 @@ + log("Using rsh. WARNING: Connection will not be encrypted."); + /* Build argument list for rsh. */ + i = 0; ++#ifndef _PATH_RSH ++#define _PATH_RSH "/usr/bin/rsh" +#endif - #include - #include "ssh.h" - + args[i++] = _PATH_RSH; + /* host may have to come after user on some systems */ + args[i++] = host; -- cgit v1.2.3