Page MenuHomeFreeBSD

D56744.id176893.diff
No OneTemporary

D56744.id176893.diff

diff --git a/net/bong-utils/Makefile b/net/bong-utils/Makefile
new file mode 100644
--- /dev/null
+++ b/net/bong-utils/Makefile
@@ -0,0 +1,38 @@
+PORTNAME= bong-utils
+DISTVERSION= g20260430
+CATEGORIES= net
+
+MAINTAINER= dave@freedave.net
+COMMENT= Collection of netgraph utilities for bong-kmods
+WWW= https://github.com/dmarker/bong-utils
+
+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
+
+# headers required to build
+BUILD_DEPENDS= ${LOCALBASE}/include/netgraph/ng_pcap.h:net/bong-kmods \
+ ${LOCALBASE}/include/netgraph/ng_wormhole.h:net/bong-kmods
+# kmods required to run
+RUN_DEPENDS= ${KMODDIR}/ng_pcap.ko:net/bong-kmods \
+ ${KMODDIR}/ng_wormhole.ko:net/bong-kmods
+
+USES= uidfix
+USE_GITHUB= yes
+GH_ACCOUNT= dmarker
+GH_PROJECT= bong-utils
+GH_TAGNAME= e204f0a
+
+MAKE_ARGS= MANOWN=${MANOWN} MANGRP=${MANGRP}
+
+PLIST_FILES= etc/rc.d/netgraph \
+ bin/jeiface \
+ bin/ngpcap \
+ bin/ngportal \
+ share/man/man8/ngportal.8.gz \
+ share/man/man8/ngpcap.8.gz
+
+.include <bsd.port.mk>
diff --git a/net/bong-utils/distinfo b/net/bong-utils/distinfo
new file mode 100644
--- /dev/null
+++ b/net/bong-utils/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1777545548
+SHA256 (dmarker-bong-utils-g20260430-e204f0a_GH0.tar.gz) = a2f5fa2560831f65820a830dccdf6b71804c075827e378c5ffebb00e0b72e55b
+SIZE (dmarker-bong-utils-g20260430-e204f0a_GH0.tar.gz) = 25982
diff --git a/net/bong-utils/pkg-descr b/net/bong-utils/pkg-descr
new file mode 100644
--- /dev/null
+++ b/net/bong-utils/pkg-descr
@@ -0,0 +1,14 @@
+The bong-utils package is an evolving set of extra netgraph(4) utilities for
+working with bong-kmods. Additionally it provides a very simple rc(8) script
+which re-names interfaces to match whatever you named them in your ngctl.conf.
+
+At present this module provides the following additional nodes:
+• netgraph rc(8) script that keeps ifconfig(8)/ngctl(8) in agreement on nodes
+ that present a network interface (ng_eiface(4), ng_iface(4)).
+• jeiface script to create an ng_eiface(4) in a jail giving it the name and
+ MAC you request.
+• ncpcap(8) connectes to nodes to capture traffic. It is meant to have its
+ output piped to tcpdump(1)
+• ncportal(8) is the fast and simple way to connect to vnets using netgraph.
+
+See manpages for more details and example usage.
diff --git a/net/bong-utils/pkg-message b/net/bong-utils/pkg-message
new file mode 100644
--- /dev/null
+++ b/net/bong-utils/pkg-message
@@ -0,0 +1,12 @@
+[
+{ type: install
+ message: <<EOM
+If you choose to enable netgraph in your rc.conf, don't forget
+to add the following to your loader.conf:
+ netgraph_load="YES"
+ ng_ether_load="YES"
+If those are not loaded before any physical network interface
+drivers, they will not be available for ngctl(8) to configure.
+EOM
+}
+]

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 17, 4:18 AM (10 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35158433
Default Alt Text
D56744.id176893.diff (2 KB)

Event Timeline