OpenSSH port to ReliantUNIX

Udo Schweigert ust at cert.siemens.de
Tue Jul 11 01:53:00 EST 2000


Hi all,

I just managed to get OpenSSH working on ReliantUNIX, which is the SVR4-
compatible UNIX from Fujitsu-Siemens (formerly known as SNI). 

Patch is attached. Up to now I do not know why it does not work with
IP_TOS, but I needed to switch it off. Anyway: it works here in our lab
without any problems.

Many thanks for OpenSSH and best regards.

Udo

-- 
Udo Schweigert, Siemens AG   | Voice      : +49 89 636 42170
ZT IK 3, Siemens CERT        | Fax        : +49 89 636 41166
D-81730 Muenchen / Germany   | email      : ust at cert.siemens.de
PGP-2/5 fingerprint          | D8 A5 DF 34 EC 87 E8 C6  E2 26 C4 D0 EE 80 36 B2

diff -ru openssh-2.1.1p2.orig/configure openssh-2.1.1p2/configure
--- openssh-2.1.1p2.orig/configure	Sat Jul  1 11:43:09 2000
+++ openssh-2.1.1p2/configure	Mon Jul 10 15:16:05 2000
@@ -1442,6 +1442,13 @@
 done
 
 	;;
+*-sni-sysv*)
+	CFLAGS="$CFLAGS -I/usr/local/include"
+	LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/ucblib"
+	MANTYPE='$(CATMAN)'
+	mansubdir=cat
+	LIBS="$LIBS -lgen -lnsl -lsocket -lucb"
+	;;
 *-*-sysv*)
 	CFLAGS="$CFLAGS -I/usr/local/include"
 	LDFLAGS="$LDFLAGS -L/usr/local/lib"
diff -ru openssh-2.1.1p2.orig/packet.c openssh-2.1.1p2/packet.c
--- openssh-2.1.1p2.orig/packet.c	Thu Jun 22 13:32:31 2000
+++ openssh-2.1.1p2/packet.c	Mon Jul 10 15:28:10 2000
@@ -48,6 +48,10 @@
 #define DBG(x)
 #endif
 
+#ifdef SNI
+#undef IP_TOS
+#endif
+
 /*
  * This variable contains the file descriptors used for communicating with
  * the other side.  connection_in is used for reading; connection_out for





More information about the openssh-unix-dev mailing list