SHA256
3
0
forked from pool/libnbd

32 Commits

Author SHA256 Message Date
b718be2290 Accepting request 1324237 from Virtualization
Update libnbd to version 1.24.0. Include CVE and bug numbers in prior changelog entry.

OBS-URL: https://build.opensuse.org/request/show/1324237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=24
2025-12-23 12:44:02 +00:00
134956ceaf Update changelog with bug and CVE number
* lib/uri.c: Fix indices in SSH command array.
    Fixes bsc#1253059, bsc#1255432 - CVE-2025-14946

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=50
2025-12-22 22:13:21 +00:00
8d1eceb082 Accepting request 1324211 from Virtualization
Update libnbd to version 1.24.0

OBS-URL: https://build.opensuse.org/request/show/1324211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=23
2025-12-22 21:52:28 +00:00
05cb5fe9b9 Update spec file with installed but unpackaged files.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=48
2025-12-16 17:11:00 +00:00
e0284e2bb3 - Update to version 1.24.0:
* Version 1.24.0.
  * docs: Finalize release notes for libnbd 1.24
  * ci/lcitool/projects/libnbd.yml: Add 'tar' as an explicit dependency
  * misc: Require libxml2 / URI support for these tests
  * tests: Add an explicit 'requires_uri' for URI support
  * ci: Update various OS versions
  * generator: Rework description of nbd_set_tls_priority
  * Version 1.23.13.
  * tests: Add a test of tls-priority
  * lib: In nbd_get_uri return tls-priority if non-default
  * lib: Add tls-priority to URIs, but disable it by default
  * generator/API.ml: Arrange tls-* URI parameters in order
  * lib: Use the TLS priority from the handle
  * lib: Add nbd_get_tls_priority and nbd_set_tls_priority
  * rust: Allow piped links in POD documentation
  * lib/crypto.c: Support extra client keys for hybrid PQC
  * configure: Print TLS priority in summary output
  * vector: Fine-tune vector_reserve behavior
  * misc: Fix tab-completion of -h/--help options
  * Version 1.23.12.
  * docs: Add outline release notes for libnbd 1.24
  * misc: Rename -f/--fast as --fast-zero
  * misc/nbddiscard.pod: Document --check & --fast in alphabetical order
  * misc/nbddiscard.pod: Document short and long options in synopsis
  * sh: Add an example of writing to the disk using nbdsh
  * sh: Link to nbdkit(1)
  * sh: Link to nbddump from the hexdump example
  * misc: Add nbdzero --fast
  * misc: Add nbddiscard --check

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=47
2025-12-16 16:31:18 +00:00
d7d642ce6a Accepting request 1315531 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1315531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=22
2025-11-05 15:18:44 +00:00
da13c84d07 - Update to version 1.22.5:
* Version 1.22.5.
  * lib/uri.c: Fix indices in SSH command array
  * uri: Sanitize user-provided hostnames
  * examples/connect-benchmark.c: Include <stdatomic.h> or fall back
  * docs: Minor copyediting to export name documentation

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=45
2025-10-28 16:13:03 +00:00
27eba402f6 Accepting request 1304457 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1304457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=21
2025-09-14 16:50:04 +00:00
758494ba09 - Update to version 1.22.4:
* Version 1.22.4.
  * docs: nbd_connect_uri: Combine export name sections together
  * docs: nbd_connect_uri: Minor copyedits
  * docs: nbd_connect_uri: Split up URI parsing section
  * lib/uri.c: Use uri_query_list functions to free
  * lib/uri.c: Add static annotation to parse_bool
  * docs: Clarify documentation for export names in nbd_connect_uri
  * docs: Add S<...> around qemu versions to avoid distracting linebreak
  * generator: rust: Parse S<...> (non-breaking spaces) in POD
  * generator: rust: Allow nested X<..X<..>..> expressions in POD
  * generator: Don't list nbd_is_uri as a "flag call"
  * generator: Clarify documentation for nbd_set_private_data
  * ocaml: Small tweaks to the generated documentation
  * ci: Remove fedora-40, alpine-320, add fedora-42, alpine-322
  * common: utils: Add const to <vector>_duplicate variable decls
  * copy, info: Use new vector_array_append functions 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
  * common/utils: Add convenient string_append_format function

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=43
2025-09-05 21:00:12 +00:00
7959415871 Accepting request 1297550 from Virtualization
Update libndb to version 1.22.3

