diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | INSTALL | 10 | ||||
-rw-r--r-- | auth1.c | 2 | ||||
-rw-r--r-- | configure.in | 16 | ||||
-rw-r--r-- | next-posix.h | 1 |
5 files changed, 35 insertions, 5 deletions
@@ -1,3 +1,14 @@ | |||
1 | 20001110 | ||
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 | |||
1 | 20001107 | 12 | 20001107 |
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> |
@@ -47,6 +47,12 @@ ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/ | |||
47 | Most platforms do not required this. However older 4.3 BSD do not | 47 | Most platforms do not required this. However older 4.3 BSD do not |
48 | have a posix regex library. | 48 | have a posix regex library. |
49 | 49 | ||
50 | S/Key Libraries: | ||
51 | http://www.sparc.spb.su/solaris/skey/ | ||
52 | |||
53 | If you wish to use --with-skey then you will need the above library | ||
54 | installed. No other current S/Key library is currently known to be | ||
55 | supported. (If it fails to compile copy the sha1.h to the openssh directory | ||
50 | 56 | ||
51 | 2. Building / Installation | 57 | 2. Building / Installation |
52 | -------------------------- | 58 | -------------------------- |
@@ -125,8 +131,8 @@ Kerberos IV and the AFS libraries and header files installed for this | |||
125 | to work. Use the optional PATH argument to specify the root of your | 131 | to work. Use the optional PATH argument to specify the root of your |
126 | AFS installation. AFS requires Kerberos support to be enabled. | 132 | AFS 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 |
129 | the S/Key libraries and header files installed for this to work. | 135 | need 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) |
132 | support. You will need libwrap.a and tcpd.h installed. | 138 | support. You will need libwrap.a and tcpd.h installed. |
@@ -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 |
1107 | SKEY_MSG="no" | 1107 | SKEY_MSG="no" |
1108 | AC_ARG_WITH(skey, | 1108 | AC_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 */ |
41 | pid_t getppid(void); | 41 | pid_t getppid(void); |
42 | void vhangup(void); | ||
42 | 43 | ||
43 | /* TERMCAP */ | 44 | /* TERMCAP */ |
44 | int tcgetattr(int fd, struct termios *t); | 45 | int tcgetattr(int fd, struct termios *t); |