From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ldb/
Date: Thu, 28 Feb 2019 11:51:04 +0000 (UTC) [thread overview]
Message-ID: <1551354657.4d23ff23a522d1dea46383f2330c8e091c5c182e.polynomial-c@gentoo> (raw)
commit: 4d23ff23a522d1dea46383f2330c8e091c5c182e
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 28 11:36:15 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Feb 28 11:50:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d23ff23
sys-libs/ldb: Bump to versions 1.2.4, 1.3.8, 1.4.6, 1.5.4 and 1.6.2
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
sys-libs/ldb/Manifest | 5 ++
sys-libs/ldb/ldb-1.2.4.ebuild | 103 +++++++++++++++++++++++++++++++++++++++++
sys-libs/ldb/ldb-1.3.8.ebuild | 103 +++++++++++++++++++++++++++++++++++++++++
sys-libs/ldb/ldb-1.4.6.ebuild | 105 ++++++++++++++++++++++++++++++++++++++++++
sys-libs/ldb/ldb-1.5.4.ebuild | 105 ++++++++++++++++++++++++++++++++++++++++++
sys-libs/ldb/ldb-1.6.2.ebuild | 105 ++++++++++++++++++++++++++++++++++++++++++
6 files changed, 526 insertions(+)
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest
index 787ca53d1e0..0771096aabc 100644
--- a/sys-libs/ldb/Manifest
+++ b/sys-libs/ldb/Manifest
@@ -2,8 +2,13 @@ DIST ldb-1.1.26.tar.gz 1262660 BLAKE2B 66dcc38eb97fe4357d06b301ed1de5cf868adc5f3
DIST ldb-1.1.29.tar.gz 1277551 BLAKE2B 449333d40073fd63d6d013ba0ae43fc3a0b8201948eabd440d164d182492002c1d92047d652105c2fb6a3e8383d4b75f45e38cc52efc5d9a0e2811113676203a SHA512 d37bbe84358e05d17483e2e963b8477da5ea351b855b454142c94af35f7987bede0f19faeaff17779efe04e3bb37c510437fcc59be99a17c826620fc25fd659c
DIST ldb-1.1.31.tar.gz 1337586 BLAKE2B 9454f91a621368cfc7cfdb709781653e947d63b275bb3b288049acb43ee3c02ae4f0be820ccf9e3bb32938d12598a91b7a6292b08c638ccfd59bd1be182f09c0 SHA512 49ccd57000cbcc6d828160f4457236b28853d766d641841471f61226156b6103fe563c43c950577b038ea3c0a54506bca94c640d3d5f912a3b8af95eb9ef2824
DIST ldb-1.2.3.tar.gz 1344513 BLAKE2B 941174d6e2c51319c8690a8d8a87bea443d4fa4d738bd13243b502fdc9d590ba075fcf4a9920c38bb6fc15564f0b116089cd62d99e7cfe33649dc751910265ad SHA512 500ab069cf6cec39907300e3905d334163b5094087831708acc22c4199b006ef52af3b66aade7558a48fab7cd69be3af7883bda3816a83c576d01b36ab270247
+DIST ldb-1.2.4.tar.gz 1346413 BLAKE2B 441cdf679ab4852e1c8d90ca8d9544d7983436c864cb3ea76b63f45177061c2763f9700b4be4be9ba53a4bcc9cec49b509dd39efb8f5f2171bc432641d1329c2 SHA512 093815cfa9e950299c4f09c58362136d72c439692f7d8670ecbf9cac49ecef6fd365f8fab5d39f41a4dd39e07f6c8d1a2616e843653d2fa0d7bdff346a118aa9
DIST ldb-1.3.6.tar.gz 1374574 BLAKE2B 654f35eb25aeb373540ead7cb10da66c92970ea6b100631cb14bacf937fec64e09b19ed3e09a976406e3f8d6347c4e17144c0a0bff8795316559be45353edbf7 SHA512 8fcd72598e948c55adaa832d6ebcbc03b979281032cb900af4304c1c68ce9cc94a1e1d4729d0c2a0b83a618cab716749d851160005a0093cf8a178e6dbea298d
DIST ldb-1.3.7.tar.gz 1374109 BLAKE2B 561d120bbfc49ef7115a3c046d65f15960ff9905b5a56ed7676d31ce6027ba9f18dfe5027952154db4a040e14be69689f248ffef0ca2ae801553be4c890248fe SHA512 b6d2b2f5a0868ac4ed1cfe786f26d5815cf60233561a23a06d9d5c231d51bfc68ad1a0826e5080bc97bafbaef1770fa38b7d3071f57b766e960b22485e8b5e2b
+DIST ldb-1.3.8.tar.gz 1375782 BLAKE2B dbca935e762af86b268308253615019b24af6727411e77947ceeadd3e0114c2ad2a14d4a4f1121bf58ccb080d44a8513d2094314b043604d885977a26e622c57 SHA512 06d1b4c2badbf0c27733a64f979c48af8b599747cef7cd7f5417cd55a76447e8f8987bd061694c5af63261fdb35433e3844122c14103d5cc8b4eaab1f4752541
DIST ldb-1.4.4.tar.gz 1428851 BLAKE2B 8b2dc6dc95f5c8d1a04aab58efb622b4550e6d8fc6f12aafe36b7080a5d59ab2d7fc6429ac59de43a23cef690fa9f026ccf536f70bfd25a126a1a649f3c68d02 SHA512 eb5c364771732916f89c9ee8cf20909954a7215cd71333b79c17718dd1e25081cce6597e882b6f0d6158c207fb58d97311f0417bf3baffe72084977a4bd05896
DIST ldb-1.4.5.tar.gz 1429162 BLAKE2B 47c55ca8a89f343708b5ea275a1f2417e91e05b2d1cf92d812f2a1430dcf174b14e69474f30dcf60b34a5c4b905924a67f002607535257fbb531bfed807648fa SHA512 ed1e73eb4e10f041463b38be031e7b7b1057a6a1ef6a637019d58a6549a0958d551a0b52f3858114b83cf14470ef5ddd96de3dcbb733a3bd1fed768fc29fadd2
+DIST ldb-1.4.6.tar.gz 1431798 BLAKE2B 748d6054af4b898fa475692a425d96541fa2c055ffdd4b8ca6635fea04d7b143b4e7301886f307300662140bc449a3ee3932801c7c5df10f6ba3ee5a10c7a46b SHA512 fb2be7842ecfda8788e8982831e34487f016814d1e8a757e93f8716019aaba4b9b7dd469e4ba11eb3990846fb55cdb2db2ec494eb7b0ff04f261d8309b1c98f4
DIST ldb-1.5.3.tar.gz 1625821 BLAKE2B 4ad2dfa10c0fe79ae06d2e50288ddba54cb3bb76e849e44af9c4ededa76eb20280c913277293281628d2a699f4cbecfc77630bc95965eeabc6800bfd9a9cb8ac SHA512 b25188606aae28a0ee5c95dddfb541cc6e500ef794d66601aa8cb061f51441433baab577311d0b39801d8b08808f66ad05066404293e78cb192523b681f1d145
+DIST ldb-1.5.4.tar.gz 1629123 BLAKE2B 3c71af079f2e5cb81e493d16d453c53bd0ee4c63720b0261ea6116244b2652ca581499c0b8c64949dccc95460aba7b4ef3afe7850563a830f3fb4b8753bdea2f SHA512 fc323e4283671c14d6dd4feb7e9ca943a63a166688077dbf3591f9d957cf821f9e739869842e15ca1ec4fd3764123d5afc6f4954b1af437bd1ec54df58366a22
+DIST ldb-1.6.2.tar.gz 1629794 BLAKE2B 5219479c773aa87c4bd6917e60b963df9cf3c481468ed020b4e9c4a175110ce80fd1c7a4ca4e28d99c972e0891287485261310eab1bbd7b8b138ea59f168ac8c SHA512 089dee2465efe0811ff745b52b15d2d7638b940112a06680706d5401231864859605ff0392245d4c815e9b85f5a4ba782fc61d8dba215cc8198e7d9a6ddd255e
diff --git a/sys-libs/ldb/ldb-1.2.4.ebuild b/sys-libs/ldb/ldb-1.2.4.ebuild
new file mode 100644
index 00000000000..822772cf008
--- /dev/null
+++ b/sys-libs/ldb/ldb-1.2.4.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="threads"
+
+inherit python-single-r1 waf-utils multilib-minimal eutils
+
+DESCRIPTION="An LDAP-like embedded database"
+HOMEPAGE="https://ldb.samba.org/"
+SRC_URI="https://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"
+
+RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
+ dev-libs/popt[${MULTILIB_USEDEP}]
+ >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
+ >=sys-libs/talloc-2.1.10[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}]
+ >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}]
+ python? ( ${PYTHON_DEPS} )
+ ldap? ( net-nds/openldap )
+"
+
+DEPEND="dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+ ${PYTHON_DEPS}
+ ${RDEPEND}
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
+ "${FILESDIR}"/${PN}-1.2.3-disable_python.patch
+)
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local myconf=(
+ $(usex ldap '' --disable-ldap)
+ --disable-rpath
+ --disable-rpath-install --bundled-libraries=NONE
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
+ --builtin-libraries=NONE
+ )
+ if ! multilib_is_native_abi; then
+ myconf+=( --disable-python )
+ else
+ use python || myconf+=( --disable-python )
+ fi
+ waf-utils_src_configure "${myconf[@]}"
+}
+
+multilib_src_compile(){
+ waf-utils_src_compile
+ multilib_is_native_abi && use doc && doxygen Doxyfile
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ WAF_MAKE=1 \
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
+ waf test || die
+ fi
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+
+ if multilib_is_native_abi && use doc; then
+ doman apidocs/man/man3/*.3
+ docinto html
+ dodoc -r apidocs/html/*
+ fi
+}
+
+pkg_postinst() {
+ if has_version sys-auth/sssd; then
+ ewarn "You have sssd installed. It is known to break after ldb upgrades,"
+ ewarn "so please try to rebuild it before reporting bugs."
+ ewarn "See https://bugs.gentoo.org/404281"
+ fi
+}
diff --git a/sys-libs/ldb/ldb-1.3.8.ebuild b/sys-libs/ldb/ldb-1.3.8.ebuild
new file mode 100644
index 00000000000..e76e509dbce
--- /dev/null
+++ b/sys-libs/ldb/ldb-1.3.8.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="threads"
+
+inherit python-single-r1 waf-utils multilib-minimal eutils
+
+DESCRIPTION="An LDAP-like embedded database"
+HOMEPAGE="https://ldb.samba.org"
+SRC_URI="https://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"
+
+RDEPEND="
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
+ dev-libs/popt[${MULTILIB_USEDEP}]
+ >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
+ >=sys-libs/talloc-2.1.11[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tdb-1.3.15[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tevent-0.9.36[python(+)?,${MULTILIB_USEDEP}]
+ ldap? ( net-nds/openldap )
+ python? ( ${PYTHON_DEPS} )
+"
+
+DEPEND="dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+ ${PYTHON_DEPS}
+ ${RDEPEND}
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.31-optional_packages.patch
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
+)
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ local myconf=(
+ $(usex ldap '' --disable-ldap)
+ --disable-rpath
+ --disable-rpath-install --bundled-libraries=NONE
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
+ --builtin-libraries=NONE
+ )
+ if ! multilib_is_native_abi; then
+ myconf+=( --disable-python )
+ else
+ use python || myconf+=( --disable-python )
+ fi
+ waf-utils_src_configure "${myconf[@]}"
+}
+
+multilib_src_compile(){
+ waf-utils_src_compile
+ multilib_is_native_abi && use doc && doxygen Doxyfile
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ WAF_MAKE=1 \
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
+ waf test || die
+ fi
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+
+ if multilib_is_native_abi && use doc; then
+ doman apidocs/man/man3/*.3
+ docinto html
+ dodoc -r apidocs/html/*
+ fi
+}
+
+pkg_postinst() {
+ if has_version sys-auth/sssd; then
+ ewarn "You have sssd installed. It is known to break after ldb upgrades,"
+ ewarn "so please try to rebuild it before reporting bugs."
+ ewarn "See https://bugs.gentoo.org/404281"
+ fi
+}
diff --git a/sys-libs/ldb/ldb-1.4.6.ebuild b/sys-libs/ldb/ldb-1.4.6.ebuild
new file mode 100644
index 00000000000..eb8e4d2e6ef
--- /dev/null
+++ b/sys-libs/ldb/ldb-1.4.6.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="threads"
+
+inherit python-single-r1 waf-utils multilib-minimal eutils
+
+DESCRIPTION="An LDAP-like embedded database"
+HOMEPAGE="https://ldb.samba.org"
+SRC_URI="https://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 +lmdb +python"
+
+RDEPEND="
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
+ dev-libs/popt[${MULTILIB_USEDEP}]
+ >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
+ >=sys-libs/talloc-2.1.14[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tdb-1.3.16[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tevent-0.9.37[python(+)?,${MULTILIB_USEDEP}]
+ ldap? ( net-nds/openldap )
+ lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
+ python? ( ${PYTHON_DEPS} )
+"
+
+DEPEND="dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+ ${PYTHON_DEPS}
+ ${RDEPEND}
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.0-optional_packages.patch
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
+)
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+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
+ --builtin-libraries=NONE
+ )
+ if ! multilib_is_native_abi; then
+ myconf+=( --disable-python )
+ else
+ use python || myconf+=( --disable-python )
+ fi
+ waf-utils_src_configure "${myconf[@]}"
+}
+
+multilib_src_compile(){
+ waf-utils_src_compile
+ multilib_is_native_abi && use doc && doxygen Doxyfile
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ WAF_MAKE=1 \
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
+ waf test || die
+ fi
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+
+ if multilib_is_native_abi && use doc; then
+ doman apidocs/man/man3/*.3
+ docinto html
+ dodoc -r apidocs/html/*
+ fi
+}
+
+pkg_postinst() {
+ if has_version sys-auth/sssd; then
+ ewarn "You have sssd installed. It is known to break after ldb upgrades,"
+ ewarn "so please try to rebuild it before reporting bugs."
+ ewarn "See https://bugs.gentoo.org/404281"
+ fi
+}
diff --git a/sys-libs/ldb/ldb-1.5.4.ebuild b/sys-libs/ldb/ldb-1.5.4.ebuild
new file mode 100644
index 00000000000..1d232f0ba4c
--- /dev/null
+++ b/sys-libs/ldb/ldb-1.5.4.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6,7} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit python-single-r1 waf-utils multilib-minimal eutils
+
+DESCRIPTION="An LDAP-like embedded database"
+HOMEPAGE="https://ldb.samba.org"
+SRC_URI="https://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 +lmdb +python"
+
+RDEPEND="
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
+ dev-libs/popt[${MULTILIB_USEDEP}]
+ >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
+ >=sys-libs/talloc-2.1.16[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tdb-1.3.18[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tevent-0.9.39[python(+)?,${MULTILIB_USEDEP}]
+ ldap? ( net-nds/openldap )
+ lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
+ python? ( ${PYTHON_DEPS} )
+"
+
+DEPEND="dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+ ${PYTHON_DEPS}
+ ${RDEPEND}
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
+)
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+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
+ --builtin-libraries=NONE
+ )
+ if ! multilib_is_native_abi; then
+ myconf+=( --disable-python )
+ else
+ use python || myconf+=( --disable-python )
+ fi
+ waf-utils_src_configure "${myconf[@]}"
+}
+
+multilib_src_compile(){
+ waf-utils_src_compile
+ multilib_is_native_abi && use doc && doxygen Doxyfile
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ WAF_MAKE=1 \
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
+ waf test || die
+ fi
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+
+ if multilib_is_native_abi && use doc; then
+ doman apidocs/man/man3/*.3
+ docinto html
+ dodoc -r apidocs/html/*
+ fi
+}
+
+pkg_postinst() {
+ if has_version sys-auth/sssd; then
+ ewarn "You have sssd installed. It is known to break after ldb upgrades,"
+ ewarn "so please try to rebuild it before reporting bugs."
+ ewarn "See https://bugs.gentoo.org/404281"
+ fi
+}
diff --git a/sys-libs/ldb/ldb-1.6.2.ebuild b/sys-libs/ldb/ldb-1.6.2.ebuild
new file mode 100644
index 00000000000..1d232f0ba4c
--- /dev/null
+++ b/sys-libs/ldb/ldb-1.6.2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6,7} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit python-single-r1 waf-utils multilib-minimal eutils
+
+DESCRIPTION="An LDAP-like embedded database"
+HOMEPAGE="https://ldb.samba.org"
+SRC_URI="https://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 +lmdb +python"
+
+RDEPEND="
+ !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
+ dev-libs/popt[${MULTILIB_USEDEP}]
+ >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
+ >=sys-libs/talloc-2.1.16[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tdb-1.3.18[python?,${MULTILIB_USEDEP}]
+ >=sys-libs/tevent-0.9.39[python(+)?,${MULTILIB_USEDEP}]
+ ldap? ( net-nds/openldap )
+ lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
+ python? ( ${PYTHON_DEPS} )
+"
+
+DEPEND="dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ virtual/pkgconfig
+ ${PYTHON_DEPS}
+ ${RDEPEND}
+"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.2-optional_packages.patch
+ "${FILESDIR}"/${PN}-1.1.31-fix_PKGCONFIGDIR-when-python-disabled.patch
+)
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ multilib_copy_sources
+}
+
+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
+ --builtin-libraries=NONE
+ )
+ if ! multilib_is_native_abi; then
+ myconf+=( --disable-python )
+ else
+ use python || myconf+=( --disable-python )
+ fi
+ waf-utils_src_configure "${myconf[@]}"
+}
+
+multilib_src_compile(){
+ waf-utils_src_compile
+ multilib_is_native_abi && use doc && doxygen Doxyfile
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi; then
+ WAF_MAKE=1 \
+ PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
+ waf test || die
+ fi
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+
+ if multilib_is_native_abi && use doc; then
+ doman apidocs/man/man3/*.3
+ docinto html
+ dodoc -r apidocs/html/*
+ fi
+}
+
+pkg_postinst() {
+ if has_version sys-auth/sssd; then
+ ewarn "You have sssd installed. It is known to break after ldb upgrades,"
+ ewarn "so please try to rebuild it before reporting bugs."
+ ewarn "See https://bugs.gentoo.org/404281"
+ fi
+}
next reply other threads:[~2019-02-28 11:51 UTC|newest]
Thread overview: 254+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 11:51 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-17 16:13 [gentoo-commits] repo/gentoo:master commit in: sys-libs/ldb/ Ben Kohler
2024-10-14 19:10 Ben Kohler
2024-10-14 18:31 Sam James
2024-10-12 17:59 Arthur Zamarin
2024-10-11 20:30 Ben Kohler
2024-10-10 11:04 Arthur Zamarin
2024-10-08 19:37 Arthur Zamarin
2024-10-08 17:38 Sam James
2024-10-08 16:06 Sam James
2024-10-08 15:42 Andreas Sturmlechner
2024-06-28 12:36 Ben Kohler
2024-06-27 17:32 Ben Kohler
2024-06-27 17:32 Ben Kohler
2024-05-29 17:37 Sam James
2024-05-29 17:37 Sam James
2024-05-29 17:37 Sam James
2024-05-29 14:43 Jakov Smolić
2024-05-29 14:43 Jakov Smolić
2024-05-06 21:15 Ben Kohler
2024-05-06 21:15 Ben Kohler
2023-12-05 16:43 Mike Frysinger
2023-08-02 15:07 Sam James
2023-07-29 20:43 Arthur Zamarin
2023-07-29 20:37 Arthur Zamarin
2023-07-28 12:26 Arthur Zamarin
2023-07-28 12:19 Arthur Zamarin
2023-07-28 12:19 Arthur Zamarin
2023-07-27 10:35 Sam James
2023-07-27 10:34 Sam James
2023-07-27 10:33 Sam James
2023-07-17 21:16 Sam James
2023-06-12 17:04 Sam James
2023-06-10 21:18 Sam James
2023-06-10 21:18 Sam James
2023-06-06 12:09 Ben Kohler
2023-06-06 12:09 Ben Kohler
2023-06-06 12:09 Ben Kohler
2023-06-06 12:09 Ben Kohler
2023-04-01 16:32 Arthur Zamarin
2023-04-01 16:32 Arthur Zamarin
2023-03-16 17:38 Arthur Zamarin
2023-03-09 5:58 Sam James
2023-02-26 19:10 Arthur Zamarin
2023-02-23 20:47 Arthur Zamarin
2023-02-23 20:04 Arthur Zamarin
2023-02-03 12:46 Sam James
2023-02-03 9:59 Sam James
2023-02-03 9:30 Sam James
2022-11-25 7:51 Sam James
2022-11-18 18:19 Arthur Zamarin
2022-11-18 18:19 Arthur Zamarin
2022-11-18 18:19 Arthur Zamarin
2022-11-18 18:19 Arthur Zamarin
2022-09-30 20:39 Sam James
2022-09-30 20:39 Sam James
2022-09-30 17:47 Arthur Zamarin
2022-09-30 4:18 Sam James
2022-09-30 3:04 Sam James
2022-08-28 5:39 WANG Xuerui
2022-07-31 14:10 Ben Kohler
2022-07-28 16:54 Ben Kohler
2022-07-28 16:54 Ben Kohler
2022-07-28 16:54 Ben Kohler
2022-07-02 20:31 Sam James
2022-07-02 20:31 Sam James
2022-06-25 9:01 Agostino Sarubbo
2022-06-25 8:59 Agostino Sarubbo
2022-06-25 8:58 Agostino Sarubbo
2022-06-25 8:55 Agostino Sarubbo
2022-06-25 8:54 Agostino Sarubbo
2022-06-25 8:54 Agostino Sarubbo
2022-06-24 7:43 Lars Wendler
2022-05-05 19:50 Lars Wendler
2022-05-05 19:50 Lars Wendler
2022-02-18 4:38 Sam James
2022-02-18 4:38 Sam James
2022-02-18 3:50 Sam James
2022-01-29 3:52 Sam James
2022-01-29 3:52 Sam James
2022-01-29 3:50 Sam James
2022-01-24 22:35 Lars Wendler
2022-01-20 16:34 Sam James
2022-01-02 17:49 David Seifert
2021-12-03 7:41 Arthur Zamarin
2021-12-01 19:13 Arthur Zamarin
2021-12-01 10:51 Sam James
2021-12-01 8:27 Arthur Zamarin
2021-12-01 7:16 Arthur Zamarin
2021-12-01 6:50 Arthur Zamarin
2021-12-01 6:50 Arthur Zamarin
2021-11-10 7:43 Lars Wendler
2021-11-05 15:22 Lars Wendler
2021-11-05 12:15 Lars Wendler
2021-11-01 7:42 Arthur Zamarin
2021-10-28 8:22 Lars Wendler
2021-10-16 2:25 Sam James
2021-09-08 1:16 Sam James
2021-08-09 1:18 Sam James
2021-08-07 15:03 Sam James
2021-08-06 20:44 Sam James
2021-08-06 20:44 Sam James
2021-08-01 23:49 Sam James
2021-07-29 20:47 Sergei Trofimovich
2021-07-21 14:02 David Seifert
2021-07-15 9:49 Lars Wendler
2021-05-22 20:12 Lars Wendler
2021-05-15 18:03 Sam James
2021-05-15 17:59 Sam James
2021-05-15 2:41 Sam James
2021-05-13 16:15 Sam James
2021-05-06 7:22 Sergei Trofimovich
2021-05-02 22:09 Sergei Trofimovich
2021-04-28 16:52 Mikle Kolyada
2021-03-25 8:30 Lars Wendler
2021-01-25 16:19 Andreas Sturmlechner
2021-01-25 16:19 Andreas Sturmlechner
2021-01-09 21:20 Lars Wendler
2021-01-09 20:57 Lars Wendler
2021-01-07 10:39 Sam James
2020-12-17 0:48 Sam James
2020-11-10 17:44 Sam James
2020-10-31 19:38 Piotr Karbowski
2020-10-26 2:51 Sam James
2020-10-25 23:08 Thomas Deutschmann
2020-10-24 11:55 Sam James
2020-08-15 20:32 David Seifert
2020-08-15 9:17 Lars Wendler
2020-08-15 9:17 Lars Wendler
2020-08-11 9:23 Lars Wendler
2020-07-27 19:02 Lars Wendler
2020-07-18 16:42 Sam James
2020-07-18 0:29 Sam James
2020-07-17 3:28 Sam James
2020-07-12 13:58 Sam James
2020-07-06 16:43 Sergei Trofimovich
2020-07-05 8:52 Sergei Trofimovich
2020-07-04 12:36 Mart Raudsepp
2020-07-02 19:38 Lars Wendler
2020-07-02 19:38 Lars Wendler
2020-06-09 20:06 Michał Górny
2020-05-23 20:36 Mikle Kolyada
2020-05-20 10:17 Lars Wendler
2020-05-20 10:17 Lars Wendler
2020-05-14 21:29 Thomas Deutschmann
2020-05-06 7:18 Sergei Trofimovich
2020-05-06 7:01 Sergei Trofimovich
2020-05-01 19:30 Sergei Trofimovich
2020-05-01 8:40 Mart Raudsepp
2020-04-29 9:38 Lars Wendler
2020-03-28 18:01 Ben Kohler
2020-03-26 18:01 Sergei Trofimovich
2020-03-23 22:06 Sergei Trofimovich
2020-03-11 9:29 Lars Wendler
2020-03-11 9:29 Lars Wendler
2020-03-02 17:10 Lars Wendler
2020-02-14 14:18 Ben Kohler
2020-02-13 12:46 Agostino Sarubbo
2020-02-13 12:38 Agostino Sarubbo
2020-02-13 12:27 Agostino Sarubbo
2020-02-13 12:19 Agostino Sarubbo
2020-02-13 12:10 Agostino Sarubbo
2020-02-13 12:03 Agostino Sarubbo
2019-12-17 13:50 Lars Wendler
2019-12-17 13:50 Lars Wendler
2019-11-05 14:37 Lars Wendler
2019-09-04 16:17 Lars Wendler
2019-08-23 19:11 Lars Wendler
2019-07-05 22:27 Sergei Trofimovich
2019-07-03 21:05 Lars Wendler
2019-06-04 21:00 Agostino Sarubbo
2019-04-23 0:13 Aaron Bauman
2019-03-25 15:00 Lars Wendler
2019-03-20 8:54 Lars Wendler
2019-03-20 8:54 Lars Wendler
2019-02-28 11:51 Lars Wendler
2019-02-23 15:31 Thomas Deutschmann
2019-02-22 19:52 Lars Wendler
2019-02-22 19:52 Lars Wendler
2019-01-28 10:26 Lars Wendler
2019-01-28 10:26 Lars Wendler
2019-01-28 10:26 Lars Wendler
2018-11-09 10:09 Lars Wendler
2018-11-09 10:09 Lars Wendler
2018-11-07 23:28 Sergei Trofimovich
2018-11-07 22:59 Sergei Trofimovich
2018-10-26 0:52 Thomas Deutschmann
2018-10-25 19:25 Lars Wendler
2018-10-25 17:15 Mikle Kolyada
2018-09-10 13:11 Lars Wendler
2018-09-10 13:11 Lars Wendler
2018-08-22 22:29 Thomas Deutschmann
2018-08-15 7:58 Lars Wendler
2018-08-15 7:58 Lars Wendler
2018-07-13 14:14 Lars Wendler
2018-07-13 14:14 Lars Wendler
2018-06-27 8:13 Lars Wendler
2018-06-22 22:17 Patrice Clement
2018-06-12 13:25 Maxim Koltsov
2018-06-11 11:18 Lars Wendler
2018-05-16 11:52 Lars Wendler
2018-05-16 11:52 Lars Wendler
2018-04-28 20:08 Mikle Kolyada
2018-02-28 9:29 Lars Wendler
2018-02-28 9:29 Lars Wendler
2018-01-16 15:04 Lars Wendler
2017-11-09 22:05 Mike Gilbert
2017-10-17 14:25 Lars Wendler
2017-09-19 23:31 Lars Wendler
2017-07-25 20:24 Lars Wendler
2017-07-25 20:24 Lars Wendler
2017-07-06 12:43 Lars Wendler
2017-07-06 12:43 Lars Wendler
2017-07-05 20:35 Ian Stakenvicius
2017-06-21 11:57 Agostino Sarubbo
2017-06-10 13:45 Agostino Sarubbo
2017-05-27 13:23 Tobias Klausmann
2017-05-26 14:59 Agostino Sarubbo
2017-05-26 14:05 Agostino Sarubbo
2017-05-26 13:48 Agostino Sarubbo
2016-12-08 11:45 Lars Wendler
2016-12-08 11:45 Lars Wendler
2016-09-06 13:42 Lars Wendler
2016-08-07 9:12 Lars Wendler
2016-07-30 18:20 Jeroen Roovers
2016-07-30 9:34 Jeroen Roovers
2016-07-29 12:18 Lars Wendler
2016-07-29 12:18 Lars Wendler
2016-07-24 17:15 Jeroen Roovers
2016-04-11 13:47 Agostino Sarubbo
2016-04-11 13:46 Agostino Sarubbo
2016-03-31 9:25 Agostino Sarubbo
2016-03-30 8:34 Agostino Sarubbo
2016-03-30 8:30 Agostino Sarubbo
2016-03-29 10:18 Agostino Sarubbo
2016-03-29 10:17 Agostino Sarubbo
2016-02-24 8:26 Lars Wendler
2016-02-24 8:26 Lars Wendler
2016-02-09 22:06 Ian Stakenvicius
2016-01-12 17:45 Ian Stakenvicius
2016-01-12 7:25 Jeroen Roovers
2016-01-11 18:03 Ian Stakenvicius
2016-01-09 6:26 Agostino Sarubbo
2016-01-08 8:37 Agostino Sarubbo
2016-01-08 8:36 Agostino Sarubbo
2016-01-07 20:32 Markus Meier
2016-01-07 10:14 Agostino Sarubbo
2016-01-07 10:14 Agostino Sarubbo
2015-12-29 11:43 Agostino Sarubbo
2015-12-29 11:43 Agostino Sarubbo
2015-12-16 14:21 Lars Wendler
2015-12-16 14:21 Lars Wendler
2015-11-23 11:02 Lars Wendler
2015-11-23 11:02 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1551354657.4d23ff23a522d1dea46383f2330c8e091c5c182e.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox