Hello community,

here is the log from the commit of package ldb for openSUSE:Factory checked in 
at 2017-10-25 17:46:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ldb (Old)
 and      /work/SRC/openSUSE:Factory/.ldb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ldb"

Wed Oct 25 17:46:12 2017 rev:35 rq:532145 version:1.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ldb/ldb.changes  2017-04-17 10:22:17.632350828 
+0200
+++ /work/SRC/openSUSE:Factory/.ldb.new/ldb.changes     2017-10-25 
17:46:13.551063237 +0200
@@ -1,0 +2,67 @@
+Mon Oct  2 12:18:30 UTC 2017 - [email protected]
+
+- Remove %if guards for blocks that do not affect the build result.
+  Fix RPM groups and summaries.
+  Drop very old SUSE support. Replace old RPM macros by new
+  constructs.
+
+-------------------------------------------------------------------
+Mon Sep 18 12:17:31 UTC 2017 - [email protected]
+
+- 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 - [email protected]
+
+- 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 - [email protected]
+
+- 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 - [email protected]
+
+- 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.
+
+-------------------------------------------------------------------

Old:
----
  ldb-1.1.29.tar.asc
  ldb-1.1.29.tar.gz

New:
----
  ldb-1.2.2.tar.asc
  ldb-1.2.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ldb.spec ++++++
--- /var/tmp/diff_new_pack.wnjLAM/_old  2017-10-25 17:46:14.303027945 +0200
+++ /var/tmp/diff_new_pack.wnjLAM/_new  2017-10-25 17:46:14.303027945 +0200
@@ -24,36 +24,39 @@
 %define with_python3 0
 %endif
 
-%define talloc_version 2.1.8
-%define tdb_version 1.3.11
-%define tevent_version 0.9.29
+%define talloc_version 2.1.10
+%define tdb_version 1.3.15
+%define tevent_version 0.9.33
 
 Name:           ldb
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  doxygen
+%if 0%{?suse_version} > 1320
+%ifnarch ppc
+BuildRequires:  libcmocka-devel >= 1.1.1
+%endif
+%endif
 BuildRequires:  libtalloc-devel >= %{talloc_version}
 BuildRequires:  libtdb-devel >= %{tdb_version}
 BuildRequires:  libtevent-devel >= %{tevent_version}
 BuildRequires:  libxslt
 BuildRequires:  popt-devel
 BuildRequires:  python-devel
-BuildRequires:  python-talloc-devel >= %{talloc_version}
 BuildRequires:  python-tdb >= %{tdb_version}
 BuildRequires:  python-tevent >= %{tevent_version}
 %if %{with_python3}
 BuildRequires:  python3-devel
-%endif
-%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
-%define        build_make_smp_mflags %{?_smp_mflags}
+BuildRequires:  python3-talloc >= %{talloc_version}
+BuildRequires:  python3-talloc-devel >= %{talloc_version}
 %else
-%define        build_make_smp_mflags %{?jobs:-j%jobs}
+BuildRequires:  python-talloc-devel >= %{talloc_version}
 %endif
 Url:            https://ldb.samba.org/
-Version:        1.1.29
+Version:        1.2.2
 Release:        0
 Summary:        An LDAP-like embedded database
 License:        GPL-3.0+
-Group:          System/Libraries
+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
@@ -62,21 +65,15 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-Ldb is an LDAP-like embedded database.
+LDB is an LDAP-like embedded database.
 
 
-%if 0%{?suse_version} > 0
-%define libldb_name libldb1
-%else
-%define libldb_name libldb
-%endif
-%package -n %{libldb_name}
+%package -n libldb1
 Summary:        An LDAP-like embedded database
 Group:          System/Libraries
-PreReq:         /sbin/ldconfig
 
-%description -n %{libldb_name}
-Ldb is an LDAP-like embedded database.
+%description -n libldb1
+LDB is an LDAP-like embedded database.
 
 This package includes the ldb1 library.
 
@@ -84,48 +81,39 @@
 %package -n libldb-devel
 Summary:        Libraries and Header Files to Develop Programs with ldb1 
Support
 Group:          Development/Libraries/C and C++
-Requires:       %{libldb_name} = %{version}
-%if 0%{?suse_version} > 1020
+Requires:       libldb1 = %{version}
 Requires:       pkg-config
-%else
-Requires:       pkgconfig
-%endif
 
 %description -n libldb-devel
-Ldb is an LDAP-like embedded database.
+LDB is an LDAP-like embedded database.
 
-Libraries and Header Files to Develop Programs with ldb1 Support
+Libraries and Header Files to Develop Programs with ldb1 Support.
 
 
 %package -n ldb-tools
-Summary:        Tools to manipulate ldb files
+Summary:        Tools to manipulate LDB files
 Group:          Development/Libraries/C and C++
 
 %description -n ldb-tools
-Tools to manipulate ldb files
+Tools to manipulate LDB files.
 
 
 %package -n python-ldb
 Summary:        Python bindings for the LDB library
 Group:          Development/Libraries/Python
