BSD Ports

net/libnbd 1.24.4 FreeBSD

NBD client library in userspace

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
428a58263b
License
LGPL21+
Categories
net

Description

libnbd is a userspace client library for the Network Block Device (NBD) protocol, which provides access to disk-like devices over a network. It offers a stable C API with synchronous operations for blocking clients and asynchronous operations for non-blocking, multithreaded clients.

The package includes shared and static libraries and the nbddump tool. Optional components provide TLS, URI support, nbdcopy, nbdinfo, FUSE integration, and Python bindings and tools.

Install

Binary package:

pkg install libnbd

From the ports tree:

cd /usr/ports/net/libnbd/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libnbd>0:net/libnbd
LIB_DEPENDS=	libnbd.so:net/libnbd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-1.24.3--1.24.4
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest1.24.31.24.4n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-1.24.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 31
Run dependencies 19

No port depends on this one.

Configuration

Options name: net_libnbd

OptionDefaultDescription
BASHonInstall programmable completions for Bash
FUSEonFUSE (Filesystem in Userspace) support
GNUTLSonSSL/TLS support via GnuTLS
LIBXML2onURI support and nbdcopy/nbdinfo tools
MANPAGESonBuild and/or install manual pages
PYTHONonPython bindings or support
USES
autoreconf compiler:c11 gmake libtool pkgconfig
Service scripts
none

Files

