Page MenuHomeFreeBSD

D56743.diff
No OneTemporary

D56743.diff

diff --git a/net/Makefile b/net/Makefile
--- 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
--- /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
--- /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
--- /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.

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 16, 12:44 AM (13 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36808182
Default Alt Text
D56743.diff (2 KB)

Event Timeline