- Update to version 1.18.4:
* Version 1.18.4.
* tests/connect-uri: Remove -DPIDFILE, generate it implicitly
* rust: Make the struct Cookie internal field fully public
* interop/block-status-64.c: Fix skip path under valgrind
* Revert "valgrind: Add suppression for liblzma bug"
* ocaml: Add ocamlfind -package to ocamldoc invocation
* info/can.c: Assert that 'can' variable is set
* info: Fix error message
* info: Add note that --can/--is/--has are synonyms
* info: Handle failure of call to file
* fuzzing: Add a comment that the libfuzzer test is unmaintained
* Version 1.18.3.
* tests/opt-info.c: Free string returned by nbd_get_export_name
* valgrind: Add suppression for liblzma bug
* info: Try harder to report contents from nbd-server
* copy: Add test for server without meta context support
* api: Fix nbd_can_meta_context for server that lacks meta contexts
* copy, info: Treat can_meta_context failures as unsupported
* configure: Copy bash-completions test from nbdkit
* podwrapper: Ignore check on older versions of Perl
* podwrapper: Allow = (POD directive) followed by bare URL
* podwrapper: Check for bare URLs and suggest replacement with L<> links
* podwrapper: Move long lines and cross-reference checks earlier
* tests: Missed another C test which didn't use NBDKIT
* tests: Use $NBDKIT instead of plain 'nbdkit'
* tests: Use 'source ./function.sh' consistently in this directory
* ocaml/tests: Add replacement for Bytes.set_int64_be
* ocaml/tests: Add explicit dependency on ocaml_test_config.cm{o,x}
* build: Define the minimum required version of OCaml as 4.05
OBS-URL: https://build.opensuse.org/request/show/1168942
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=33
- Update to version 1.18.0:
* CVE-2023-5215 (bsc#1215799)
* docs: Add link to nbd_get_size announcement in release notes
* docs: Add URL to list post on nbd_get_size security
* docs: Update release notes for nbd_get_size backport to 1.16.5
* docs: Finalize release notes for release tomorrow
* dump: Add more examples of running subprocesses from nbddump
* info: Tolerate missing size
* block_status: Fix assertion on bad 64-bit block status reply
* block_status: Fix assertion with large server size
* api: Sanitize sizes larger than INT64_MAX
OBS-URL: https://build.opensuse.org/request/show/1114449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=12
- Update to version 1.14.1:
* Version 1.14.1.
* copy/copy-file-to-qcow2-compressed.sh: Alternate test for compressed clusters
* ci: Expire artifacts after 1 week
* sh: Add workaround for macOS SIP DYLD_* environment sanitiser
* info: Tone down the colours in nbdinfo normal output
* tests/make-pki.sh: Use Subject Alternative Name for server certificate
* info: Improve error message when the export may be unknown to the server
* info: Add limited colourized output
* dump: Move ANSI colours to separate library under common/include
* Version 1.14.0.
* docs: Finalize release notes for 1.14
* Version 1.13.9.
* build: Document gmake instead of make on *BSD, macOS
* build: Use GNUTLS_CFLAGS when checking for <gnutls/socket.h>
* build: Remove use of $^
* copy: Skip compressed qcow2 test on older qemu-nbd
* interop: Skip interop-qemu-nbd-tls-psk if qemu-nbd doesn't support PSK
* tests: Check nbdkit supports --tls-verify-peer before using
* docs: Document signal handling
* generator: Set SO_NOSIGPIPE on sockets
* lib/crypto: Use GNUTLS_NO_SIGNAL if available
* docs: Add outline release notes for libnbd 1.14
* lib/crypto.c: Ignore TLS premature termination after write shutdown
* lib/crypto.c: Check for <gnutls/socket.h> before including
* Version 1.13.8.
* generator: Add README.state-machine.md to EXTRA_DIST
* generator: Fix reentry to REPLY.START when recv returns EAGAIN
* generator: Move state machine documentation to a README file
* tests: Avoid bash namerefs, for RHEL 7
OBS-URL: https://build.opensuse.org/request/show/1011044
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=20
* 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
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=13
- Update to version 1.9.3:
* Version 1.9.3.
* maint: Modernize configure.ac to silence autoreconf warnings
* maint: Update to latest ax_pthread.m4
* copy: Avoid potential divide by zero when source size is zero
* copy: Test corner case of copying from zero-sized source
* copy: Fix progress bar
* Update CI files once more
* ci: Allow failure when building fedora rawhide container
* ci: Consolidate refresh scripts
* macOS: Simple cloexec/nonblock fix
* info: Require can_cache for info-can.sh
* CI: Add testing on Alpine
* Update CI files
* macOS: Do not use --version_script
* One more VSOCK include fix
* m4: Remove *~ on make clean
* ci: Rework the build script to run check-valgrind properly
* fuse: move check-valgrind out from condition
* qemu-storage-daemon 5.2.0 is still broken
* Version 1.9.2.
* python: Add missing test file to EXTRA_DIST
* build: Warn about large stack frames
* configure: Add a macro to test if compiler -W warning flags work
* lib/uri.c: nbd_get_uri: Do not translate port name into service
* python: Implement nbd.aio_connect for AF_UNIX
* bash: Generate completion files during build
* info: Add percentage after field in --map --totals
* info: Add --can|--is options to test for NBD flags
* info: Add --map --totals sub-mode to display summary of map
OBS-URL: https://build.opensuse.org/request/show/914303
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=10
- Update to version 1.9.1:
* Version 1.9.1.
* ci: Update build files
* ci: Also perform `brew upgrade` on MacOS
* ci: Only run `make check` on Linux
* ci: Skip some broken tests/distro combinations
* ci: Rename build_script.sh to just build.sh
* ci: Add support for test skipping
* ci: Some build script fixes
* ci: Fix run commands in README
* ci: Add support for FreeBSD-13.0
* ci: Remove debian-10-clang build
* ci: Remove cross-compilation targets
* ci: Change docker driver and archive logs
* tests: Rename version to get-version
* tests: Do not use magic parameter for some nbdkit plugins
* tests: Require cap_sys_admin where root is required
* tests: Fix port randomisation
* tests: Enhance fuse probing
* tests: Clean up qemu-nbd detection
* tests: Fix hexdump probing
* interop: Do not test against broken qemu-storage-daemon
* fuse: Only support defined fallocate modes
* Include sys/vsock.h if linux/vm_sockets.h is not available
* info: Avoid ambiguous 'allocated' terminology in --map
* run: Unset DEBUGINFOD_URLS
* ci/cirrus: Update system before doing anything else
OBS-URL: https://build.opensuse.org/request/show/903565
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=9
- Update to version 1.8.0:
* Version 1.8.0.
* docs: Get release notes ready for a release today
* copy/copy-file-to-qcow2.sh: Skip this test for old qemu-nbd
* docs: Put links to release notes in a separate section
* docs: Add preliminary release notes for libnbd 1.8
* common/utils: Add test-vector.c (unit test for vectors) from nbdkit
* copy, fuse, info: Synchronize --help output with manual
* generator: Update copyright year in generated files.
* Update README
* Version 1.7.12.
OBS-URL: https://build.opensuse.org/request/show/898902
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=7