SHA256
1
0
forked from pool/ldb

Accepting request 628465 from home:dmulder:branches:samba_gpo_test

- Update to 1.4.1
  + add some missing return value checks
  + Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475)
  + ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory
    on duplicated add. (bug#13471)
  + ldb: Fix memory leak on module context (bug#13459)
  + Refused build of Samba 4.8 with ldb 1.4 (bug #13519)
  + Prevent similar issues in the future at configure time (bug #13519)
- 1.4.0
  + New LMDB backend (experimental)
  + Comprehensive tests for index behaviour
  + Enforce transactions for writes
  + Enforce read lock use for all reads
  + Fix memory leak in paged_results module.
    We hold at most 10 outstanding paged result cookies
    (bug #13362)
  + Fix compiler warnings
  + Python3 improvements
  + Restore --disable-python build
  + Fix for performance regression on one-level searches
    (bug #13448)
  + Samba's subtree_rename could fail to rename some entries
    (bug #13452)
- 1.3.4
  + Fix memory leaks and missing error checks (bug 13459, 13471, 13475)
  + Fix fallback to full scan (performance regression) on
    one-level search (bug 13448)
  + Fix read corruption (missing results) during writes, particularly
    during a Samba subtree rename (bug 13452)

OBS-URL: https://build.opensuse.org/request/show/628465
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=123
This commit is contained in:
James McDonough 2018-08-10 10:45:31 +00:00 committed by Git OBS Bridge
parent 29f8f22e71
commit 897ef4d204
6 changed files with 73 additions and 17 deletions

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJa6hPTAAoJEEeTkWETCEAllFAIAI7UeyrNimG/Mkf4y+z8BbnU
9IXXpn+aC18ULYanc0ZJ6y0LxKS3EnKDos6CA85YQcL3KAeBX86hfPJ1f/LCafhd
7L6L93xJsSxim2UhgkL6kks8S8IiahjLc8SHvlaznHyrCFAAIKftlkUpQvhxmp2K
XFrrWtb/2TvvLhH4tkjf0f6ZbJop5kaVvMD49KO382u1wX4Glw+SdhNBn43hg7tW
FZpJwC8HyuJ741w6EkqRSvTRjUqIb9OiIJr07DtnbSEpzVQ5ioowxYkopTjeTTII
o4JOvzB/nZKZClHL/yJ921xdSnhYtxWIJhI4KGobD4kxUIZeGP2PYUnIoSlRovg=
=lGEB
-----END PGP SIGNATURE-----

View File

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

11
ldb-1.4.1.tar.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQFJBAABCgAzFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAltG7WEVHHNhbWJhLWJ1
Z3NAc2FtYmEub3JnAAoJEEeTkWETCEAlt9wIAKTlg33LItrtDS7Po3aI1ggPJXtm
xf9ARAa0opRFjQ49rkLazAseC/bmdQ6fiEevPXtPpSFw5P2zxUpTIAZe1D309dRM
+jhIsHRQHJ89VCXUqPvDX8KV/t7dDQo5dd+X9ZtB3M3Fyux0UmdbCxNbDt2YmkhS
knim+Zk0uKpqNVvsGhIbmDWH8pbME5Hjda01uaM+UbJR/fVjRexNDNGapuEtMQyL
j+6ajO2WCtLJOfcYqSzpBh/PgYRv8azFJJhfekxLzmV8VGpRW8Ma5KBjN3+ecF4X
LeYztDKCecQqVOWj3ICzhVgiv5R/sonU46LK+S7NgftYZwkr2wgluRbH7XI=
=G+En
-----END PGP SIGNATURE-----

3
ldb-1.4.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Wed Aug 8 16:45:29 UTC 2018 - dmulder@suse.com
- Update to 1.4.1
+ add some missing return value checks
+ Fix several mem leaks in ldb_index ldb_search ldb_tdb (bug#13475)
+ ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory
on duplicated add. (bug#13471)
+ ldb: Fix memory leak on module context (bug#13459)
+ Refused build of Samba 4.8 with ldb 1.4 (bug #13519)
+ Prevent similar issues in the future at configure time (bug #13519)
- 1.4.0
+ New LMDB backend (experimental)
+ Comprehensive tests for index behaviour
+ Enforce transactions for writes
+ Enforce read lock use for all reads
+ Fix memory leak in paged_results module.
We hold at most 10 outstanding paged result cookies
(bug #13362)
+ Fix compiler warnings
+ Python3 improvements
+ Restore --disable-python build
+ Fix for performance regression on one-level searches
(bug #13448)
+ Samba's subtree_rename could fail to rename some entries
(bug #13452)
- 1.3.4
+ Fix memory leaks and missing error checks (bug 13459, 13471, 13475)
+ Fix fallback to full scan (performance regression) on
one-level search (bug 13448)
+ Fix read corruption (missing results) during writes, particularly
during a Samba subtree rename (bug 13452)
-------------------------------------------------------------------
Wed May 23 10:36:02 UTC 2018 - jmcdonough@suse.com

View File

@ -25,7 +25,15 @@
%define with_python3 0
%endif
%define talloc_version 2.1.11
%global with_lmdb 0
%if 0%{?suse_version} > 1320
%ifarch x86_64
%global with_lmdb 1
%endif
%endif
%define lmdb_version 0.9.16
%define talloc_version 2.1.14
%define tdb_version 1.3.15
%define tevent_version 0.9.36
@ -54,8 +62,11 @@ BuildRequires: python-talloc-devel >= %{talloc_version}
%if 0%{?suse_version} >= 1330
BuildRequires: libtirpc-devel
%endif
%if %{with_lmdb}
BuildRequires: lmdb-devel >= %{lmdb_version}
%endif
Url: https://ldb.samba.org/
Version: 1.3.3
Version: 1.4.1
Release: 0
Summary: An LDAP-like embedded database
License: GPL-3.0-or-later
@ -74,6 +85,9 @@ LDB is an LDAP-like embedded database.
%package -n libldb1
Summary: An LDAP-like embedded database
Group: System/Libraries
%if %{with_lmdb}
Requires: lmdb >= %{lmdb_version}
%endif
%description -n libldb1
LDB is an LDAP-like embedded database.
@ -171,6 +185,9 @@ CONFIGURE_OPTIONS="\
%if %{with_python3}
--extra-python=/usr/bin/python3 \
%endif
%if !%{with_lmdb}
--without-ldb-lmdb \
%endif
"
./configure ${CONFIGURE_OPTIONS}
make %{?_smp_mflags} \
@ -180,7 +197,7 @@ doxygen Doxyfile
rm -f apidocs/man/man3/_*_ldb-%{version}_include_.3
%check
%ifnarch ppc64 s390x
%if %{with_lmdb}
LD_LIBRARY_PATH="bin/shared:bin/shared/private" \
LDB_MODULES_PATH="bin/modules" \
make test
@ -226,6 +243,12 @@ sed -i 's;-lpyldb-util.%{py3_soflags_dash};-lpyldb-util.%{py3_soflags};g' %{buil
%ifarch ppc
%{_libdir}/ldb/libcmocka-ldb.so
%endif
%{_libdir}/ldb/ldb.so
%{_libdir}/ldb/libldb-key-value.so
%if %{with_lmdb}
%{_libdir}/ldb/libldb-mdb-int.so
%{_libdir}/ldb/mdb.so
%endif
%files -n libldb-devel
%defattr(-,root,root)