This is a minimal set of instructions on how this CD was created. It is meant as a reminder for the next time a CD is created rather than as a complete set of build instructions It is NOT meant to be 'legibile' to anyone else, but is left here for the convenience of any future builders --------------------------------- Solaris ./configure --prefix=. --bindir=. --sbindir=. --libexecdir=. --sysconfdir=.\ --sharedstatedir=. --localstatedir=. --libdir=. --includedir=. --mandir=. edit makefile, change LIBS line to: LIBS=-lsocket -lnsl -lgen -ldl -Bstatic -lz -lcrypto ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^ dynamic extra static... and LDFLAGS to: LDFLAGS=-Lopenbsd-compat/ -L. Get rid of references to -R. -L/usr/local/lib -L/usr/ucblib (and -R those) make ./scp ssh scp sftp ssh-add ssh-keygen ssh-agent ssh_prng_cmds \ user@machine:path Need _one_ copy of the ssh_config to share across platforms need to ln -s ../known_hosts ssh_known_hosts ln -s ../ssh_config ssh_config -------------------------- IRIX IRIX twist 5.3 11091812 IP22 mips mkdir ~/openssl cd zlib's dir ./configure --prefix=$HOME/openssl make make install cd openssl's dir ./configure -h get ./Configure line ./Configure -Dprefix=$HOME/openssl make -------------------------- HP-UX HP-UX A.09.03 E 9000/735 For openssl 0.9.5a use: ./Configure --prefix=$HOME/openssl hpux-parisc-gcc For zlib ./configure --prefix=$HOME/openssl LDFLAGS="-static -L$HOME/openssl/lib" CFLAGS="-I$HOME/openssl/include" \ ./configure --prefix=. --bindir=. --sbindir=. --libexecdir=. --sysconfdir=.\ --sharedstatedir=. --localstatedir=. --libdir=. --includedir=. --mandir=. (if -static doesn't work, then add in Makefile, or compile files by hand) in ssh.c and ssh-agent.c add: (no, in compat.h) #define RLIMIT_CORE 4 Nasty hack, but works better than other solutions I've found. in openbsd-compat/bsd-misc.c after: #if !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) int seteuid(uid_t euid) { return(setreuid(-1,euid)); } #endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */ add: /* My additional kludge - I haven't yet done anything 'proper' and * I may not bother */ /* JPK */ int seteuid(uid_t euid) { return(setresuid(-1,euid,-1)); } remove #include prot.h and hpsecurity.h from auth-passwd.c Note, not everything builds, but you don't need sshd, etc. make fails, touch auth-passwd.o make fails, touch sshd make fails, touch ssh-keyscan.o touch ssh-keyscan make ./scp ssh scp sftp ssh-add ssh-keygen ssh-agent ssh_prng_cmds \ user@machine:path --------------------------- SunOS 4.x you need gnu regex - it doesn't build completely, but regex.o is built, which is all you need fudge the configure script not to care about regex stuff, just # it out. ./configure --prefix=. --bindir=. --sbindir=. --libexecdir=. --sysconfdir=.\ --sharedstatedir=. --localstatedir=. --libdir=. --includedir=. --mandir=. \ --without-pcre edit makefile, change LIBS line to: LIBS=/path/to/regex.o ..... ^^^^^^^^^^^^^^^^ fudge! Can't make static cos then host name resolution breaks.. Note that using pcre, as provided by phil hazel is a good plan rather than the gnu one... DOH! Read 'README' next time. make --------------------------------------------------------- Linux ----- ./configure --prefix=. --bindir=. --sbindir=. --libexecdir=. --sysconfdir=.\ --sharedstatedir=. --localstatedir=. --libdir=. --includedir=. --mandir=. Note that RH 5.2 needs 2.5.2p2 to build cleanly ----------------------------------------------------------- To Make the ISO image: mkisofs -o /tmp/UCAM_SSH_CD_05B.iso -V UCAM_SSH_CD_05B -hfs-volid UCAM_SSH_CD_05B -r -T -part --macbin . (NO MORE: -T option no longer valid.. mkisofs -o /tmp/UCAM_SSH_CD_5A.iso -V UCAM_SSH_CD_05a -hfs-volid UCAM_SSH_CD_05a -r -T -F . -part --macbin . ) (NO MORE mkhybrid -a -o /UCAM_SSH/UCAM_SSH_CD_05.iso -r -T -F /tmp -v -hfs -V UCAM_SSH_CD_05 -hfs-volid UCAM_SSH_CD_05 -part --macbin . ) to blank a CD-RW: cdrecord -v dev=1,6,0 speed=1 blank=all to write a CD: cdrecord -v dev=1,6,0 speed=2 /UCAM_SSH/UCAM_SSH_CD_05B.iso