Hello community, here is the log from the commit of package ldb for openSUSE:Factory checked in at 2018-10-04 18:59:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ldb (Old) and /work/SRC/openSUSE:Factory/.ldb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ldb" Thu Oct 4 18:59:53 2018 rev:40 rq:638229 version:1.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ldb/ldb.changes 2018-08-27 13:46:30.824308704 +0200 +++ /work/SRC/openSUSE:Factory/.ldb.new/ldb.changes 2018-10-04 18:59:53.955303600 +0200 @@ -1,0 +2,35 @@ +Tue Sep 25 07:35:57 UTC 2018 - Samuel Cabrero <[email protected]> + +- Update license to LGPL-3.0 + +------------------------------------------------------------------- +Fri Aug 17 15:21:40 UTC 2018 - [email protected] + ++- Update to 1.4.2 + + Security fix for CVE-2018-1140 (NULL pointer de-reference, bug 13374) + + Fix memory leaks and missing error checks (bug 13459, 13471, 13475) +- 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) + +------------------------------------------------------------------- Old: ---- fix_ldb_mod_op_test.patch ldb-1.3.5.tar.asc ldb-1.3.5.tar.gz New: ---- ldb-1.4.2.tar.asc ldb-1.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ldb.spec ++++++ --- /var/tmp/diff_new_pack.9dtbYZ/_old 2018-10-04 18:59:54.407303128 +0200 +++ /var/tmp/diff_new_pack.9dtbYZ/_new 2018-10-04 18:59:54.411303124 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -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,18 +62,20 @@ %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.5 +Version: 1.4.2 Release: 0 Summary: An LDAP-like embedded database -License: GPL-3.0-or-later +License: LGPL-3.0-or-later Group: Development/Libraries/C and C++ Source: https://download.samba.org/pub/ldb/ldb-%{version}.tar.gz Source1: https://download.samba.org/pub/ldb/ldb-%{version}.tar.asc Source2: ldb.keyring Source4: baselibs.conf Patch0: ldb-python3.5-fix-soabi_name.patch -Patch1: fix_ldb_mod_op_test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -146,7 +156,6 @@ %prep %setup -n ldb-%{version} -q %patch0 -p1 -%patch1 -p1 %build %if 0%{?suse_version} > 1110 @@ -173,6 +182,9 @@ %if %{with_python3} --extra-python=/usr/bin/python3 \ %endif +%if !%{with_lmdb} + --without-ldb-lmdb \ +%endif " ./configure ${CONFIGURE_OPTIONS} make %{?_smp_mflags} \ @@ -182,7 +194,7 @@ 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 @@ -228,6 +240,12 @@ %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) ++++++ ldb-1.3.5.tar.gz -> ldb-1.4.2.tar.gz ++++++ ++++ 23730 lines of diff (skipped)
