[1942] in Kerberos-V5-bugs
Beta6(-) compiling telnet w/o krb4
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Wed May 29 18:23:41 1996
From: epeisach@MIT.EDU
Date: Wed, 29 May 1996 18:23:21 -0400
To: tytso@MIT.EDU
Cc: krb5-bugs@MIT.EDU
Here is the patch to allow for compiling of telnet w/o krb4 support. The
real fix will be to rewrite the encrypting code to use libcrypto
properly, but meanwhile, this will simply link against libdes425.a if
krb4 is not used.
cvs diff: Diffing .
cvs diff: Diffing arpa
cvs diff: Diffing libtelnet
cvs diff: Diffing telnet
Index: telnet/configure.in
===================================================================
RCS file: /mit/krb5/.cvsroot/src/appl/telnet/telnet/configure.in,v
retrieving revision 5.21
diff -c -r5.21 configure.in
*** configure.in 1996/03/14 00:38:09 5.21
--- configure.in 1996/05/29 19:27:46
***************
*** 34,39 ****
--- 34,49 ----
AC_MSG_RESULT(Kerberos 4 authentication enabled)
AC_DEFINE(KRB4)
fi
+ dnl
+ dnl For the encryption code we need libdes425
+ dnl Fix post beta-6
+ withval=no
+ AC_ARG_WITH([krb4],[],,withval=yes)
+ if test $withval = no; then
+ KRB4_CRYPTO_LIB='-ldes425'
+ DEPKRB4_CRYPTO_LIB='$(TOPLIBD)/libdes425.a'
+ fi
+ dnl
USE_KRB4_LIBRARY
USE_ANAME
KRB5_LIBRARIES
cvs diff: Diffing telnetd
Index: telnetd/configure.in
===================================================================
RCS file: /mit/krb5/.cvsroot/src/appl/telnet/telnetd/configure.in,v
retrieving revision 5.30
diff -c -r5.30 configure.in
*** configure.in 1996/05/02 01:22:21 5.30
--- configure.in 1996/05/29 19:29:07
***************
*** 65,70 ****
--- 65,80 ----
if test $krb5_cv_sys_setpgrp_two = yes; then
AC_DEFINE(SETPGRP_TWOARG)
fi
+ dnl
+ dnl For the encryption code we need libdes425
+ dnl Fix post beta-6
+ withval=no
+ AC_ARG_WITH([krb4],[],,withval=yes)
+ if test $withval = no; then
+ KRB4_CRYPTO_LIB='-ldes425'
+ DEPKRB4_CRYPTO_LIB='$(TOPLIBD)/libdes425.a'
+ fi
+ dnl
USE_KRB4_LIBRARY
KRB5_LIBRARIES
V5_USE_SHARED_LIB