diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-23 11:24:32 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-23 11:24:32 +1100 |
commit | 3744b5191822525a69861c1bc035cf955be196a1 (patch) | |
tree | 6bfe45789d09f666ba68520dc3bd5ed83f8665cb | |
parent | 294df785b8f67a5890d1e49ba883d530cdfb534c (diff) |
- Numerous little Solaris fixes
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | acconfig.h | 16 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | ssh-add.c | 4 | ||||
-rw-r--r-- | sshd.c | 6 |
5 files changed, 19 insertions, 12 deletions
@@ -1,7 +1,8 @@ | |||
1 | 19991123 | 1 | 19991123 |
2 | - Added SuSE package files from Chris Saia <csaia@wtower.com> | 2 | - Added SuSE package files from Chris Saia <csaia@wtower.com> |
3 | - Restructured package-related files under packages/ | 3 | - Restructured package-related files under packages/* |
4 | - Added generic PAM config | 4 | - Added generic PAM config |
5 | - Numerous little Solaris fixes | ||
5 | 6 | ||
6 | 19991122 | 7 | 19991122 |
7 | - Make <enter> close gnome-ssh-askpass (Debian bug #50299) | 8 | - Make <enter> close gnome-ssh-askpass (Debian bug #50299) |
diff --git a/acconfig.h b/acconfig.h index 6459c6371..86ce003aa 100644 --- a/acconfig.h +++ b/acconfig.h | |||
@@ -68,17 +68,25 @@ | |||
68 | 68 | ||
69 | /* ******************* Shouldn't need to edit below this line ************** */ | 69 | /* ******************* Shouldn't need to edit below this line ************** */ |
70 | 70 | ||
71 | # include <sys/types.h> /* For u_intXX_t */ | 71 | #include <sys/types.h> /* For u_intXX_t */ |
72 | # include <sys/socket.h> /* For SHUT_XXXX */ | 72 | #include <sys/socket.h> /* For SHUT_XXXX */ |
73 | 73 | ||
74 | #ifdef HAVE_PATHS_H | 74 | #ifdef HAVE_PATHS_H |
75 | # include <paths.h> /* For _PATH_XXX */ | 75 | # include <paths.h> /* For _PATH_XXX */ |
76 | #endif | 76 | #endif |
77 | 77 | ||
78 | #ifdef HAVE_UTMP_H | ||
79 | # include <utmp.h> /* For _PATH_XXX */ | ||
80 | #endif | ||
81 | |||
78 | #ifdef HAVE_SYS_TIME_H | 82 | #ifdef HAVE_SYS_TIME_H |
79 | # include <sys/time.h> /* For timersub */ | 83 | # include <sys/time.h> /* For timersub */ |
80 | #endif | 84 | #endif |
81 | 85 | ||
86 | #ifdef HAVE_MAILLOCK_H | ||
87 | #include <maillock.h> | ||
88 | #endif | ||
89 | |||
82 | #ifndef SHUT_RDWR | 90 | #ifndef SHUT_RDWR |
83 | enum | 91 | enum |
84 | { | 92 | { |
@@ -176,6 +184,10 @@ enum | |||
176 | # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:" | 184 | # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:" |
177 | #endif | 185 | #endif |
178 | 186 | ||
187 | #ifndef _PATH_DEVNULL | ||
188 | # define _PATH_DEVNULL "/dev/null" | ||
189 | #endif | ||
190 | |||
179 | #ifndef _PATH_MAILDIR | 191 | #ifndef _PATH_MAILDIR |
180 | # ifdef MAILDIR | 192 | # ifdef MAILDIR |
181 | # define _PATH_MAILDIR MAILDIR | 193 | # define _PATH_MAILDIR MAILDIR |
diff --git a/configure.in b/configure.in index 709e289b0..73635272a 100644 --- a/configure.in +++ b/configure.in | |||
@@ -55,7 +55,7 @@ AC_CHECK_LIB(dl, dlopen, , ) | |||
55 | AC_CHECK_LIB(pam, pam_authenticate, , ) | 55 | AC_CHECK_LIB(pam, pam_authenticate, , ) |
56 | 56 | ||
57 | dnl Checks for header files. | 57 | dnl Checks for header files. |
58 | AC_CHECK_HEADERS(pty.h endian.h paths.h lastlog.h shadow.h netgroup.h maillock.h sys/select.h sys/time.h) | 58 | AC_CHECK_HEADERS(pty.h endian.h paths.h lastlog.h shadow.h netgroup.h maillock.h utmp.h sys/select.h sys/time.h) |
59 | 59 | ||
60 | dnl Checks for library functions. | 60 | dnl Checks for library functions. |
61 | AC_CHECK_FUNCS(openpty strlcpy strlcat mkdtemp arc4random setproctitle setlogin setenv) | 61 | AC_CHECK_FUNCS(openpty strlcpy strlcat mkdtemp arc4random setproctitle setlogin setenv) |
@@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity. | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | RCSID("$Id: ssh-add.c,v 1.11 1999/11/22 07:11:23 damien Exp $"); | 17 | RCSID("$Id: ssh-add.c,v 1.12 1999/11/23 00:24:32 damien Exp $"); |
18 | 18 | ||
19 | #include "rsa.h" | 19 | #include "rsa.h" |
20 | #include "ssh.h" | 20 | #include "ssh.h" |
@@ -184,8 +184,6 @@ main(int argc, char **argv) | |||
184 | 184 | ||
185 | /* check if RSA support exists */ | 185 | /* check if RSA support exists */ |
186 | if (rsa_alive() == 0) { | 186 | if (rsa_alive() == 0) { |
187 | extern char *__progname; | ||
188 | |||
189 | fprintf(stderr, | 187 | fprintf(stderr, |
190 | "%s: no RSA support in libssl and libcrypto. See ssl(8).\n", | 188 | "%s: no RSA support in libssl and libcrypto. See ssl(8).\n", |
191 | __progname); | 189 | __progname); |
@@ -18,7 +18,7 @@ agent connections. | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include "includes.h" | 20 | #include "includes.h" |
21 | RCSID("$Id: sshd.c,v 1.28 1999/11/22 03:27:24 damien Exp $"); | 21 | RCSID("$Id: sshd.c,v 1.29 1999/11/23 00:24:32 damien Exp $"); |
22 | 22 | ||
23 | #include "xmalloc.h" | 23 | #include "xmalloc.h" |
24 | #include "rsa.h" | 24 | #include "rsa.h" |
@@ -32,10 +32,6 @@ RCSID("$Id: sshd.c,v 1.28 1999/11/22 03:27:24 damien Exp $"); | |||
32 | #include "uidswap.h" | 32 | #include "uidswap.h" |
33 | #include "compat.h" | 33 | #include "compat.h" |
34 | 34 | ||
35 | #ifdef HAVE_MAILLOCK_H | ||
36 | # include <maillock.h> | ||
37 | #endif | ||
38 | |||
39 | #ifdef LIBWRAP | 35 | #ifdef LIBWRAP |
40 | #include <tcpd.h> | 36 | #include <tcpd.h> |
41 | #include <syslog.h> | 37 | #include <syslog.h> |