From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ldb/
Date: Thu, 9 Mar 2023 05:58:44 +0000 (UTC) [thread overview]
Message-ID: <1678341506.ea2b752453af6f38c193cfa839b2ca00f7776324.sam@gentoo> (raw)
commit: ea2b752453af6f38c193cfa839b2ca00f7776324
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 9 05:41:41 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 9 05:58:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea2b7524
sys-libs/ldb: add 2.7.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-libs/ldb/Manifest | 1 +
sys-libs/ldb/ldb-2.7.1.ebuild | 167 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 168 insertions(+)
diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest
index e901f345acee..05b3a60d8048 100644
--- a/sys-libs/ldb/Manifest
+++ b/sys-libs/ldb/Manifest
@@ -2,3 +2,4 @@ DIST ldb-2.4.4.tar.gz 1726595 BLAKE2B c01440e7032dbd3f7b735cb8d2078d7e1dbb56370b
DIST ldb-2.5.2.tar.gz 1730347 BLAKE2B a0d3a9ae02f79c27b396314b804195ecd37b8bcd843fb94f9813a69fb15773db94ed2210f4102e395333562c2dccebabde1c2dcc0c2fceac97dfa31b2ad97e3d SHA512 02ae1246f99d9b6d6b33c5030488aa46c6abb535b4da4b13799a62b49d32c490b7c088ef41c0bc5a1b2f7263c680faceb8033827834cb6f66916adcdb5be421c
DIST ldb-2.6.1.tar.gz 1740497 BLAKE2B 3e831e4689297f3415928507c4c498cba937df104f1e94792a66691a2c0fefa641989badc1d89b0030d164eff5fdb0b3c75646f12961808e37c54d741f745a76 SHA512 7b920c5ec1252446584caeedf9ec18aeb5c1b689c2ecc8ae65c0d5b64bf0bca0cbaa887c07fca90b36b16904e3a08534fc513fec6bac288e80f94d2980c36211
DIST ldb-2.7.0.tar.gz 1736995 BLAKE2B e06b8934a8b8703e861ed8d89f4ee5151d0529b76d08e4d7b24f08860a95669e1749edb3bd90649dbe9104101d03625604d613d25968d9d1d253b3921f5ca575 SHA512 5b730595e8a5830889eb0c0374a695ff228a14bcfffbed494b01d9642b626a7b82a5d73f182435d95cd9d52b3744cb3a5c190d6242eda8843a1c24203c56d57e
+DIST ldb-2.7.1.tar.gz 1736244 BLAKE2B 2da18c7383c0533db4e6e89aaa518d1fca5e426bcb23a2985843bd3f92603e9dd121d4c6e7492587133e669b6e7d801acab0c4eed68791c5fa99dc5f282c7655 SHA512 4d59a8848c20eea98c658863721bc170c8a19c6d113e65b386db3ecb32d293a25f08deed37afd0a66e1667f7d4b0d62b22547845f5ee8c433a5dcc1eac6b4219
diff --git a/sys-libs/ldb/ldb-2.7.1.ebuild b/sys-libs/ldb/ldb-2.7.1.ebuild
new file mode 100644
index 000000000000..7a780a61842d
--- /dev/null
+++ b/sys-libs/ldb/ldb-2.7.1.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="threads(+)"
+inherit python-single-r1 waf-utils multilib-minimal
+
+DESCRIPTION="LDAP-like embedded database"
+HOMEPAGE="https://ldb.samba.org"
+SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="doc ldap +lmdb python test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ test? ( lmdb python )"
+
+RESTRICT="!test? ( test )"
+
+TALLOC_VERSION="2.4.0"
+TDB_VERSION="1.4.8"
+TEVENT_VERSION="0.14.1"
+
+RDEPEND="
+ dev-libs/libbsd[${MULTILIB_USEDEP}]
+ dev-libs/popt[${MULTILIB_USEDEP}]
+ >=sys-libs/talloc-${TALLOC_VERSION}[${MULTILIB_USEDEP}]
+ >=sys-libs/tdb-${TDB_VERSION}[${MULTILIB_USEDEP}]
+ >=sys-libs/tevent-${TEVENT_VERSION}[${MULTILIB_USEDEP}]
+ ldap? ( net-nds/openldap:= )
+ lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] )
+ python? (
+ ${PYTHON_DEPS}
+ sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}]
+ sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}]
+ sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}]
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/libcrypt
+ test? ( >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] )
+"
+BDEPEND="${PYTHON_DEPS}
+ dev-libs/libxslt
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+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
+ "${FILESDIR}"/${PN}-2.4.2-skip-32bit-time_t-tests.patch
+ "${FILESDIR}"/${PN}-2.5.2-skip-waf-tevent-check.patch
+)
+
+pkg_setup() {
+ # Package fails to build with distcc
+ export DISTCC_DISABLE=1
+ export PYTHONHASHSEED=1
+
+ # waf requires a python interpreter
+ python-single-r1_pkg_setup
+}
+
+check_samba_dep_versions() {
+ actual_talloc_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/talloc/wscript || die)
+ if [[ ${actual_talloc_version} != ${TALLOC_VERSION} ]] ; then
+ eerror "Source talloc version: ${TALLOC_VERSION}"
+ eerror "Ebuild talloc version: ${actual_talloc_version}"
+ die "Ebuild needs to fix TALLOC_VERSION!"
+ fi
+
+ actual_tdb_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/tdb/wscript || die)
+ if [[ ${actual_tdb_version} != ${TDB_VERSION} ]] ; then
+ eerror "Source tdb version: ${TDB_VERSION}"
+ eerror "Ebuild tdb version: ${actual_tdb_version}"
+ die "Ebuild needs to fix TDB_VERSION!"
+ fi
+
+ actual_tevent_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/tevent/wscript || die)
+ if [[ ${actual_tevent_version} != ${TEVENT_VERSION} ]] ; then
+ eerror "Source tevent version: ${TEVENT_VERSION}"
+ eerror "Ebuild tevent version: ${actual_tevent_version}"
+ die "Ebuild needs to fix TEVENT_VERSION!"
+ fi
+}
+
+src_prepare() {
+ default
+
+ check_samba_dep_versions
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ # When specifying libs for samba build you must append NONE to the end to
+ # stop it automatically including things
+ local bundled_libs="NONE"
+
+ # We "use" bundled cmocka when we're not running tests as we're
+ # not using it anyway. Means we avoid making users install it for
+ # no reason. bug #802531
+ if ! use test; then
+ bundled_libs="cmocka,${bundled_libs}"
+ fi
+
+ local myconf=(
+ $(usex ldap '' --disable-ldap)
+ $(usex lmdb '' --without-ldb-lmdb)
+ --disable-rpath
+ --disable-rpath-install
+ --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba
+ --bundled-libraries="${bundled_libs}"
+ --builtin-libraries=NONE
+ )
+
+ if ! use python || ! multilib_is_native_abi; then
+ 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
+
+ # bug #726454
+ use python && python_optimize
+}
+
+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:[~2023-03-09 5:58 UTC|newest]
Thread overview: 254+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-09 5:58 Sam James [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-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-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=1678341506.ea2b752453af6f38c193cfa839b2ca00f7776324.sam@gentoo \
--to=sam@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