summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog11
-rw-r--r--INSTALL10
-rw-r--r--auth1.c2
-rw-r--r--configure.in16
-rw-r--r--next-posix.h1
5 files changed, 35 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ab6086da..a3a54c3ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
120001110
2 - (bal) Fixed dropped answer from skey_keyinfo() in auth1.c
3 - (bal) Changed from --with-skey to --with-skey=PATH in configure.in
4 - (bal) Added in check to verify S/Key library is being detected in
5 configure.in
6 - (bal) next-posix.h - added another prototype wrapped in POSIX ifdef/endif.
7 Patch by Mark Miller <markm@swoon.net>
8 - (bal) Added 'util.h' header to loginrec.c only if HAVE_UTIL_H is defined
9 to remove warnings under MacOS X. Patch by Mark Miller <markm@swoon.net>
10 - (bal) Fixed LDFLAG mispelling in configure.in for --with-afs
11
120001107 1220001107
2 - (bal) acconfig.in - removed the double "USE_PIPES" entry. Patch by 13 - (bal) acconfig.in - removed the double "USE_PIPES" entry. Patch by
3 Mark Miller <markm@swoon.net> 14 Mark Miller <markm@swoon.net>
diff --git a/INSTALL b/INSTALL
index 76d17b811..577a667e8 100644
--- a/INSTALL
+++ b/INSTALL
@@ -47,6 +47,12 @@ ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
47Most platforms do not required this. However older 4.3 BSD do not 47Most platforms do not required this. However older 4.3 BSD do not
48have a posix regex library. 48have a posix regex library.
49 49
50S/Key Libraries:
51http://www.sparc.spb.su/solaris/skey/
52
53If you wish to use --with-skey then you will need the above library
54installed. No other current S/Key library is currently known to be
55supported. (If it fails to compile copy the sha1.h to the openssh directory
50 56
512. Building / Installation 572. Building / Installation
52-------------------------- 58--------------------------
@@ -125,8 +131,8 @@ Kerberos IV and the AFS libraries and header files installed for this
125to work. Use the optional PATH argument to specify the root of your 131to work. Use the optional PATH argument to specify the root of your
126AFS installation. AFS requires Kerberos support to be enabled. 132AFS installation. AFS requires Kerberos support to be enabled.
127 133
128--with-skey will enable S/Key one time password support. You will need 134--with-skey=PATH will enable S/Key one time password support. You will
129the S/Key libraries and header files installed for this to work. 135need the S/Key libraries and header files installed for this to work.
130 136
131--with-tcp-wrappers will enable TCP Wrappers (/etc/hosts.allow|deny) 137--with-tcp-wrappers will enable TCP Wrappers (/etc/hosts.allow|deny)
132support. You will need libwrap.a and tcpd.h installed. 138support. You will need libwrap.a and tcpd.h installed.
diff --git a/auth1.c b/auth1.c
index 520da640c..ca0495d32 100644
--- a/auth1.c
+++ b/auth1.c
@@ -273,7 +273,7 @@ do_authloop(struct passwd * pw, char *luser)
273 if (options.skey_authentication == 1) { 273 if (options.skey_authentication == 1) {
274 char *skeyinfo = NULL; 274 char *skeyinfo = NULL;
275 if (pw != NULL) 275 if (pw != NULL)
276 skey_keyinfo(pw->pw_name); 276 skeyinfo = skey_keyinfo(pw->pw_name);
277 if (skeyinfo == NULL) { 277 if (skeyinfo == NULL) {
278 debug("generating fake skeyinfo for %.100s.", luser); 278 debug("generating fake skeyinfo for %.100s.", luser);
279 skeyinfo = skey_fake_keyinfo(luser); 279 skeyinfo = skey_fake_keyinfo(luser);
diff --git a/configure.in b/configure.in
index 0c43efcb8..be500da20 100644
--- a/configure.in
+++ b/configure.in
@@ -1085,7 +1085,7 @@ AC_ARG_WITH(afs,
1085 1085
1086 if test "x$withval" != "xyes" ; then 1086 if test "x$withval" != "xyes" ; then
1087 CFLAGS="$CFLAGS -I${withval}/include" 1087 CFLAGS="$CFLAGS -I${withval}/include"
1088 LFLAGS="$LFLAGS -L${withval}/lib" 1088 LDFLAGS="$LDFLAGS -L${withval}/lib"
1089 fi 1089 fi
1090 1090
1091 if test -z "$KRB4" ; then 1091 if test -z "$KRB4" ; then
@@ -1106,12 +1106,24 @@ LIBS="$LIBS $KLIBS"
1106# Check whether user wants S/Key support 1106# Check whether user wants S/Key support
1107SKEY_MSG="no" 1107SKEY_MSG="no"
1108AC_ARG_WITH(skey, 1108AC_ARG_WITH(skey,
1109 [ --with-skey Enable S/Key support], 1109 [ --with-skey=PATH Enable S/Key support],
1110 [ 1110 [
1111 if test "x$withval" != "xno" ; then 1111 if test "x$withval" != "xno" ; then
1112
1113 if test "x$withval" != "xyes" ; then
1114 CFLAGS="$CFLAGS -I${withval}/include"
1115 LDFLAGS="$LDFLAGS -L${withval}/lib"
1116 fi
1117
1112 AC_DEFINE(SKEY) 1118 AC_DEFINE(SKEY)
1113 LIBS="$LIBS -lskey" 1119 LIBS="$LIBS -lskey"
1114 SKEY_MSG="yes" 1120 SKEY_MSG="yes"
1121
1122 AC_CHECK_FUNC(skey_keyinfo,
1123 [],
1124 [
1125 AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
1126 ])
1115 fi 1127 fi
1116 ] 1128 ]
1117) 1129)
diff --git a/next-posix.h b/next-posix.h
index 7986817e7..466877546 100644
--- a/next-posix.h
+++ b/next-posix.h
@@ -39,6 +39,7 @@ pid_t posix_wait(int *status);
39 39
40/* #ifdef POSIX wrapped functions that need defining */ 40/* #ifdef POSIX wrapped functions that need defining */
41pid_t getppid(void); 41pid_t getppid(void);
42void vhangup(void);
42 43
43/* TERMCAP */ 44/* TERMCAP */
44int tcgetattr(int fd, struct termios *t); 45int tcgetattr(int fd, struct termios *t);