notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
nbd-client-kmod Kernel NBD client for FreeBSD GEOM framework
g20251024 filesystems on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: dtxdf@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-10-14 22:45:06
Last Update: 2025-10-24 23:11:22
Commit Hash: 4f3fc6d
Also Listed In: kld
License: BSD2CLAUSE
WWW:
https://github.com/ryan-moeller/kernel-nbd-client
Description:
FreeBSD Geom NBD Client is a Network Block Device (NBD) client for the FreeBSD kernel GEOM framework. The project consists of a kernel driver for the NBD GEOM class in mod/ and a user library for the geom(8) control utility in lib/.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (12 items)
Collapse this list.
  1. @kld /boot/modules
  2. /usr/local/share/licenses/nbd-client-kmod-g20251024.1403000/catalog.mk
  3. /usr/local/share/licenses/nbd-client-kmod-g20251024.1403000/LICENSE
  4. /usr/local/share/licenses/nbd-client-kmod-g20251024.1403000/BSD2CLAUSE
  5. /boot/modules/geom_nbd.ko
  6. lib/geom/geom_nbd.so
  7. share/man/man8/gnbd.8.gz
  8. sbin/gnbd
  9. @sample etc/devd/nbd-client.conf.sample
  10. @owner
  11. @group
  12. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • gnbd
Dependency lines:
  • nbd-client-kmod>0:filesystems/nbd-client-kmod
To install the port:
cd /usr/ports/filesystems/nbd-client-kmod/ && make install clean
To add the package, run one of these commands:
  • pkg install filesystems/nbd-client-kmod
  • pkg install nbd-client-kmod
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: nbd-client-kmod
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1761347192 SHA256 (ryan-moeller-kernel-nbd-client-g20251024-ad543b462714b978f47a278a94a404d41b7ccf38_GH0.tar.gz) = a9521671e6a9b5f23842150bb8766c6b747f199e1714a659d502cbe1aeb5788f SIZE (ryan-moeller-kernel-nbd-client-g20251024-ad543b462714b978f47a278a94a404d41b7ccf38_GH0.tar.gz) = 39480

Packages (timestamps in pop-ups are UTC):
nbd-client-kmod
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-g20251024.1403000------
FreeBSD:14:quarterly--------
FreeBSD:15:latest-g20251024.1500068n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-g20251024.1600002n/a-n/an/a--
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
filesystems_nbd-client-kmod
USES:
kmod ssl uidfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ryan-moeller/kernel-nbd-client/tar.gz/ad543b462714b978f47a278a94a404d41b7ccf38?dummy=/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
g20251024
24 Oct 2025 23:11:22
commit hash: 4f3fc6d8561b703ef43f1be04853a7aabcada1f4commit hash: 4f3fc6d8561b703ef43f1be04853a7aabcada1f4commit hash: 4f3fc6d8561b703ef43f1be04853a7aabcada1f4commit hash: 4f3fc6d8561b703ef43f1be04853a7aabcada1f4 files touched by this commit
Jesús Daniel Colmenares Oviedo (dtxdf) search for other commits by this committer
filesystems/nbd-client-kmod: Update to g20251024

ChangeLog:
https://github.com/ryan-moeller/kernel-nbd-client/commits/ad543b462714b978f47a278a94a404d41b7ccf38/
g20251023_1
24 Oct 2025 17:44:15
commit hash: 91608086305b72baad3916e813a15c480d398d13commit hash: 91608086305b72baad3916e813a15c480d398d13commit hash: 91608086305b72baad3916e813a15c480d398d13commit hash: 91608086305b72baad3916e813a15c480d398d13 files touched by this commit
Jesús Daniel Colmenares Oviedo (dtxdf) search for other commits by this committer
filesystems/nbd-client-kmod: Add rc script

* Rename ${FILESDIR}/gnbd.in -> ${FILESDIR}/gnbd-bin.in
g20251023
23 Oct 2025 23:51:01
commit hash: 9602ddaa86eda05ad412339c5f17c6aff3775b61commit hash: 9602ddaa86eda05ad412339c5f17c6aff3775b61commit hash: 9602ddaa86eda05ad412339c5f17c6aff3775b61commit hash: 9602ddaa86eda05ad412339c5f17c6aff3775b61 files touched by this commit
Jesús Daniel Colmenares Oviedo (dtxdf) search for other commits by this committer
filesystems/nbd-client-kmod: Update to g20251023

ChangeLog:
https://github.com/ryan-moeller/kernel-nbd-client/commits/e5ab6371101c35a0b96e3459adca5beff2983e94/
g20250928
21 Oct 2025 11:48:28
commit hash: 0bec925908e2c8de65a243380e3de886dc94fd30commit hash: 0bec925908e2c8de65a243380e3de886dc94fd30commit hash: 0bec925908e2c8de65a243380e3de886dc94fd30commit hash: 0bec925908e2c8de65a243380e3de886dc94fd30 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
filesystems/nbd-client-kmod: mark only for arch amd64

Fails to build on non x86 architectures

In file included from g_nbd.c:7:
In file included from /usr/src/sys/sys/param.h:117:
In file included from /usr/src/sys/sys/types.h:43:
./machine/endian.h:5:10: fatal error: 'x86/endian.h' file not found
    5 | #include <x86/endian.h>
      |          ^~~~~~~~~~~~~~
1 error generated.
*** [g_nbd.o] Error code 1
g20250928
17 Oct 2025 05:41:53
commit hash: cd03263b516a6f51ae4b5b20c817ef3d44346bc4commit hash: cd03263b516a6f51ae4b5b20c817ef3d44346bc4commit hash: cd03263b516a6f51ae4b5b20c817ef3d44346bc4commit hash: cd03263b516a6f51ae4b5b20c817ef3d44346bc4 files touched by this commit
Jesús Daniel Colmenares Oviedo (dtxdf) search for other commits by this committer
filesystems/nbd-client-kmod: Mark BROKEN on i386

format specifies type 'unsigned long' but the argument has type 'uint64_t'
(aka 'unsigned long long')

Reported by:    pkg-fallout
g20250928
14 Oct 2025 22:37:18
commit hash: e51f0a609c606e82898679925bb7d761bd5e3fbccommit hash: e51f0a609c606e82898679925bb7d761bd5e3fbccommit hash: e51f0a609c606e82898679925bb7d761bd5e3fbccommit hash: e51f0a609c606e82898679925bb7d761bd5e3fbc files touched by this commit
Jesús Daniel Colmenares Oviedo (dtxdf) search for other commits by this committer
filesystems/nbd-client-kmod: New port: Kernel NBD client for FreeBSD GEOM
framework

FreeBSD Geom NBD Client is a Network Block Device (NBD) client for
the FreeBSD kernel GEOM framework.

The project consists of a kernel driver for the NBD GEOM class in
mod/ and a user library for the geom(8) control utility in lib/.

Number of commits found: 6