mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 07:15:36 +02:00
- Fixes for SunOS 4.1.4 from Gordon Atwood <gordon@cs.ualberta.ca>
- Include floatingpoint.h for entropy.c - strerror replacement
This commit is contained in:
parent
be484b5d98
commit
ecbb26d3d4
@ -1,4 +1,4 @@
|
|||||||
20000713
|
20000715
|
||||||
- (djm) OpenBSD CVS updates
|
- (djm) OpenBSD CVS updates
|
||||||
- provos@cvs.openbsd.org 2000/07/13 16:53:22
|
- provos@cvs.openbsd.org 2000/07/13 16:53:22
|
||||||
[aux.c readconf.c servconf.c ssh.h]
|
[aux.c readconf.c servconf.c ssh.h]
|
||||||
@ -16,6 +16,9 @@
|
|||||||
- djm@cvs.openbsd.org 2000/07/14 22:01:38
|
- djm@cvs.openbsd.org 2000/07/14 22:01:38
|
||||||
[ssh-keygen.c ssh.c]
|
[ssh-keygen.c ssh.c]
|
||||||
Always create ~/.ssh with mode 700; ok Markus
|
Always create ~/.ssh with mode 700; ok Markus
|
||||||
|
- Fixes for SunOS 4.1.4 from Gordon Atwood <gordon@cs.ualberta.ca>
|
||||||
|
- Include floatingpoint.h for entropy.c
|
||||||
|
- strerror replacement
|
||||||
|
|
||||||
20000712
|
20000712
|
||||||
- (djm) Remove -lresolve for Reliant Unix
|
- (djm) Remove -lresolve for Reliant Unix
|
||||||
|
@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
@TOP@
|
@TOP@
|
||||||
|
|
||||||
|
/* Define if your system defines sys_errlist[] */
|
||||||
|
#undef HAVE_SYS_ERRLIST
|
||||||
|
|
||||||
/* Define if your system choked on IP TOS setting */
|
/* Define if your system choked on IP TOS setting */
|
||||||
#undef IP_TOS_IS_BROKEN
|
#undef IP_TOS_IS_BROKEN
|
||||||
|
|
||||||
|
@ -157,3 +157,10 @@ int seteuid(uid_t euid)
|
|||||||
return(setreuid(-1,euid));
|
return(setreuid(-1,euid));
|
||||||
}
|
}
|
||||||
#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
|
#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
|
||||||
|
|
||||||
|
#if !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST)
|
||||||
|
const char *strerror(void)
|
||||||
|
{
|
||||||
|
return(sys_errlist[errno]);
|
||||||
|
}
|
||||||
|
#endif /* !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST) */
|
||||||
|
@ -58,4 +58,8 @@ int innetgr(const char *netgroup, const char *host,
|
|||||||
int seteuid(uid_t euid);
|
int seteuid(uid_t euid);
|
||||||
#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
|
#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
|
||||||
|
|
||||||
|
#if !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST)
|
||||||
|
const char *strerror(void);
|
||||||
|
#endif /* !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST) */
|
||||||
|
|
||||||
#endif /* _BSD_MISC_H */
|
#endif /* _BSD_MISC_H */
|
||||||
|
16
configure.in
16
configure.in
@ -216,10 +216,10 @@ if test -z "$no_libnsl" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_CHECK_HEADERS(bstring.h endian.h lastlog.h limits.h login.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h stddef.h time.h usersec.h util.h utmp.h utmpx.h)
|
AC_CHECK_HEADERS(bstring.h endian.h floatingpoint.h lastlog.h limits.h login.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h stddef.h time.h usersec.h util.h utmp.h utmpx.h)
|
||||||
|
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock freeaddrinfo gai_strerror getaddrinfo getnameinfo getrusage inet_aton innetgr md5_crypt memmove mkdtemp on_exit openpty rresvport_af setenv seteuid setlogin setproctitle setreuid sigaction sigvec snprintf strlcat strlcpy strsep vsnprintf vhangup _getpty __b64_ntop)
|
AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock freeaddrinfo gai_strerror getaddrinfo getnameinfo getrusage inet_aton innetgr md5_crypt memmove mkdtemp on_exit openpty rresvport_af setenv seteuid setlogin setproctitle setreuid sigaction sigvec snprintf strerror strlcat strlcpy strsep vsnprintf vhangup _getpty __b64_ntop)
|
||||||
dnl checks for time functions
|
dnl checks for time functions
|
||||||
AC_CHECK_FUNCS(gettimeofday time)
|
AC_CHECK_FUNCS(gettimeofday time)
|
||||||
dnl checks for libutil functions
|
dnl checks for libutil functions
|
||||||
@ -724,6 +724,18 @@ if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
AC_CACHE_CHECK([if libc defines sys_errlist], ac_cv_libc_defines_sys_errlist, [
|
||||||
|
AC_TRY_LINK([],
|
||||||
|
[ extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);],
|
||||||
|
[ ac_cv_libc_defines_sys_errlist="yes" ],
|
||||||
|
[ ac_cv_libc_defines_sys_errlist="no" ]
|
||||||
|
)
|
||||||
|
])
|
||||||
|
if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
|
||||||
|
AC_DEFINE(HAVE_SYS_ERRLIST)
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Looking for programs, paths and files
|
# Looking for programs, paths and files
|
||||||
AC_ARG_WITH(rsh,
|
AC_ARG_WITH(rsh,
|
||||||
[ --with-rsh=PATH Specify path to remote shell program ],
|
[ --with-rsh=PATH Specify path to remote shell program ],
|
||||||
|
@ -35,7 +35,12 @@
|
|||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
|
||||||
RCSID("$Id: entropy.c,v 1.17 2000/07/09 12:42:33 djm Exp $");
|
/* SunOS 4.4.4 needs this */
|
||||||
|
#ifdef HAVE_FLOATINGPOINT_H
|
||||||
|
# include <floatingpoint.h>
|
||||||
|
#endif /* HAVE_FLOATINGPOINT_H */
|
||||||
|
|
||||||
|
RCSID("$Id: entropy.c,v 1.18 2000/07/15 04:59:15 djm Exp $");
|
||||||
|
|
||||||
#ifndef offsetof
|
#ifndef offsetof
|
||||||
# define offsetof(type, member) ((size_t) &((type *)0)->member)
|
# define offsetof(type, member) ((size_t) &((type *)0)->member)
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
"netstat -an" @PROG_NETSTAT@ 0.05
|
"netstat -an" @PROG_NETSTAT@ 0.05
|
||||||
"netstat -in" @PROG_NETSTAT@ 0.05
|
"netstat -in" @PROG_NETSTAT@ 0.05
|
||||||
"netstat -rn" @PROG_NETSTAT@ 0.02
|
"netstat -rn" @PROG_NETSTAT@ 0.02
|
||||||
|
"netstat -pn" @PROG_NETSTAT@ 0.02
|
||||||
"netstat -s" @PROG_NETSTAT@ 0.02
|
"netstat -s" @PROG_NETSTAT@ 0.02
|
||||||
|
|
||||||
"arp -a -n" @PROG_ARP@ 0.02
|
"arp -a -n" @PROG_ARP@ 0.02
|
||||||
|
Loading…
x
Reference in New Issue
Block a user