summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--INSTALL4
-rw-r--r--configure.ac29
3 files changed, 31 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index a865fce6d..d2d2f347f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120050424
2 - (dtucker) [INSTALL configure.ac] Make zlib version check test for 1.1.4 or
3 1.2.1.2 or higher. With tim@, ok djm@
4
120050423 520050423
2 - (tim) [config.guess] Add support for OpenServer 6. 6 - (tim) [config.guess] Add support for OpenServer 6.
3 7
@@ -5,6 +9,10 @@
5 - (dtucker) [session.c] Bug #1024: Don't check pam_session_is_open if 9 - (dtucker) [session.c] Bug #1024: Don't check pam_session_is_open if
6 UseLogin is set as PAM is not used to establish credentials in that 10 UseLogin is set as PAM is not used to establish credentials in that
7 case. Found by Michael Selvesteen, ok djm@ 11 case. Found by Michael Selvesteen, ok djm@
12 - (dtucker) [auth-pam.c] Since people don't seem to be getting the message,
13 USE_POSIX_THREADS is now known as UNSUPPORTED_POSIX_THREADS_HACK.
14 USE_POSIX_THREADS will now generate an error so we don't silently change
15 behaviour. ok djm@
8 16
920050419 1720050419
10 - (dtucker) [INSTALL] Reference README.privsep for the privilege separation 18 - (dtucker) [INSTALL] Reference README.privsep for the privilege separation
@@ -2444,4 +2452,4 @@
2444 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2452 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2445 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2453 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2446 2454
2447$Id: ChangeLog,v 1.3746 2005/04/24 01:17:29 tim Exp $ 2455$Id: ChangeLog,v 1.3747 2005/04/24 07:52:22 dtucker Exp $
diff --git a/INSTALL b/INSTALL
index 7de5cb496..753d2d061 100644
--- a/INSTALL
+++ b/INSTALL
@@ -3,7 +3,7 @@
3 3
4You will need working installations of Zlib and OpenSSL. 4You will need working installations of Zlib and OpenSSL.
5 5
6Zlib 1.1.4 or greater: 6Zlib 1.1.4 or 1.2.1.2 or greater (ealier 1.2.x versions have problems):
7http://www.gzip.org/zlib/ 7http://www.gzip.org/zlib/
8 8
9OpenSSL 0.9.6 or greater: 9OpenSSL 0.9.6 or greater:
@@ -225,4 +225,4 @@ Please refer to the "reporting bugs" section of the webpage at
225http://www.openssh.com/ 225http://www.openssh.com/
226 226
227 227
228$Id: INSTALL,v 1.69 2005/04/19 05:40:51 dtucker Exp $ 228$Id: INSTALL,v 1.70 2005/04/24 07:52:23 dtucker Exp $
diff --git a/configure.ac b/configure.ac
index 8d8688bfb..20c8f1587 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.259 2005/04/12 02:00:18 tim Exp $ 1# $Id: configure.ac,v 1.260 2005/04/24 07:52:23 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -643,29 +643,40 @@ AC_ARG_WITH(zlib-version-check,
643 ] 643 ]
644) 644)
645 645
646AC_MSG_CHECKING(for zlib 1.1.4 or greater) 646AC_MSG_CHECKING(for possibly buggy zlib)
647AC_RUN_IFELSE([AC_LANG_SOURCE([[ 647AC_RUN_IFELSE([AC_LANG_SOURCE([[
648#include <stdio.h>
648#include <zlib.h> 649#include <zlib.h>
649int main() 650int main()
650{ 651{
651 int a, b, c, v; 652 int a=0, b=0, c=0, d=0, n, v;
652 if (sscanf(ZLIB_VERSION, "%d.%d.%d", &a, &b, &c) != 3) 653 n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d);
654 if (n != 3 && n != 4)
653 exit(1); 655 exit(1);
654 v = a*1000000 + b*1000 + c; 656 v = a*1000000 + b*10000 + c*100 + d;
655 if (v >= 1001004) 657 fprintf(stderr, "found zlib version %s (%d)\n", ZLIB_VERSION, v);
658
659 /* 1.1.4 is OK */
660 if (a == 1 && b == 1 && c >= 4)
661 exit(0);
662
663 /* 1.2.1.2 and up are OK */
664 if (v >= 1020102)
656 exit(0); 665 exit(0);
666
657 exit(2); 667 exit(2);
658} 668}
659 ]])], 669 ]])],
660 AC_MSG_RESULT(yes), 670 AC_MSG_RESULT(no),
661 [ AC_MSG_RESULT(no) 671 [ AC_MSG_RESULT(yes)
662 if test -z "$zlib_check_nonfatal" ; then 672 if test -z "$zlib_check_nonfatal" ; then
663 AC_MSG_ERROR([*** zlib too old - check config.log *** 673 AC_MSG_ERROR([*** zlib too old - check config.log ***
664Your reported zlib version has known security problems. It's possible your 674Your reported zlib version has known security problems. It's possible your
665vendor has fixed these problems without changing the version number. If you 675vendor has fixed these problems without changing the version number. If you
666are sure this is the case, you can disable the check by running 676are sure this is the case, you can disable the check by running
667"./configure --without-zlib-version-check". 677"./configure --without-zlib-version-check".
668If you are in doubt, upgrade zlib to version 1.1.4 or greater.]) 678If you are in doubt, upgrade zlib to version 1.2.1.2 or greater.
679See http://www.gzip.org/zlib/ for details.])
669 else 680 else
670 AC_MSG_WARN([zlib version may have security problems]) 681 AC_MSG_WARN([zlib version may have security problems])
671 fi 682 fi