![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package tdb for openSUSE:Factory checked in at 2014-05-26 14:40:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tdb (Old) and /work/SRC/openSUSE:Factory/.tdb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tdb" Changes: -------- --- /work/SRC/openSUSE:Factory/tdb/tdb.changes 2014-03-23 22:29:26.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.tdb.new/tdb.changes 2014-05-26 14:40:19.000000000 +0200 @@ -1,0 +2,38 @@ +Fri May 23 20:48:25 UTC 2014 - lmuelle@suse.com + +- Update to version 1.3.0. + + add TDB_MUTEX_LOCKING support + + consolidate tdb allocation code - re-use dead records at hash top. + + don't alter errno on success of tdb_open_ex() + + introduce tdb->hdr_ofs + + introduce TDB_SUPPORTED_FEATURE_FLAGS + + return ENOSYS if the tdb was created with spinlocks. + + use asprintf() to simplify tdb_summary() + + test: add a "skip()" macro. + add marklock deadlock test + add mutex related tests + add PING command to external-agent.c + add shutdown_agent() helper function + add UNMAP command to external-agent.c + always call fflush() after [f]printf() in tap-interface.h + avoid const warnings by using 'discard_const_p(uint8_t,' instead of + '(void *)' + correctly use stderr, not stdout, in fail() + remove "\n" in diag() arguments + + tools: add -l option to tdbbackup + add -l option to tdbtool + add -m option to tdbtorture + Allow tdbtool to r/o open mutexed tdbs + avoid const warnings in tdbdump.c + explicitly use TDB_NOLOCK in tdbdump + + tdb_wrap: Remove tdb_wrap_open_ again + + wscript: maintain a global list of unit tests +- Include stdbool.h in tdb.h; (bso#10625). + + include_stdbool_bso10625.patch + +------------------------------------------------------------------- +Fri May 23 20:10:17 UTC 2014 - lmuelle@suse.com + +- Don't require pkg-config from the libtdb package. + +------------------------------------------------------------------- Old: ---- tdb-1.2.13.tar.asc tdb-1.2.13.tar.gz New: ---- include_stdbool_bso10625.patch tdb-1.3.0.tar.asc tdb-1.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tdb.spec ++++++ --- /var/tmp/diff_new_pack.lCr5zu/_old 2014-05-26 14:40:21.000000000 +0200 +++ /var/tmp/diff_new_pack.lCr5zu/_new 2014-05-26 14:40:21.000000000 +0200 @@ -37,7 +37,7 @@ %endif BuildRequires: python-devel Url: http://tdb.samba.org/ -Version: 1.2.13 +Version: 1.3.0 Release: 0 Summary: Samba Trivial Database License: GPL-3.0+ @@ -48,6 +48,7 @@ Source4: baselibs.conf Patch0: ignore-tdb1-run-transaction-expand.diff Patch1: build_pie.patch +Patch2: include_stdbool_bso10625.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -61,11 +62,6 @@ %package -n %{libtdb_name} Summary: Libraries and Header Files to Develop Programs with tdb1 Support Group: System/Libraries -%if 0%{?suse_version} > 1020 -Requires: pkg-config -%else -Requires: pkgconfig -%endif PreReq: /sbin/ldconfig %description -n %{libtdb_name} @@ -130,6 +126,7 @@ %patch0 -p1 %endif %patch1 -p1 +%patch2 -p3 %build %if 0%{?suse_version} && 0%{?suse_version} < 911 ++++++ build_pie.patch ++++++ --- /var/tmp/diff_new_pack.lCr5zu/_old 2014-05-26 14:40:21.000000000 +0200 +++ /var/tmp/diff_new_pack.lCr5zu/_new 2014-05-26 14:40:21.000000000 +0200 @@ -7,7 +7,7 @@ =================================================================== --- tdb-1.2.12.orig/wscript +++ tdb-1.2.12/wscript -@@ -94,20 +94,27 @@ def build(bld): +@@ -149,20 +149,27 @@ def build(bld): bld.SAMBA_BINARY('tdbrestore', 'tools/tdbrestore.c', ++++++ ignore-tdb1-run-transaction-expand.diff ++++++ --- /var/tmp/diff_new_pack.lCr5zu/_old 2014-05-26 14:40:21.000000000 +0200 +++ /var/tmp/diff_new_pack.lCr5zu/_new 2014-05-26 14:40:21.000000000 +0200 @@ -5,7 +5,7 @@ =================================================================== --- tdb-1.2.11.orig/wscript +++ tdb-1.2.11/wscript -@@ -196,8 +196,9 @@ def testonly(ctx): +@@ -213,8 +213,9 @@ def testonly(ctx): if ret != 0: print("%s failed:" % f) samba_utils.RUN_COMMAND("cat " + os.path.join(testdir, 'test-output')) ++++++ include_stdbool_bso10625.patch ++++++
From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001 From: Adam Williamson
Date: Fri, 23 May 2014 10:08:14 -0700 Subject: [PATCH] tdb/include: include stdbool.h in tdb.h
Commit db5bda56bf08 (tdb: add TDB_MUTEX_LOCKING support) adds a bool, but does
not include stdbool.h. This causes any build including tdb.h to fail, at least
for me with GCC 4.9.0.
---
lib/tdb/include/tdb.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/tdb/include/tdb.h b/lib/tdb/include/tdb.h
index 5ea5e60..03e429c 100644
--- a/lib/tdb/include/tdb.h
+++ b/lib/tdb/include/tdb.h
@@ -31,6 +31,7 @@ extern "C" {
#endif
#include