summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-05-29 09:56:43 +0000
committerTim Harder <radhermit@gentoo.org>2012-05-29 09:56:43 +0000
commit4119cfd3e7d86030e34a1d8e2cf1121b2cbf3978 (patch)
tree1e3fa827fe4a87adaaf00ec81ce9945f568a2b84 /net-libs/libgsasl
parentBump haskell-src-exts to 1.13.3 (diff)
downloadgentoo-2-4119cfd3e7d86030e34a1d8e2cf1121b2cbf3978.tar.gz
gentoo-2-4119cfd3e7d86030e34a1d8e2cf1121b2cbf3978.tar.bz2
gentoo-2-4119cfd3e7d86030e34a1d8e2cf1121b2cbf3978.zip
Version bump. Add ntlm use flag and update to EAPI 4.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libgsasl')
-rw-r--r--net-libs/libgsasl/ChangeLog8
-rw-r--r--net-libs/libgsasl/libgsasl-1.8.0.ebuild48
-rw-r--r--net-libs/libgsasl/metadata.xml3
3 files changed, 57 insertions, 2 deletions
diff --git a/net-libs/libgsasl/ChangeLog b/net-libs/libgsasl/ChangeLog
index a88a9d8efb6a..a24f48eb65c4 100644
--- a/net-libs/libgsasl/ChangeLog
+++ b/net-libs/libgsasl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libgsasl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libgsasl/ChangeLog,v 1.71 2012/05/27 17:39:13 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libgsasl/ChangeLog,v 1.72 2012/05/29 09:56:43 radhermit Exp $
+
+*libgsasl-1.8.0 (29 May 2012)
+
+ 29 May 2012; Tim Harder <radhermit@gentoo.org> +libgsasl-1.8.0.ebuild,
+ metadata.xml:
+ Version bump. Add ntlm use flag and update to EAPI 4.
27 May 2012; Markus Meier <maekke@gentoo.org> libgsasl-1.6.1.ebuild:
arm stable, bug #416105
diff --git a/net-libs/libgsasl/libgsasl-1.8.0.ebuild b/net-libs/libgsasl/libgsasl-1.8.0.ebuild
new file mode 100644
index 000000000000..2bfee8e942a8
--- /dev/null
+++ b/net-libs/libgsasl/libgsasl-1.8.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libgsasl/libgsasl-1.8.0.ebuild,v 1.1 2012/05/29 09:56:42 radhermit Exp $
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="The GNU SASL library"
+HOMEPAGE="http://www.gnu.org/software/gsasl/"
+SRC_URI="mirror://gnu/${PN/lib}/${P}.tar.gz"
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="idn gcrypt kerberos nls ntlm static-libs"
+DEPEND="
+ gcrypt? ( dev-libs/libgcrypt )
+ idn? ( net-dns/libidn )
+ kerberos? ( virtual/krb5 )
+ nls? ( >=sys-devel/gettext-0.18.1 )
+ ntlm? ( net-libs/libntlm )
+"
+RDEPEND="${DEPEND}
+ !net-misc/gsasl"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-gss-extra.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with gcrypt libgcrypt) \
+ $(use_with idn stringprep) \
+ $(use_enable kerberos gssapi) \
+ $(use_enable kerberos kerberos_v5) \
+ $(use_enable nls) \
+ $(use_enable ntlm) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ if ! use static-libs; then
+ rm -f "${D}"/usr/lib*/lib*.la
+ fi
+}
diff --git a/net-libs/libgsasl/metadata.xml b/net-libs/libgsasl/metadata.xml
index 469ce3f3dfa1..b11afc2a3576 100644
--- a/net-libs/libgsasl/metadata.xml
+++ b/net-libs/libgsasl/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>net-mail</herd>
<use>
-<flag name='gcrypt'>Use <pkg>dev-libs/libgcrypt</pkg> for low-level crypto</flag>
+ <flag name='gcrypt'>Use <pkg>dev-libs/libgcrypt</pkg> for low-level crypto</flag>
+ <flag name='ntlm'>Add support for Microsoft's NTLM mechanism using <pkg>net-libs/libntlm</pkg></flag>
</use>
</pkgmetadata>