From 4a7db1ca2fbd794ffa41bad2bb8e0aec0f1595f0 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Sat, 16 Jan 2010 12:23:25 -0800 Subject: - (tim) [configure.ac] Define BROKEN_GETADDRINFO on SVR5 systems. The native getaddrinfo() is too old and limited for addr_pton() in addrmatch.c. --- ChangeLog | 2 ++ configure.ac | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index dfae0d687..00d78c698 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ variable warnings. - (dtucker) [openbsd-compat/openbsd-compat.h] Typo. - (tim) [regress/portnum.sh] Shell portability fix. + - (tim) [configure.ac] Define BROKEN_GETADDRINFO on SVR5 systems. The native + getaddrinfo() is too old and limited for addr_pton() in addrmatch.c. 20100115 - (dtucker) OpenBSD CVS Sync diff --git a/configure.ac b/configure.ac index 3293e61c6..a105de71d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.435 2010/01/15 01:38:30 dtucker Exp $ +# $Id: configure.ac,v 1.436 2010/01/16 20:23:25 tim Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) -AC_REVISION($Revision: 1.435 $) +AC_REVISION($Revision: 1.436 $) AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_HEADER(config.h) @@ -747,6 +747,7 @@ mips-sony-bsd|mips-sony-newsos4) AC_DEFINE(UNIXWARE_LONG_PASSWORDS, 1, [Support passwords > 8 chars]) AC_DEFINE(USE_PIPES) AC_DEFINE(SETEUID_BREAKS_SETUID) + AC_DEFINE(BROKEN_GETADDRINFO) AC_DEFINE(BROKEN_SETREUID) AC_DEFINE(BROKEN_SETREGID) AC_DEFINE(PASSWD_NEEDS_USERNAME) -- cgit v1.2.3