ssh-1.2.20-local-v0: Mon May 19 12:13:16 EDT 1997 Here is a patch that will allow you to build SSH-2.1.20 on Sun-3 with SunOS-4.1.1_U1 using the default SunOS compiler. In order to do the same you'll first need to install unproto in the manner where it provides a replacement cpp that filters all the code through the unproto command. Unproto is available here: ftp://ftp.win.tue.nl/pub/programming/unproto5.shar.Z There is a recently modified unproto directory adjacent on that machine, but it is not publicly accessible. Note that unproto5 needs some manual effort to install (don't forget to enable the "#include " in the replacement ). It also doesn't come with a suitable but portable ANSI . This caused configure's AC_HEADER_STDC test to fail, but as it turns out this isn't a big loss. Ssh does currently make the nasty assumption that is universal, but luckily unproto's replacement works fine. I've done some hacking on unproto specifically for SunOS-4 and automated installation. My changes and a complete copy of my version is available here: ftp://ftp.planix.com/pub/Planix/unproto-5-v0.Patch ftp://ftp.planix.com/pub/Planix/unproto-5-v0.tar.gz You'll also need to install GNU Autoconf-2.12 and GNU Automake-1.1n or newer. Autoconf is available in any GNU archive, but unfortunately Automake is still only in beta test. It can be found here: ftp://ftp.cygus.com/pub/tromey/automake-1.1n.tar.gz Note that there are newer betas there, but if you'd like to use my "fixes" and new features (better CVS support, safer compatability with old makes, etc.) then you'll need to use that version. My patch is found here: ftp://ftp.planix.com/pub/Planix/automake-1.1n-v2.Patch Unfortunately to use automake you'll need perl, and autoconf needs GNU M4 to do its job.... After installing all of the pre-requisite tools, apply the attached patches (i.e. pipe this message through 'patch -p2'). You must then do the following steps to re-configure the package: cd gmp-2.0.2-ssh-2 && automake cd .. autoreconf [--verbose] You should now be able to configure SSH with something akin to the following command line: CC=/usr/5bin/cc CFLAGS=-O ./configure --prefix=/local --with-unproto --with-libwrap --with-x --with-des --with-rsh=/usr/ucb/rsh --with-path=/usr/5bin:/usr/bin:/usr/ucb:/local/bin:/local/gnu/bin:/local/bin/X11 --with-etcdir=/local/etc Running configure takes about 13 minutes on my Sun-3/260 [48MB RAM] even when it is otherwise un-loaded. Note that you must supply CFLAGS on the configure line -- it is not safe to try and supply it afterwards to make, since configure adds things. Note the following "error" appears during the configure run if you've only got perl-4 installed as I'm sure many of us do: configure: warning: perl version 5 not found - make-ssh-known-hosts will not work I think it's fairly unfriendly to require perl-5 for such a menial task (never mind needing perl at all!), but since I don't use this script I've not bothered to back-port it or re-write it. To do the actual build you can control the optimizer and debugger flags like this (from the top-level makefile only): make OPTIM='-g -O2' DEBUG="-DDEBUG" I've also found it handy to use the following install command on Sun's: make tranform='s/sshd/in.sshd/g' This mimics Sun's naming for "internet" daemons and keeps well trained fingers from typing the wrong thing. I'd put this on the configure command line, but the one I used above is already almost too long for the average tty buffer to enter as one line! Anyway, I think that's it for now. Hopefully all of my changes are documented in the new ChangeLog entries I've supplied. I really really really don't like the use of the RCS $Log keyword in files (not to mention that it makes effective use of branches with CVS impossible), so I've not expanded local keywords in these patches. -- Greg A. Woods +1 416 443-1734 VE3TCP robohack!woods Planix, Inc. ; Secrets of the Weird