Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2008 12:09:56 +0100
From:      Doug Rabson <dfr@rabson.org>
To:        Pascal Hofstee <caelian@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>, Jiawei Ye <leafy7382@gmail.com>
Subject:   Re: Strange krb5-config output after recent Heimdel import
Message-ID:  <B1C9526B-410C-4891-9A23-1E803BCD2E8B@rabson.org>
In-Reply-To: <20080509123139.50345ec6@nebuchadnezzar>
References:  <c21e92e20805090316g5adbe39ao67e3d38c96cb3b38@mail.gmail.com> <20080509123139.50345ec6@nebuchadnezzar>

next in thread | previous in thread | raw e-mail | index | archive | help

On 9 May 2008, at 11:31, Pascal Hofstee wrote:

> On Fri, 9 May 2008 18:16:58 +0800
> "Jiawei Ye" <leafy7382@gmail.com> wrote:
>
>> Dear All,
>> After recent heimdel import, "krb5-config --libs" results in
>>
>> [root@business /usr/src/kerberos5]# krb5-config --libs
>> -L/usr/lib -lkrb5 @LIB_pkinit@ -lcom_err @LIB_hcrypto_appl@ -lasn1
>> -lroken -lcrypt @LIB_dlopen@ @LIB_door_create@ -lcom_err
>>
>> Before the import, it was:
>>
>> [ leafy@sh-mail ~] $ krb5-config --libs
>> -L/usr/lib -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
>>
>> This broke some ports that depends on the output of krb5-config (ex.
>> security/p5-GSSAPI).
>>
>> Could the importer please fix this issue?
>
> Ahh, this explains the gnome-vfs build breakage i observed this
> morning. In my case it was "krb5-config --cflags" causing the build
> breakage.

Try this patch (untested - I'm waiting for my buildworld to complete).

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/kerberos5/usr.bin/krb5-config/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	24 Feb 2005 22:24:24 -0000	1.15
+++ Makefile	9 May 2008 11:08:56 -0000
@@ -7,16 +7,19 @@

  krb5-config: krb5-config.in
  	sed -e "s,@PACKAGE\@,FreeBSD heimdal,g" \
-	    -e "s,@VERSION\@,0.6.3,g" \
+	    -e "s,@VERSION\@,1.1.0,g" \
  	    -e "s,@prefix\@,/usr,g" \
  	    -e "s,@exec_prefix\@,/usr,g" \
  	    -e "s,@libdir\@,${LIBDIR},g" \
  	    -e "s,@includedir\@,${INCLUDEDIR},g" \
  	    -e "s,@LIB_crypt\@,-lcrypt,g" \
  	    -e "s,@LIB_dbopen\@,,g" \
-	    -e "s,@LIB_des_appl\@,-lcrypto,g" \
-	    -e "s,@LIBS\@,-lcom_err,g" \
-	    -e "s,@INCLUDE_des@,,g" \
+	    -e "s,@LIB_hcrypto_appl\@,-lcrypto,g" \
+	    -e "s,@LIB_pkinit\@,-lhx509,g" \
+	    -e "s,@LIB_dlopen\@,,g" \
+	    -e "s,@LIB_door_create\@,,g" \
+	    -e "s,@LIBS\@,,g" \
+	    -e "s,@INCLUDE_hcrypto@,,g" \
  	    ${.ALLSRC} > ${.TARGET}

  .include <bsd.prog.mk>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1C9526B-410C-4891-9A23-1E803BCD2E8B>