summaryrefslogtreecommitdiff
path: root/sys-libs/tdb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-12 04:04:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-12 04:04:10 +0100
commit3980ecf15e6202ac2f2015045b549600e709b721 (patch)
tree6f854410381fa9d52df5a548314626b48329f1c3 /sys-libs/tdb
parent61af1efe96cf1037982d2fc90af0749b5ec5a0c6 (diff)
gentoo auto-resync : 12:10:2024 - 04:04:10
Diffstat (limited to 'sys-libs/tdb')
-rw-r--r--sys-libs/tdb/Manifest2
-rw-r--r--sys-libs/tdb/tdb-1.4.12.ebuild79
2 files changed, 81 insertions, 0 deletions
diff --git a/sys-libs/tdb/Manifest b/sys-libs/tdb/Manifest
index 12a3286f0ea3..0b80b7eacb2a 100644
--- a/sys-libs/tdb/Manifest
+++ b/sys-libs/tdb/Manifest
@@ -1,7 +1,9 @@
DIST tdb-1.4.10.tar.gz 747139 BLAKE2B e271f824acc8c691a6e88f5e5f73d0673a132134d025e84461520108b94cd7a5db587a0012ad1172270d29042f29336aab6ca59a735d611d6529f81ec3c195e9 SHA512 b5147d811617d90a025d1070abf16c42744b3fc3cac1042fbff03b1e635af2eaf9c957a7bffdb3f56b4a0c775b44f8027def9f23deb1b3ede817b95bbece2ce9
+DIST tdb-1.4.12.tar.gz 748827 BLAKE2B a21d4d6335306ed43d099629960856b1f4e94be046d43b4c3d1cb7a1d929dcb7146f385d4a1c2e8ef3a22af73f7e4db9d2a6f032a7501946dd7fdcbead377661 SHA512 f41644ae29da7fed26959e4f2e3664e58ec65681b0b7115fbb296a7a8c5642c8190dac6e16e5704b322469466dd5aa15c1f7f72df8226ac9c695b5b10ac85b66
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.10.ebuild 1604 BLAKE2B fec1d0389d9dbfeb775033d88bbbd4edc8382619f9e6b46fff00916ee1520800421acc4290a2fd6b8221db662bf2e96312b824d5a7ef1edc0383e346c819b4a4 SHA512 7e32c6b3be2ecabac44f4a2e94c5a018bb166df3076529af65a24854d43022b10a18a7a31df09fe19cd71f40e7921bcd79452ecedbfd33ac5b16fec295e5b6cf
+EBUILD tdb-1.4.12.ebuild 1608 BLAKE2B 39d1761369f1ef7ee07edf2a0a6c4bf94d79b83d7dcabebbaf38b05996bd638836043dbe131590dc6a1ec8c6b115dff3ca8d72305ad68cb9974a4529f06459a5 SHA512 152aa1f3cca26f3cb469a188fb5a8c7bba0216ef47418bf21da50fd21841a8423516f26a731da2f55d92c3060ebb901c8174bad7426880a30f2e0c6ee4439e1d
EBUILD tdb-1.4.8.ebuild 1437 BLAKE2B bdc628fd2e8ec3b5bed053de32ed423339500b73b0ee16f04d6c61e1f11b017f2c2195c8a102223f975858beaeae64f9e55b6cff210bd9e5d967c7fa0149fd65 SHA512 4a4e2e9cadd18011d683246c8833ac6d925978b9bb8193ba2bd0e027156f2e58abb78e4de29a3cdfc7d7f7ef76a97cf70d75523d87beac3c785d2860d551b9af
EBUILD tdb-1.4.9.ebuild 1578 BLAKE2B d7503ae4f2b715f6b25d778bc4b9b0be06b9688ced6efc128f948d457d3604df072bb3c7842219c6d04bd370d25af5c32f4b19825edd9525886c8780c5fc6cef SHA512 bd2beccc8faf37199b749bc537d4c1a18ebc56963034ffb9ee1c2eccd14fce5fb4eacb6a8ef180f161c31e1fd8bd8df834c7865febff04178a6d20067af375b5
MISC metadata.xml 245 BLAKE2B 015a6303c153dcdb4a4b6ec58ea97e6798d3316c6d211559022bd2a26d481356e481ba2ade200171bb182264ce9c132727cf8ce077fba38fabcef92c3431b6ba SHA512 5d1b6ef089165b3325df35b31d33f7c994bbc302399bb47abf3138885f0dd7b04176114de8ffea6ee1ae26a53fc83be9016426714e547fd6405c454b918e39da
diff --git a/sys-libs/tdb/tdb-1.4.12.ebuild b/sys-libs/tdb/tdb-1.4.12.ebuild
new file mode 100644
index 000000000000..5f85cdd900aa
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.4.12.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+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 ~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 WAF_BIN="${WAF_BINARY}"
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+ use python && python_optimize
+}