Patch for UnixWare 7

Ahsan Rashid arms at sco.com
Wed Apr 20 03:26:51 EST 2005


Hi,

I have ported OpenSSH-4.0p1 to UnixWare 7.1.4.  Can you please add the 
following for UnixWare 7 in the configure script:

Description:
+ cross compiler produces i386a.out.
+ libcrypt which needs to come after openssl's libcrypto.
+ passwd needs user name.

Thanks,
Ahsan Rashid

--- openssh-4.0p1/configure	Tue Mar  8 23:54:16 2005
+++ dist/configure	Thu Apr 14 17:09:54 2005
@@ -1728,7 +1728,7 @@
  # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  ac_cv_exeext=
  # b.out is created by i960 compilers.
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
+for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out i386a.out
  do
    test -f "$ac_file" || continue
    case $ac_file in
@@ -1737,7 +1737,7 @@
      conftest.$ac_ext )
  	# This is the source file.
  	;;
-    [ab].out )
+    [ab].out | i386a.out)
  	# We found the default executable, but exeext='' is most
  	# certainly right.
  	break;;
@@ -6007,6 +6007,7 @@
  	;;
  # UnixWare 7.x, OpenUNIX 8
  *-*-sysv5*)
+        check_for_libcrypt_later=1
  	cat >>confdefs.h <<\_ACEOF
  #define USE_PIPES 1
  _ACEOF
@@ -6021,6 +6022,14 @@

  	cat >>confdefs.h <<\_ACEOF
  #define BROKEN_SETREGID 1
+_ACEOF
+
+	cat >>confdefs.h <<\_ACEOF
+#define DISABLE_FD_PASSING 1
+_ACEOF
+
+	cat >>confdefs.h <<\_ACEOF
+#define PASSWD_NEEDS_USERNAME 1
  _ACEOF

  	;;




More information about the openssh-unix-dev mailing list