OBS-URL: https://build.opensuse.org/request/show/1297550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=20
2025-08-05 12:21:10 +00:00
95a57114cd - Update to version 1.22.3:
* Version 1.22.3.
  * ublk: Remove unused EXPECTED_VERSION
  * todo: Remove a couple of minor features that have been implemented
  * info: Tolerate nbdkit slop on large extents
  * generator: Avoid const-correctness warnings in golang
  * maint: Spelling fixes
  * ci: Disable cross-builds of Rust
  * rust: Allow cargo build --target $RUST_TARGET to be set

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=41
2025-07-31 16:59:59 +00:00
17ee696f58 Accepting request 1277278 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1277278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=19
2025-05-14 15:01:29 +00:00
6e28c3a3e1 - Update to version 1.22.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=39
2025-05-14 03:48:50 +00:00
7fbfba6fd8 Accepting request 1208903 from Virtualization
Updated libnbd 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/1208903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=18
2024-10-20 08:04:34 +00:00
35b399270b - Update to version 1.20.3, jsc#PED-8910
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=37
2024-10-18 17:14:10 +00:00
2f540ab07e Accepting request 1191749 from Virtualization
- Update to version 1.20.2:
  * CVE-2024-7383 (bsc#1228872)

OBS-URL: https://build.opensuse.org/request/show/1191749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=17
2024-08-06 07:08:02 +00:00
187457b473 - Update to version 1.20.2:
* CVE-2024-7383 (bsc#1228872)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=35
2024-08-05 16:34:15 +00:00
292474e6b5 Accepting request 1168944 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1168944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=16
2024-04-19 17:14:34 +00:00
1f8f2598f9 Accepting request 1133223 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1133223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=15
2023-12-15 20:48:41 +00:00
5fa83b5ca0 Accepting request 1125731 from Virtualization
- Fix assertion in ext-mode BLOCK_STATUS, CVE-2023-5871
  4451e5b6-CVE-2023-5871.patch
  bsc#1216769

OBS-URL: https://build.opensuse.org/request/show/1125731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=14
2023-11-14 20:42:25 +00:00
db83d7108f Accepting request 1121701 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1121701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=13
2023-11-01 21:11:03 +00:00
b9e034849b Accepting request 1114449 from Virtualization
- 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
2023-10-01 19:22:21 +00:00
866cbccbed Accepting request 1074037 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1074037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=11
2023-03-24 14:21:24 +00:00
600097a89e Accepting request 1011047 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1011047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=10
2022-10-15 14:38:08 +00:00
204847235e Accepting request 988220 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/988220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=9
2022-07-12 09:12:22 +00:00
5c041faea8 Accepting request 980135 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/980135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=8
2022-06-01 15:34:37 +00:00
24b95cd094 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
2022-05-24 18:31:20 +00:00
cbfd0d516f Accepting request 952773 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/952773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=6
2022-02-09 19:39:27 +00:00
0f2e4f9a83 Accepting request 914305 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/914305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=5
2021-08-26 21:15:06 +00:00
a9b26b2484 Accepting request 903567 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/903567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=4
2021-07-02 11:27:13 +00:00
c904431b45 Accepting request 898906 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/898906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=3
2021-06-10 22:18:40 +00:00
b297c46c8f Accepting request 885442 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/885442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnbd?expand=0&rev=2
2021-04-16 22:01:25 +00:00
6 changed files with 488 additions and 7 deletions

View File

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

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.com/nbdkit/libnbd.git</param>
<param name="changesrevision">d2e14942c87901db13f99c56e5a93eab7d79617c</param></service></servicedata>
<param name="changesrevision">7df1ebd896ccccbb4ae7bdcdd4580fa16a708eb6</param></service></servicedata>

View File

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

3
libnbd-1.24.0.tar.bz2 Normal file
View File

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

View File

@@ -1,3 +1,478 @@
-------------------------------------------------------------------
Tue Dec 16 16:29:46 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.24.0:
* Version 1.24.0.
* docs: Finalize release notes for libnbd 1.24
* ci/lcitool/projects/libnbd.yml: Add 'tar' as an explicit dependency
* misc: Require libxml2 / URI support for these tests
* tests: Add an explicit 'requires_uri' for URI support
* ci: Update various OS versions
* generator: Rework description of nbd_set_tls_priority
* Version 1.23.13.
* tests: Add a test of tls-priority
* lib: In nbd_get_uri return tls-priority if non-default
* lib: Add tls-priority to URIs, but disable it by default
* generator/API.ml: Arrange tls-* URI parameters in order
* lib: Use the TLS priority from the handle
* lib: Add nbd_get_tls_priority and nbd_set_tls_priority
* rust: Allow piped links in POD documentation
* lib/crypto.c: Support extra client keys for hybrid PQC
* configure: Print TLS priority in summary output
* vector: Fine-tune vector_reserve behavior
* misc: Fix tab-completion of -h/--help options
* Version 1.23.12.
* docs: Add outline release notes for libnbd 1.24
* misc: Rename -f/--fast as --fast-zero
* misc/nbddiscard.pod: Document --check & --fast in alphabetical order
* misc/nbddiscard.pod: Document short and long options in synopsis
* sh: Add an example of writing to the disk using nbdsh
* sh: Link to nbdkit(1)
* sh: Link to nbddump from the hexdump example
* misc: Add nbdzero --fast
* misc: Add nbddiscard --check
* misc: Avoid traceback on NBD errors in nbddiscard
* misc: Enhance nbddiscard/nbdzero range tests
* tests: Add define() to functions.sh
* Version 1.23.11.
* misc: Fix creation of nbdzero symlink
* misc/nbddiscard.in: Fix tests on macOS
* misc/nbddiscard: Generate shebang with correct path to python
* copy: Link --destination-is-zero option to new tools nbddiscard/nbdzero
* misc/nbdzero.1: Fix link to nbddiscard(1)
* Version 1.23.10.
* Add new 'nbddiscard' and 'nbdzero' tools
* tests: Fix missing exit in some tests
* Update TODO
* configure: Add new macro to print package version
* copy: Skip some tests when running on ZFS
* copy/copy-allocated-destination-zero-*.sh: Remove test for /dev/zero
* docs/libnbd-security.pod: Add section for recent nbd+ssh security issue
* Version 1.23.9.
* uri: Sanitize user-provided hostnames
* lib/uri.c: Replace boolean parsing code with common nbdkit code
* common/include: Extra bool parsing into a mini-library
* common/include: Add locale-safe ascii_strcasecmp and ascii_strncasecmp.
* Version 1.23.8.
* lib/uri: Allow ssh compression to be controlled from URIs
* generator: Additional checking for longdesc
* generator/API.ml: Make longdesc fields consistent
* generator: Use quoted string literals in many places
* generator: Use quoted string literals for regular expressions
* ocaml: Deal with fallback case
* examples/connect-benchmark.c: Include <stdatomic.h> or fall back
* docs: Minor copyediting to export name documentation
* docs: Document which NBD URI features are non-standard
* tests: Add a test of tls-username in NBD URIs
* lib/uri.c: Replace nbd-user with tls-username
* Version 1.23.7.
* docs: nbd_connect_uri: Combine export name sections together
* docs: nbd_connect_uri: Minor copyedits
* docs: nbd_connect_uri: Split up URI parsing section
* lib/uri.c: Add nbd-port and nbd-user parameters
* lib/uri.c: Return EINVAL errno for invalid SSH username
* lib/uri: Refactor long connect_uri function
* lib/uri.c: Use uri_query_list functions to free
* lib/uri.c: Add static annotation to parse_bool
* lib/uri.c: Factor out common char port_str[32]
* lib: Convert nbd+ssh://user@.. to SSH username
* docs: Clarify documentation for export names in nbd_connect_uri
* docs: Add S<...> around qemu versions to avoid distracting linebreak
* generator: rust: Parse S<...> (non-breaking spaces) in POD
* generator: rust: Allow nested X<..X<..>..> expressions in POD
* generator: Don't list nbd_is_uri as a "flag call"
* generator: Clarify documentation for nbd_set_private_data
* Version 1.23.6.
* ocaml: Get a better estimate of the size of the libnbd handle
* lib: When debugging is enabled print the size of the handle
* lib: New API nbd_get_handle_size to estimate the handle size
* ocaml: Small tweaks to the generated documentation
* ci: Remove fedora-40, alpine-320, add fedora-42, alpine-322
* python: Implement indexing and slicing for nbd.Buffer
* python: Add libnbd-python(3) documentation
* common: utils: Add const to <vector>_duplicate variable decls
* copy, info: Use new vector_array_append functions 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
* common/utils: Add convenient string_append_format function
* Version 1.23.5.
* tools: Add extra version information in the output of --version
* ublk: Remove unused EXPECTED_VERSION
* lib: New API: nbd_get_version_extra
* build: Add ./configure --with-extra="..."
* todo: Remove a couple of minor features that have been implemented
* Version 1.23.4.
* api: Relax LIBNBD_STRICT_ALIGN for unaligned image size
* info: Tolerate nbdkit slop on large extents
* generator: Avoid const-correctness warnings in golang
* generator: Optimize buffer size on macOS and Linux
* ocaml: Implement NBD.Buffer.is_zero
* maint: Spelling fixes
* ci: Disable cross-builds of Rust
* rust: Allow cargo build --target $RUST_TARGET to be set
* Version 1.23.3.
* copy: Test --allocated + --destination-is-zero options together
* copy: Test --destination-is-zero option
* copy: Test --allocated option more thoroughly
* copy: Add a test of the --flush option
* copy: Remove output file in a few tests
* build: Print rustc version in ./configure output
* generator: Improve the comment for set_buffers
* Set socket buffer only for unix socket
* rust: Use nbd.is_uri in examples
* Set socket receive and send buffers on macOS
* ci: Skip go on FreeBSD 14
* ci: Update to latest
* copy: Fix file allocation when using --allocated
* copy: Fix file_sync_zero when allocate == true
* copy: Consider options when zeroing in synch mode
* copy: Fix corrupted hash on incomplete read
* copy: Enable zero optimization for allocated extents
* copy: Shrink struct block
* copy: Define block_type outside of block struct
* copy: Fix crash when blkhash size is not a power of 2
* Version 1.23.2.
* copy: Hard error if sync_file_range fails
* Version 1.23.1.
* copy: Add --blkhash option
* info/info-uri-nbds.sh: Fix test if compiled without GnuTLS
* copy: Set the total size in bytes copied
* copy: progress: Add a comment about size and pipes
* build: Create sections in the configure file
* build: Add heading about basic build environment
* build: Only use ANSI colour sequences if stdout is a terminal
* build: Embolden headings in configure output
* build: Colourize features
-------------------------------------------------------------------
Tue Oct 28 16:11:08 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.22.5:
* Version 1.22.5.
* lib/uri.c: Fix indices in SSH command array.
Fixes bsc#1253059, bsc#1255432 - CVE-2025-14946
* uri: Sanitize user-provided hostnames
* examples/connect-benchmark.c: Include <stdatomic.h> or fall back
* docs: Minor copyediting to export name documentation
-------------------------------------------------------------------
Fri Sep 05 21:02:25 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.22.4:
* Version 1.22.4.
* docs: nbd_connect_uri: Combine export name sections together
* docs: nbd_connect_uri: Minor copyedits
* docs: nbd_connect_uri: Split up URI parsing section
* lib/uri.c: Use uri_query_list functions to free
* lib/uri.c: Add static annotation to parse_bool
* docs: Clarify documentation for export names in nbd_connect_uri
* docs: Add S<...> around qemu versions to avoid distracting linebreak
* generator: rust: Parse S<...> (non-breaking spaces) in POD
* generator: rust: Allow nested X<..X<..>..> expressions in POD
* generator: Don't list nbd_is_uri as a "flag call"
* generator: Clarify documentation for nbd_set_private_data
* ocaml: Small tweaks to the generated documentation
* ci: Remove fedora-40, alpine-320, add fedora-42, alpine-322
* common: utils: Add const to <vector>_duplicate variable decls
* copy, info: Use new vector_array_append functions 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
* common/utils: Add convenient string_append_format function
-------------------------------------------------------------------
Thu Jul 31 17:01:32 UTC 2025 - Charles Arnold <carnold@suse.com>
- Update to version 1.22.3:
* Version 1.22.3.
* ublk: Remove unused EXPECTED_VERSION
* todo: Remove a couple of minor features that have been implemented
* info: Tolerate nbdkit slop on large extents
* generator: Avoid const-correctness warnings in golang
* maint: Spelling fixes
* ci: Disable cross-builds of Rust
* rust: Allow cargo build --target $RUST_TARGET to be set
-------------------------------------------------------------------
Tue May 06 22:48:02 UTC 2025 - jfehlig@suse.com
- Update to version 1.22.2:
* Version 1.22.2.
* copy: Test --allocated + --destination-is-zero options together
* copy: Test --destination-is-zero option
* copy: Test --allocated option more thoroughly
* copy: Add a test of the --flush option
* copy: Remove output file in a few tests
* build: Print rustc version in ./configure output
* rust: Use nbd.is_uri in examples
* ci: Skip go on FreeBSD 14
* ci: Update to latest
* copy: Fix file allocation when using --allocated
* copy: Fix file_sync_zero when allocate == true
* copy: Consider options when zeroing in synch mode
* copy: Hard error if sync_file_range fails
* info/info-uri-nbds.sh: Fix test if compiled without GnuTLS
* copy: Set the total size in bytes copied
* copy: progress: Add a comment about size and pipes
* info: Use magenta for export headings, instead of black
* Version 1.22.1.
* ocaml/{examples,tests}: Don't try to run OCAMLFIND if --disable-ocaml
* docs/libnbd-release-notes-1.22.pod: Set release date
* Version 1.22.0.
* ci: Update FreeBSD builds
* copy: Include pthread.h
* docs: Small revisions to the release notes
* golang: Replace () with correct argument decl, for GCC 15
* docs: Add outline release notes for libnbd 1.22
* ci: Update to latest
* dump: Add a test of --length and --offset
* dump: Add --offset for further limiting the dump
* dump: Document --length
* examples: Add simple program to benchmark connections
* Version 1.21.6.
* build: Use 'tar ztf' instead of 'zcat | tar'
* Revert "ci: Skip maintainer-check-extra-dist test on macOS"
* ci: Skip maintainer-check-extra-dist test on macOS
* ci: Install bash (from homebrew) in the CI environment
* configure: Check that bash is sufficiently new
* ci: Dump out failed log files when the tests fail
* golang, rust: Use env bash for FreeBSD
* python: Skip Python tests on macOS
* tests/newstyle-limited.c: Check truncate is GNU truncate before using
* ocaml/tests/test_220_opt_list.ml: Use correct nbdkit binary
* ocaml/tests/test_580_aio_connect.ml: Skip this test on macOS
* build: Test for GnuTLS certtool on macOS
* build: Use GNU alternatives on macOS and FreeBSD
* copy/copy-file-to-nbd.sh: Remove test for 'truncate'
* lib/test-fork-safe-execvpe.sh: Skip this test on macOS
* ci/build.sh: Set os_id on macOS which lacks /etc/os-release
* ci: Don't skip tests on non-Linux
* Version 1.21.5.
* interop: Skip nbd-server test on Alpine
* ci: Update CI files
* vsock: Document limitations and reserved vsock port numbers
* rust: Parse perlpod L<https://...> (external links) to rust markup
* generator: connect_uri: Document differences with qemu parsing
* podwrapper: Add some simple checks for cross-references within manual pages.
* docs/libnbd-release-notes-1.10.pod: Remove broken link to "nbd_connect(3)"
* docs/nbd_create.pod: Cross-reference nbd_shutdown(3)
* Version 1.21.4.
* docs: Use "oldstyle servers" in preference to "older servers"
* docs: Mention newstyle and oldstyle servers in main docs
* docs: Mention nbd_is_uri under "Connecting to an NBD URI" in main docs
* README: Fix bold markdown
* README: Mention 'make install DESTDIR=...'
* README: Mention the ./run script
* lib: Add nbd_get_subprocess_pid to return h->pid
* docs/libnbd-security.pod: Assign CVE-2024-7383
* Version 1.21.3.
* build: Prefer "for developers" in ./configure --help output
* build: Fix ./configure --help output for --enable-python-code-style
* copy: Fix URI detection
* lib: Add new nbd_is_uri API
* tests/requires.c: Don't fail to compile if NBDKIT is not defined
* Version 1.21.2.
* lib: Implement nbd+ssh:// and nbds+ssh:// URIs
* tests/connect-uri.c: Replace -DREQUIRES_NBDKIT_TLS_VERIFY_PEER=1
* lib/uri.c: Change socket required boolean into an enum
* generator/states-newstyle.c: Don't sign extend escaped chars
* rust: Add os-ext feature to get mio::unix
* generator/states-newstyle.c: Quote untrusted string from the server
* generator: Restore assignment to local 'err'
* .gitignore: Remove unused line
* lib: Don't overwrite error in nbd_opt_{go,info}
* generator: Print full error in handle_reply_error
* ci: Drop Alma Linux 8
* lib/crypto.c: Check <gnutls/socket.h> works before including it
* lib/uri.c: Append tls-hostname and tls-verify-peer when getting URI
* Version 1.21.1.
* docs: security: Add link to TLS server certificate checking announcement
* lib/uri.c: Allow tls-hostname to be overridden in URIs
* lib/uri.c: Allow tls-verify-peer to be overridden in URIs
* lib/crypto.c: Add API functions to get/set TLS hostname
-------------------------------------------------------------------
Fri Oct 18 16:42:38 UTC 2024 - jfehlig@suse.com
- Update to version 1.20.3:
* Version 1.20.3.
* interop: Skip nbd-server test on Alpine
* ci: Update CI files
* rust: Parse perlpod L<https://...> (external links) to rust markup
* podwrapper: Add some simple checks for cross-references within manual pages.
* docs/libnbd-release-notes-1.10.pod: Remove broken link to "nbd_connect(3)"
* docs/nbd_create.pod: Cross-reference nbd_shutdown(3)
* docs: Use "oldstyle servers" in preference to "older servers"
* docs: Mention newstyle and oldstyle servers in main docs
* README: Fix bold markdown
* README: Mention 'make install DESTDIR=...'
* README: Mention the ./run script
* build: Prefer "for developers" in ./configure --help output
* build: Fix ./configure --help output for --enable-python-code-style
* .gitignore: Remove unused line
* ci: Drop Alma Linux 8
* lib/crypto.c: Check <gnutls/socket.h> works before including it
* docs/libnbd-security.pod: Assign CVE-2024-7383
* jsc#PED-8910
-------------------------------------------------------------------
Mon Aug 05 16:08:37 UTC 2024 - jfehlig@suse.com
- Update to version 1.20.2:
* CVE-2024-7383 (bsc#1228872)
* Version 1.20.2.
* docs: security: Add link to TLS server certificate checking announcement
* lib/uri.c: Allow tls-verify-peer to be overridden in URIs
* interop: Test interop with a bad system CA
* interop: Add -DEXPECT_FAIL=1 where we expect the test to fail
* interop: Pass -DCERTS and -DPSK as strings
* lib/crypto.c: Allow CA verification even if h->hostname is not set
* lib/crypto.c: Check server certificate even when using system CA
* build: Move to minimum gnutls >= 3.5.18
* nbdfuse: Can't use ?tls-certificates or ?tls-psk-file
* ci: Fix MacOS builds
* tests: Fix CI on Fedora 40
* Version 1.20.1.
* tests: Add some code quality checks (mainly for maintainers)
* common/utils/device-size.c: Include <stdint.h>
* copy: Use device_size to get size of block devices
* copy: Refactor the internal file_create API
* common/utils: Add a function to find the size of a file or block device
* Include <stdint.h> in code which uses standard C int types
* common/include, ublk: Include <inttypes.h> in code which uses PRI* or SCN*
* Include <stdbool.h> in code which uses bool/true/false
* copy: Detect <sys/ioctl.h>
* copy: Detect <linux/fs.h> at configure time
* configure.ac: Indent AC_CHECK_HEADERS consistent with nbdkit
* ublk/nbdublk.c: Include <errno.h>
* copy, lib, ublk: Include <assert.h> which was missing in a few places
* tests: Remove extra whitespace
* copy/copy-nbd-to-small-block-error.sh: Use different pidfiles
* copy: Use verbose nbdcopy in test
* copy: Fix "destination size is smaller than source size" error
* ci: refresh with latest 'lcitool manifest'
* ci: import lcitool project package list definitions
* podwrapper: nbd-server(1), nbd-client(8) are not local man pages
* Version 1.20.0.
* tests/connect-uri.c: Don't call strlen on each loop iteration
* tests/connect-uri: Remove -DPIDFILE, generate it implicitly
* lib/uri: Make parsing URIs more case insensitive
* 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"
* docs: Add outline release notes for forthcoming libnbd 1.20
* lib/handle.c: Invalidate h->magic field just before freeing
* Version 1.19.11.
* ocaml: Add ocamlfind -package to ocamldoc invocation
* ocaml: Mention bigstring and bigstringaf libraries
* ocaml/tests: Add a test of the buffer lifecycle
* ocaml: Update META so we link programs with bigarray on OCaml < 5
* ocaml: Use Bigarray to link examples and tests on OCaml < 5
* ocaml/tests: Modify the tests to use the new NBD.Buffer.t
* ocaml: Add NBD.Buffer to/from string functions
* ocaml: Reimplement NBD.Buffer.t using Bigarray for zero-copy
* Version 1.19.10.
* info: Add --isnt & --cannot to --help output
* info: Implement --cannot and synonyms
* info/can.c: Assert that 'can' variable is set
* info: Fix error message
* info: Add note that --can/--is/--has are synonyms
* Version 1.19.9.
* info: --uri: Free URI after printing it
* lib/uri.c: Add better comments to nbd_get_uri function
* info: Add --uri parameter
* docs: Link from nbd_get_size to nbdinfo --size option
* info: Handle failure of call to file
* copy, fuse: Use vector_reserve_exactly in a few places
* common/utils: Make vector_reserve_page_aligned allocate exactly
* common/utils: Add vector_reserve_exactly function
* fuzzing: Add a comment that the libfuzzer test is unmaintained
* Version 1.19.8.
* 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
* Version 1.19.7.
* 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
* contrib: Add suggested autoconf CHECK_LIBNBD macro
* Version 1.19.6.
* 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
* generator: Remove definition of sort_uniq
* configure: Annotate OCaml tests by version of OCaml
* ci: Skip certain deadlocking nbd-server tests on Alpine 3.19
* docs: Clarify description of block size constraints
* ocaml: tests: Compute srcdir centrally in Ocaml_test_config module
* ocaml: tests: Use @NBDKIT@ instead of hard coding nbdkit
* python: tests: Use $NBDKIT instead of hard coding nbdkit
* python: Various fixes to the Python tests and test wrapper
* Version 1.19.5.
* tests: Use wait_for_pidfile instead of open-coded loops
* tests: Define NBD_SERVER in config.h and use it for requires tests
* tests: Define QEMU_NBD in config.h and use it for requires tests
* maint: Be more consistent about using ./configure-defined @NBDKIT@
* maint: Be more consistent about using ./configure-defined @QEMU_NBD@
* interop: Prefer exporting QEMU_STORAGE_DAEMON through tests/functions.sh
* interop: Use nbd-server FORCEDTLS mode
* interop: Test write, flush and zero operations
* interop: Add nbd-server flush flag
* interop: Remove -DNEEDS_TMPFILE
* maint: Use @LN_S@ autoconf macro in preference to writing out 'ln -s'
* tests: connect-uri: Choose random port for TCP connections at runtime
* tests: connect-uri: Change how Unix domain sockets are generated
* docs: Fix accidental double line in SECURITY file
* Version 1.19.4.
* ci: Update to latest lcitool
* rust: Avoid compiler warning about unused import
* bash: Make nbdfuse and nbdublk installation conditional
* generator/Makefile.am: Fix missing continuation backslash
* Version 1.19.3.
* ocaml: Nullify custom block before releasing runtime lock
* ocaml: Use Gc.finalize instead of a C finalizer
* Version 1.19.2.
* generator: Clarify message about generated files
* docs: Mention CVE-2023-5871
* docs: Improve handle states documentation
* generator: Move docs generation out to a new module
* docs: Add comment for api_built, and formatting
* docs: Tighten up description of nbd_connect_uri(3)
* examples: Add example code for nbd_connect_uri(3)
* examples: Rearrange Makefile alphabetically
* generator: Make sure man pages are rebuilt if examples change
* New mailing list archives
* examples/userfault-map.c: Make nbd handle static
* example: Using userfaultfd to mmap an NBD-backed drive
* tests: Check behavior of nbd_set_strict_mode(STRICT_AUTO_FLAG)
* lib: Add dynamic validation of struct nbd_handle
* docs: Fix incorrect xref in libnbd-release-notes for 1.18
* fuzzing: Remove unnecessary NULL assignments
* fuzzing: Change fuzzing approach so we issue asynchronous commands
* generator: Fix assertion in ext-mode BLOCK_STATUS, CVE-2023-5871
* fuzzing: We need to disable Rust bindings when building fuzzer version
* Version 1.19.1.
* rust: Use string_starts_with instead of String.starts_with
* rust: Build the examples
* rust: Write a custom translator from POD to rustdoc
* rust: Add overview documentation
* rust: Annotate 'endif' with corresponding label
* info: Show human sizes for block_size values
* utils: Slightly simplify human_size()
* docs: Assign CVE-2023-5215 to nbd_get_size negative result issue
* info: Try harder for graceful disconnect from server
-------------------------------------------------------------------
Thu Apr 18 20:01:31 UTC 2024 - jfehlig@suse.com
@@ -232,6 +707,7 @@ Fri Jul 8 17:59:24 UTC 2022 - James Fehlig <jfehlig@suse.com>
* python: Plug uninit leak in nbd.Buffer.to_bytearray
* python: Avoid memleak on (unlikely) module failure
* python: Accept buffers in nbd.Buffer.from_bytearray()
* jsc#ECO-3633
- Enable building python module and utilities
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package libnbd
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 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
@@ -19,7 +19,7 @@
%define sover 0
Name: libnbd
Version: 1.18.4
Version: 1.24.0
Release: 0
Summary: NBD client library in userspace
License: LGPL-2.1-or-later
@@ -161,9 +161,13 @@ done
%{_bindir}/nbdcopy
%{_bindir}/nbddump
%{_bindir}/nbdinfo
%{_bindir}/nbddiscard
%{_bindir}/nbdzero
%{_mandir}/man1/nbdcopy.1*
%{_mandir}/man1/nbddump.1*
%{_mandir}/man1/nbddiscard.1*
%{_mandir}/man1/nbdinfo.1*
%{_mandir}/man1/nbdzero.1*
%files -n libnbd%{sover} -f %name.files
%license COPYING.LIB
@@ -176,6 +180,7 @@ done
%{_libdir}/pkgconfig/libnbd.pc
%{_mandir}/man3/libnbd.3*
%{_mandir}/man3/libnbd-ocaml.3.gz
%{_mandir}/man3/libnbd-python.3*
%{_mandir}/man1/libnbd-release-notes-1.*.1*
%{_mandir}/man3/libnbd-security.3*
%{_mandir}/man3/nbd_*.3*