SHA256
1
0
forked from pool/nbdkit

29 Commits

Author SHA256 Message Date
37140badd5 Accepting request 1325485 from Virtualization
Update nbdkit to version 1.46.1

OBS-URL: https://build.opensuse.org/request/show/1325485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=26
2026-01-06 16:45:10 +00:00
13318e9f28 - Update to version 1.46.1: (jsc#PED-14625)
* Version 1.46.1.
  * docs/nbdkit_read_password.pod: Fix typo in Python description
  * server: Rewrite ugly macros in nbdkit_debug_hexdump
  * tests: Fix some copy/paste errors in debug_hexdump tests
  * file: Link to delay filter in the SEE ALSO section
  * file: Sort plugin names in SEE ALSO section
  * file: Improve flow of documentation of dir parameter
  * docs: Match all return value descriptions of nbdkit_parse_*
  * docs: Fix thinko and clarify description of nbdkit_parse_* functions
  * tests/test-ocaml-errorcodes.c: Fix typo in error messages
  * ocaml: Fix comment about parse_* functions

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=57
2026-01-05 20:34:20 +00:00
99700795b9 Accepting request 1324212 from Virtualization
Update nbdkit to version 1.46.0

OBS-URL: https://build.opensuse.org/request/show/1324212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=25
2025-12-22 21:52:28 +00:00
6d471025e5 Add installed but unpackaged files
OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=55
2025-12-22 15:53:00 +00:00
ebca390e11 Remove deprecated cacheextents filter from spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=54
2025-12-22 15:47:50 +00:00
ec71fba338 - Update to version 1.46.0:
* Version 1.46.0.
  * docs/nbdkit_debug_hexdump.pod: Add a link to nbddump page
  * docs: Update release notes for 1.46 release
  * include/nbdkit-common.h: Whitespace changes
  * include: Define and use __attribute__((malloc)) on public functions
  * include: Define and use __attribute__((nonnull))
  * include: Rename ATTRIBUTE_FORMAT_PRINTF -> NBDKIT_ATTRIBUTE_FORMAT_PRINTF
  * server: Add nbdkit_debug_hexdump function
  * file: Change windows_fd_lock into reader/writer lock
  * Version 1.45.17.
  * file: Don't allow oldest.fd to be closed during evict_writes
  * file: Rename cache=none to reduce-memory-pressure=true
  * pattern: Add upper parameter to set top 16 bits
  * file: posix_fadvise returns an errno, not the usual -1 for errors
  * file: Move %m to end of debug message
  * Version 1.45.16.
  * tests/functions.sh.in: start_nbdkit: Cache is_windows check
  * tests/functions.sh.in: Rename kill_nbdkit because this is an internal fn
  * docs/nbdkit-release-notes-1.46.pod: Minor update with latest changes
  * file: Improve debug message when extents are not supported
  * file: Print a debug message whenever we clear one of the h->can_* fields
  * file: Print extra can_* facts in debug output
  * file: Print either "can_write" or "readonly" fact in debug output
  * file: Update debug message about block devices
  * vddk: Initialize start_t to avoid Coverity warning
  * docs: Update release notes for 1.46
  * file: In debug output, print more information about the file
  * winfile: Improve error messages
  * tests/test-map-random.sh: Skip the test on Windows

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=53
2025-12-22 15:27:38 +00:00
f3474e0950 Accepting request 1315532 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1315532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=24
2025-11-05 15:18:45 +00:00
109c81df2d - Update to version 1.44.4:
* Version 1.44.4.
  * linuxdisk: Fix parsing of last line of 'du' command output
  * ocaml: Don't unregister the thread in close_wrapper
  * tests/test-ocaml-errorcodes: Check recovery after reading an error
  * tests/test_ocaml_errorcodes_plugin.ml: Call Gc.compact on unload
  * configure: Use PRINT_PKG_VERSION macro in more places
  * configure: Add new macro to print package version
  * vddk: Don't use FNM_PATHNAME when matching export parameter
  * ocaml: Don't release OCaml runtime system after caml_shutdown
  * data: Avoid passing signed int64_t to uint64_t vararg parameter
  * data: Fix comment about how uint8_t is promoted through varargs
  * build: Check for qemu-img and disable some tests if not present
  * tests/curl: Skip test if 'disk' was not created
  * server/public.c: Use common/include parse_bool function
  * common/include: Extra bool parsing into a mini-library
  * docs: Shorter title and tweaks to the description
  * vddk: Sort synopsis into alphabetical order
  * ext2: Update docs since filter supports concurrent connections
  * docs/nbdkit-probing.pod: Rearrange synopsis to match description
  * docs: Fix bolding of --log=/path option

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=51
2025-10-28 16:13:25 +00:00
5e85cc0266 Accepting request 1304462 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1304462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=23
2025-09-14 16:50:11 +00:00
d111a2b12f - Update to version 1.44.3:
* Version 1.44.3.
  * server/public.c: Use lrint() instead of implicit conversion to int
  * delay: Rearrange the options in alphabetical order in the documentation
  * docs/nbdkit-client.pod: Document attaching NBD devices to QEMU VMs
  * docs/nbdkit-client.pod: Combine and rename "LIMITATIONS" section
  * tests/test-golang-fork-warning.sh: Fix hanging test
  * tests: Use 'define script' in a few more places
  * tests: Modify make-pki and make-psk scripts to be atomic
  * tests: Define common functions for requiring TLS certs and PSK
  * tests/test-tls.sh: Remove unused export of pkidir
  * tests: Generate make-psk.sh
  * tests/make-psk.sh: Fix typo "pkstool" -> "psktool"
  * tests: Fix typo "An good" -> "A good"

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=49
2025-09-05 21:04:50 +00:00
79af62e9e4 Accepting request 1297551 from Virtualization
Update nbdkit to version 1.44.2

OBS-URL: https://build.opensuse.org/request/show/1297551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=22
2025-08-05 12:21:12 +00:00
8d01bf3a14 - Update to version 1.44.2:
* Version 1.44.2.
  * tests: Work around realpath error on BSDs
  * server: Use debug() instead of nbdkit_debug() consistently in the server
  * server/main.c: Factor out the function that parses key=value
  * server/main.c: Fix comment
  * server/main.c: Move key=value parsing to a new function
  * server/options.h: Reject empty string ("") as a short name
  * server/options.h: Add comment to is_short_name
  * server/main.c: Reject empty string as a plugin name or filter name
  * common: utils: Add const to <vector>_duplicate variable decls
  * data: Use new vector_append_array in a couple of places
  * common: utils: vector: Fix vector_uniq prototype and add a test
  * common: utils: vector: Add range functions for insert, append and remove
  * common: utils: vector: Prefer vector_reset over free()
  * common: utils: vector: Add new vector_uniq function
  * tests/functions: Factor out 2^63-1 constant used by a few tests
  * tests/test-cache-block-size.sh: Remove unused socket
  * data: Minor revisions to the documentation for clarity
  * full: Remove reference to equivalence of nbdkit-readonly-filter
  * tests/test-floppy.sh: Simplify this test
  * common/include/test-once.c: Further fixes for pthread_barrier_t
  * common/include/test-once.c: Skip test on macOS which lacks pthread_barrier_t
  * file: trim: Don't try BLKDISCARD if earlier FALLOC_FL_PUNCH_HOLE worked
  * file: zero: Print the debug message on the fallback path once
  * common: Add ONCE macro to run code only once

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=47
2025-08-04 15:45:44 +00:00
8c91c887fb Accepting request 1291134 from Virtualization
Update nbdkit to version 1.44.1

OBS-URL: https://build.opensuse.org/request/show/1291134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=21
2025-07-08 13:30:06 +00:00
e651137b54 Update spec file with missing files
OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=45
2025-07-07 19:20:43 +00:00
5f4c4e2c72 - Update to version 1.44.1:
* Version 1.44.1.
  * server: Fix .zero fallback path
  * Version 1.44.0.
  * tests: Use 'source ./functions.sh' and 'set -e/-x/-u' consistently
  * tests/test-parallel-sh.sh: Enable shell debugging options in the test
  * tests/test-vddk-real.sh: Enable nbdcopy --flush unconditionally
  * tests: Use 'set -u' in tests
  * tests: Modify some more tests to use 'define' function
  * tests/test-info-base64.sh: Remove never-used 'info-base64.out' file
  * tests/test-ddrescue-filter.sh: Various fixes and improvements
  * docs: Update release notes for upcoming 1.44
  * tests/test-exportname.sh: Refactor output file name
  * tests: Use new 'define' function for some sh plugins
  * tests/test-export-name.sh: Fix PID file name
  * Fix typo and wording in release notes
  * Version 1.43.13.
  * tests: Skip more Python tests under valgrind
  * vddk: Add support for VDDK 9.0.0.0
  * vddk: Debug the output from QueryAllocatedBlocks
  * vddk: Document unreliable extents information with local vmdk files
  * docs: Create release notes for upcoming 1.44
  * Revert "vddk: Add example of finding out how sparse VMDK files are"
  * vddk: Add example of finding out how sparse VMDK files are
  * tests/functions.sh.in: Fix typo in comment
  * vddk: Update comment and broken link
  * server: Print filter and plugin layers in debug mode
  * common/utils: Add convenient string_append_format function
  * Version 1.43.12.
  * tests: Stop leaving left-over /tmp/nbdkitXXXXXX dirs

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=44
2025-07-07 17:24:53 +00:00
144b707655 Accepting request 1289370 from Virtualization
Update nbdkit to version 1.42.5

OBS-URL: https://build.opensuse.org/request/show/1289370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=20
2025-07-01 09:35:51 +00:00
3a3205dd52 Update _servicedata to the latest git it
OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=42
2025-06-30 17:17:06 +00:00
8c681c35c7 update _service file to 1.42.5
OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=41
2025-06-30 15:12:29 +00:00
3936de5e2b - Update to version 1.42.5: (jsc#PED-12706)
* vddk: Embolden "/" in file option
  * cow: Make cow_on_read private to this file
  * docs: Remove irrelevant verbiage about how plugins define
    thread models
  * docs: filters: Change parameter name of filter .get_ready
  * filters: Remove a few unnecessary thread_model parallel
    definitions
  * tests/test-spinning-mkfs.sh: Reduce the time taken to run this
    test
  * docs: Mention recent CVE fixes
  * vddk: Debug length of extents when using -D vddk.extents=1
  * blocksize-policy: Typo fix
  * cacheextents: Mark this filter as deprecated
  * include: Move some extent functions to nbdkit-common.h
  * vddk: Display command type in command completed message
  * maint: Silence clang warning
  *  maint: Better fix for clang
  * vddk: stats: Use "us" instead of (Unicode) "µs" for
    microseconds
  * vddk: stats: Line up the columns correctly
  * curl: Remove temporary file when the plugin is unloaded
  * tests/test.c: Try harder to clean up nbdkit and temporary
    directory
  * sh: Use utils make_temporary_directory function
  * server: Try harder to clean up the random fifo dir (-U -)
  * exitwhen: Print a debug message if we exit before starting up
  * tests/test-no-parameters.sh: Fix comment to reflect reality
  * tests: Stop leaving left-over /tmp/nbdkitXXXXXX dirs
  * vddk: Update comment and broken link

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=40
2025-06-27 20:56:52 +00:00
eb372cbc24 Accepting request 1277277 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1277277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=19
2025-05-14 15:01:28 +00:00
a996f79a6a - Update to version 1.42.3
OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=38
2025-05-14 03:48:16 +00:00
124a726f7d Accepting request 1219736 from Virtualization
- spec: Cleanup 'Provides' list for the nbdkit-basic-plugins and
  nbdkit-basic-filters subpackages

OBS-URL: https://build.opensuse.org/request/show/1219736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=18
2024-10-31 15:09:42 +00:00
dcdc2ccfc8 - spec: Cleanup 'Provides' list for the nbdkit-basic-plugins and
nbdkit-basic-filters subpackages

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=36
2024-10-30 21:00:08 +00:00
1c563f174c Accepting request 1217085 from Virtualization
- Exclude tests when building for ix86

OBS-URL: https://build.opensuse.org/request/show/1217085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=17
2024-10-23 19:10:05 +00:00
135c4fb641 - Exclude tests when building for ix86
OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=34
2024-10-22 16:32:38 +00:00
259074ec00 Accepting request 1208904 from Virtualization
Updated nbdkit package for Factory. A missing 'jsc' number was added
to an old changelog entry in order to submit the same package to
Factory, SLE15-SP7:GA, and SLFO:Main.

OBS-URL: https://build.opensuse.org/request/show/1208904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=16
2024-10-20 08:04:35 +00:00
7fd2cd8045 - Update to version 1.40.4, jsc#PED-8910
OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=32
2024-10-18 17:18:23 +00:00
de75b925a9 Accepting request 1202045 from Virtualization
- Update to version 1.40.3:
  * Version 1.40.3.
  * ip: Do late filtering in list_exports as well as open
  * docs/nbdkit_shutdown.pod: Minor copyediting
  * docs/nbdkit_error.pod: Typo 'thre' -> 'there'
  * podwrapper: Check cross-references to C API pages
  * docs: Fix cross-reference to nbdkit_stdio_safe(3)
  * ocaml: Use thread-local key to register & unregister the thread
  * ocaml: Reinitialize the OCaml runtime after fork
  * tests: Refactor ocaml errorcodes plugin used in testing
- Move nbdkit-null-plugin to the nbdkit-server package

OBS-URL: https://build.opensuse.org/request/show/1202045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nbdkit?expand=0&rev=15
2024-09-20 15:11:32 +00:00
a1c032704b - Update to version 1.40.3:
* Version 1.40.3.
  * ip: Do late filtering in list_exports as well as open
  * docs/nbdkit_shutdown.pod: Minor copyediting
  * docs/nbdkit_error.pod: Typo 'thre' -> 'there'
  * podwrapper: Check cross-references to C API pages
  * docs: Fix cross-reference to nbdkit_stdio_safe(3)
  * ocaml: Use thread-local key to register & unregister the thread
  * ocaml: Reinitialize the OCaml runtime after fork
  * tests: Refactor ocaml errorcodes plugin used in testing
- Move nbdkit-null-plugin to the nbdkit-server package

OBS-URL: https://build.opensuse.org/package/show/Virtualization/nbdkit?expand=0&rev=30
2024-09-19 19:25:52 +00:00
6 changed files with 790 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="manual">
<param name="filename">nbdkit</param>
<param name="revision">v1.40.2</param>
<param name="revision">v1.46.1</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://gitlab.com/nbdkit/nbdkit.git</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.com/nbdkit/nbdkit.git</param>
<param name="changesrevision">57bd8e5de95c1d3b46108e64986e9cd2862b3495</param></service></servicedata>
<param name="changesrevision">e1d3d4106c06d3c448e59d16aa756353babe6074</param></service></servicedata>

View File

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

BIN
nbdkit-1.46.1.tar.xz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,732 @@
-------------------------------------------------------------------
Mon Jan 05 20:33:24 UTC 2026 - Charles Arnold <carnold@suse.com>
- Update to version 1.46.1: (jsc#PED-14625)
* Version 1.46.1.
* docs/nbdkit_read_password.pod: Fix typo in Python description
* server: Rewrite ugly macros in nbdkit_debug_hexdump
* tests: Fix some copy/paste errors in debug_hexdump tests
* file: Link to delay filter in the SEE ALSO section
* file: Sort plugin names in SEE ALSO section
* file: Improve flow of documentation of dir parameter
* docs: Match all return value descriptions of nbdkit_parse_*
* docs: Fix thinko and clarify description of nbdkit_parse_* functions
* tests/test-ocaml-errorcodes.c: Fix typo in error messages
* ocaml: Fix comment about parse_* functions
-------------------------------------------------------------------
Mon Dec 22 15:25:22 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.46.0:
* Version 1.46.0.
* docs/nbdkit_debug_hexdump.pod: Add a link to nbddump page
* docs: Update release notes for 1.46 release
* include/nbdkit-common.h: Whitespace changes
* include: Define and use __attribute__((malloc)) on public functions
* include: Define and use __attribute__((nonnull))
* include: Rename ATTRIBUTE_FORMAT_PRINTF -> NBDKIT_ATTRIBUTE_FORMAT_PRINTF
* server: Add nbdkit_debug_hexdump function
* file: Change windows_fd_lock into reader/writer lock
* Version 1.45.17.
* file: Don't allow oldest.fd to be closed during evict_writes
* file: Rename cache=none to reduce-memory-pressure=true
* pattern: Add upper parameter to set top 16 bits
* file: posix_fadvise returns an errno, not the usual -1 for errors
* file: Move %m to end of debug message
* Version 1.45.16.
* tests/functions.sh.in: start_nbdkit: Cache is_windows check
* tests/functions.sh.in: Rename kill_nbdkit because this is an internal fn
* docs/nbdkit-release-notes-1.46.pod: Minor update with latest changes
* file: Improve debug message when extents are not supported
* file: Print a debug message whenever we clear one of the h->can_* fields
* file: Print extra can_* facts in debug output
* file: Print either "can_write" or "readonly" fact in debug output
* file: Update debug message about block devices
* vddk: Initialize start_t to avoid Coverity warning
* docs: Update release notes for 1.46
* file: In debug output, print more information about the file
* winfile: Improve error messages
* tests/test-map-random.sh: Skip the test on Windows
* tests/test-cow-export-safe.sh: Skip this test on Windows
* tests/test-bad-{filter,plugin}-name.sh: Use $EXEEXT for Windows
* tests/test-pattern-stride.sh: Skip on Windows
* tests: Test for partitioning plugin before using
* tests/functions.sh.in: Fail 'is_windows' test if nbdkit is broken
* tests/requires.c: Skip requires_root tests on Windows
* common/replacements/win32/nbdkit-cat.h: New windmc output
* docs/nbdkit-plugin.pod: Mention errno_is_preserved in error handling section
* file: Fix incorrect error message about modes
* file: Fix misleading comment
* ci/lcitool/projects/nbdkit.yml: Add 'tar' as an explicit dependency
* tar: Better checking for errors when writing to the tar subprocess
* pattern: Implement check writes
* pattern: Add stride parameter to allow pattern at block boundaries
* pattern: Mention random and sparse-random plugins as alternatives
* ci: Update various OS versions
* ci: Update various OS versions
* add proxmox backup server plugin to OTHER_PLUGINS
* Version 1.45.15.
* server/crypto.c: Support extra server keys for hybrid PQC
* nocache, nozero, fua: Add 'foo-mode=' alias options
* server: Add --tls-priority option to allow overriding TLS priority
* configure: Print TLS priority in summary output
* Fix constness of return value of strchr
* random: Vary the sector buffer in fast mode
* tests: random: Add separate tests of the seed parameter
* random: Add fast=true (fast mode)
* random: Factor out the function that generates the random buffer
* tests/test-random-copy.sh: Fix copy mistake in comment
* extentlist: Set errno on extent failure
* tests: One more testcase for set meta context
* protocol: Allow OPT_LIST more than once
* tests: Add test of meta context negotiation corner cases
* noextents: Add unit test
* ssh: Implement get_size for block devices
* ssh: Store the file attributes in the handle
* ssh; Display server banner, SFTP version and extensions
* tests/test-readonly.sh: Modify test to use 'define' function for script
* readonly: Advertise correct status to plugin
* doc: Fix formatting typos
* vector: Fine-tune vector_reserve behavior
* sh, extentlist: Also skip blank lines
* sh, extentlist: Allow comments in extents list
* python: Include <Python.h> first
* cc: Small tweaks to SYNOPSIS section of documentation
* checkwrite: Fix two bugs in .zero
* docs: Add outline release notes for nbdkit 1.46
* todo: Suggest an Imago plugin
* todo: Suggest OVA plugin
* docs: Use markdown for TODO and SECURITY files
* data: Support base64:<BASE64> sequences in the data parameter
* data: In le/be code, split word parsing into a separate function
* data: Define new macro if we have base64 support
* Version 1.45.14
* Version 1.45.13.
* vram/todo: Add some unresolved issues to the TODO file
* linuxdisk: Simplify computation of last line of du
* vram: Obey trim FUA flag by calling vram_flush
* vram: Link to radeontop(1)
* vram: Fix trim command
* Fix mke2fs command line
* vram: Skip listing devices when no devices found in platform
* linuxdisk: Fix parsing of last line of 'du' command output
* vram: Skip listing devices when no platforms are found
* Version 1.45.12.
* ocaml: Don't unregister the thread in close_wrapper
* tests/test-ocaml-errorcodes.c: Fix unclosed parenthesis in comment
* tests/test-ocaml-errorcodes.c: Launch plugin with systemd socket activation
* tests/test-ocaml-errorcodes: Check recovery after reading an error
* tests/test_ocaml_errorcodes_plugin.ml: Call Gc.compact on unload
* configure: Use PRINT_PKG_VERSION macro in more places
* New plugin: vram (Video RAM) plugin using OpenCL
* configure: Add new macro to print package version
* Version 1.45.11.
* vddk: Don't use FNM_PATHNAME when matching export parameter
* ocaml: Don't release OCaml runtime system after caml_shutdown
* Version 1.45.10.
* server/log-fp.c: Fix --name (process name) in error messages
* ocaml: Don't call caml_shutdown on unload
* data: Check number and type of parameters to expr() function
* data: Avoid passing signed int64_t to uint64_t vararg parameter
* data: Fix comment about how uint8_t is promoted through varargs
* Version 1.45.9.
* build: Check for qemu-img and disable some tests if not present
* tests/curl: Skip test if 'disk' was not created
* server/public.c: Use common/include parse_bool function
* common/include: Extra bool parsing into a mini-library
* docs: Shorter title and tweaks to the description
* Version 1.45.8.
* indexed-gzip: Include <stddef.h> to get ptrdiff_t
* indexed-gzip: Move variable decl outside for loop
* vddk: Sort synopsis into alphabetical order
* ext2: Update docs since filter supports concurrent connections
* docs: Move --short/--long-options to right place in synopsis
* docs: Document how to probe for server command line options
* server: Document --long-options and --short-options
* docs/nbdkit-probing.pod: Rearrange synopsis to match description
* Version 1.45.7.
* server: Add --name parameter
* docs: Fix bolding of --log=/path option
* tests/test-python-plugin.py: Remove unused variables
* python: Add binding for nbdkit_parse_bool
* tests/test-python-plugin.py: Add name of test for test_parse_size
* Version 1.45.6.
* server/public.c: Use lrint() instead of implicit conversion to int
* indexed-gzip: Fixes for 32-bit support
* Version 1.45.5.
* indexed-gzip: More editorially neutral content
* Introduce index-gzip filter
* Move unmodified index build/extract to ig_zran.h/c
* Add serialize/deserialize fn for zran structs
* Restructure zran.h, zran.c for use as library
* Import zran.c/zran.h v1.6 (2 Aug 2024) from zlib
* delay: Add new delay-trigger option
* delay: Rearrange the options in alphabetical order in the documentation
* tests/test-map.sh: Fix "nbd_pread: count cannot be 0: Invalid argument"
* Version 1.45.4.
* docs/nbdkit-client.pod: Document attaching NBD devices to QEMU VMs
* docs/nbdkit-client.pod: Combine and rename "LIMITATIONS" section
* tests/test-golang-fork-warning.sh: Fix hanging test
* tests: Use 'define script' in a few more places
* tests: Modify make-pki and make-psk scripts to be atomic
* tests: Define common functions for requiring TLS certs and PSK
* tests/test-tls.sh: Remove unused export of pkidir
* tests: Generate make-psk.sh
* tests/make-psk.sh: Fix typo "pkstool" -> "psktool"
* tests: Fix typo "An good" -> "A good"
* map: Implement map-size feature
* tests/test-at-file.sh: Fix srcdir != builddir
* tests: Work around realpath error on BSDs
* Version 1.45.3.
* server: Use debug() instead of nbdkit_debug() consistently in the server
* map: Refer to @PATH syntax in documentation
* server: Add @PATH syntax
* server/main.c: Factor out the function that parses key=value
* server/main.c: Fix comment
* server/main.c: Move key=value parsing to a new function
* server/options.h: Reject empty string ("") as a short name
* server/options.h: Add comment to is_short_name
* server/main.c: Reject empty string as a plugin name or filter name
* common: utils: Add const to <vector>_duplicate variable decls
* data: Use new vector_append_array in a couple of places
* map: Use new vector_append_array function instead of loop
* common: utils: vector: Fix vector_uniq prototype and add a test
* common: utils: vector: Add range functions for insert, append and remove
* common: utils: vector: Prefer vector_reset over free()
* Version 1.45.2.
* New filter: map for remapping arbitrary blocks
* common: utils: vector: Add new vector_uniq function
* tests/functions: Factor out 2^63-1 constant used by a few tests
* tests/test-cache-block-size.sh: Remove unused socket
* data: Minor revisions to the documentation for clarity
* full: Remove reference to equivalence of nbdkit-readonly-filter
* tests/test-floppy.sh: Simplify this test
* count: Add an example to the documentation
* common/include/test-once.c: Further fixes for pthread_barrier_t
* common/include/test-once.c: Skip test on macOS which lacks pthread_barrier_t
* Version 1.45.1.
* count: Clarify documentation
* New filter: nbdkit-count-filter: count bytes read, written etc.
* file: trim: Don't try BLKDISCARD if earlier FALLOC_FL_PUNCH_HOLE worked
* file: zero: Print the debug message on the fallback path once
* common: Add ONCE macro to run code only once
* server: Fix .zero fallback path
* Remove deprecated cacheextents filter
-------------------------------------------------------------------
Tue Oct 28 16:12:09 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.44.4:
* Version 1.44.4.
* linuxdisk: Fix parsing of last line of 'du' command output
* ocaml: Don't unregister the thread in close_wrapper
* tests/test-ocaml-errorcodes: Check recovery after reading an error
* tests/test_ocaml_errorcodes_plugin.ml: Call Gc.compact on unload
* configure: Use PRINT_PKG_VERSION macro in more places
* configure: Add new macro to print package version
* vddk: Don't use FNM_PATHNAME when matching export parameter
* ocaml: Don't release OCaml runtime system after caml_shutdown
* data: Avoid passing signed int64_t to uint64_t vararg parameter
* data: Fix comment about how uint8_t is promoted through varargs
* build: Check for qemu-img and disable some tests if not present
* tests/curl: Skip test if 'disk' was not created
* server/public.c: Use common/include parse_bool function
* common/include: Extra bool parsing into a mini-library
* docs: Shorter title and tweaks to the description
* vddk: Sort synopsis into alphabetical order
* ext2: Update docs since filter supports concurrent connections
* docs/nbdkit-probing.pod: Rearrange synopsis to match description
* docs: Fix bolding of --log=/path option
-------------------------------------------------------------------
Fri Sep 05 21:07:32 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.44.3:
* Version 1.44.3.
* server/public.c: Use lrint() instead of implicit conversion to int
* delay: Rearrange the options in alphabetical order in the documentation
* docs/nbdkit-client.pod: Document attaching NBD devices to QEMU VMs
* docs/nbdkit-client.pod: Combine and rename "LIMITATIONS" section
* tests/test-golang-fork-warning.sh: Fix hanging test
* tests: Use 'define script' in a few more places
* tests: Modify make-pki and make-psk scripts to be atomic
* tests: Define common functions for requiring TLS certs and PSK
* tests/test-tls.sh: Remove unused export of pkidir
* tests: Generate make-psk.sh
* tests/make-psk.sh: Fix typo "pkstool" -> "psktool"
* tests: Fix typo "An good" -> "A good"
-------------------------------------------------------------------
Mon Aug 04 15:42:29 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.44.2:
* Version 1.44.2.
* tests: Work around realpath error on BSDs
* server: Use debug() instead of nbdkit_debug() consistently in the server
* server/main.c: Factor out the function that parses key=value
* server/main.c: Fix comment
* server/main.c: Move key=value parsing to a new function
* server/options.h: Reject empty string ("") as a short name
* server/options.h: Add comment to is_short_name
* server/main.c: Reject empty string as a plugin name or filter name
* common: utils: Add const to <vector>_duplicate variable decls
* data: Use new vector_append_array in a couple of places
* common: utils: vector: Fix vector_uniq prototype and add a test
* common: utils: vector: Add range functions for insert, append and remove
* common: utils: vector: Prefer vector_reset over free()
* common: utils: vector: Add new vector_uniq function
* tests/functions: Factor out 2^63-1 constant used by a few tests
* tests/test-cache-block-size.sh: Remove unused socket
* data: Minor revisions to the documentation for clarity
* full: Remove reference to equivalence of nbdkit-readonly-filter
* tests/test-floppy.sh: Simplify this test
* common/include/test-once.c: Further fixes for pthread_barrier_t
* common/include/test-once.c: Skip test on macOS which lacks pthread_barrier_t
* file: trim: Don't try BLKDISCARD if earlier FALLOC_FL_PUNCH_HOLE worked
* file: zero: Print the debug message on the fallback path once
* common: Add ONCE macro to run code only once
-------------------------------------------------------------------
Mon Jul 07 17:23:58 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.44.1:
* Version 1.44.1.
* server: Fix .zero fallback path
* Version 1.44.0.
* tests: Use 'source ./functions.sh' and 'set -e/-x/-u' consistently
* tests/test-parallel-sh.sh: Enable shell debugging options in the test
* tests/test-vddk-real.sh: Enable nbdcopy --flush unconditionally
* tests: Use 'set -u' in tests
* tests: Modify some more tests to use 'define' function
* tests/test-info-base64.sh: Remove never-used 'info-base64.out' file
* tests/test-ddrescue-filter.sh: Various fixes and improvements
* docs: Update release notes for upcoming 1.44
* tests/test-exportname.sh: Refactor output file name
* tests: Use new 'define' function for some sh plugins
* tests/test-export-name.sh: Fix PID file name
* Fix typo and wording in release notes
* Version 1.43.13.
* tests: Skip more Python tests under valgrind
* vddk: Add support for VDDK 9.0.0.0
* vddk: Debug the output from QueryAllocatedBlocks
* vddk: Document unreliable extents information with local vmdk files
* docs: Create release notes for upcoming 1.44
* Revert "vddk: Add example of finding out how sparse VMDK files are"
* vddk: Add example of finding out how sparse VMDK files are
* tests/functions.sh.in: Fix typo in comment
* vddk: Update comment and broken link
* server: Print filter and plugin layers in debug mode
* common/utils: Add convenient string_append_format function
* Version 1.43.12.
* tests: Stop leaving left-over /tmp/nbdkitXXXXXX dirs
* tests/test-no-parameters.sh: Fix comment to reflect reality
* exitwhen: Print a debug message if we exit before starting up
* server: Try harder to clean up the random fifo dir (-U -)
* sh: Use utils make_temporary_directory function
* tests/test.c: Try harder to clean up nbdkit and temporary directory
* curl: Remove temporary file when the plugin is unloaded
* vddk: Fix VDDK version in error message and some comments
* vddk: stats: Collect elapsed time for ReadAsync and WriteAsync
* vddk: stats: Record the byte count of each QueryAllocatedBlocks call
* vddk: stats: Line up the columns correctly
* vddk: stats: Use "us" instead of (Unicode) "µs" for microseconds
* Version 1.43.11.
* maint: Better fix for clang
* blocksize-policy: Add blocksize-error-policy=strict-error
* server: Align the truncation of large block_status results
* blocksize-policy: Round extents to match minimum alignment
* extents: Handle unaligned tail in nbdkit_extents_aligned
* blocksize-policy: Document use with truncate filter
* data: Allow scaling suffixes on @decimal
* human-size: Add human_size_parse_substr
* blocksize-policy: Always flag unaligned block_status calls
* maint: Silence clang warning
* file: Add offset/count to error messages
* file: Add the filename (or equivalent) to error messages
* file: Save the filename or equivalent in the file handle
* Version 1.43.10.
* vddk: Pre-cache the extents for readonly connections
* vddk: Unconditionally test QueryAllocatedBlocks
* vddk: Move minimum version of VDDK to 6.7
* vddk: Cache the readonly flag from the .open call in the handle
* vddk: Display command type in command completed message
* include: Move some extent functions to nbdkit-common.h
* cacheextents: Mark this filter as deprecated
* blocksize-policy: Typo fix
* vddk: Debug length of extents when using -D vddk.extents=1
* ext2: Support concurrent connections
* Version 1.43.9.
* docs: Mention recent CVE fixes
* tests/test-spinning-mkfs.sh: Reduce the time taken to run this test
* ci: Update generated files
* ci: Remove fedora-40 and add fedora-42
* ci: Install python3-packaging for the CI tests
* New filter: openonce - open the underlying plugin once (per export)
* server: filters: Pass the underlying thread model to .thread_model
* filters: Remove a few unnecessary thread_model parallel definitions
* docs: filters: Change parameter name of filter .get_ready
* docs: Remove irrelevant verbiage about how plugins define thread models
* server: Move saved exportname from connection to context
* docs: Describe which filters are currently export safe
* cow: Destroy blk->lock on exit
* Version 1.43.8.
* cow: Replace singleton overlay with a mapping of export name -> overlay
* cow: Allow there to be multiple block overlays
* cow: Make cow_on_read private to this file
* vddk: Document export parameter
* vddk: Embolden "/" in file option
* vddk: Add export parameter
* todo: Remove references to libnfs and gluster
* Version 1.43.7.
* blocksize: Fix 32-bit overflow in .extents [CVE-2025-47712]
* server: Fix off-by-one for maximum block_status length [CVE-2025-47711]
* file: Change confusing comment
* file: Implement BLKDISCARD for trim
* file: Don't ignore most errors on trim
* file: Fix check for errno EOPNOTSUPP
* torrent: Implement --dump-plugin
* torrent: Implement cache (prefetch)
* Version 1.43.6.
* Update TODO with file plugin vs block device issues
* file: zero: Use BLKDISCARD method if may_trim is set
* file: zero: Document implicit order that we will try zeroing methods
* file: Rename h->can_zeroout to h->can_blkzeroout to reflect ioctl
* file: Fix do_fallocate debugging on Alpine
* file: Fix do_fallocate debugging on Alpine
* rust: Fix clippy uninlined-format-args warning
* file: Fix comment style in a few places
* file: Add more debugging when -D file.zero=1 is used
* file: Fix minor typo in debug message
* maint: Spelling fixes
* curl: add proxy-cafile and proxy-capath
* curl: Remove extra whitespace character
* tests: More robust check for nbdsh --base-allocation
* ci: Update to latest
* docs: Explain how debug flags work
* tests/test-layers.c: Replace realloc with nbdkit string type
* docs: Simplify and clarify the standard text about magic parameters
* docs: Use POD macro for all magic parameters
* tests/test-golang-fork-warning.sh: Don't use nbdinfo in test
* nfs: Set libnfs context to readonly if readonly=true
* Version 1.43.5.
* New plugin: NFS plugin using libnfs
* curl: Move AC_DEFINE upwards
* tests/test-pycodestyle.sh: Print paths relative to top source directory
* python: Remove unneeded global statements
* random, sparse-random: Link to nbdkit-pattern-plugin
* info: Add new method 'version'
* fua: Add an example of using flush-on-close=true
* fua: Small whitespace and comment changes
* fua: Use common code for flag logic
* fua: Add flush-on-close flag
* file: Improve documentation for cache=none
* file: Annotate a few local variables with 'const'
* server: Turn flush into a controlpath message
* Version 1.43.4.
* file: Document implicit assumption about eviction windows
* file: Reduce the size of the lock around write eviction
* file: Hard error if sync_file_range fails
* tests: Add more generic tests of file cache=none
* Version 1.43.3.
* tests: Add tests of file plugin cache=none
* file: If sync_file_range fails to start, don't add window to list
* file: Add debugging if sync_file_range / posix_fadvise fails
* Version 1.43.2.
* tests: Add test-golang-fork-warning.sh to EXTRA_DIST if !HAVE_GOLANG
* tests: Add test file to EXTRA_DIST even if !HAVE_LZIP
* common/protocol: Add a test of protocol string conversion functions
* common/protocol: Use thread-local storage for "unknown" string
* common/protocol/protostrings.h: Fix name_of_nbd_reply prototype
* protostrings: Use correct path to nbd-protocol.h
* docs: Add a note to --log entry about using nbdkit_error
* docs/nbdkit_error.pod: Describe interaction with --log option
* docs: Remove incorrect information about syslog
* docs: Simplify documentation for --log option
* server: Add --log=default
* server/log.c: Fix comment
* tests: Test that --log=/path appends to the log file
* golang: Issue a warning if we detect fork in golang plugin
* golang: Don't use '()' for no-argument C functions
* server: Add --log=/path option to log to a file
* server/log-fp.c: Flush the message after writing
* server: Make log-stderr function more generic
* build: Create sections in the configure file
* build: Add heading about basic build environment
* Version 1.43.1.
* build: Only use ANSI colour sequences if stdout is a terminal
* build: Embolden headings in configure output
* build: Mark libfuzzer as a developer only option
* build: Colourize features
* build: Default USDT probes to off on FreeBSD and macOS
* rust: Disable clippy warnings unless --enable-gcc-warnings is used
* server: Allow user statically defined tracing (USDT) probes
-------------------------------------------------------------------
Fri Jun 27 14:20:21 MDT 2025 - carnold@suse.com
- Update to version 1.42.5: (jsc#PED-12706)
* vddk: Embolden "/" in file option
* cow: Make cow_on_read private to this file
* docs: Remove irrelevant verbiage about how plugins define
thread models
* docs: filters: Change parameter name of filter .get_ready
* filters: Remove a few unnecessary thread_model parallel
definitions
* tests/test-spinning-mkfs.sh: Reduce the time taken to run this
test
* docs: Mention recent CVE fixes
* vddk: Debug length of extents when using -D vddk.extents=1
* blocksize-policy: Typo fix
* cacheextents: Mark this filter as deprecated
* include: Move some extent functions to nbdkit-common.h
* vddk: Display command type in command completed message
* maint: Silence clang warning
* maint: Better fix for clang
* vddk: stats: Use "us" instead of (Unicode) "µs" for
microseconds
* vddk: stats: Line up the columns correctly
* curl: Remove temporary file when the plugin is unloaded
* tests/test.c: Try harder to clean up nbdkit and temporary
directory
* sh: Use utils make_temporary_directory function
* server: Try harder to clean up the random fifo dir (-U -)
* exitwhen: Print a debug message if we exit before starting up
* tests/test-no-parameters.sh: Fix comment to reflect reality
* tests: Stop leaving left-over /tmp/nbdkitXXXXXX dirs
* vddk: Update comment and broken link
* tests/functions.sh.in: Fix typo in comment
* vddk: Document unreliable extents information with local vmdk
files
* vddk: Debug the output from QueryAllocatedBlocks
* vddk: Add support for VDDK 9.0.0.0
* tests: Skip more Python tests under valgrind
-------------------------------------------------------------------
Tue May 13 20:51:35 UTC 2025 - jfehlig@suse.com
- Update to version 1.42.3:
* Version 1.42.3.
* file: Change confusing comment
* file: Implement BLKDISCARD for trim
* file: Don't ignore most errors on trim
* file: Fix check for errno EOPNOTSUPP
* Update TODO with file plugin vs block device issues
* file: zero: Use BLKDISCARD method if may_trim is set
* file: zero: Document implicit order that we will try zeroing methods
* file: Rename h->can_zeroout to h->can_blkzeroout to reflect ioctl
* file: Fix do_fallocate debugging on Alpine
* rust: Fix clippy uninlined-format-args warning
* file: Fix comment style in a few places
* file: Add more debugging when -D file.zero=1 is used
* file: Fix minor typo in debug message
* curl: Remove extra whitespace character
* tests: More robust check for nbdsh --base-allocation
* ci: Update to latest
* docs: Explain how debug flags work
* tests/test-layers.c: Replace realloc with nbdkit string type
* docs: Simplify and clarify the standard text about magic parameters
* docs: Use POD macro for all magic parameters
* curl: Move AC_DEFINE upwards
* tests/test-pycodestyle.sh: Print paths relative to top source directory
* python: Remove unneeded global statements
* random, sparse-random: Link to nbdkit-pattern-plugin
* file: Improve documentation for cache=none
* file: Annotate a few local variables with 'const'
* server: Turn flush into a controlpath message
* file: Document implicit assumption about eviction windows
* file: Reduce the size of the lock around write eviction
* file: Hard error if sync_file_range fails
* file: If sync_file_range fails to start, don't add window to list
* file: Add debugging if sync_file_range / posix_fadvise fails
* blocksize: Fix 32-bit overflow in .extents [CVE-2025-47712]
bsc#1243108
* server: Fix off-by-one for maximum block_status length [CVE-2025-47711]
bsc#1243110
-------------------------------------------------------------------
Tue May 06 22:56:00 UTC 2025 - jfehlig@suse.com
- Update to version 1.42.2:
* Version 1.42.2.
* tests: Add test file to EXTRA_DIST even if !HAVE_LZIP
* common/protocol: Add a test of protocol string conversion functions
* common/protocol: Use thread-local storage for "unknown" string
* common/protocol/protostrings.h: Fix name_of_nbd_reply prototype
* protostrings: Use correct path to nbd-protocol.h
* docs: Add a note to --log entry about using nbdkit_error
* docs/nbdkit_error.pod: Describe interaction with --log option
* docs: Remove incorrect information about syslog
* docs: Simplify documentation for --log option
* server/log.c: Fix comment
* golang: Don't use '()' for no-argument C functions
* build: Mark libfuzzer as a developer only option
* rust: Disable clippy warnings unless --enable-gcc-warnings is used
* ci: Move FreeBSD from Tcl 8.7 to 9.0
* ci: Drop alpine-319, add alpine-321
* Version 1.42.1.
* golang: Add a note about breakage when plugins run in the background
* README: New location for Wine AF_UNIX patches
* build: Disable -Wunused-command-line-argument on FreeBSD
* gitlab: make rust jobs honour the gitlab workflow rules
* docs/nbdkit-release-notes-1.42.pod: Add release date
* Version 1.42.0.
* golang: Support GCC 15
* ci: Update FreeBSD builds
* docs: Small revisions to the release notes
* server: Add vsock_option=yes|no to --dump-config output
* openbsd: curl: Include pthread.h
* server: Define timeout_option=yes|no in --dump-config output
* openbsd: server: Fix detection of --timeout option
* docs: Add outline release notes for nbdkit 1.42
* Revert "build: Disable -Wunused-command-line-argument on FreeBSD"
* ci: In rawhide-clang test, use clang++ to compile C++ (eg. filters/stats)
* build: Disable -Wunused-command-line-argument on FreeBSD
* rust: Fix "overindented" list in comment
* rust: Declare explicit extern "C" API
* curl: Fix configure-time checks for enums
* ci: Update to latest
* Version 1.41.9.
* vddk: do_extents: Avoid reading partial chunk beyond the end of the disk
* vddk: do_extents: Exit the function if we hit req_one condition
* vddk: do_extents: Mark some local variables const
* vddk: Cache the disk size in the handle
* vddk: Include <stdbool.h>
* curl: Remove unnecessary checks for CURL_SSLVERSION_MAX_* macros
* docs: Link to a couple of "alternate" plugins
* python: examples: Fix comment above API_VERSION constant
* TODO: Document problems with -p 0 option and picking a port
* tcl: Fix for Tcl 9.0 compatibility
* Version 1.41.8.
* build: Use 'tar ztf' instead of 'zcat | tar'
* ci: Dump out failed log files when the tests fail
* tests/test-ocaml-dump-plugin.sh: Temporarily skip test on FreeBSD
* ci/build.sh: Set os_id on macOS which lacks /etc/os-release
* ci: Don't skip tests on non-Linux
* tests: Check that C tests using requires/skip include "requires.h"
* tests: Add requires.[ch] as dependencies of test-ocaml
* tests: Skip all OCaml tests on macOS
* server: Turn synopsis.c into a standalone top level source file
* server: Add description of nbdkit to --help output
* tmpdisk: Miscellaneous documentation clean-ups
* tmpdisk: Link to nbdkit-ondemand-plugin in SEE ALSO section
* tests: Add 'requires_root' C function
* tests: Add 'requires_not_valgrind'
* tests: requires: Add unconditional skip_because helper function
* tests: Use 'requires.c' code from libnbd to test requirements
* tests: tmpdisk: Check for mkfs and truncate before running these tests
* tmpdisk: Use configure-time truncate command
* Version 1.41.7.
* ondemand: Miscellaneous documentation clean-ups
* ondemand: Implement share=true option
* tests/test-ondemand-locking.sh: Fail if second connection succeeds
* ondemand: Filter out correct invalid exports in .list_exports
* ondemand: Refactor exportname checking
* ocaml: Further updates to ocamldoc documentation
* ocaml: Split OCaml 5 includes (eg. -I +unix) from OCAML_PLUGIN_LIBRARIES
* ocaml: Improve ocamldoc documentation
* plugins/ocaml/NBDKit.ml: Sort bindings into order
* ocaml: Don't call abort if caml_c_thread_unregister fails
* ocaml: Use real addresses instead of (void*)<constant>s
* evil: Link to nbdkit_parse_probability(3)
* Version 1.41.6.
* plugins/rust: use CStr literals for static strings
* ci: Skip rust on platforms with rustc < 1.77.0
* ci: Update CI files
* docs/nbdkit-service.pod: Add KeepAlive and User/Group settings
* tests/test-ondemand.sh: Refine qemu exportname skips
* server: Add --keepalive option
* tests/test-ondemand.sh: Work around bug in qemu 9.1 exportname handling
* Version 1.41.5.
* ondemand: Serialize the .open method
* ondemand: Delete the disk if creation fails
* ondemand, tmpdisk: Don't allow parameters containing '-'
* ondemand: Be less strict about filenames
* lzip: Include <config.h>
* lzip: Fix memory leak
* lzip: Use vector
* tests: bzip2, curl, ext2, file, gzip, lzip, memory, offset, xz: Don't leak 'data' returned by guestfs_cat
* Add tests for the lzip filter
* Introduce lzip-filter
* Fix documented default value for xz-max-depth
* bzip2: Fix version where this filter first appeared
* Version 1.41.4.
* tests: old-plugins: Use self-built 1.38.4 plugin instead of Fedora
* filters/qcow2dec/qcow2dec.c: Fix format specifier in error message
* tests: old-plugins: Fix srcdir != builddir
* tests: old-plugins: Discrete tests and test using nbdinfo
* tests: old-plugins: Rename tests so version doesn't contain '-'
* tests: old-plugins: Add i686 plugin from nbdkit 1.38.4
* tests/test-old-plugins.sh: Test --version, --help and --dump-plugin
* tests: old-plugins: Add plugin from nbdkit 1.38.4
* tests: Rearrange some filter tests in alphabetical order
* Version 1.41.3.
* time-limit: Replace ESHUTDOWN error on Windows
* New filter: nbdkit-time-limit-filter
* tests: Skip test-timeout-cancel when --timeout fails
* tests: Test that the timeout gets cancelled after NBD negotiation
* docs: Minor corrections to --timeout documentation
* server: Implement --timeout option
* server: Clear conn->magic when freeing a connection
* Version 1.41.2.
* ip: Do late filtering in list_exports as well as open
* docs/nbdkit_shutdown.pod: Minor copyediting
* docs/nbdkit_error.pod: Typo 'thre' -> 'there'
* podwrapper: Check cross-references to C API pages
* docs: Fix cross-reference to nbdkit_stdio_safe(3)
* ocaml: Use thread-local key to register & unregister the thread
* ocaml: Reinitialize the OCaml runtime after fork
* tests: Refactor ocaml errorcodes plugin used in testing
* Version 1.41.1.
* vddk: Print the default list of transports in --dump-plugin output
-------------------------------------------------------------------
Wed Oct 30 20:43:40 UTC 2024 - James Fehlig <jfehlig@suse.com>
- spec: Cleanup 'Provides' list for the nbdkit-basic-plugins and
nbdkit-basic-filters subpackages
-------------------------------------------------------------------
Tue Oct 22 16:31:01 UTC 2024 - James Fehlig <jfehlig@suse.com>
- Exclude tests when building for ix86
-------------------------------------------------------------------
Fri Oct 18 17:14:37 UTC 2024 - jfehlig@suse.com
- Update to version 1.40.4:
* Version 1.40.4.
* ci: Update CI files
* docs/nbdkit-service.pod: Add KeepAlive and User/Group settings
* tests/test-ondemand.sh: Refine qemu exportname skips
* tests/test-ondemand.sh: Work around bug in qemu 9.1 exportname handling
* ondemand: Serialize the .open method
* ondemand: Delete the disk if creation fails
* ondemand, tmpdisk: Don't allow parameters containing '-'
* ondemand: Be less strict about filenames
* tests: bzip2, curl, ext2, file, gzip, memory, offset, xz: Don't leak 'data' returned by guestfs_cat
* Fix documented default value for xz-max-depth
* bzip2: Fix version where this filter first appeared
* filters/qcow2dec/qcow2dec.c: Fix format specifier in error message
* tests: old-plugins: Fix srcdir != builddir
* tests: Rearrange some filter tests in alphabetical order
* server: Clear conn->magic when freeing a connection
* jsc#PED-8910
-------------------------------------------------------------------
Thu Sep 19 19:19:43 UTC 2024 - jfehlig@suse.com
- Update to version 1.40.3:
* Version 1.40.3.
* ip: Do late filtering in list_exports as well as open
* docs/nbdkit_shutdown.pod: Minor copyediting
* docs/nbdkit_error.pod: Typo 'thre' -> 'there'
* podwrapper: Check cross-references to C API pages
* docs: Fix cross-reference to nbdkit_stdio_safe(3)
* ocaml: Use thread-local key to register & unregister the thread
* ocaml: Reinitialize the OCaml runtime after fork
* tests: Refactor ocaml errorcodes plugin used in testing
- Move nbdkit-null-plugin to the nbdkit-server package
-------------------------------------------------------------------
Tue Sep 03 17:55:21 UTC 2024 - jfehlig@suse.com
@@ -696,6 +1425,7 @@ Sun Jul 10 22:10:54 UTC 2022 - jfehlig@suse.com
* ocaml: Add valgrind suppression for OCaml 4.14 bug
* perl: Move GCC diagnostic ignored earlier
* docs/nbdkit-protocol.pod: block size support was added in 1.30
* jsc#ECO-3633
- Enable linuxdisk plugin
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package nbdkit
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,10 +24,10 @@
# omits any tests that run full qemu, since running qemu under TCG is
# often broken on non-x86_64 arches.
%global complete_test_arches x86_64
%global broken_test_arches %{arm} aarch64
%global broken_test_arches %{arm} aarch64 %{ix86}
Name: nbdkit
Version: 1.40.2
Version: 1.46.1
Release: 0
Summary: Network Block Device server
License: BSD-3-Clause
@@ -101,7 +101,10 @@ reading the nbdkit(1) and nbdkit-plugin(3) manual pages.
Summary: Network Block Device server
%description server
This package contains the %{name} server with no plugins or filters.
This package contains the %{name} server with only the null plugin
and no filters. To install a basic set of plugins and filters you
need to install "nbdkit-basic-plugins", "nbdkit-basic-filters" or
the metapackage "nbdkit".
%package basic-plugins
Summary: Basic plugins for %{name}
@@ -113,7 +116,6 @@ Provides: %{name}-floppy-plugin = %{version}-%{release}
Provides: %{name}-full-plugin = %{version}-%{release}
Provides: %{name}-info-plugin = %{version}-%{release}
Provides: %{name}-memory-plugin = %{version}-%{release}
Provides: %{name}-null-plugin = %{version}-%{release}
Provides: %{name}-ondemand-plugin = %{version}-%{release}
Provides: %{name}-ones-plugin = %{version}-%{release}
Provides: %{name}-partitioning-plugin = %{version}-%{release}
@@ -122,7 +124,6 @@ Provides: %{name}-random-plugin = %{version}-%{release}
Provides: %{name}-sh-plugin = %{version}-%{release}
Provides: %{name}-sparse-random-plugin = %{version}-%{release}
Provides: %{name}-split-plugin = %{version}-%{release}
Provides: %{name}-streaming-plugin = %{version}-%{release}
Provides: %{name}-zero-plugin = %{version}-%{release}
%description basic-plugins
@@ -171,9 +172,18 @@ This package contains example plugins for %{name}.
# The plugins below have non-trivial dependencies are so are
# packaged separately.
%package cdi-plugin
Summary: Containerized Data Import plugin for %{name}
Requires: %{name}-server = %{version}-%{release}
@@ -191,9 +201,18 @@ Requires: %{name}-server = %{version}-%{release}
This package contains cURL (HTTP/FTP) support for %{name}.
# In theory this is noarch, but because plugins are placed in _libdir
# which varies across architectures, RPM does not allow this.
%package gcs-plugin
Summary: Gooogle Cloud Storage plugin %{name}
Requires: %{name}-python-plugin = %{version}-%{release}
@@ -269,7 +288,6 @@ Requires: %{name}-server = %{version}-%{release}
Provides: %{name}-blocksize-filter = %{version}-%{release}
Provides: %{name}-blocksize-policy-filter = %{version}-%{release}
Provides: %{name}-cache-filter = %{version}-%{release}
Provides: %{name}-cacheextents-filter = %{version}-%{release}
Provides: %{name}-checkwrite-filter = %{version}-%{release}
Provides: %{name}-cow-filter = %{version}-%{release}
Provides: %{name}-ddrescue-filter = %{version}-%{release}
@@ -281,10 +299,12 @@ Provides: %{name}-exitwhen-filter = %{version}-%{release}
Provides: %{name}-exportname-filter = %{version}-%{release}
Provides: %{name}-extentlist-filter = %{version}-%{release}
Provides: %{name}-fua-filter = %{version}-%{release}
Provides: %{name}-gzip-filter = %{version}-%{release}
Provides: %{name}-ip-filter = %{version}-%{release}
Provides: %{name}-limit-filter = %{version}-%{release}
Provides: %{name}-log-filter = %{version}-%{release}
Provides: %{name}-luks-filter = %{version}-%{release}
Provides: %{name}-multi-conn-filter = %{version}-%{release}
Provides: %{name}-nocache-filter = %{version}-%{release}
Provides: %{name}-noextents-filter = %{version}-%{release}
Provides: %{name}-nofilter-filter = %{version}-%{release}
@@ -296,11 +316,14 @@ Provides: %{name}-pause-filter = %{version}-%{release}
Provides: %{name}-protect-filter = %{version}-%{release}
Provides: %{name}-rate-filter = %{version}-%{release}
Provides: %{name}-readahead-filter = %{version}-%{release}
Provides: %{name}-readonly-filter = %{version}-%{release}
Provides: %{name}-retry-filter = %{version}-%{release}
Provides: %{name}-retry-request-filter = %{version}-%{release}
Provides: %{name}-rotational-filter = %{version}-%{release}
Provides: %{name}-scan-filter = %{version}-%{release}
Provides: %{name}-stats-filter = %{version}-%{release}
Provides: %{name}-spinning-filter = %{version}-%{release}
Provides: %{name}-swab-filter = %{version}-%{release}
Provides: %{name}-time-limit-filter = %{version}-%{release}
Provides: %{name}-tls-fallback-filter = %{version}-%{release}
Provides: %{name}-truncate-filter = %{version}-%{release}
@@ -315,8 +338,6 @@ nbdkit-blocksize-policy-filter Set block size constraints and policy.
nbdkit-cache-filter Server-side cache.
nbdkit-cacheextents-filter Caches extents.
nbdkit-checkwrite-filter Checks writes match contents of plugin.
nbdkit-cow-filter Copy-on-write overlay for read-only plugins.
@@ -373,20 +394,22 @@ nbdkit-rate-filter Limits bandwidth by connection or server.
nbdkit-readahead-filter Prefetches data when reading sequentially.
nbdkit-readonly-filter Switch a plugin between read-only and writable.
nbdkit-readonly-filter Switch a plugin between read-only and writable.
nbdkit-retry-filter Reopens connection on error.
nbdkit-retry-request-filter Retries single requests if they fail.
nbdkit-rotational-filter Set if a plugin is rotational or not.
nbdkit-rotational-filter Set if a plugin is rotational or not.
nbdkit-scan-filter Prefetch data ahead of sequential reads.
nbdkit-spinning-filter Add seek delays to simulate a spinning hard disk.
nbdkit-spinning-filter Add seek delays to simulate a spinning hard disk.
nbdkit-swab-filter Filter for swapping byte order.
nbdkit-time-limit-filter Set an overall time limit for each connection.
nbdkit-tls-fallback-filter TLS protection filter.
nbdkit-truncate-filter Truncates, expands, rounds up or rounds down size.
@@ -414,11 +437,11 @@ Requires: tar
This package is a tar archive filter for %{name}.
%package xz-filter
Summary: XZ filter for %{name}
Summary: XZ and lzip filters for %{name}
Requires: %{name}-server = %{version}-%{release}
%description xz-filter
This package is the xz filter for %{name}.
This package contains the xz and lzip filters for %{name}.
%package devel
Summary: Development files and documentation for %{name}
@@ -542,11 +565,13 @@ export PATH=/usr/sbin:$PATH
%{_sbindir}/nbdkit
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/plugins
%{_libdir}/%{name}/plugins/nbdkit-null-plugin.so
%dir %{_libdir}/%{name}/filters
%{_mandir}/man1/nbdkit.1*
%{_mandir}/man1/nbdkit-captive.1*
%{_mandir}/man1/nbdkit-client.1*
%{_mandir}/man1/nbdkit-loop.1*
%{_mandir}/man1/nbdkit-null-plugin.1*
%{_mandir}/man1/nbdkit-probing.1*
%{_mandir}/man1/nbdkit-protocol.1*
%{_mandir}/man1/nbdkit-service.1*
@@ -563,7 +588,6 @@ export PATH=/usr/sbin:$PATH
%{_libdir}/%{name}/plugins/nbdkit-full-plugin.so
%{_libdir}/%{name}/plugins/nbdkit-info-plugin.so
%{_libdir}/%{name}/plugins/nbdkit-memory-plugin.so
%{_libdir}/%{name}/plugins/nbdkit-null-plugin.so
%{_libdir}/%{name}/plugins/nbdkit-ondemand-plugin.so
%{_libdir}/%{name}/plugins/nbdkit-ones-plugin.so
%{_libdir}/%{name}/plugins/nbdkit-partitioning-plugin.so
@@ -580,7 +604,6 @@ export PATH=/usr/sbin:$PATH
%{_mandir}/man1/nbdkit-full-plugin.1*
%{_mandir}/man1/nbdkit-info-plugin.1*
%{_mandir}/man1/nbdkit-memory-plugin.1*
%{_mandir}/man1/nbdkit-null-plugin.1*
%{_mandir}/man1/nbdkit-ondemand-plugin.1*
%{_mandir}/man1/nbdkit-ones-plugin.1*
%{_mandir}/man1/nbdkit-partitioning-plugin.1*
@@ -639,8 +662,8 @@ export PATH=/usr/sbin:$PATH
%{_libdir}/%{name}/filters/nbdkit-blocksize-filter.so
%{_libdir}/%{name}/filters/nbdkit-blocksize-policy-filter.so
%{_libdir}/%{name}/filters/nbdkit-cache-filter.so
%{_libdir}/%{name}/filters/nbdkit-cacheextents-filter.so
%{_libdir}/%{name}/filters/nbdkit-checkwrite-filter.so
%{_libdir}/%{name}/filters/nbdkit-count-filter.so
%{_libdir}/%{name}/filters/nbdkit-cow-filter.so
%{_libdir}/%{name}/filters/nbdkit-ddrescue-filter.so
%{_libdir}/%{name}/filters/nbdkit-delay-filter.so
@@ -652,10 +675,12 @@ export PATH=/usr/sbin:$PATH
%{_libdir}/%{name}/filters/nbdkit-extentlist-filter.so
%{_libdir}/%{name}/filters/nbdkit-fua-filter.so
%{_libdir}/%{name}/filters/nbdkit-gzip-filter.so
%{_libdir}/%{name}/filters/nbdkit-indexed-gzip-filter.so
%{_libdir}/%{name}/filters/nbdkit-ip-filter.so
%{_libdir}/%{name}/filters/nbdkit-limit-filter.so
%{_libdir}/%{name}/filters/nbdkit-log-filter.so
%{_libdir}/%{name}/filters/nbdkit-luks-filter.so
%{_libdir}/%{name}/filters/nbdkit-map-filter.so
%{_libdir}/%{name}/filters/nbdkit-multi-conn-filter.so
%{_libdir}/%{name}/filters/nbdkit-nocache-filter.so
%{_libdir}/%{name}/filters/nbdkit-noextents-filter.so
@@ -663,6 +688,7 @@ export PATH=/usr/sbin:$PATH
%{_libdir}/%{name}/filters/nbdkit-noparallel-filter.so
%{_libdir}/%{name}/filters/nbdkit-nozero-filter.so
%{_libdir}/%{name}/filters/nbdkit-offset-filter.so
%{_libdir}/%{name}/filters/nbdkit-openonce-filter.so
%{_libdir}/%{name}/filters/nbdkit-partition-filter.so
%{_libdir}/%{name}/filters/nbdkit-pause-filter.so
%{_libdir}/%{name}/filters/nbdkit-protect-filter.so
@@ -675,13 +701,14 @@ export PATH=/usr/sbin:$PATH
%{_libdir}/%{name}/filters/nbdkit-scan-filter.so
%{_libdir}/%{name}/filters/nbdkit-spinning-filter.so
%{_libdir}/%{name}/filters/nbdkit-swab-filter.so
%{_libdir}/%{name}/filters/nbdkit-time-limit-filter.so
%{_libdir}/%{name}/filters/nbdkit-tls-fallback-filter.so
%{_libdir}/%{name}/filters/nbdkit-truncate-filter.so
%{_mandir}/man1/nbdkit-blocksize-filter.1*
%{_mandir}/man1/nbdkit-blocksize-policy-filter.1*
%{_mandir}/man1/nbdkit-cache-filter.1*
%{_mandir}/man1/nbdkit-cacheextents-filter.1*
%{_mandir}/man1/nbdkit-checkwrite-filter.1*
%{_mandir}/man1/nbdkit-count-filter.1.gz
%{_mandir}/man1/nbdkit-cow-filter.1*
%{_mandir}/man1/nbdkit-ddrescue-filter.1*
%{_mandir}/man1/nbdkit-delay-filter.1*
@@ -693,10 +720,12 @@ export PATH=/usr/sbin:$PATH
%{_mandir}/man1/nbdkit-extentlist-filter.1*
%{_mandir}/man1/nbdkit-fua-filter.1*
%{_mandir}/man1/nbdkit-gzip-filter.1*
%{_mandir}/man1/nbdkit-indexed-gzip-filter.1.gz
%{_mandir}/man1/nbdkit-ip-filter.1*
%{_mandir}/man1/nbdkit-limit-filter.1*
%{_mandir}/man1/nbdkit-log-filter.1*
%{_mandir}/man1/nbdkit-luks-filter.1*
%{_mandir}/man1/nbdkit-map-filter.1.gz
%{_mandir}/man1/nbdkit-multi-conn-filter.1*
%{_mandir}/man1/nbdkit-nocache-filter.1*
%{_mandir}/man1/nbdkit-noextents-filter.1*
@@ -704,6 +733,7 @@ export PATH=/usr/sbin:$PATH
%{_mandir}/man1/nbdkit-noparallel-filter.1*
%{_mandir}/man1/nbdkit-nozero-filter.1*
%{_mandir}/man1/nbdkit-offset-filter.1*
%{_mandir}/man1/nbdkit-openonce-filter.1*
%{_mandir}/man1/nbdkit-partition-filter.1*
%{_mandir}/man1/nbdkit-pause-filter.1*
%{_mandir}/man1/nbdkit-protect-filter.1*
@@ -716,6 +746,7 @@ export PATH=/usr/sbin:$PATH
%{_mandir}/man1/nbdkit-scan-filter.1*
%{_mandir}/man1/nbdkit-spinning-filter.1*
%{_mandir}/man1/nbdkit-swab-filter.1*
%{_mandir}/man1/nbdkit-time-limit-filter.1*
%{_mandir}/man1/nbdkit-tls-fallback-filter.1*
%{_mandir}/man1/nbdkit-truncate-filter.1*
@@ -732,7 +763,9 @@ export PATH=/usr/sbin:$PATH
%{_mandir}/man1/nbdkit-tar-filter.1*
%files xz-filter
%{_libdir}/%{name}/filters/nbdkit-lzip-filter.so
%{_libdir}/%{name}/filters/nbdkit-xz-filter.so
%{_mandir}/man1/nbdkit-lzip-filter.1*
%{_mandir}/man1/nbdkit-xz-filter.1*
%files devel
@@ -743,6 +776,7 @@ export PATH=/usr/sbin:$PATH
%{_includedir}/nbd-protocol.h
%{_mandir}/man3/nbdkit-filter.3*
%{_mandir}/man3/nbdkit-plugin.3*
%{_mandir}/man3/nbdkit-tracing.3*
%{_mandir}/man3/nbdkit_*.3*
%{_mandir}/man1/nbdkit-release-notes-1.*.1*
%{_libdir}/pkgconfig/nbdkit.pc