[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenSSL patch for Heimdal 0.3d



On Mon, Jan 08, 2001 at 12:44:06PM +1100, Brian May wrote:

> 1. It still includes -ldes, not -lcrypto
> 2. It fails to specify -lcom_err

How about the following patch:

diff -u -r heimdal-0.3d.orig/tools/Makefile.am heimdal/tools/Makefile.am
--- heimdal-0.3d.orig/tools/Makefile.am	Fri Dec  1 06:05:27 2000
+++ heimdal/tools/Makefile.am	Mon Jan  8 14:55:48 2001
@@ -19,6 +19,7 @@
 		-e "s,@includedir\@,$(includedir),g" \
 		-e "s,@LIB_crypt\@,$(LIB_crypt),g" \
 		-e "s,@LIB_dbopen\@,$(LIB_dbopen),g" \
+		-e "s,@LIB_des\@,$(LIB_des),g" \
 		-e "s,@LIBS\@,$(LIBS),g" \
 		$(srcdir)/krb5-config.in > $@
 	chmod +x $@
diff -u -r heimdal-0.3d.orig/tools/krb5-config.in heimdal/tools/krb5-config.in
--- heimdal-0.3d.orig/tools/krb5-config.in	Fri Dec  1 05:58:54 2000
+++ heimdal/tools/krb5-config.in	Mon Jan  8 14:56:09 2001
@@ -99,7 +99,7 @@
 	echo -n " -lkadm5srv"
 	;;
     esac
-    echo " -lkrb5 -lasn1 -ldes -lroken @LIB_crypt@ @LIB_dbopen@ @LIBS@"
+    echo " -lkrb5 -lasn1 @LIB_des@ -lroken -lcom_err @LIB_crypt@ @LIB_dbopen@ @LIBS@"
 fi
 if test "$do_cflags" = "yes"; then
     echo "-I${includedir}"

Gabor

-- 
Gabor Gombas                                       Eotvos Lorand University
E-mail: gombasg@inf.elte.hu                        Hungary