diff options
author | Tim Rice <tim@multitalents.net> | 2009-01-07 10:04:12 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2009-01-07 10:04:12 -0800 |
commit | 351529ce3089bbfdc65488961016153c4e8fee03 (patch) | |
tree | 7ea60bd373f712aebdac76fe3d8ca00c55b7a166 | |
parent | 7ebfad789f4e739cf5269860722cd44aab2929fb (diff) |
- (tim) [configure.ac defines.h openbsd-compat/port-uw.c
openbsd-compat/xcrypt.c] Add SECUREWARE support to OpenServer 6 SVR5 ABI.
OK djm@ dtucker@
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | defines.h | 4 | ||||
-rw-r--r-- | openbsd-compat/port-uw.c | 4 | ||||
-rw-r--r-- | openbsd-compat/xcrypt.c | 2 |
5 files changed, 18 insertions, 8 deletions
@@ -1,3 +1,8 @@ +20090107 + - (tim) [configure.ac defines.h openbsd-compat/port-uw.c + openbsd-compat/xcrypt.c] Add SECUREWARE support to OpenServer 6 SVR5 ABI. + OK djm@ dtucker@ + 20081209 - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2008/12/09 02:38:18 @@ -4989,5 +4994,5 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.5155 2008/12/09 03:12:33 djm Exp $ +$Id: ChangeLog,v 1.5156 2009/01/07 18:04:12 tim Exp $ diff --git a/configure.ac b/configure.ac index 43732abb..df834bac 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.411 2008/12/07 22:35:36 djm Exp $ +# $Id: configure.ac,v 1.412 2009/01/07 18:04:12 tim Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) -AC_REVISION($Revision: 1.411 $) +AC_REVISION($Revision: 1.412 $) AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_HEADER(config.h) @@ -741,6 +741,11 @@ mips-sony-bsd|mips-sony-newsos4) AC_DEFINE(BROKEN_LIBIAF, 1, [ia_uinfo routines not supported by OS yet]) AC_DEFINE(BROKEN_UPDWTMPX) + AC_CHECK_LIB(prot, getluid,[ LIBS="$LIBS -lprot" + AC_CHECK_FUNCS(getluid setluid,,,-lprot) + AC_DEFINE(HAVE_SECUREWARE) + AC_DEFINE(DISABLE_SHADOW) + ],,) ;; *) AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*") ;; @@ -25,7 +25,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.151 2008/07/04 13:10:49 djm Exp $ */ +/* $Id: defines.h,v 1.152 2009/01/07 18:04:12 tim Exp $ */ /* Constants */ @@ -698,7 +698,7 @@ struct winsize { # define CUSTOM_SYS_AUTH_PASSWD 1 #endif -#if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID) +#if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID) && !defined(HAVE_SECUREWARE) # define CUSTOM_SYS_AUTH_PASSWD 1 #endif #if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID) && !defined(BROKEN_LIBIAF) diff --git a/openbsd-compat/port-uw.c b/openbsd-compat/port-uw.c index ebc229a6..be9905a6 100644 --- a/openbsd-compat/port-uw.c +++ b/openbsd-compat/port-uw.c @@ -25,7 +25,7 @@ #include "includes.h" -#ifdef HAVE_LIBIAF +#if defined(HAVE_LIBIAF) && !defined(HAVE_SECUREWARE) #include <sys/types.h> #ifdef HAVE_CRYPT_H # include <crypt.h> @@ -145,5 +145,5 @@ get_iaf_password(struct passwd *pw) fatal("ia_openinfo: Unable to open the shadow passwd file"); } #endif /* USE_LIBIAF */ -#endif /* HAVE_LIBIAF */ +#endif /* HAVE_LIBIAF and not HAVE_SECUREWARE */ diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c index d8636bb3..6291e288 100644 --- a/openbsd-compat/xcrypt.c +++ b/openbsd-compat/xcrypt.c @@ -28,7 +28,7 @@ #include <unistd.h> #include <pwd.h> -# ifdef HAVE_CRYPT_H +# if defined(HAVE_CRYPT_H) && !defined(HAVE_SECUREWARE) # include <crypt.h> # endif |