Manual pages 189
  • libnbd(3)
  • libnbd-golang(3)
  • libnbd-ocaml(3)
  • libnbd-python(3)
  • libnbd-release-notes-1.10(1)
  • libnbd-release-notes-1.12(1)
  • libnbd-release-notes-1.14(1)
  • libnbd-release-notes-1.16(1)
  • libnbd-release-notes-1.18(1)
  • libnbd-release-notes-1.2(1)
  • libnbd-release-notes-1.20(1)
  • libnbd-release-notes-1.22(1)
  • libnbd-release-notes-1.24(1)
  • libnbd-release-notes-1.4(1)
  • libnbd-release-notes-1.6(1)
  • libnbd-release-notes-1.8(1)
  • libnbd-security(3)
  • nbd_add_meta_context(3)
  • nbd_aio_block_status(3)
  • nbd_aio_block_status_64(3)
  • nbd_aio_block_status_filter(3)
  • nbd_aio_cache(3)
  • nbd_aio_command_completed(3)
  • nbd_aio_connect(3)
  • nbd_aio_connect_command(3)
  • nbd_aio_connect_socket(3)
  • nbd_aio_connect_systemd_socket_activation(3)
  • nbd_aio_connect_tcp(3)
  • nbd_aio_connect_unix(3)
  • nbd_aio_connect_uri(3)
  • nbd_aio_connect_vsock(3)
  • nbd_aio_disconnect(3)
  • nbd_aio_flush(3)
  • nbd_aio_get_direction(3)
  • nbd_aio_get_fd(3)
  • nbd_aio_in_flight(3)
  • nbd_aio_is_closed(3)
  • nbd_aio_is_connecting(3)
  • nbd_aio_is_created(3)
  • nbd_aio_is_dead(3)
  • nbd_aio_is_negotiating(3)
  • nbd_aio_is_processing(3)
  • nbd_aio_is_ready(3)
  • nbd_aio_notify_read(3)
  • nbd_aio_notify_write(3)
  • nbd_aio_opt_abort(3)
  • nbd_aio_opt_extended_headers(3)
  • nbd_aio_opt_go(3)
  • nbd_aio_opt_info(3)
  • nbd_aio_opt_list(3)
  • nbd_aio_opt_list_meta_context(3)
  • nbd_aio_opt_list_meta_context_queries(3)
  • nbd_aio_opt_set_meta_context(3)
  • nbd_aio_opt_set_meta_context_queries(3)
  • nbd_aio_opt_starttls(3)
  • nbd_aio_opt_structured_reply(3)
  • nbd_aio_peek_command_completed(3)
  • nbd_aio_pread(3)
  • nbd_aio_pread_structured(3)
  • nbd_aio_pwrite(3)
  • nbd_aio_trim(3)
  • nbd_aio_zero(3)
  • nbd_block_status(3)
  • nbd_block_status_64(3)
  • nbd_block_status_filter(3)
  • nbd_cache(3)
  • nbd_can_block_status_payload(3)
  • nbd_can_cache(3)
  • nbd_can_df(3)
  • nbd_can_fast_zero(3)
  • nbd_can_flush(3)
  • nbd_can_fua(3)
  • nbd_can_meta_context(3)
  • nbd_can_multi_conn(3)
  • nbd_can_trim(3)
  • nbd_can_zero(3)
  • nbd_clear_debug_callback(3)
  • nbd_clear_meta_contexts(3)
  • nbd_close(3)
  • nbd_connect_command(3)
  • nbd_connect_socket(3)
  • nbd_connect_systemd_socket_activation(3)
  • nbd_connect_tcp(3)
  • nbd_connect_unix(3)
  • nbd_connect_uri(3)
  • nbd_connect_vsock(3)
  • nbd_connection_state(3)
  • nbd_create(3)
  • nbd_flush(3)
  • nbd_get_block_size(3)
  • nbd_get_canonical_export_name(3)
  • nbd_get_debug(3)
  • nbd_get_errno(3)
  • nbd_get_error(3)
  • nbd_get_export_description(3)
  • nbd_get_export_name(3)
  • nbd_get_extended_headers_negotiated(3)
  • nbd_get_full_info(3)
  • nbd_get_handle_name(3)
  • nbd_get_handle_size(3)
  • nbd_get_handshake_flags(3)
  • nbd_get_meta_context(3)
  • nbd_get_nr_meta_contexts(3)
  • nbd_get_opt_mode(3)
  • nbd_get_package_name(3)
  • nbd_get_pread_initialize(3)
  • nbd_get_private_data(3)
  • nbd_get_protocol(3)
  • nbd_get_request_block_size(3)
  • nbd_get_request_extended_headers(3)
  • nbd_get_request_meta_context(3)
  • nbd_get_request_structured_replies(3)
  • nbd_get_size(3)
  • nbd_get_socket_activation_name(3)
  • nbd_get_strict_mode(3)
  • nbd_get_structured_replies_negotiated(3)
  • nbd_get_subprocess_pid(3)
  • nbd_get_tls(3)
  • nbd_get_tls_hostname(3)
  • nbd_get_tls_negotiated(3)
  • nbd_get_tls_priority(3)
  • nbd_get_tls_username(3)
  • nbd_get_tls_verify_peer(3)
  • nbd_get_uri(3)
  • nbd_get_version(3)
  • nbd_get_version_extra(3)
  • nbd_is_read_only(3)
  • nbd_is_rotational(3)
  • nbd_is_uri(3)
  • nbd_kill_subprocess(3)
  • nbd_opt_abort(3)
  • nbd_opt_extended_headers(3)
  • nbd_opt_go(3)
  • nbd_opt_info(3)
  • nbd_opt_list(3)
  • nbd_opt_list_meta_context(3)
  • nbd_opt_list_meta_context_queries(3)
  • nbd_opt_set_meta_context(3)
  • nbd_opt_set_meta_context_queries(3)
  • nbd_opt_starttls(3)
  • nbd_opt_structured_reply(3)
  • nbd_poll(3)
  • nbd_poll2(3)
  • nbd_pread(3)
  • nbd_pread_structured(3)
  • nbd_pwrite(3)
  • nbd_set_debug(3)
  • nbd_set_debug_callback(3)
  • nbd_set_export_name(3)
  • nbd_set_full_info(3)
  • nbd_set_handle_name(3)
  • nbd_set_handshake_flags(3)
  • nbd_set_opt_mode(3)
  • nbd_set_pread_initialize(3)
  • nbd_set_private_data(3)
  • nbd_set_request_block_size(3)
  • nbd_set_request_extended_headers(3)
  • nbd_set_request_meta_context(3)
  • nbd_set_request_structured_replies(3)
  • nbd_set_socket_activation_name(3)
  • nbd_set_strict_mode(3)
  • nbd_set_tls(3)
  • nbd_set_tls_certificates(3)
  • nbd_set_tls_hostname(3)
  • nbd_set_tls_priority(3)
  • nbd_set_tls_psk_file(3)
  • nbd_set_tls_username(3)
  • nbd_set_tls_verify_peer(3)
  • nbd_set_uri_allow_local_file(3)
  • nbd_set_uri_allow_tls(3)
  • nbd_set_uri_allow_tls_priority(3)
  • nbd_set_uri_allow_transports(3)
  • nbd_shutdown(3)
  • nbd_stats_bytes_received(3)
  • nbd_stats_bytes_sent(3)
  • nbd_stats_chunks_received(3)
  • nbd_stats_chunks_sent(3)
  • nbd_supports_tls(3)
  • nbd_supports_uri(3)
  • nbd_supports_vsock(3)
  • nbd_trim(3)
  • nbd_zero(3)
  • nbdcopy(1)
  • nbddiscard(1)
  • nbddump(1)
  • nbdfuse(1)
  • nbdinfo(1)
  • nbdsh(1)
  • nbdzero(1)
