summaryrefslogtreecommitdiff
path: root/sys-libs/tdb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-02 22:51:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-02 22:51:20 +0100
commit1e9c38efad2f42ea208e40924d1e5936810ac7c0 (patch)
treedbcaa52c820c84eaba974e8a5bf4ba2b05a4bed2 /sys-libs/tdb
parent1f6d51a43dbfcb87ef81da70c688d354560e846a (diff)
gentoo auto-resync : 02:08:2023 - 22:51:19
Diffstat (limited to 'sys-libs/tdb')
-rw-r--r--sys-libs/tdb/Manifest2
-rw-r--r--sys-libs/tdb/tdb-1.4.9.ebuild79
2 files changed, 81 insertions, 0 deletions
diff --git a/sys-libs/tdb/Manifest b/sys-libs/tdb/Manifest
index 1757eca366f4..8e197dad5a61 100644
--- a/sys-libs/tdb/Manifest
+++ b/sys-libs/tdb/Manifest
@@ -1,6 +1,8 @@
AUX tdb-1.4.7-configure-clang16.patch 1180 BLAKE2B 6637b19f1f5db53212484b0f91a550932bbc89ae3dd37affc039a166610a15b837ed3f5b7ac898bcb4451186d43625414b812111e3396e10471add7fa5e3a22b SHA512 156f7acb774ae0a6f00ff2bee0817947e256c10b24d55c7f63720bfd52f83e42070a1838c42e20fbb78e73412507db80368165ccdf75b3bb729bc6e5dcbe2223
DIST tdb-1.4.7.tar.gz 741714 BLAKE2B ec2f991bbaa61d46f16b7a68a4e47a2f690cda261dd0e9fd9708e51ad64eefeb54ac8b1102cde6935916f840d3c89d7a2903f58175cceb78ea4ef889e82ddbc6 SHA512 2b5b20c299b60545943f106d854b6e0d4a559e16f08a7ed62fe57ee962bebc888c2e663bd5fef907aace05b316826fe8fbbf3f323b6d3427531e59ffe47d48e4
DIST tdb-1.4.8.tar.gz 742791 BLAKE2B dc2705cb16ee59f4d5bf25602032b25fd5338caa890db19939996a40cd19c4c999f9a74786d5754dbbd1de54d818541cf56844beeb33008aaee507d5dfcdba85 SHA512 763beebe923aa04303cbb91ce5970e6bbd13546888cff75ea9ab025afff3ef88fee539ae173fc2fb7ec661b6c337b0c2da361ce3d318f51ef6627bdb3fe6ca63
+DIST tdb-1.4.9.tar.gz 746608 BLAKE2B 2cdcf636b9ef5445d48ca2aab79d4ffd137a8409b6d7b1fcdbcd28797d4bbe617f768a5ef92a14c4ae6dddfc37576f5d411cf4d67edeb4319f46a1a15ffd94ee SHA512 6b0109075826b8630f6b5a7e7ade2fcff95c5d05338340af78219422610947c520707b3e484ff13fbd40bbfffe13977976e8ddcb1be7b13e13ac78b4e3ec06c2
EBUILD tdb-1.4.7-r1.ebuild 1573 BLAKE2B f3df2ac2041c3ae83434e6e25be73a9bcd503f32b23b16817803d7d1938c37f1637d2df80c5c6bd473515c06b14b14a1ca521f1981de9308fc9d5c0fc03c9b38 SHA512 9d2fc8eb4e29693f3a82d26f37d5c947d84fd21e93fb027eeac43e6e70917ded04936b8745457baa8162080aca6d5e51f18b380aab376bba9fb5a1b9b7788637
EBUILD tdb-1.4.8.ebuild 1443 BLAKE2B 6d0c987e29abe6e3de428610c40036a11a4df5c5d2514d7cd2180e0c95a356b5c28e2b80e5f2ac1c3267d01128e61616f07e4468b14261778e62921161e677f3 SHA512 d8ddf6e0950a314a610a90f9a8dcb62bdf40edd4d805579d9f098310d9ed9c75129277d317ade75b1cb3545bc45bc652cf8f9b24b9ce6f5714ee180c0a9fc8b3
+EBUILD tdb-1.4.9.ebuild 1590 BLAKE2B 108fc6e36a25b51df77ab1d482b6d592a49dd45ac12ce666e49b5b2b09d824f0dec708275682daa3a2a80cecce80d30259dd43f8dc6f7455f3fb14be2ac3daea SHA512 b31690fc23ceca17042f9a0bedf6ef8fa83164d6228102365d0df7043854f08a03f6dcbb0e79ebc84acd5f5a8d554cef15f2868749552e647e54e8022d35f2a4
MISC metadata.xml 245 BLAKE2B 015a6303c153dcdb4a4b6ec58ea97e6798d3316c6d211559022bd2a26d481356e481ba2ade200171bb182264ce9c132727cf8ce077fba38fabcef92c3431b6ba SHA512 5d1b6ef089165b3325df35b31d33f7c994bbc302399bb47abf3138885f0dd7b04176114de8ffea6ee1ae26a53fc83be9016426714e547fd6405c454b918e39da
diff --git a/sys-libs/tdb/tdb-1.4.9.ebuild b/sys-libs/tdb/tdb-1.4.9.ebuild
new file mode 100644
index 000000000000..5b6c8e1e5448
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.4.9.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="threads(+)"
+inherit waf-utils multilib-minimal python-single-r1
+
+DESCRIPTION="Simple database API"
+HOMEPAGE="https://tdb.samba.org/"
+SRC_URI="https://samba.org/ftp/tdb/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="python test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libbsd[${MULTILIB_USEDEP}]
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/libcrypt
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ app-text/docbook-xml-dtd:4.2
+"
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+src_prepare() {
+ default
+
+ python_fix_shebang .
+
+ if use test ; then
+ # TODO: Fix python tests to run w/ USE=python.
+ truncate -s0 python/tests/simple.py || die
+ fi
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ #MAKEOPTS+=" -j1"
+
+ local extra_opts=(
+ --libdir="${EPREFIX}/usr/$(get_libdir)"
+ --disable-dependency-tracking
+ --disable-warnings-as-errors
+ )
+
+ if ! multilib_is_native_abi || ! use python ; then
+ extra_opts+=( --disable-python )
+ fi
+
+ waf-utils_src_configure "${extra_opts[@]}"
+}
+
+multilib_src_compile() {
+ waf-utils_src_compile
+}
+
+multilib_src_test() {
+ # the default src_test runs 'make test' and 'make check', letting
+ # the tests fail occasionally (reason: unknown)
+ emake check
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+ use python && python_optimize
+}