Accepting request 978761 from Virtualization
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/978761 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=7
This commit is contained in:
commit
24b95cd094
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:775e3e9774565bebadddc84bd5f1a53ec0ddecbe178786bd1642665ec9e2b6f0
|
||||
size 291734
|
3
libnbd-1.12.2.tar.gz
Normal file
3
libnbd-1.12.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7bbde25aa6def62e43f4db03b87359c37479a7a1da9f4feaca3cd0de4c640f3
|
||||
size 1203874
|
@ -1,3 +1,62 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 16 10:35:34 MDT 2022 - carnold@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 - carnold@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 08 16:46:29 UTC 2022 - jfehlig@suse.com
|
||||
|
||||
|
21
libnbd.spec
21
libnbd.spec
@ -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 @@ for %{name}.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--with-tls-priority=@LIBNBD,SYSTEM \
|
||||
@ -121,9 +123,6 @@ find "%{buildroot}" -name '*.la' -delete
|
||||
# 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 @@ done
|
||||
%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*
|
||||
|
Loading…
Reference in New Issue
Block a user