Accepting request 529903 from network:samba:TESTING

1

OBS-URL: https://build.opensuse.org/request/show/529903
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=112
This commit is contained in:
James McDonough 2017-10-01 11:54:28 +00:00 committed by Git OBS Bridge
parent 551826bb12
commit fade5d625a
6 changed files with 91 additions and 33 deletions

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJYQCJ2AAoJEEeTkWETCEAlPDEH/1tGd3yUGKc3MSlgZQcfckP0
es2JJFAwW46Jyx03VeOQeRvQwIoOCOJkxFhpGESeAce3aTyCGKSiAYy5o9H5WsGI
ZPAQ+zlWKtFEiRBiEOV8IRMN40YjrtBeryZblYCKrCa+4iLgpMuEwiO3AIfZtbjz
rvt3YmCY8sSCW/0x0QqcjRuJDrHqkJTYqwLrGMRZpZIBPaAz4DPnm6ES0UftqlsR
qTudolOTwSPNcsSKoxV8p4HCec6vJ/kUPCXhPL6U5Jj2nnVRFTvG/y/Eq2Ux1hL2
1sYpVZfLpm+GP7REXWsSpjhkmSRJetwkSweSjEcH9ZPyKMxmcOyqoRjQ89fcFZ8=
=PPwp
-----END PGP SIGNATURE-----

