Page MenuHomeFreeBSD

D56743.id177606.diff
No OneTemporary

D56743.id177606.diff

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,44 @@
+PORTNAME= bone-kmods
+DISTVERSION= 2026.05.03
+CATEGORIES= net
+
+MAINTAINER= dave@freedave.net
+COMMENT= Collection of netgraph kernel modules ${COMMENT_${FLAVOR}}
+WWW= https://github.com/dmarker/bong-kmods
+
+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= bong-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 = 1777791645
+SHA256 (dmarker-bong-kmods-2026.05.03_GH0.tar.gz) = 87f55d5c033813c56b354cf661d35d88329a52114c5945ed7cf6b818fb99d5c2
+SIZE (dmarker-bong-kmods-2026.05.03_GH0.tar.gz) = 25292
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,12 @@
+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.

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 3, 11:47 PM (13 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40139526
Default Alt Text
D56743.id177606.diff (2 KB)

Event Timeline