Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libnbd for openSUSE:Factory checked 
in at 2022-05-24 20:31:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnbd (Old)
 and      /work/SRC/openSUSE:Factory/.libnbd.new.2254 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnbd"

Tue May 24 20:31:20 2022 rev:7 rq:978761 version:1.12.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnbd/libnbd.changes    2022-02-09 
20:40:38.922583879 +0100
+++ /work/SRC/openSUSE:Factory/.libnbd.new.2254/libnbd.changes  2022-05-24 
20:31:46.854941575 +0200
@@ -1,0 +2,59 @@
+Mon May 16 10:35:34 MDT 2022 - carn...@suse.com
+
+- Update to version 1.12.2:
+  * Version 1.12.2.
+  * Fix for CVE-2022-0485 Silent data corruption when using
+    nbdcopy(1).
+  * New APIs
+    get_pread_initialize
+    set_pread_initialize
+      Control whether libnbd clears the pread buffer to avoid
+      leaking memory contents if the client does not properly
+      handle errors. These were added as part of the fix for
+      CVE-2022-0485 (Eric Blake).
+    get_request_block_size
+    set_request_block_size
+      Control whether libnbd requests block size constraints from
+      the server during negotiation (Eric Blake).
+  * Error messages about incorrect URIs in nbd_connect_uri(3) have
+    been improved to make common mistakes clearer for the user.
+  * New syntax: nbdinfo [ CMD ... ] allowing you to query the
+    properties of an NBD server directly.
+  * nbdcopy(1) new --queue-size option to control the maximum
+    size of the internal buffer (Nir Soffer).
+  * nbdcopy(1) now names the source and destination handles to
+    make it easier to understand debug output.
+  * New OCaml NBD.with_handle helper which ensures that NBD.close
+    is always called even if the inner code throws an exception.
+  * The OCaml bindings now consistently use the correct types for
+    buffer sizes everywhere (Laszlo Ersek).
+  * Several improvements and fixes to the golang bindings and
+    tests. The golang bindings have been relicensed to LGPLv2+
+    like the rest of the library and are now published as a golang
+    module at https://libguestfs.org/libnbd (Nir Soffer).
+  * The Python bindings no longer crash if you pass None in place
+    of a buffer parameter. In addition some memory leaks were fixed
+    (Eric Blake).
+  * Various memory leaks have been fixed when using the optional
+    strict_mode settings (Eric Blake).
+  * The performance of the internal vector library has been
+    improved greatly and overflow is now handled correctly
+    (Nir Soffer, Laszlo Ersek and Eric Blake).
+  * Add simple_copy and aio_copy Golang examples (Nir Soffer).
+  * Error handling was reviewed and fixed across many of the
+    example programs and documentation (Eric Blake, Nir Soffer).
+  * Simplify and optimize handling of the extents callback in
+    Golang (Nir Soffer).
+  * Golang AioBuffer was enhanced, making it safer to use, faster
+    and adding documentation (Nir Soffer).
+  * Other fixes to Tests, Documentation, and Build.
+
+-------------------------------------------------------------------
+Thu May 12 16:25:41 MDT 2022 - carn...@suse.com
+
+- Enable building the ocaml bindings for libnbd.
+  virt-v2v has added a dependency on ocaml bindings from libnbd 
+  beginning with virt-v2v version 2.0.0.
+  libnbd.spec
+
+-------------------------------------------------------------------

Old:
----
  libnbd-1.10.4.tar.bz2

New:
----
  libnbd-1.12.2.tar.gz

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

Other differences:
------------------
++++++ libnbd.spec ++++++
--- /var/tmp/diff_new_pack.Q6M2Ks/_old  2022-05-24 20:31:47.614942253 +0200
+++ /var/tmp/diff_new_pack.Q6M2Ks/_new  2022-05-24 20:31:47.618942256 +0200
@@ -19,16 +19,17 @@
 %define sover 0
 
 Name:           libnbd
-Version:        1.10.4
+Version:        1.12.2
 Release:        0
 Summary:        NBD client library in userspace
 License:        LGPL-2.1-or-later
 URL:            https://gitlab.com/nbdkit/libnbd
-Source0:        %{name}-%{version}.tar.bz2
+Source0:        %{name}-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  libtool
+BuildRequires:  ocaml-findlib
 BuildRequires:  pkg-config
 BuildRequires:  ocaml(compiler)
 BuildRequires:  perl(Pod::Man)
@@ -102,6 +103,7 @@
 %autosetup -p1
 
 %build
+%define _lto_cflags %{nil}
 autoreconf -fiv
 %configure \
     --with-tls-priority=@LIBNBD,SYSTEM \
@@ -121,9 +123,6 @@
 # Delete the golang man page since we're not distributing the bindings.
 rm %{buildroot}/%{_mandir}/man3/libnbd-golang.3*
 
-# Delete the ocaml man page. 'make install' should be fixed to not install it 
when ocaml is disabled
-rm %{buildroot}/%{_mandir}/man3/libnbd-ocaml.3*
-
 %check
 # All fuse tests fail in Koji with:
 # fusermount: entry for fuse/test-*.d not found in /etc/mtab
@@ -156,12 +155,24 @@
 %license COPYING.LIB
 %{_libdir}/libnbd.so.%{sover}
 %{_libdir}/libnbd.so.%{sover}.*
+%dir %{_libdir}/ocaml/nbd
+%{_libdir}/ocaml/nbd/META
+%{_libdir}/ocaml/nbd/NBD.cmi
+%{_libdir}/ocaml/nbd/mlnbd.cma
+%{_libdir}/ocaml/stublibs/dllmlnbd.so
+%{_libdir}/ocaml/stublibs/dllmlnbd.so.owner
 
 %files devel
 %{_includedir}/libnbd.h
 %{_libdir}/libnbd.so
 %{_libdir}/pkgconfig/libnbd.pc
+%{_libdir}/ocaml/nbd/NBD.cmx
+%{_libdir}/ocaml/nbd/mlnbd.cmxa
+%{_libdir}/ocaml/nbd/NBD.mli
+%{_libdir}/ocaml/nbd/mlnbd.a
+%{_libdir}/ocaml/nbd/libmlnbd.a
 %{_mandir}/man3/libnbd.3*
+%{_mandir}/man3/libnbd-ocaml.3.gz
 %{_mandir}/man1/libnbd-release-notes-1.*.1*
 %{_mandir}/man3/libnbd-security.3*
 %{_mandir}/man3/nbd_*.3*

Reply via email to