pkg-plist 212
  • bin/nbdcopy
  • bin/nbddiscard
  • bin/nbddump
  • bin/nbdfuse
  • bin/nbdinfo
  • bin/nbdsh
  • bin/nbdzero
  • include/libnbd.h
  • lib/libnbd.a
  • lib/libnbd.so
  • lib/libnbd.so.0
  • lib/libnbd.so.0.0.0
  • %%PYTHON_SITELIBDIR%%/libnbdmod.so
  • %%PYTHON_SITELIBDIR%%/nbd.py
  • %%PYTHON_SITELIBDIR%%/nbdsh.py
  • libdata/pkgconfig/libnbd.pc
  • share/bash-completion/completions/nbdcopy
  • share/bash-completion/completions/nbddiscard
  • share/bash-completion/completions/nbddump
  • share/bash-completion/completions/nbdfuse
  • share/bash-completion/completions/nbdinfo
  • share/bash-completion/completions/nbdsh
  • share/bash-completion/completions/nbdzero
  • share/man/man1/libnbd-release-notes-1.10.1.gz
  • share/man/man1/libnbd-release-notes-1.12.1.gz
  • share/man/man1/libnbd-release-notes-1.14.1.gz
  • share/man/man1/libnbd-release-notes-1.16.1.gz
  • share/man/man1/libnbd-release-notes-1.18.1.gz
  • share/man/man1/libnbd-release-notes-1.2.1.gz
  • share/man/man1/libnbd-release-notes-1.20.1.gz
  • share/man/man1/libnbd-release-notes-1.22.1.gz
  • share/man/man1/libnbd-release-notes-1.24.1.gz
  • share/man/man1/libnbd-release-notes-1.4.1.gz
  • share/man/man1/libnbd-release-notes-1.6.1.gz
  • share/man/man1/libnbd-release-notes-1.8.1.gz
  • share/man/man1/nbdcopy.1.gz
  • share/man/man1/nbddiscard.1.gz
  • share/man/man1/nbddump.1.gz
  • share/man/man1/nbdfuse.1.gz
  • share/man/man1/nbdinfo.1.gz
  • share/man/man1/nbdsh.1.gz
  • share/man/man1/nbdzero.1.gz
  • share/man/man3/libnbd-golang.3.gz
  • share/man/man3/libnbd-ocaml.3.gz
  • share/man/man3/libnbd-python.3.gz
  • share/man/man3/libnbd-security.3.gz
  • share/man/man3/libnbd.3.gz
  • share/man/man3/nbd_add_meta_context.3.gz
  • share/man/man3/nbd_aio_block_status.3.gz
  • share/man/man3/nbd_aio_block_status_64.3.gz
  • share/man/man3/nbd_aio_block_status_filter.3.gz
  • share/man/man3/nbd_aio_cache.3.gz
  • share/man/man3/nbd_aio_command_completed.3.gz
  • share/man/man3/nbd_aio_connect.3.gz
  • share/man/man3/nbd_aio_connect_command.3.gz
  • share/man/man3/nbd_aio_connect_socket.3.gz
  • share/man/man3/nbd_aio_connect_systemd_socket_activation.3.gz
  • share/man/man3/nbd_aio_connect_tcp.3.gz
  • share/man/man3/nbd_aio_connect_unix.3.gz
  • share/man/man3/nbd_aio_connect_uri.3.gz
  • share/man/man3/nbd_aio_connect_vsock.3.gz
  • share/man/man3/nbd_aio_disconnect.3.gz
  • share/man/man3/nbd_aio_flush.3.gz
  • share/man/man3/nbd_aio_get_direction.3.gz
  • share/man/man3/nbd_aio_get_fd.3.gz
  • share/man/man3/nbd_aio_in_flight.3.gz
  • share/man/man3/nbd_aio_is_closed.3.gz
  • share/man/man3/nbd_aio_is_connecting.3.gz
  • share/man/man3/nbd_aio_is_created.3.gz
  • share/man/man3/nbd_aio_is_dead.3.gz
  • share/man/man3/nbd_aio_is_negotiating.3.gz
  • share/man/man3/nbd_aio_is_processing.3.gz
  • share/man/man3/nbd_aio_is_ready.3.gz
  • share/man/man3/nbd_aio_notify_read.3.gz
  • share/man/man3/nbd_aio_notify_write.3.gz
  • share/man/man3/nbd_aio_opt_abort.3.gz
  • share/man/man3/nbd_aio_opt_extended_headers.3.gz
  • share/man/man3/nbd_aio_opt_go.3.gz
  • share/man/man3/nbd_aio_opt_info.3.gz
  • share/man/man3/nbd_aio_opt_list.3.gz
  • share/man/man3/nbd_aio_opt_list_meta_context.3.gz
  • share/man/man3/nbd_aio_opt_list_meta_context_queries.3.gz
  • share/man/man3/nbd_aio_opt_set_meta_context.3.gz
  • share/man/man3/nbd_aio_opt_set_meta_context_queries.3.gz
  • share/man/man3/nbd_aio_opt_starttls.3.gz
  • share/man/man3/nbd_aio_opt_structured_reply.3.gz
  • share/man/man3/nbd_aio_peek_command_completed.3.gz
  • share/man/man3/nbd_aio_pread.3.gz
  • share/man/man3/nbd_aio_pread_structured.3.gz
  • share/man/man3/nbd_aio_pwrite.3.gz
  • share/man/man3/nbd_aio_trim.3.gz
  • share/man/man3/nbd_aio_zero.3.gz
  • share/man/man3/nbd_block_status.3.gz
  • share/man/man3/nbd_block_status_64.3.gz
  • share/man/man3/nbd_block_status_filter.3.gz
  • share/man/man3/nbd_cache.3.gz
  • share/man/man3/nbd_can_block_status_payload.3.gz
  • share/man/man3/nbd_can_cache.3.gz
  • share/man/man3/nbd_can_df.3.gz
  • share/man/man3/nbd_can_fast_zero.3.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
libnbd-1.24.4.tar.gz1.621753e+0619dc521f2b8142ecd45d3009e191b60b76105b1c522b03ce0582adf74864b83b
Master sites 1
  • https://download.libguestfs.org/libnbd/${PORTVERSION:R}-stable/

Commit history 2

DateCommitCreditsLog message
428a58263b hayzamjs net/libnbd: Update to 1.24.4
Changelog: https://gitlab.com/nbdkit/libnbd/-/compare/v1.24.3...v1.24.4 Reviewed by: jrm Differential Revision: https://reviews.freebsd.org/D60761
c5985eb26f hayzamjs net/libnbd: New port: NBD client library in userspace
libnbd is a userspace client library for the Network Block Device (NBD) protocol, which provides access to disk-like devices over a network. It offers a stable C API with synchronous operations for blocking clients and asynchronous operations for non-blocking, multithreaded clients. The package includes shared and static libraries and the nbddump tool. Optional components provide TLS, URI support, nbdcopy, nbdinfo, FUSE integration, and Python bindings and tools. WWW: https://gitlab.com/nbdkit/libnbd Reviewed by: dtxdf, jrm Approved by: dtxdf, jrm Tested by: dtxdf Differential Revision: https://reviews.freebsd.org/D60639