Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 524662 Details for
Bug 651084
net-mail/dovecot-2.3.0.1 USE=kerberos - ld: ./.libs/libauth.a(mech-gssapi.o): undefined reference to symbol 'krb5_free_context@@HEIMDAL_KRB5_2.0'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
m4-want-gssapi.patch
m4-want-gssapi.patch (text/plain), 1.97 KB, created by
Martin Cyr
on 2018-03-21 15:49:08 UTC
(
hide
)
Description:
m4-want-gssapi.patch
Filename:
MIME Type:
Creator:
Martin Cyr
Created:
2018-03-21 15:49:08 UTC
Size:
1.97 KB
patch
obsolete
>From 2d316e272fc2c97fc729ee221189271799884c78 Mon Sep 17 00:00:00 2001 >From: Martin Cyr <martin.cyr@metalogique.com> >Date: Sat, 13 Jan 2018 16:15:47 -0500 >Subject: [PATCH] Always link krb5 when gssapi is requested > >Since krb5_free_context is defined in libkrb5, not libgssapi, it must be >linked, even when gssapi is found. >krb5-config --libs gssapi alone will not provide -lkrb5. >Also, krb5-config --version ANYTHING will always return 0 (at least with >Heimdal). >--- > m4/want_gssapi.m4 | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/m4/want_gssapi.m4 b/m4/want_gssapi.m4 >index 745763079..7866aba0d 100644 >--- a/m4/want_gssapi.m4 >+++ b/m4/want_gssapi.m4 >@@ -3,10 +3,10 @@ AC_DEFUN([DOVECOT_WANT_GSSAPI], [ > if test $want_gssapi != no; then > AC_CHECK_PROG(KRB5CONFIG, krb5-config, krb5-config, NO) > if test $KRB5CONFIG != NO; then >+ KRB5_LIBS="`$KRB5CONFIG --libs`" >+ KRB5_CFLAGS=`$KRB5CONFIG --cflags` > if ! $KRB5CONFIG --version gssapi 2>/dev/null > /dev/null; then > # krb5-config doesn't support gssapi. >- KRB5_LIBS="`$KRB5CONFIG --libs`" >- KRB5_CFLAGS=`$KRB5CONFIG --cflags` > AC_CHECK_LIB(gss, gss_acquire_cred, [ > # Solaris > KRB5_LIBS="$KRB5_LIBS -lgss" >@@ -15,8 +15,8 @@ AC_DEFUN([DOVECOT_WANT_GSSAPI], [ > KRB5_LIBS= > ], $KRB5_LIBS) > else >- KRB5_LIBS=`$KRB5CONFIG --libs gssapi` >- KRB5_CFLAGS=`$KRB5CONFIG --cflags gssapi` >+ KRB5_LIBS="$KRB5_LIBS `$KRB5CONFIG --libs gssapi`" >+ KRB5_CFLAGS="$KRB5_CFLAGS `$KRB5CONFIG --cflags gssapi`" > fi > if test "$KRB5_LIBS" != ""; then > AC_SUBST(KRB5_LIBS) >@@ -51,6 +51,7 @@ AC_DEFUN([DOVECOT_WANT_GSSAPI], [ > old_LIBS=$LIBS > LIBS="$LIBS $KRB5_LIBS" > AC_CHECK_FUNCS(gsskrb5_register_acceptor_identity krb5_gss_register_acceptor_identity) >+ AC_CHECK_FUNCS(krb5_free_context) > > # does the kerberos library support SPNEGO? > AC_CACHE_CHECK([whether GSSAPI supports SPNEGO],i_cv_gssapi_spnego,[ >-- >2.16.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 651084
:
524660
| 524662 |
524664