summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-06 12:03:12 +1100
committerDamien Miller <djm@mindrot.org>2000-01-06 12:03:12 +1100
commit1808f38e04dc386bd2caacffe0192d62c1a70286 (patch)
treecace20a20ba0837b347241ae23aa4f428245b9fc
parent62ab38ab9e5bae5b516ff10ab62ef55a2592059a (diff)
- Fixed annoying DES corruption problem. libcrypt has been
overriding symbols in libcrypto. Removed libcrypt and crypt.h altogether (libcrypto includes its own crypt(1) replacement) - Added platform-specific rules for Irix 6.x. Included warning that they are untested.
-rw-r--r--ChangeLog7
-rw-r--r--acconfig.h3
-rw-r--r--auth-passwd.c5
-rw-r--r--configure.in10
4 files changed, 14 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 10e92dd0e..76b692c9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
120000105
2 - Fixed annoying DES corruption problem. libcrypt has been
3 overriding symbols in libcrypto. Removed libcrypt and crypt.h
4 altogether (libcrypto includes its own crypt(1) replacement)
5 - Added platform-specific rules for Irix 6.x. Included warning that
6 they are untested.
7
120000103 820000103
2 - Add explicit make rules for files proccessed by fixpaths. 9 - Add explicit make rules for files proccessed by fixpaths.
3 - Fix "make install" in RPM spec files. Report from Tenkou N. Hattori 10 - Fix "make install" in RPM spec files. Report from Tenkou N. Hattori
diff --git a/acconfig.h b/acconfig.h
index c66983e69..e61bfd33a 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -138,9 +138,6 @@
138/* Specify default $PATH */ 138/* Specify default $PATH */
139#undef USER_PATH 139#undef USER_PATH
140 140
141/* Define if the inclusion of crypt.h breaks the build (e.g. Irix 5.x) */
142#undef CRYPT_H_BREAKS_BUILD
143
144@BOTTOM@ 141@BOTTOM@
145 142
146/* ******************* Shouldn't need to edit below this line ************** */ 143/* ******************* Shouldn't need to edit below this line ************** */
diff --git a/auth-passwd.c b/auth-passwd.c
index c33470300..a8a52ce9a 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -11,7 +11,7 @@
11 11
12#ifndef USE_PAM 12#ifndef USE_PAM
13 13
14RCSID("$Id: auth-passwd.c,v 1.14 1999/12/30 21:49:13 damien Exp $"); 14RCSID("$Id: auth-passwd.c,v 1.15 2000/01/06 01:03:13 damien Exp $");
15 15
16#include "packet.h" 16#include "packet.h"
17#include "ssh.h" 17#include "ssh.h"
@@ -21,9 +21,6 @@ RCSID("$Id: auth-passwd.c,v 1.14 1999/12/30 21:49:13 damien Exp $");
21#ifdef HAVE_SHADOW_H 21#ifdef HAVE_SHADOW_H
22# include <shadow.h> 22# include <shadow.h>
23#endif 23#endif
24#if defined(HAVE_CRYPT_H) && !defined(CRYPT_H_BREAKS_BUILD)
25# include <crypt.h>
26#endif /* defined(HAVE_CRYPT_H) && !defined(CRYPT_H_BREAKS_BUILD) */
27#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) 24#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT)
28# include "md5crypt.h" 25# include "md5crypt.h"
29#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */ 26#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */
diff --git a/configure.in b/configure.in
index 34c4dfaf3..7480349a2 100644
--- a/configure.in
+++ b/configure.in
@@ -61,8 +61,11 @@ case "$host" in
61 AC_DEFINE(USE_UTMPX) 61 AC_DEFINE(USE_UTMPX)
62 ;; 62 ;;
63*-*-irix5*) 63*-*-irix5*)
64 AC_DEFINE(CRYPT_H_BREAKS_BUILD) 64 no_libsocket=1
65# CFLAGS="$CFLAGS -shared" 65 no_libnsl=1
66 ;;
67*-*-irix6*)
68 AC_MSG_WARN([*** Irix 6.x is not tested *** ])
66 no_libsocket=1 69 no_libsocket=1
67 no_libnsl=1 70 no_libnsl=1
68 ;; 71 ;;
@@ -106,7 +109,6 @@ dnl Checks for libraries.
106AC_CHECK_LIB(crypto, CRYPTO_lock, ,AC_MSG_ERROR([*** libcrypto missing - please install first ***])) 109AC_CHECK_LIB(crypto, CRYPTO_lock, ,AC_MSG_ERROR([*** libcrypto missing - please install first ***]))
107AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) 110AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
108AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil") 111AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
109AC_CHECK_LIB(crypt, crypt, , )
110 112
111if test -z "$no_libsocket" ; then 113if test -z "$no_libsocket" ; then
112 AC_CHECK_LIB(nsl, yp_match, , ) 114 AC_CHECK_LIB(nsl, yp_match, , )
@@ -116,7 +118,7 @@ if test -z "$no_libnsl" ; then
116fi 118fi
117 119
118dnl Checks for header files. 120dnl Checks for header files.
119AC_CHECK_HEADERS(bstring.h crypt.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/time.h sys/ttcompat.h util.h utmp.h utmpx.h) 121AC_CHECK_HEADERS(bstring.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/time.h sys/ttcompat.h util.h utmp.h utmpx.h)
120 122
121dnl Checks for library functions. 123dnl Checks for library functions.
122AC_CHECK_FUNCS(arc4random getpagesize _getpty innetgr md5_crypt mkdtemp openpty setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf) 124AC_CHECK_FUNCS(arc4random getpagesize _getpty innetgr md5_crypt mkdtemp openpty setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf)