Kerberos support for neon. New bug report as requested in Bug #186929 see Bug #114759 to find out why this has been disabled.
Created attachment 135095 [details] neon 0.26.4 ebuild with kerberos useflag neon 0.26.4 with kerberos support This ebuild adds configurable kerberos support to the neon ebuild. I have to use neon 0.26.4, because older versions <=0.26.3 have a bug in the negotiate handling, rendering kerberos support useless. Tested with MIT kerberos (app-crypt/mit-krb5-1.5.3-r1), heimdal is untested
Yes, I have managed to compile on host where I have heimdal-0.7.2-r3 and USE="-kerberos" dev-libs/openssl installed. >>> Unpacking neon-0.26.4.tar.gz to /var/tmp/portage/net-misc/neon-0.26.4/work * Running elibtoolize in: neon-0.26.4 * Applying install-sh-1.5.patch ... * Applying portage-1.5.10.patch ... * Applying sed-1.5.6.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-misc/neon-0.26.4/work/neon-0.26.4 ... * Enabling SSL library thread-safety using POSIX threads... * econf: updating neon-0.26.4/config.guess with /usr/share/gnuconfig/config.guess * econf: updating neon-0.26.4/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-static --enable-shared --with-zlib --disable-socks --enable-threadsafe-ssl=posix --with-libxml2 --with-ssl=openssl --with-gssapi --build=i686-pc-linux-gnu ... checking for pkg-config... /usr/bin/pkg-config checking for openssl pkg-config data... yes configure: using SSL library configuration from pkg-config checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/opensslv.h usability... yes checking openssl/opensslv.h presence... yes checking for openssl/opensslv.h... yes checking OpenSSL version is >= 0.9.7... yes configure: OpenSSL >= 0.9.7; EGD support not needed in neon configure: SSL support enabled, using OpenSSL (0.9.7 or later) checking for pthread_mutex_init... yes checking for pthread_mutex_lock... yes configure: Thread-safe SSL supported using POSIX threads configure: SOCKSv5 support is not enabled checking for krb5-config... /usr/bin/krb5-config checking gssapi/gssapi.h usability... yes checking gssapi/gssapi.h presence... yes checking for gssapi/gssapi.h... yes checking for gss_init_sec_context... yes configure: GSSAPI authentication support enabled checking gssapi/gssapi_generic.h usability... no checking gssapi/gssapi_generic.h presence... no checking for gssapi/gssapi_generic.h... no checking whether GSS_C_NT_HOSTBASED_SERVICE is declared... yes ... configure: Configured to build neon 0.26.4: Install prefix: /usr Compiler: i686-pc-linux-gnu-gcc XML Parser: libxml 2.6.30 SSL library: SSL support enabled, using OpenSSL (0.9.7 or later) zlib support: zlib support enabled, using -lz Build libraries: Shared=yes, Static=yes ... /bin/sh ..//libtool --quiet --mode=link i686-pc-linux-gnu-gcc -no-undefined -rpath /usr/lib -version-info 26:4:0 -export-symbols-regex '^ne_[^_]' -o libneon.la ne_request.lo ne_session.lo ne_basic.lo ne_string.lo ne_uri.lo ne_dates.lo ne_alloc.lo ne_md5.lo ne_utils.lo ne_socket.lo ne_auth.lo ne_redirect.lo ne_compress.lo ne_i18n.lo ne_207.lo ne_xml.lo ne_props.lo ne_locks.lo ne_xmlreq.lo ne_acl.lo ne_openssl.lo -lz -lssl -lcrypto -ldl -L/usr/lib -lgssapi -lkrb5 -lasn1 -lcom_err -lcrypto -lroken -lcrypt -ldl -lresolv -lpthread -lxml2 -lz -lm make[1]: Leaving directory `/var/tmp/portage/net-misc/neon-0.26.4/work/neon-0.26.4/src' # scanelf -qF "%F: %n" /usr/lib/libneon.so /usr/lib/libssl.so /usr/lib/libneon.so: libssl.so.0.9.8,libgssapi.so.4,libkrb5.so.17,libasn1.so.6,libcom_err.so.2,libcrypto.so.0.9.8,libroken.so.16,libcrypt.so.1,libdl.so.2,libresolv.so.2,libpthread.so.0,libxml2.so.2,libz.so.1,libm.so.6,libc.so.6 /usr/lib/libssl.so: libcrypto.so.0.9.8,libdl.so.2,libc.so.6 # ldd /usr/lib/libneon.so linux-gate.so.1 => (0xb7fa2000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7f22000) libgssapi.so.4 => /usr/lib/libgssapi.so.4 (0xb7f0a000) libkrb5.so.17 => /usr/lib/libkrb5.so.17 (0xb7ec2000) libasn1.so.6 => /usr/lib/libasn1.so.6 (0xb7e8d000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7e89000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7d4b000) libroken.so.16 => /usr/lib/libroken.so.16 (0xb7d39000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d07000) libdl.so.2 => /lib/libdl.so.2 (0xb7d03000) libresolv.so.2 => /lib/libresolv.so.2 (0xb7cf1000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7cd9000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7bc5000) libz.so.1 => /lib/libz.so.1 (0xb7bb3000) libm.so.6 => /lib/libm.so.6 (0xb7b8f000) libc.so.6 => /lib/libc.so.6 (0xb7a61000) libdb-4.5.so => /usr/lib/libdb-4.5.so (0xb7949000) /lib/ld-linux.so.2 (0x80000000) # Seems you can commit this to the tree. ;-) Thanks.
in cvs