Guido Guenther <[EMAIL PROTECTED]> writes:

> In pykerberos we now have:

> if sys.platform == "darwin":
>     include_dirs = 
> ["/System/Library/Frameworks/Kerberos.framework/Versions/Current/Headers"]
> elif sys.platform == "linux2":
>     include_dirs = ["/usr/include/gssapi/"]

> to find the correct headers on both platforms. This looks broken (at
> least to me). It would be nice if krb5-config could compensate for that.
> Could you please forward this upstream to the appropriate place and keep
> me cc:?

I have proposed a patch upstream that met with their initial approval, but
it's waiting on verification that it won't cause problems with the Mac
build.  I'm going on vacation shortly and will be out for the rest of
October, plus we're already within the freeze window for non-urgent
changes, so this almost certainly won't be fixed for etch.  However, as
soon as upstream accepts the patch so that I know we won't be creating a
future incompatibility with upstream, I'll add it to the Debian package
for the next release.

Here's the patch, if you're curious.  It's quite simple; the main question
is an upstream naming policy question.

Index: src/include/Makefile.in
===================================================================
--- src/include/Makefile.in     (revision 18630)
+++ src/include/Makefile.in     (working copy)
@@ -126,3 +126,4 @@
        $(INSTALL_DATA) krb5/krb5.h $(DESTDIR)$(KRB5_INCDIR)$(S)krb5$(S)krb5.h
        $(INSTALL_DATA) $(srcdir)/krb5/locate_plugin.h 
$(DESTDIR)$(KRB5_INCDIR)$(S)krb5$(S)locate_plugin.h
        $(INSTALL_DATA) profile.h $(DESTDIR)$(KRB5_INCDIR)$(S)profile.h
+       $(INSTALL_DATA) $(srcdir)/gssapi.h $(DESTDIR)$(KRB5_INCDIR)$(S)gssapi.h
Index: src/include/gssapi.h
===================================================================
--- src/include/gssapi.h        (revision 0)
+++ src/include/gssapi.h        (revision 0)
@@ -0,0 +1,5 @@
+/* 
+ * Wrapper so that #include <gssapi.h> will work without special include
+ * paths.
+ */
+#include <gssapi/gssapi.h>

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to