summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2009-01-07 10:04:12 -0800
committerTim Rice <tim@multitalents.net>2009-01-07 10:04:12 -0800
commit351529ce3089bbfdc65488961016153c4e8fee03 (patch)
tree7ea60bd373f712aebdac76fe3d8ca00c55b7a166
parent7ebfad789f4e739cf5269860722cd44aab2929fb (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--ChangeLog7
-rw-r--r--configure.ac9
-rw-r--r--defines.h4
-rw-r--r--openbsd-compat/port-uw.c4
-rw-r--r--openbsd-compat/xcrypt.c2
5 files changed, 18 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 93e72b3cd..6d7c7c538 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
120090107
2 - (tim) [configure.ac defines.h openbsd-compat/port-uw.c
3 openbsd-compat/xcrypt.c] Add SECUREWARE support to OpenServer 6 SVR5 ABI.
4 OK djm@ dtucker@
5
120081209 620081209
2 - (djm) OpenBSD CVS Sync 7 - (djm) OpenBSD CVS Sync
3 - djm@cvs.openbsd.org 2008/12/09 02:38:18 8 - djm@cvs.openbsd.org 2008/12/09 02:38:18
@@ -4989,5 +4994,5 @@
4989 OpenServer 6 and add osr5bigcrypt support so when someone migrates 4994 OpenServer 6 and add osr5bigcrypt support so when someone migrates
4990 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 4995 passwords between UnixWare and OpenServer they will still work. OK dtucker@
4991 4996
4992$Id: ChangeLog,v 1.5155 2008/12/09 03:12:33 djm Exp $ 4997$Id: ChangeLog,v 1.5156 2009/01/07 18:04:12 tim Exp $
4993 4998
diff --git a/configure.ac b/configure.ac
index 43732abb8..df834baca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.411 2008/12/07 22:35:36 djm Exp $ 1# $Id: configure.ac,v 1.412 2009/01/07 18:04:12 tim Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.411 $) 18AC_REVISION($Revision: 1.412 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -741,6 +741,11 @@ mips-sony-bsd|mips-sony-newsos4)
741 AC_DEFINE(BROKEN_LIBIAF, 1, 741 AC_DEFINE(BROKEN_LIBIAF, 1,
742 [ia_uinfo routines not supported by OS yet]) 742 [ia_uinfo routines not supported by OS yet])
743 AC_DEFINE(BROKEN_UPDWTMPX) 743 AC_DEFINE(BROKEN_UPDWTMPX)
744 AC_CHECK_LIB(prot, getluid,[ LIBS="$LIBS -lprot"
745 AC_CHECK_FUNCS(getluid setluid,,,-lprot)
746 AC_DEFINE(HAVE_SECUREWARE)
747 AC_DEFINE(DISABLE_SHADOW)
748 ],,)
744 ;; 749 ;;
745 *) AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*") 750 *) AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*")
746 ;; 751 ;;
diff --git a/defines.h b/defines.h
index a8203ebbb..610e149cf 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.151 2008/07/04 13:10:49 djm Exp $ */ 28/* $Id: defines.h,v 1.152 2009/01/07 18:04:12 tim Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -698,7 +698,7 @@ struct winsize {
698# define CUSTOM_SYS_AUTH_PASSWD 1 698# define CUSTOM_SYS_AUTH_PASSWD 1
699#endif 699#endif
700 700
701#if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID) 701#if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID) && !defined(HAVE_SECUREWARE)
702# define CUSTOM_SYS_AUTH_PASSWD 1 702# define CUSTOM_SYS_AUTH_PASSWD 1
703#endif 703#endif
704#if defined(HAVE_LIBIAF) && defined(HAVE_SET_ID) && !defined(BROKEN_LIBIAF) 704#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 ebc229a6a..be9905a6a 100644
--- a/openbsd-compat/port-uw.c
+++ b/openbsd-compat/port-uw.c
@@ -25,7 +25,7 @@
25 25
26#include "includes.h" 26#include "includes.h"
27 27
28#ifdef HAVE_LIBIAF 28#if defined(HAVE_LIBIAF) && !defined(HAVE_SECUREWARE)
29#include <sys/types.h> 29#include <sys/types.h>
30#ifdef HAVE_CRYPT_H 30#ifdef HAVE_CRYPT_H
31# include <crypt.h> 31# include <crypt.h>
@@ -145,5 +145,5 @@ get_iaf_password(struct passwd *pw)
145 fatal("ia_openinfo: Unable to open the shadow passwd file"); 145 fatal("ia_openinfo: Unable to open the shadow passwd file");
146} 146}
147#endif /* USE_LIBIAF */ 147#endif /* USE_LIBIAF */
148#endif /* HAVE_LIBIAF */ 148#endif /* HAVE_LIBIAF and not HAVE_SECUREWARE */
149 149
diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c
index d8636bb39..6291e2884 100644
--- a/openbsd-compat/xcrypt.c
+++ b/openbsd-compat/xcrypt.c
@@ -28,7 +28,7 @@
28#include <unistd.h> 28#include <unistd.h>
29#include <pwd.h> 29#include <pwd.h>
30 30
31# ifdef HAVE_CRYPT_H 31# if defined(HAVE_CRYPT_H) && !defined(HAVE_SECUREWARE)
32# include <crypt.h> 32# include <crypt.h>
33# endif 33# endif
34 34