Accepting request 266104 from network:samba:STABLE

- Update to version 1.3.3.
  + test: TDB_CLEAR_IF_FIRST | TDB_MUTEX_LOCKING, O_RDONLY is a valid
    combination
- Update to version 1.3.2.
  + allow tdb_open_ex() with O_RDONLY of TDB_FEATURE_FLAG_MUTEX tdbs.
  + Fix a comment
  + Fix tdb_runtime_check_for_robust_mutexes()
  + Improve wording in a comment
  + tdb.h needs bool type; obsoletes include_stdbool_bso10625.patch
  + tdb_wrap: Make mutexes easier to use
  + tdb_wrap: Only pull in samba-debug
  + tdb_wrap: Standalone compile without includes.h
  + tdb_wrap: tdb_wrap.h doesn't need struct loadparm_context

OBS-URL: https://build.opensuse.org/request/show/266104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tdb?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2014-12-23 10:50:17 +00:00 committed by Git OBS Bridge
commit 128e53713b
7 changed files with 32 additions and 44 deletions

View File

@ -1,27 +0,0 @@
From 4e14a437963ba54987cd58b4e0705d9a6d8aea6f Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
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 <signal.h>
+#include <stdbool.h>
/**
* @defgroup tdb The tdb API
--
1.9.3

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJUGHvaAAoJEEeTkWETCEAlm+gH/0WHHbJstD+aDuMm2sz9vZ5r
0rH0M34I4ijHEJTnw87rGnnMgKaOS/ZT9u4r7OJnZnJhwjyOG+iGgSBz7sNhRiJB
vZ8fG9eWfzbDdjOcDEk8WH0mnCZWDrmNyiUh0B7rIJUCgZuAw3BCKV7PEQUAakhk
WeZIshmC+hjRUKzvjGwcirZKXnJR1UBJ9EwHliVx4+p3tc6n9DslIeR97m48D9eI
f+VwsbXSql9jzC+dSty35pnKMMKDowHhPg0ayf3TghogveUluAjJlpGPdIMnZUjA
fy4O/txFLSrjVHa3wwv6KVOdbxv9w2fXRU+rjqRRVxfeNrSB7jTMD94D19KJ6GU=
=exdx
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff29985ae880c3906ddd7609664a94c64bfe87b2b2210250e3fdee532ca2ece3
size 480898

11
tdb-1.3.3.tar.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJUfavWAAoJEEeTkWETCEAlTKoH/12AcgcVwD3Dff9PCqdx46YT
xFGpA5nHGeQARc/6rbDAvs9+1DY+Z/Mv+P5G/cMTSE3mMxLu/gagqEyfSAZm7F7A
yWKx27oXa4kh23FrKPGGaQgmmc3meNFAtfFhndU1iaA4t4M0kaO+yBmMKKWFZdZU
Gg3+DH/TYaezhf65PKPkE5D6RsvaNLcNIyAxKFTWDbr8BaOtkYKMS58WhQ1lRp9k
2U/uHJ76I+NC2tDQ4QDAx0DNjAkwkl7AVkAb+GpB0GpzhVw5npQslRqmXrUED1Xz
WrcwNY2cirdCrENRIYUmMKP4sJBwPe32S9m6TjLuU60+YTLI/JQUbZCV/gHV49w=
=7/Ln
-----END PGP SIGNATURE-----

3
tdb-1.3.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54deada2ef37127efdb1bc67b281c72fa973430b1c6ffe47929296e8f73b4f0e
size 482682

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sun Dec 21 19:09:06 UTC 2014 - lmuelle@suse.com
- Update to version 1.3.3.
+ test: TDB_CLEAR_IF_FIRST | TDB_MUTEX_LOCKING, O_RDONLY is a valid
combination
- Update to version 1.3.2.
+ allow tdb_open_ex() with O_RDONLY of TDB_FEATURE_FLAG_MUTEX tdbs.
+ Fix a comment
+ Fix tdb_runtime_check_for_robust_mutexes()
+ Improve wording in a comment
+ tdb.h needs bool type; obsoletes include_stdbool_bso10625.patch
+ tdb_wrap: Make mutexes easier to use
+ tdb_wrap: Only pull in samba-debug
+ tdb_wrap: Standalone compile without includes.h
+ tdb_wrap: tdb_wrap.h doesn't need struct loadparm_context
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 6 13:28:53 UTC 2014 - lmuelle@suse.com Thu Nov 6 13:28:53 UTC 2014 - lmuelle@suse.com

View File

@ -34,7 +34,7 @@ BuildRequires: pkgconfig
%endif %endif
BuildRequires: python-devel BuildRequires: python-devel
Url: http://tdb.samba.org/ Url: http://tdb.samba.org/
Version: 1.3.1 Version: 1.3.3
Release: 0 Release: 0
Summary: Samba Trivial Database Summary: Samba Trivial Database
License: GPL-3.0+ License: GPL-3.0+
@ -45,7 +45,6 @@ Source2: tdb.keyring
Source4: baselibs.conf Source4: baselibs.conf
Patch0: ignore-tdb1-run-transaction-expand.diff Patch0: ignore-tdb1-run-transaction-expand.diff
Patch1: build_pie.patch Patch1: build_pie.patch
Patch2: include_stdbool_bso10625.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -118,7 +117,6 @@ This package contains the python bindings for the Tdb library.
%patch0 -p1 %patch0 -p1
%endif %endif
%patch1 -p1 %patch1 -p1
%patch2 -p3
%build %build
%if 0%{?suse_version} && 0%{?suse_version} < 911 %if 0%{?suse_version} && 0%{?suse_version} < 911