From: Mike Lothian Date: Mon, 11 Jun 2018 16:06:40 +0000 (+0100) Subject: sys-libs/ldb: Add use flag for new lmdb backend X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=015637d110b3f8faa568dd3177847f3c4e18fbd5;p=gentoo.git sys-libs/ldb: Add use flag for new lmdb backend Bug: https://bugs.gentoo.org/657828 --- diff --git a/sys-libs/ldb/ldb-1.4.0.ebuild b/sys-libs/ldb/ldb-1.4.0-r1.ebuild similarity index 95% rename from sys-libs/ldb/ldb-1.4.0.ebuild rename to sys-libs/ldb/ldb-1.4.0-r1.ebuild index 2d0e99ba9c81..a42012a74531 100644 --- a/sys-libs/ldb/ldb-1.4.0.ebuild +++ b/sys-libs/ldb/ldb-1.4.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://www.samba.org/ftp/pub/${PN}/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0/${PV}" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="doc +ldap +python" +IUSE="doc +ldap +lmdb +python" RDEPEND=" !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) @@ -24,6 +24,7 @@ RDEPEND=" >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}] >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}] ldap? ( net-nds/openldap ) + lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] ) python? ( ${PYTHON_DEPS} ) " @@ -57,6 +58,7 @@ src_prepare() { multilib_src_configure() { local myconf=( $(usex ldap '' --disable-ldap) + $(usex lmdb '' --without-ldb-lmdb) --disable-rpath --disable-rpath-install --bundled-libraries=NONE --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba diff --git a/sys-libs/ldb/metadata.xml b/sys-libs/ldb/metadata.xml index 62c9222b8dd3..db4a710716a7 100644 --- a/sys-libs/ldb/metadata.xml +++ b/sys-libs/ldb/metadata.xml @@ -1,8 +1,14 @@ - - samba@gentoo.org - Samba - + + samba@gentoo.org + Samba + + + Builds documentation + Enable LDAP support + Enable LMDB backend + Enable Python support +