From 3744b5191822525a69861c1bc035cf955be196a1 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 23 Nov 1999 11:24:32 +1100 Subject: - Numerous little Solaris fixes --- ChangeLog | 3 ++- acconfig.h | 16 ++++++++++++++-- configure.in | 2 +- ssh-add.c | 4 +--- sshd.c | 6 +----- 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 819549bc5..953072fc8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 19991123 - Added SuSE package files from Chris Saia - - Restructured package-related files under packages/ + - Restructured package-related files under packages/* - Added generic PAM config + - Numerous little Solaris fixes 19991122 - Make 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 @@ /* ******************* Shouldn't need to edit below this line ************** */ -# include /* For u_intXX_t */ -# include /* For SHUT_XXXX */ +#include /* For u_intXX_t */ +#include /* For SHUT_XXXX */ #ifdef HAVE_PATHS_H # include /* For _PATH_XXX */ #endif +#ifdef HAVE_UTMP_H +# include /* For _PATH_XXX */ +#endif + #ifdef HAVE_SYS_TIME_H # include /* For timersub */ #endif +#ifdef HAVE_MAILLOCK_H +#include +#endif + #ifndef SHUT_RDWR enum { @@ -176,6 +184,10 @@ enum # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:" #endif +#ifndef _PATH_DEVNULL +# define _PATH_DEVNULL "/dev/null" +#endif + #ifndef _PATH_MAILDIR # ifdef MAILDIR # 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, , ) AC_CHECK_LIB(pam, pam_authenticate, , ) dnl Checks for header files. -AC_CHECK_HEADERS(pty.h endian.h paths.h lastlog.h shadow.h netgroup.h maillock.h sys/select.h sys/time.h) +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) dnl Checks for library functions. AC_CHECK_FUNCS(openpty strlcpy strlcat mkdtemp arc4random setproctitle setlogin setenv) diff --git a/ssh-add.c b/ssh-add.c index ba8a964b0..a95914417 100644 --- a/ssh-add.c +++ b/ssh-add.c @@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity. */ #include "includes.h" -RCSID("$Id: ssh-add.c,v 1.11 1999/11/22 07:11:23 damien Exp $"); +RCSID("$Id: ssh-add.c,v 1.12 1999/11/23 00:24:32 damien Exp $"); #include "rsa.h" #include "ssh.h" @@ -184,8 +184,6 @@ main(int argc, char **argv) /* check if RSA support exists */ if (rsa_alive() == 0) { - extern char *__progname; - fprintf(stderr, "%s: no RSA support in libssl and libcrypto. See ssl(8).\n", __progname); diff --git a/sshd.c b/sshd.c index e87810767..5718eae94 100644 --- a/sshd.c +++ b/sshd.c @@ -18,7 +18,7 @@ agent connections. */ #include "includes.h" -RCSID("$Id: sshd.c,v 1.28 1999/11/22 03:27:24 damien Exp $"); +RCSID("$Id: sshd.c,v 1.29 1999/11/23 00:24:32 damien Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -32,10 +32,6 @@ RCSID("$Id: sshd.c,v 1.28 1999/11/22 03:27:24 damien Exp $"); #include "uidswap.h" #include "compat.h" -#ifdef HAVE_MAILLOCK_H -# include -#endif - #ifdef LIBWRAP #include #include -- cgit v1.2.3