diff options
Diffstat (limited to 'net-misc/gsasl')
-rw-r--r-- | net-misc/gsasl/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/gsasl/files/gsasl-gss-extra.patch | 21 | ||||
-rw-r--r-- | net-misc/gsasl/gsasl-1.6.1.ebuild | 7 |
3 files changed, 32 insertions, 2 deletions
diff --git a/net-misc/gsasl/ChangeLog b/net-misc/gsasl/ChangeLog index 2fde17326d54..7c3d9d11bf33 100644 --- a/net-misc/gsasl/ChangeLog +++ b/net-misc/gsasl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/gsasl # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/gsasl/ChangeLog,v 1.45 2011/08/06 16:33:51 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/gsasl/ChangeLog,v 1.46 2011/11/05 21:54:01 eras Exp $ + + 05 Nov 2011; Eray Aslan <eras@gentoo.org> gsasl-1.6.1.ebuild, + +files/gsasl-gss-extra.patch: + Fix compiling against heimdal - bug #359005. Thanks to Rafał Mużyło. 06 Aug 2011; Eray Aslan <eras@gentoo.org> -gsasl-0.2.4.ebuild, -gsasl-0.2.29.ebuild, -gsasl-1.1.ebuild, -gsasl-1.4.1.ebuild, diff --git a/net-misc/gsasl/files/gsasl-gss-extra.patch b/net-misc/gsasl/files/gsasl-gss-extra.patch new file mode 100644 index 000000000000..e08a36ae5779 --- /dev/null +++ b/net-misc/gsasl/files/gsasl-gss-extra.patch @@ -0,0 +1,21 @@ +Based on gentoo bug #359005 +--- lib/gl/m4/gss-extra.m4.orig 2010-12-14 12:57:08.000000000 +0000 ++++ lib/gl/m4/gss-extra.m4 2011-11-05 21:11:54.000000000 +0000 +@@ -19,7 +19,16 @@ + AC_CHECK_FUNCS([gss_decapsulate_token]) + AC_CHECK_FUNCS([gss_oid_equal]) + AC_CHECK_FUNCS([gss_inquire_mech_for_saslname]) +- AC_CHECK_FUNCS([GSS_C_NT_HOSTBASED_SERVICE]) ++ AC_MSG_CHECKING([for GSS_C_NT_HOSTBASED_SERVICE]) ++ AC_EGREP_CPP(hostbased_service_gss_nt_yes, gssapi.h, ++ [#include <gssapi.h> ++ #ifdef GSS_C_NT_HOSTBASED_SERVICE ++ hostbased_service_gss_nt_yes ++ #endif], ++ [AC_DEFINE(HAVE_GSS_C_NT_HOSTBASED_SERVICE,, ++ [Define if your GSSAPI implimentation defines GSS_C_NT_HOSTBASED_SERVICE]) ++ AC_MSG_RESULT([yes])], ++ AC_MSG_RESULT([no])) + if test "$gssapi_impl" != "gss"; then + AC_CHECK_HEADERS([gssapi.h gssapi/gssapi.h]) + if test "$ac_cv_header_gssapi_h$ac_cv_header_gssapi_gssapi_h" = "nono"; then diff --git a/net-misc/gsasl/gsasl-1.6.1.ebuild b/net-misc/gsasl/gsasl-1.6.1.ebuild index 33bbb32b8db7..91e823b3411b 100644 --- a/net-misc/gsasl/gsasl-1.6.1.ebuild +++ b/net-misc/gsasl/gsasl-1.6.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/gsasl/gsasl-1.6.1.ebuild,v 1.5 2011/07/19 19:46:22 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/gsasl/gsasl-1.6.1.ebuild,v 1.6 2011/11/05 21:54:01 eras Exp $ EAPI="2" @@ -23,6 +23,11 @@ DEPEND=" " RDEPEND="${DEPEND}" +src_prepare() { + epatch "${FILESDIR}/${PN}-gss-extra.patch" + eautoreconf +} + src_configure() { econf \ --enable-client \ |