Here is a patch to configure, & configure.ac that should
solve the problems people are having with 4.3p1.
Thanks to Corina for finding the simple solution.
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
-------------- next part --------------
diff -ru openssh-4.3p1/configure openssh/configure
--- openssh-4.3p1/configure 2006-02-01 03:33:51.000000000 -0800
+++ openssh/configure 2006-02-02 16:10:44.860763002 -0800
@@ -3036,6 +3036,21 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
644'
+echo "$as_me:$LINENO: checking for egrep" >&5
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6
+if test "${ac_cv_prog_egrep+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if echo a | (grep -E '(a|b)') >/dev/null 2>&1
+ then ac_cv_prog_egrep='grep -E'
+ else ac_cv_prog_egrep='egrep'
+ fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
+echo "${ECHO_T}$ac_cv_prog_egrep" >&6
+ EGREP=$ac_cv_prog_egrep
+
+
# Extract the first word of "ar", so it can be a program name with
args.
set dummy ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -5640,21 +5655,6 @@
esac
# tun(4) forwarding compat code
-echo "$as_me:$LINENO: checking for egrep" >&5
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
-if test "${ac_cv_prog_egrep+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if echo a | (grep -E '(a|b)') >/dev/null 2>&1
- then ac_cv_prog_egrep='grep -E'
- else ac_cv_prog_egrep='egrep'
- fi
-fi
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
- EGREP=$ac_cv_prog_egrep
-
-
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
@@ -15093,7 +15093,7 @@
#include <string.h>
#include <openssl/evp.h>
-int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL)}
+int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
_ACEOF
rm -f conftest.$ac_objext
@@ -27440,6 +27440,7 @@
s, at INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
s, at INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
s, at INSTALL_DATA@,$INSTALL_DATA,;t t
+s, at EGREP@,$EGREP,;t t
s, at AR@,$AR,;t t
s, at CAT@,$CAT,;t t
s, at KILL@,$KILL,;t t
@@ -27456,7 +27457,6 @@
s, at LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
s, at PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t
s, at LD@,$LD,;t t
-s, at EGREP@,$EGREP,;t t
s, at LIBWRAP@,$LIBWRAP,;t t
s, at LIBEDIT@,$LIBEDIT,;t t
s, at LIBPAM@,$LIBPAM,;t t
diff -ru openssh-4.3p1/configure.ac openssh/configure.ac
--- openssh-4.3p1/configure.ac 2006-01-29 05:22:39.000000000 -0800
+++ openssh/configure.ac 2006-02-02 16:10:29.540763142 -0800
@@ -27,6 +27,7 @@
AC_PROG_CPP
AC_PROG_RANLIB
AC_PROG_INSTALL
+AC_PROG_EGREP
AC_PATH_PROG(AR, ar)
AC_PATH_PROG(CAT, cat)
AC_PATH_PROG(KILL, kill)
@@ -1832,7 +1833,7 @@
[AC_LANG_SOURCE([[
#include <string.h>
#include <openssl/evp.h>
-int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL)}
+int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
]])],
[
AC_MSG_RESULT(no)
Tim Rice wrote:> Here is a patch to configure, & configure.ac that should > solve the problems people are having with 4.3p1. > > Thanks to Corina for finding the simple solution.Please test this patch ASAP and so we can make a 4.3p2 release with it included soon (days to a week). -d
On Feb 2 17:01, Tim Rice wrote:> Here is a patch to configure, & configure.ac that should > solve the problems people are having with 4.3p1.Your patch works fine here and, hey, wow, it also solves the "crippled AES" problem I have noticed yesterday! I was going to look into this today but now ... case closed :-)> Thanks to Corina for finding the simple solution.You're welcome. Thanks for your patch.> -- > Tim Rice Multitalents (707) 887-1469 > tim at multitalents.netContent-Description: 4.3p1-configure.patch> [...] > diff -ru openssh-4.3p1/configure.ac openssh/configure.ac > --- openssh-4.3p1/configure.ac 2006-01-29 05:22:39.000000000 -0800 > +++ openssh/configure.ac 2006-02-02 16:10:29.540763142 -0800 > @@ -27,6 +27,7 @@ > AC_PROG_CPP > AC_PROG_RANLIB > AC_PROG_INSTALL > +AC_PROG_EGREP > AC_PATH_PROG(AR, ar) > AC_PATH_PROG(CAT, cat) > AC_PATH_PROG(KILL, kill) > @@ -1832,7 +1833,7 @@ > [AC_LANG_SOURCE([[ > #include <string.h> > #include <openssl/evp.h> > -int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL)} > +int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);} > ]])], > [ > AC_MSG_RESULT(no)Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat
I'm still having configure/wtmp troubles with 4.3p1 on Solaris 8 for Sparc. I add the patch to a clean source directory: $ gpatch -p1 < 4.3p1-configure.patch patching file configure patching file configure.ac And then I ran configure, which included the following in it's output: configure: WARNING: lastlog.h: present but cannot be compiled configure: WARNING: lastlog.h: check for missing prerequisite headers? configure: WARNING: lastlog.h: see the Autoconf documentation configure: WARNING: lastlog.h: section "Present But Cannot Be Compiled" configure: WARNING: lastlog.h: proceeding with the preprocessor's result configure: WARNING: lastlog.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------- ## configure: WARNING: ## Report this to openssh-unix-dev at mindrot.org ## configure: WARNING: ## ------------------------------------------- ## . . . configure: WARNING: net/if.h: present but cannot be compiled configure: WARNING: net/if.h: check for missing prerequisite headers? configure: WARNING: net/if.h: see the Autoconf documentation configure: WARNING: net/if.h: section "Present But Cannot Be Compiled" configure: WARNING: net/if.h: proceeding with the preprocessor's result configure: WARNING: net/if.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------- ## configure: WARNING: ## Report this to openssh-unix-dev at mindrot.org ## configure: WARNING: ## ------------------------------------------- ## . . . configure: WARNING: netinet/in_systm.h: present but cannot be compiled configure: WARNING: netinet/in_systm.h: check for missing prerequisite headers? configure: WARNING: netinet/in_systm.h: see the Autoconf documentation configure: WARNING: netinet/in_systm.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result configure: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------- ## configure: WARNING: ## Report this to openssh-unix-dev at mindrot.org ## configure: WARNING: ## ------------------------------------------- ## .. and when I run it, it is still recording the login time incorrectly. Any suggestions are welcome. -Bill. -----Original Message----- From: openssh-unix-dev-bounces+bill.fischer=qwest.com at mindrot.org [mailto:openssh-unix-dev-bounces+bill.fischer=qwest.com at mindrot.org] On Behalf Of Damien Miller Sent: Friday, February 03, 2006 2:40 AM To: openssh-unix-dev at mindrot.org Subject: Re: OpenSSH_4.3p1 configure patch Tim Rice wrote:> Here is a patch to configure, & configure.ac that should solve the > problems people are having with 4.3p1. > > Thanks to Corina for finding the simple solution.Please test this patch ASAP and so we can make a 4.3p2 release with it included soon (days to a week). -d _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev at mindrot.org http://www.mindrot.org/mailman/listinfo/openssh-unix-dev