Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jun 2026 16:31:54 +0000
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        David Marker <dave@freedave.net>
Subject:   git: 4fcb9cd11719 - main - net/bone-kmods: Collection of netgraph kernel modules
Message-ID:  <6a244b7a.22992.704c7c5e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fcb9cd117191d2bf4cc7fad00c0a1ec4af94dba

commit 4fcb9cd117191d2bf4cc7fad00c0a1ec4af94dba
Author:     David Marker <dave@freedave.net>
AuthorDate: 2026-06-06 06:33:32 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-06-06 16:30:24 +0000

    net/bone-kmods: Collection of netgraph kernel modules
    
    Reviewed by: adamw
    Differential Revision: https://reviews.freebsd.org/D56743
---
 net/Makefile             |  1 +
 net/bone-kmods/Makefile  | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 net/bone-kmods/distinfo  |  3 +++
 net/bone-kmods/pkg-descr | 14 ++++++++++++++
 4 files changed, 65 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 82a4b1764498..139943dbba68 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -67,6 +67,7 @@
     SUBDIR += boinc-client
     SUBDIR += boinc_curses
     SUBDIR += boinctui
+    SUBDIR += bone-kmods
     SUBDIR += bounce
     SUBDIR += bredbandskollen
     SUBDIR += brynet
diff --git a/net/bone-kmods/Makefile b/net/bone-kmods/Makefile
new file mode 100644
index 000000000000..5223a5fde6df
--- /dev/null
+++ b/net/bone-kmods/Makefile
@@ -0,0 +1,47 @@
+PORTNAME=	bone-kmods
+DISTVERSION=	2026.05.16
+CATEGORIES=	net
+
+MAINTAINER=	dave@freedave.net
+COMMENT=	Collection of netgraph kernel modules ${COMMENT_${FLAVOR}}
+WWW=		https://github.com/dmarker/bone
+
+LICENSE=	BSD2CLAUSE
+
+# Patches are available here:
+# https://github.com/dmarker/bong-patches/tree/main/14-stable
+# but there is no plan to merge those.
+BROKEN_FreeBSD_14=	requires additional patches
+
+# solving same issue as bug 286717 with FLAVORS
+FLAVORS=	default invariants
+FLAVOR?=	${FLAVORS:[1]}
+
+default_CONFLICTS_INSTALL=	${PORTNAME}-invariants
+invariants_PKGNAMESUFFIX=	-invariants
+invariants_CONFLICTS_INSTALL=	${PORTNAME}
+COMMENT_invariants=	(invariants kernel)
+
+USES=		kmod uidfix
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dmarker
+GH_PROJECT=	bone
+
+MAKEFILE=	Makefile.kmods
+
+.if ${FLAVOR:U} == invariants
+CFLAGS+=	-DINVARIANT_SUPPORT -DINVARIANTS
+.endif
+
+PLIST_FILES=	${KMODDIR}/ng_pcap.ko \
+		${KMODDIR}/ng_ula4tag.ko \
+		${KMODDIR}/ng_wormhole.ko \
+		include/netgraph/ng_pcap.h \
+		include/netgraph/ng_ula4tag.h \
+		include/netgraph/ng_wormhole.h \
+		share/man/man4/ng_pcap.4.gz \
+		share/man/man4/ng_ula4tag.4.gz \
+		share/man/man4/ng_wormhole.4.gz
+
+.include <bsd.port.mk>
diff --git a/net/bone-kmods/distinfo b/net/bone-kmods/distinfo
new file mode 100644
index 000000000000..b048afe7ba23
--- /dev/null
+++ b/net/bone-kmods/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1778937582
+SHA256 (dmarker-bone-2026.05.16_GH0.tar.gz) = eac4777bf26b494b4e17198121a4ed6ae8e845c926cf8d9f369629daa8b41d82
+SIZE (dmarker-bone-2026.05.16_GH0.tar.gz) = 47537
diff --git a/net/bone-kmods/pkg-descr b/net/bone-kmods/pkg-descr
new file mode 100644
index 000000000000..f9c008d9e672
--- /dev/null
+++ b/net/bone-kmods/pkg-descr
@@ -0,0 +1,14 @@
+This is the [B]ag [O]f [N]etgraph [E]xtensions. An evolving set of extra
+netgraph(4) kernel modules.
+
+At present this module provides the following additional nodes:
+* ng_pcap(4) provides a way to get pcap information from the netgraph(4)
+  system.
+* ng_wormhole(4) provides a way to connect vnet enabled jails using netgraph(4).
+* ng_ula4tag(4) provides a way to VLAN tag traffic that is either (or both) IPv4
+  or IPv6 unique local addresses (ULA).
+
+See manpages for more details and example usage.
+net/bone-utils has utilities that simplify using the nodes in this pkg.
+
+If you are on CURRENT you likely need the @invariants flavor.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a244b7a.22992.704c7c5e>