- nbdkit Network Block Device server toolkit with stable ABI and permissive license
- 1.46.2 net
=0
1.46.2Version of this port present on the latest quarterly branch.
- Maintainer: dtxdf@FreeBSD.org

- Port Added: 2020-06-19 19:29:22
- Last Update: 2026-02-16 21:55:39
- Commit Hash: 045870d
- License: BSD3CLAUSE
- WWW:
- https://gitlab.com/nbdkit/nbdkit
- Description:
- nbdkit is a toolkit for creating Network Block Device servers. The key features are: * Multithreaded NBD server written in C with good performance. * Minimal dependencies for the basic server. * Liberal license (BSD) allows nbdkit to be linked to proprietary libraries or included in proprietary code. * Well-documented, simple plugin API with a stable ABI guarantee. Lets you export "unconventional" block devices easily. * You can write plugins in C, Go, Lua, Perl, Python, OCaml, Ruby, Rust, shell script or Tcl. * Filters can be stacked in front of plugins to transform the output.
¦ ¦
¦
¦

- Manual pages:
- pkg-plist: as obtained via:
make generate-plist - Expand this list (247 items)
- Collapse this list.
- @ldconfig
- /usr/local/share/licenses/nbdkit-1.46.2/catalog.mk
- /usr/local/share/licenses/nbdkit-1.46.2/LICENSE
- /usr/local/share/licenses/nbdkit-1.46.2/BSD3CLAUSE
- include/nbd-protocol.h
- include/nbdkit-common.h
- include/nbdkit-filter.h
- include/nbdkit-plugin.h
- include/nbdkit-version.h
- lib/nbdkit/filters/nbdkit-count-filter.so
- lib/nbdkit/filters/nbdkit-map-filter.so
- lib/nbdkit/filters/nbdkit-blocksize-filter.so
- lib/nbdkit/filters/nbdkit-cache-filter.so
- lib/nbdkit/filters/nbdkit-cow-filter.so
- lib/nbdkit/filters/nbdkit-delay-filter.so
- lib/nbdkit/filters/nbdkit-error-filter.so
- lib/nbdkit/filters/nbdkit-exitlast-filter.so
- lib/nbdkit/filters/nbdkit-extentlist-filter.so
- lib/nbdkit/filters/nbdkit-fua-filter.so
- lib/nbdkit/filters/nbdkit-ip-filter.so
- lib/nbdkit/filters/nbdkit-limit-filter.so
- lib/nbdkit/filters/nbdkit-log-filter.so
- lib/nbdkit/filters/nbdkit-nocache-filter.so
- lib/nbdkit/filters/nbdkit-noextents-filter.so
- lib/nbdkit/filters/nbdkit-nofilter-filter.so
- lib/nbdkit/filters/nbdkit-noparallel-filter.so
- lib/nbdkit/filters/nbdkit-nozero-filter.so
- lib/nbdkit/filters/nbdkit-offset-filter.so
- lib/nbdkit/filters/nbdkit-partition-filter.so
- lib/nbdkit/filters/nbdkit-rate-filter.so
- lib/nbdkit/filters/nbdkit-readahead-filter.so
- lib/nbdkit/filters/nbdkit-retry-filter.so
- lib/nbdkit/filters/nbdkit-stats-filter.so
- lib/nbdkit/filters/nbdkit-truncate-filter.so
- @comment lib/nbdkit/filters/nbdkit-xz-filter.so
- @comment lib/nbdkit/plugins/nbdkit-curl-plugin.so
- lib/nbdkit/plugins/nbdkit-data-plugin.so
- lib/nbdkit/plugins/nbdkit-eval-plugin.so
- lib/nbdkit/plugins/nbdkit-example1-plugin.so
- lib/nbdkit/plugins/nbdkit-example2-plugin.so
- lib/nbdkit/plugins/nbdkit-example3-plugin.so
- @comment lib/nbdkit/plugins/nbdkit-example4-plugin
- lib/nbdkit/plugins/nbdkit-file-plugin.so
- lib/nbdkit/plugins/nbdkit-floppy-plugin.so
- lib/nbdkit/plugins/nbdkit-full-plugin.so
- lib/nbdkit/plugins/nbdkit-info-plugin.so
- @comment lib/nbdkit/plugins/nbdkit-libvirt-plugin.so
- lib/nbdkit/plugins/nbdkit-memory-plugin.so
- lib/nbdkit/plugins/nbdkit-null-plugin.so
- lib/nbdkit/plugins/nbdkit-partitioning-plugin.so
- lib/nbdkit/plugins/nbdkit-pattern-plugin.so
- @comment lib/nbdkit/plugins/nbdkit-perl-plugin.so
- @comment lib/nbdkit/plugins/nbdkit-python-plugin.so
- lib/nbdkit/plugins/nbdkit-random-plugin.so
- lib/nbdkit/plugins/nbdkit-sh-plugin.so
- lib/nbdkit/plugins/nbdkit-split-plugin.so
- @comment lib/nbdkit/plugins/nbdkit-ssh-plugin.so
- @comment lib/nbdkit/plugins/nbdkit-tar-plugin
- lib/nbdkit/plugins/nbdkit-tmpdisk-plugin.so
- lib/nbdkit/plugins/nbdkit-zero-plugin.so
- lib/nbdkit/filters/nbdkit-blocksize-policy-filter.so
- lib/nbdkit/filters/nbdkit-checkwrite-filter.so
- lib/nbdkit/filters/nbdkit-ddrescue-filter.so
- lib/nbdkit/filters/nbdkit-evil-filter.so
- lib/nbdkit/filters/nbdkit-exitwhen-filter.so
- lib/nbdkit/filters/nbdkit-exportname-filter.so
- lib/nbdkit/filters/nbdkit-luks-filter.so
- lib/nbdkit/filters/nbdkit-multi-conn-filter.so
- lib/nbdkit/filters/nbdkit-openonce-filter.so
- lib/nbdkit/filters/nbdkit-pause-filter.so
- lib/nbdkit/filters/nbdkit-protect-filter.so
- lib/nbdkit/filters/nbdkit-qcow2dec-filter.so
- lib/nbdkit/filters/nbdkit-readonly-filter.so
- lib/nbdkit/filters/nbdkit-retry-request-filter.so
- lib/nbdkit/filters/nbdkit-rotational-filter.so
- lib/nbdkit/filters/nbdkit-scan-filter.so
- lib/nbdkit/filters/nbdkit-spinning-filter.so
- lib/nbdkit/filters/nbdkit-swab-filter.so
- lib/nbdkit/filters/nbdkit-tar-filter.so
- lib/nbdkit/filters/nbdkit-time-limit-filter.so
- lib/nbdkit/filters/nbdkit-tls-fallback-filter.so
- lib/nbdkit/plugins/nbdkit-cc-plugin.so
- lib/nbdkit/plugins/nbdkit-cdi-plugin.so
- lib/nbdkit/plugins/nbdkit-ondemand-plugin.so
- lib/nbdkit/plugins/nbdkit-ones-plugin.so
- lib/nbdkit/plugins/nbdkit-sparse-random-plugin.so
- @comment lib/nbdkit/filters/nbdkit-gzip-filter.so
- @comment lib/nbdkit/filters/nbdkit-indexed-gzip-filter.so
- libdata/pkgconfig/nbdkit.pc
- sbin/nbdkit
- share/bash-completion/completions/nbdkit
- share/man/man1/nbdkit-blocksize-filter.1.gz
- share/man/man1/nbdkit-cache-filter.1.gz
- share/man/man1/nbdkit-captive.1.gz
- share/man/man1/nbdkit-cow-filter.1.gz
- @comment share/man/man1/nbdkit-curl-plugin.1.gz
- share/man/man1/nbdkit-data-plugin.1.gz
- share/man/man1/nbdkit-delay-filter.1.gz
- share/man/man1/nbdkit-error-filter.1.gz
- share/man/man1/nbdkit-eval-plugin.1.gz
- share/man/man1/nbdkit-example1-plugin.1.gz
- share/man/man1/nbdkit-example2-plugin.1.gz
- share/man/man1/nbdkit-example3-plugin.1.gz
- @comment share/man/man1/nbdkit-example4-plugin.1.gz
- share/man/man1/nbdkit-exitlast-filter.1.gz
- share/man/man1/nbdkit-extentlist-filter.1.gz
- share/man/man1/nbdkit-file-plugin.1.gz
- share/man/man1/nbdkit-floppy-plugin.1.gz
- share/man/man1/nbdkit-fua-filter.1.gz
- share/man/man1/nbdkit-full-plugin.1.gz
- @comment share/man/man1/nbdkit-gzip-filter.1.gz
- @comment share/man/man1/nbdkit-indexed-gzip-filter.1.gz
- share/man/man1/nbdkit-info-plugin.1.gz
- share/man/man1/nbdkit-ip-filter.1.gz
- @comment share/man/man1/nbdkit-libvirt-plugin.1.gz
- share/man/man1/nbdkit-limit-filter.1.gz
- share/man/man1/nbdkit-log-filter.1.gz
- share/man/man1/nbdkit-loop.1.gz
- share/man/man1/nbdkit-memory-plugin.1.gz
- share/man/man1/nbdkit-nocache-filter.1.gz
- share/man/man1/nbdkit-noextents-filter.1.gz
- share/man/man1/nbdkit-nofilter-filter.1.gz
- share/man/man1/nbdkit-noparallel-filter.1.gz
- share/man/man1/nbdkit-nozero-filter.1.gz
- share/man/man1/nbdkit-null-plugin.1.gz
- share/man/man1/nbdkit-offset-filter.1.gz
- share/man/man1/nbdkit-partition-filter.1.gz
- share/man/man1/nbdkit-partitioning-plugin.1.gz
- share/man/man1/nbdkit-pattern-plugin.1.gz
- share/man/man1/nbdkit-probing.1.gz
- share/man/man1/nbdkit-protocol.1.gz
- share/man/man1/nbdkit-random-plugin.1.gz
- share/man/man1/nbdkit-rate-filter.1.gz
- share/man/man1/nbdkit-readahead-filter.1.gz
- share/man/man1/nbdkit-release-notes-1.10.1.gz
- share/man/man1/nbdkit-release-notes-1.12.1.gz
- share/man/man1/nbdkit-release-notes-1.14.1.gz
- share/man/man1/nbdkit-release-notes-1.16.1.gz
- share/man/man1/nbdkit-release-notes-1.18.1.gz
- share/man/man1/nbdkit-release-notes-1.20.1.gz
- share/man/man1/nbdkit-release-notes-1.4.1.gz
- share/man/man1/nbdkit-release-notes-1.6.1.gz
- share/man/man1/nbdkit-release-notes-1.8.1.gz
- share/man/man1/nbdkit-retry-filter.1.gz
- share/man/man1/nbdkit-security.1.gz
- share/man/man1/nbdkit-service.1.gz
- share/man/man1/nbdkit-split-plugin.1.gz
- @comment share/man/man1/nbdkit-ssh-plugin.1.gz
- share/man/man1/nbdkit-stats-filter.1.gz
- @comment share/man/man1/nbdkit-tar-plugin.1.gz
- share/man/man1/nbdkit-tls.1.gz
- share/man/man1/nbdkit-tmpdisk-plugin.1.gz
- share/man/man1/nbdkit-truncate-filter.1.gz
- @comment share/man/man1/nbdkit-xz-filter.1.gz
- share/man/man1/nbdkit-zero-plugin.1.gz
- share/man/man1/nbdkit.1.gz
- share/man/man3/nbdkit-filter.3.gz
- @comment share/man/man3/nbdkit-perl-plugin.3.gz
- share/man/man3/nbdkit-plugin.3.gz
- @comment share/man/man3/nbdkit-python-plugin.3.gz
- share/man/man3/nbdkit-sh-plugin.3.gz
- share/man/man1/nbdkit-blocksize-policy-filter.1.gz
- share/man/man1/nbdkit-cdi-plugin.1.gz
- share/man/man1/nbdkit-checkwrite-filter.1.gz
- share/man/man1/nbdkit-client.1.gz
- share/man/man1/nbdkit-ddrescue-filter.1.gz
- share/man/man1/nbdkit-evil-filter.1.gz
- share/man/man1/nbdkit-exitwhen-filter.1.gz
- share/man/man1/nbdkit-exportname-filter.1.gz
- share/man/man1/nbdkit-luks-filter.1.gz
- share/man/man1/nbdkit-multi-conn-filter.1.gz
- share/man/man1/nbdkit-ondemand-plugin.1.gz
- share/man/man1/nbdkit-ones-plugin.1.gz
- share/man/man1/nbdkit-openonce-filter.1.gz
- share/man/man1/nbdkit-pause-filter.1.gz
- share/man/man1/nbdkit-protect-filter.1.gz
- share/man/man1/nbdkit-qcow2dec-filter.1.gz
- share/man/man1/nbdkit-readonly-filter.1.gz
- share/man/man1/nbdkit-release-notes-1.22.1.gz
- share/man/man1/nbdkit-release-notes-1.24.1.gz
- share/man/man1/nbdkit-release-notes-1.26.1.gz
- share/man/man1/nbdkit-release-notes-1.28.1.gz
- share/man/man1/nbdkit-release-notes-1.30.1.gz
- share/man/man1/nbdkit-release-notes-1.32.1.gz
- share/man/man1/nbdkit-release-notes-1.34.1.gz
- share/man/man1/nbdkit-release-notes-1.36.1.gz
- share/man/man1/nbdkit-release-notes-1.38.1.gz
- share/man/man1/nbdkit-release-notes-1.40.1.gz
- share/man/man1/nbdkit-release-notes-1.42.1.gz
- share/man/man1/nbdkit-release-notes-1.44.1.gz
- share/man/man1/nbdkit-retry-request-filter.1.gz
- share/man/man1/nbdkit-rotational-filter.1.gz
- share/man/man1/nbdkit-scan-filter.1.gz
- share/man/man1/nbdkit-sparse-random-plugin.1.gz
- share/man/man1/nbdkit-spinning-filter.1.gz
- share/man/man1/nbdkit-swab-filter.1.gz
- share/man/man1/nbdkit-tar-filter.1.gz
- share/man/man1/nbdkit-time-limit-filter.1.gz
- share/man/man1/nbdkit-tls-fallback-filter.1.gz
- share/man/man3/nbdkit-cc-plugin.3.gz
- share/man/man3/nbdkit-tracing.3.gz
- share/man/man3/nbdkit_absolute_path.3.gz
- share/man/man3/nbdkit_debug.3.gz
- share/man/man3/nbdkit_disconnect.3.gz
- share/man/man3/nbdkit_error.3.gz
- share/man/man3/nbdkit_export_name.3.gz
- share/man/man3/nbdkit_is_tls.3.gz
- share/man/man3/nbdkit_nanosleep.3.gz
- share/man/man3/nbdkit_parse_bool.3.gz
- share/man/man3/nbdkit_parse_delay.3.gz
- share/man/man3/nbdkit_parse_int.3.gz
- share/man/man3/nbdkit_parse_int16_t.3.gz
- share/man/man3/nbdkit_parse_int32_t.3.gz
- share/man/man3/nbdkit_parse_int64_t.3.gz
- share/man/man3/nbdkit_parse_int8_t.3.gz
- share/man/man3/nbdkit_parse_probability.3.gz
- share/man/man3/nbdkit_parse_size.3.gz
- share/man/man3/nbdkit_parse_uint16_t.3.gz
- share/man/man3/nbdkit_parse_uint32_t.3.gz
- share/man/man3/nbdkit_parse_uint64_t.3.gz
- share/man/man3/nbdkit_parse_uint8_t.3.gz
- share/man/man3/nbdkit_parse_unsigned.3.gz
- share/man/man3/nbdkit_peer_gid.3.gz
- share/man/man3/nbdkit_peer_name.3.gz
- share/man/man3/nbdkit_peer_pid.3.gz
- share/man/man3/nbdkit_peer_security_context.3.gz
- share/man/man3/nbdkit_peer_tls_dn.3.gz
- share/man/man3/nbdkit_peer_tls_issuer_dn.3.gz
- share/man/man3/nbdkit_peer_uid.3.gz
- share/man/man3/nbdkit_printf_intern.3.gz
- share/man/man3/nbdkit_read_password.3.gz
- share/man/man3/nbdkit_realpath.3.gz
- share/man/man3/nbdkit_set_error.3.gz
- share/man/man3/nbdkit_shutdown.3.gz
- share/man/man3/nbdkit_stdio_safe.3.gz
- share/man/man3/nbdkit_strdup_intern.3.gz
- share/man/man3/nbdkit_strndup_intern.3.gz
- share/man/man3/nbdkit_vdebug.3.gz
- share/man/man3/nbdkit_verror.3.gz
- share/man/man3/nbdkit_vprintf_intern.3.gz
- share/man/man1/nbdkit-count-filter.1.gz
- share/man/man1/nbdkit-map-filter.1.gz
- share/man/man1/nbdkit-release-notes-1.46.1.gz
- share/man/man3/nbdkit_debug_hexdump.3.gz
- @owner
- @group
- @mode
- USE_RC_SUBR (Service Scripts)
- nbdkit
- Dependency lines:
-
- nbdkit>0:net/nbdkit
- To install the port:
- cd /usr/ports/net/nbdkit/ && make install clean
- To add the package, run one of these commands:
- pkg install net/nbdkit
- pkg install nbdkit
- PKGNAME: nbdkit
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1771256523 SHA256 (nbdkit-1.46.2.tar.gz) = 71669ee6873970643797e2daaee64d1ca5f4453c8f472596005565de2243efa0 SIZE (nbdkit-1.46.2.tar.gz) = 2741835
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- bash-completion>0 : shells/bash-completion
- bash : shells/bash
- gnutls>0 : security/gnutls
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- perl5>=5.42.r<5.43 : lang/perl5.42
- Runtime dependencies:
-
- gnutls>0 : security/gnutls
- There are no ports dependent upon this port
Configuration Options:- ===> The following configuration options are available for nbdkit-1.46.2: CURL=off: Data transfer support via cURL GNUTLS=on: SSL/TLS support via GnuTLS LIBVIRT=off: Virtualization support via libvirt LZMA=off: LZMA compression support MANPAGES=on: Build and/or install manual pages PERL=off: Perl scripting language support PYTHON=off: Python bindings or support RUBY=off: Ruby bindings or support SSH=off: SSH protocol support ZLIB=off: zlib compression support ZSTD=off: Zstandard compression support ===> Use 'make config' to modify these settings
- Options name:
- net_nbdkit
- USES:
- compiler:c11 cpe gmake libtool pkgconfig perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
- Expand this list (1 items)
- Collapse this list.Collapse this list.
16 Feb 2026 21:55:39
net/nbdkit: Update to 1.46.2
26 Jan 2026 20:46:36
net/nbdkit: Fix "fetch: transfer timed out" Can't connect to Hetzner with IPv6, so let's try IPv4, which works fine. Reported by: pkg-fallout
19 Jan 2026 04:29:17
net/nbdkit: Update to 1.46.1
20 Dec 2025 20:29:06
net/nbdkit: Update to 1.46.0 * Add archivers/zlib-ng when ZLIB is enabled (fix "zlib operations will run slower"). ChangeLog: https://libguestfs.org/nbdkit-release-notes-1.46.1.html
01 Nov 2025 16:00:02
net/nbdkit: Update to 1.44.4 * Take maintainership. * Add rc script. ChangeLog: https://gitlab.com/nbdkit/nbdkit/-/compare/v1.44.3...v1.44.4 PR: 290712 Approved by: asomers@ (maintainer)
19 Oct 2025 22:27:52
net/nbdkit: Update to 1.44.3 * Update WWW (old URL points to the unmaintained repository). * Pet portclippy/portfmt. * Remove unnecessary patch for --without-linuxdisk (there is an option for this called --disable-linuxdisk). * Add ZSTD option. PR: 290369
20 Mar 2024 17:15:03
net/nbdkit: Move man pages to share/man Approved by: portmgr (blanket)
27 Jun 2023 19:34:34
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
07 Sep 2022 21:10:59
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time.(Only the first 15 lines of the commit message are shown above
18 Mar 2022 13:23:53
net/nbdkit: Add CPE information Approved by: portmgr (blanket)
07 Apr 2021 08:09:01
One more small cleanup, forgotten yesterday. Reported by: lwhsu
06 Apr 2021 14:31:07
Remove # $FreeBSD$ from Makefiles.
06 Mar 2021 16:46:24
net/nbdkit: Fix packaging issues after r566543 * Add shells/bash-completion, which was a transitive dependency via security/p11-kit until r566543, to BUILD_DEPENDS to fix packaging issues. Approved by: portmgr (build fix)
31 Aug 2020 16:01:11
QAT fixes. Reported by: http://package21.nyi.freebsd.org/data/113amd64-default-qat/546304/logs/nbdkit-1.20.4_1.log
25 Aug 2020 22:37:57
net/nbdkit: fix the GNUTLS option The GNUTLS option requires pkgconf. Since so many options do, this commit enables it unconditionally. PR: 248913 Reported by: Richard W.M. Jones <rjones@redhat.com> Approved by: kevans (ports) Sponsored by: Axcient
20 Jun 2020 23:15:53
net/nbdkit: update to 1.20.4 Reported by: portscout
20 Jun 2020 07:30:08
Add compiler:c11 to USES to fix build on GCC-based systems: background.c:68: error: #pragma GCC diagnostic not allowed inside functions Approved by: portmgr (tier-2 blanket)
20 Jun 2020 04:41:28
net/nbdkit: Elaborate pkg-descr and comment Reported by: linimon Reviewed by: linimon Differential Revision: https://reviews.freebsd.org/D25370
19 Jun 2020 19:29:15
net/nbdkit: new port nbdkit is a toolkit for creating NBD servers Reviewed by: lwhsu, rgrimes Approved by: lwhsu (ports) Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D25354