-Requires:       %{libldb_name} = %{version}
-PreReq:         /sbin/ldconfig
+Requires:       libldb1 = %{version}
 Provides:       pyldb = %{version}
 Obsoletes:      pyldb < %{version}
 
 %description -n python-ldb
-This package contains the python bindings for the LDB library.
+This package contains the Python bindings for the LDB library.
 
 
 %package -n python-ldb-devel
 Summary:        Development files for the Python bindings for the LDB library
 Group:          Development/Libraries/Python
-Requires:       python-ldb = %{version}
-%if 0%{?suse_version} > 1020
 Requires:       pkg-config
-%else
-Requires:       pkgconfig
-%endif
+Requires:       python-ldb = %{version}
 Provides:       pyldb-devel = %{version}
 Obsoletes:      pyldb-devel < %{version}
 Conflicts:      python3-ldb-devel
@@ -134,49 +122,42 @@
 This package contains the development files for the Python bindings for the
 LDB library.
 
-
-%if %{with_python3}
 %package -n python3-ldb
 Summary:        Python3 bindings for the LDB library
 Group:          Development/Libraries/Python
-Requires:       %{libldb_name} = %{version}
-PreReq:         /sbin/ldconfig
+Requires:       libldb1 = %{version}
 
 %description -n python3-ldb
 This package contains the python3 bindings for the LDB library.
 
-
 %package -n python3-ldb-devel
 Summary:        Development files for the Python3 bindings for the LDB library
 Group:          Development/Libraries/Python
-Requires:       python3-ldb = %{version}
-%if 0%{?suse_version} > 1020
 Requires:       pkg-config
-%else
-Requires:       pkgconfig
-%endif
+Requires:       python3-ldb = %{version}
 Conflicts:      python-ldb-devel
 
 %description -n python3-ldb-devel
 This package contains the development files for the Python bindings for the
 LDB library.
-%endif
 
 %prep
 %setup -n ldb-%{version} -q
 %patch0 -p1
 
 %build
-%if 0%{?suse_version} && 0%{?suse_version} < 911
-       OPTIMIZATION="-O"
-%else
-       # use the default optimization
-       unset OPTIMIZATION
-%endif
 %if 0%{?suse_version} > 1110
        export SUSE_ASNEEDED=0
 %endif
-export CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE ${OPTIMIZATION} 
-D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"
+export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"
+%define bundled_libs cmocka
+%if 0%{?suse_version} > 1320
+%ifnarch ppc
+       %define bundled_libs NONE
+%endif
+%endif
+
+export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"
 CONFIGURE_OPTIONS="\
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
@@ -184,14 +165,14 @@
        --disable-rpath-install \
        --disable-silent-rules \
        --with-modulesdir=%{_libdir} \
-       --bundled-libraries=NONE \
+       --bundled-libraries=%{bundled_libs} \
        --builtin-libraries=replace \
 %if %{with_python3}
        --extra-python=/usr/bin/python3 \
 %endif
 "
 ./configure ${CONFIGURE_OPTIONS}
-%{__make} %{build_make_smp_mflags} \
+make %{?_smp_mflags} \
        all
 doxygen Doxyfile
 # remove man page with bogus full build dir in path
@@ -201,30 +182,28 @@
 %ifnarch ppc64 s390x
 LD_LIBRARY_PATH="bin/shared:bin/shared/private" \
 LDB_MODULES_PATH="bin/modules" \
-%{__make} test
+make test
 %endif
 
 %install
-DESTDIR=${RPM_BUILD_ROOT} make install
+%make_install
 
 # Install API documentation
-cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
+cp -a apidocs/man/* %{buildroot}/%{_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
 
 %postun -n python-ldb -p /sbin/ldconfig
 
-%if %{with_python3}
 %post -n python3-ldb -p /sbin/ldconfig
 
 %postun -n python3-ldb -p /sbin/ldconfig
-%endif
 
-%files -n %{libldb_name}
+%files -n libldb1
 %defattr(-,root,root)
 %{_libdir}/libldb.so.*
 %dir %{_libdir}/ldb
@@ -236,6 +215,12 @@
 %{_libdir}/ldb/server_sort.so
 %{_libdir}/ldb/skel.so
 %{_libdir}/ldb/tdb.so
+%if 0%{?suse_version} <= 1320
+%{_libdir}/ldb/libcmocka-ldb.so
+%endif
+%ifarch ppc
+%{_libdir}/ldb/libcmocka-ldb.so
+%endif
 
 %files -n libldb-devel
 %defattr(-,root,root)
@@ -296,6 +281,7 @@
 %files -n python3-ldb-devel
 %defattr(-,root,root)
 %{_libdir}/libpyldb-util.%{py3_soflags}.so
+%{_libdir}/pkgconfig/pyldb-util.%{py3_soflags}.pc
 %endif
 
 %changelog

++++++ ldb-1.1.29.tar.gz -> ldb-1.2.2.tar.gz ++++++
++++ 20494 lines of diff (skipped)



Reply via email to