View File

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

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

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJZsRnXAAoJEEeTkWETCEAlP3IH/R80hUhKyUSTsPNgSh7AwVId
L6dN8UbDsbIOvS8UF55TZu5CgB4tb4urpAm/oj//NAxfwe/6EriAyw9e8yWXwyUv
fCq9Kd8GiDvfAWj9IUuL57rzY8Sp++syuQA2AMywlvApnQejkAZS0Q9WATxkdzDr
Ha5WnwzrlR54RxmaLW3bwxCeGQzXRnE87oeGGgipkOLeZgy814QyBOumjekht7nN
NqTF0EjvMsNe39tx0QkR6/ntjBQf35jkZp+jW0RD65QXotQajCwKPz6/1bwtPS/m
/DVO9J9rGyiyAdMJ85m7U+a80VDezeaRv1DBrONkpYqFAAUwWNDe9kwUFj7CzzY=
=Rmaf
-----END PGP SIGNATURE-----

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

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

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Mon Sep 18 12:17:31 UTC 2017 - scabrero@suse.com
- Update to 1.2.2
+ Bug #13017: Add ldb_ldif_message_redacted_string() to allow debug
of redacted log messages, avoiding showing secret values
+ Bug #13015: Allow re-index of newer databases with binary GUID TDB keys
(this officially removes support for re-index of the original
pack format 0, rather than simply segfaulting).
+ Avoid memory allocation and so make modify of records in ldb_tdb faster
-------------------------------------------------------------------
Wed Jul 26 09:18:14 UTC 2017 - scabrero@suse.com
- Update to 1.2.1
+ Bug #12882: Do not install _ldb_text.py if we have system libldb
+ Use libraries from build dir for testsuite
+ Bug #12900: Fix index out of bound in ldb_msg_find_common_values
-------------------------------------------------------------------
Wed Jul 5 09:05:46 UTC 2017 - scabrero@suse.com
- Update to 1.2.0
+ handle one more LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK
case in ldb_tdb
+ fix ldb_tdb locking (performance) problems
+ fix ldb_tdb search inconsistencies by adding
read_[un]lock() hooks to the module stack
(bug #12858)
+ add cmocka based tests for the locking issues
+ ldb_version.h provides LDB_VERSION_{MAJOR,MINOR,RELEASE} defines
+ protect ldb_modules.h from being used by Samba < 4.7
Note: that this release (as well as 1.1.30 and 1.1.31)
may cause problems for older applications, e.g. Samba
See https://bugzilla.samba.org/show_bug.cgi?id=12859
-------------------------------------------------------------------
Mon Jul 3 08:16:32 UTC 2017 - scabrero@suse.com
- Update to 1.1.31
+ let ldbdump parse the -i option
+ don't allow the reveal_internals control for ldbedit
+ only allow --show-binary for ldbsearch
+ don't let ldbsearch create non-existing files
+ fix ldb_tdb search inconsistencies
+ add cmocka based tests
+ provide an interface for improved indexing for callers
like Samba, which will allow much better performance.
+ Makes ldb access to tdb:// databases use a private event context
rather than the global event context passed in by the caller.
This is because running other operations while locks are held
or a search is being conducted is not safe.
+ Add efficient function to find duplicate values in ldb messages
(this makes large multi-valued attributes in ldb_tdb more efficient)
- Add ldb-tests-do-not-override-lib-path.patch: Check if LD_LIBRARY_PATH
and LDB_MODULES_PATH environment variables are set before overriding
them.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 24 17:44:38 UTC 2017 - ddiss@suse.com Tue Jan 24 17:44:38 UTC 2017 - ddiss@suse.com

View File

@ -24,24 +24,28 @@
%define with_python3 0 %define with_python3 0
%endif %endif
%define talloc_version 2.1.8 %define talloc_version 2.1.10
%define tdb_version 1.3.11 %define tdb_version 1.3.15
%define tevent_version 0.9.29 %define tevent_version 0.9.33
Name: ldb Name: ldb
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: libcmocka-devel >= 1.1.1
BuildRequires: libtalloc-devel >= %{talloc_version} BuildRequires: libtalloc-devel >= %{talloc_version}
BuildRequires: libtdb-devel >= %{tdb_version} BuildRequires: libtdb-devel >= %{tdb_version}
BuildRequires: libtevent-devel >= %{tevent_version} BuildRequires: libtevent-devel >= %{tevent_version}
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: popt-devel BuildRequires: popt-devel
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-talloc-devel >= %{talloc_version}
BuildRequires: python-tdb >= %{tdb_version} BuildRequires: python-tdb >= %{tdb_version}
BuildRequires: python-tevent >= %{tevent_version} BuildRequires: python-tevent >= %{tevent_version}
%if %{with_python3} %if %{with_python3}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-talloc >= %{talloc_version}
BuildRequires: python3-talloc-devel >= %{talloc_version}
%else
BuildRequires: python-talloc-devel >= %{talloc_version}
%endif %endif
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
%define build_make_smp_mflags %{?_smp_mflags} %define build_make_smp_mflags %{?_smp_mflags}
@ -49,7 +53,7 @@ BuildRequires: python3-devel
%define build_make_smp_mflags %{?jobs:-j%jobs} %define build_make_smp_mflags %{?jobs:-j%jobs}
%endif %endif
Url: https://ldb.samba.org/ Url: https://ldb.samba.org/
Version: 1.1.29 Version: 1.2.2
Release: 0 Release: 0
Summary: An LDAP-like embedded database Summary: An LDAP-like embedded database
License: GPL-3.0+ License: GPL-3.0+
@ -65,17 +69,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Ldb is an LDAP-like embedded database. Ldb is an LDAP-like embedded database.
%if 0%{?suse_version} > 0 %package -n libldb1
%define libldb_name libldb1
%else
%define libldb_name libldb
%endif
%package -n %{libldb_name}
Summary: An LDAP-like embedded database Summary: An LDAP-like embedded database
Group: System/Libraries Group: System/Libraries
PreReq: /sbin/ldconfig PreReq: /sbin/ldconfig
%description -n %{libldb_name} %description -n libldb1
Ldb is an LDAP-like embedded database. Ldb is an LDAP-like embedded database.
This package includes the ldb1 library. This package includes the ldb1 library.
@ -84,7 +83,7 @@ This package includes the ldb1 library.
%package -n libldb-devel %package -n libldb-devel
Summary: Libraries and Header Files to Develop Programs with ldb1 Support Summary: Libraries and Header Files to Develop Programs with ldb1 Support
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{libldb_name} = %{version} Requires: libldb1 = %{version}
%if 0%{?suse_version} > 1020 %if 0%{?suse_version} > 1020
Requires: pkg-config Requires: pkg-config
%else %else
@ -108,7 +107,7 @@ Tools to manipulate ldb files
%package -n python-ldb %package -n python-ldb
Summary: Python bindings for the LDB library Summary: Python bindings for the LDB library
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: %{libldb_name} = %{version} Requires: libldb1 = %{version}
PreReq: /sbin/ldconfig PreReq: /sbin/ldconfig
Provides: pyldb = %{version} Provides: pyldb = %{version}
Obsoletes: pyldb < %{version} Obsoletes: pyldb < %{version}
@ -139,13 +138,12 @@ LDB library.
%package -n python3-ldb %package -n python3-ldb
Summary: Python3 bindings for the LDB library Summary: Python3 bindings for the LDB library
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: %{libldb_name} = %{version} Requires: libldb1 = %{version}
PreReq: /sbin/ldconfig PreReq: /sbin/ldconfig
%description -n python3-ldb %description -n python3-ldb
This package contains the python3 bindings for the LDB library. This package contains the python3 bindings for the LDB library.
%package -n python3-ldb-devel %package -n python3-ldb-devel
Summary: Development files for the Python3 bindings for the LDB library Summary: Development files for the Python3 bindings for the LDB library
Group: Development/Libraries/Python Group: Development/Libraries/Python
@ -210,9 +208,9 @@ DESTDIR=${RPM_BUILD_ROOT} make install
# Install API documentation # Install API documentation
cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir} cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
%post -n %{libldb_name} -p /sbin/ldconfig %post -n libldb1 -p /sbin/ldconfig
%postun -n %{libldb_name} -p /sbin/ldconfig %postun -n libldb1 -p /sbin/ldconfig
%post -n python-ldb -p /sbin/ldconfig %post -n python-ldb -p /sbin/ldconfig
@ -224,7 +222,7 @@ cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
%postun -n python3-ldb -p /sbin/ldconfig %postun -n python3-ldb -p /sbin/ldconfig
%endif %endif
%files -n %{libldb_name} %files -n libldb1
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libldb.so.* %{_libdir}/libldb.so.*
%dir %{_libdir}/ldb %dir %{_libdir}/ldb
@ -296,6 +294,7 @@ cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
%files -n python3-ldb-devel %files -n python3-ldb-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libpyldb-util.%{py3_soflags}.so %{_libdir}/libpyldb-util.%{py3_soflags}.so
%{_libdir}/pkgconfig/pyldb-util.%{py3_soflags}.pc
%endif %endif
%changelog %changelog