From nobody Sat Jun 13 05:20:26 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gcl8C2bHDz6hNgf for ; Sat, 13 Jun 2026 05:20:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gcl8C1JBZz4L8L for ; Sat, 13 Jun 2026 05:20:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781328027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C5VQfJiBKdBX0bcgzGla/OMacuV4BFLqXV47G01F2p0=; b=r/DhmmLSN8DAJK9s64M3EQ0LX8TWQ1y8WXirGFgRNyjF2Pva3Jp6S5Q0p7pw4TBwxhSpdG +qOH4VSuVrDUJXgrrFk7uax/UqbCnNbbHDEm4SsFg8BCFaeCsXTxL1rtcb3MXZTSAYIwbw qo30VlO1of86R9ENX6g9CPSk+hsCUUuw1w0DHTYV2D+kRqObopPwuQ06p32cC0TlO55orj bAsLvExNHN7k4l6hH/3sJRHCWbDM5HV6DncQbM1XSPlKg/eGpKloQlm0djwHicdHIGssd8 df2iN0eBgp5nKlJc5tzBUWSg2IB/OXt6XxPlbdkSQmqSXSu9Yu/eg4DlYigPgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781328027; a=rsa-sha256; cv=none; b=GDZ5LwtT7YarT6oBAX/YWi/laYlEK6v/fWuonUiJXBtH1rjCbf1AEyXKxlyh/vzt0bE12h ghh2yuoVlQJvRW9sk9R+upHX9xq+girBFGNsLy5WQK0Rj+g/CwIvaZ/vZDi/m6GPCnc7mR dJnAVKPpfCaoWY9Ir4qzIc8YXAx6559DqM6LVCxpNrsohnc8pYg5apeLpCZ8arNz0Z5wPf ScLgTeuGHt/VVxgvPL8SJqqH/01udAJ4fdl3RFNN9pKqTW70MH4GNn4rge9SD8drkyRtmn 9TL67fbN9NJo1jr5CxWiBBMgbZIWnZWSrK2ElMJ+2uo7WtjCqt79UkdD6MIthQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781328027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C5VQfJiBKdBX0bcgzGla/OMacuV4BFLqXV47G01F2p0=; b=ArNlTd/gaXnV3gjm4aX3Sc5V5i9uoO9UZCUgI6aTKcuD/ZVG/OKCYrh9AW6cIxxBziq9GR 2ZCOBCzmVFNMC0erZOw1uWIffBWjUEhWIsJ7wAddaOX/yFufbaUDBX/SjX4t56TbguNbvv llTSYc9E0Y8quWUBzKFWNvm5KHI/NmJfWyE7lIKu8G2LCYPM0YzZq6fiWJaICMPoG4En0g JOxHMMn8S/EZlxT15Zhb071UN12ZflXfX+jORPZCCGPSeRiX6TBIXOpPp7GC44PkL5zYHc atVGkWCtPQk0t7th1WUb4y3Ut3tKK7bonaAlGx5m8un2aSnoPqxdkQtpIhawQw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gcl8B722Wz18Ld for ; Sat, 13 Jun 2026 05:20:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 43f42 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 13 Jun 2026 05:20:26 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Dave Marker From: Adam Weinberger Subject: git: 943bddf018c0 - main - net/bone-utils: Add port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adamw X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 943bddf018c0fa2a68d129f00cd3cddf611fd7a8 Auto-Submitted: auto-generated Date: Sat, 13 Jun 2026 05:20:26 +0000 Message-Id: <6a2ce89a.43f42.6e613333@gitrepo.freebsd.org> The branch main has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=943bddf018c0fa2a68d129f00cd3cddf611fd7a8 commit 943bddf018c0fa2a68d129f00cd3cddf611fd7a8 Author: Dave Marker AuthorDate: 2026-06-13 05:18:22 +0000 Commit: Adam Weinberger CommitDate: 2026-06-13 05:20:16 +0000 net/bone-utils: Add port This is the [B]ag [O]f [N]etgraph [E]xtensions utilities package is an evolving set of extra netgraph(4) utilities to simplify using the kernel modules in net/bone-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: * netgraph rc(8) script that keeps ifconfig(8)/ngctl(8) in agreement on nodes that present a network interface (ng_eiface(4), ng_ether(4), ng_iface(4)). * jeiface script to create an ng_eiface(4) in a jail giving it the name and optional MAC you request. * ncpcap(8) connectes to nodes to capture traffic. It is meant to have its output piped to tcpdump(1) * ngportal(8) is the fast and simple way to connect to vnets using netgraph. Differential Revision: https://reviews.freebsd.org/D56744 --- net/Makefile | 1 + net/bone-utils/Makefile | 35 +++++++++++++++++++++++++++++++++++ net/bone-utils/distinfo | 3 +++ net/bone-utils/pkg-descr | 23 +++++++++++++++++++++++ net/bone-utils/pkg-message | 22 ++++++++++++++++++++++ 5 files changed, 84 insertions(+) diff --git a/net/Makefile b/net/Makefile index 139943dbba68..08b7e486b6dd 100644 --- a/net/Makefile +++ b/net/Makefile @@ -68,6 +68,7 @@ SUBDIR += boinc_curses SUBDIR += boinctui SUBDIR += bone-kmods + SUBDIR += bone-utils SUBDIR += bounce SUBDIR += bredbandskollen SUBDIR += brynet diff --git a/net/bone-utils/Makefile b/net/bone-utils/Makefile new file mode 100644 index 000000000000..095f1bb0b300 --- /dev/null +++ b/net/bone-utils/Makefile @@ -0,0 +1,35 @@ +PORTNAME= bone-utils +DISTVERSION= 2026.05.16 +CATEGORIES= net sysutils + +MAINTAINER= dave@freedave.net +COMMENT= Collection of netgraph utilities for bone-kmods +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 + +USES= uidfix + +USE_GITHUB= yes +GH_ACCOUNT= dmarker +GH_PROJECT= bone +GH_TAGNAME= 50c5a95 + +MAKEFILE= Makefile.utils + +PLIST_FILES= etc/rc.d/bone_netgraph \ + bin/jeiface \ + bin/ngpcap \ + bin/ngportal \ + share/man/man8/ngportal.8.gz \ + share/man/man8/ngpcap.8.gz + +post-patch: + ${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/rc.d/bone_netgraph + +.include diff --git a/net/bone-utils/distinfo b/net/bone-utils/distinfo new file mode 100644 index 000000000000..2aaa63c9a978 --- /dev/null +++ b/net/bone-utils/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1781022175 +SHA256 (dmarker-bone-2026.05.16-50c5a95_GH0.tar.gz) = 541a95261fa5c5249881271141a8341a5e62d0aca9c9474162592ccafe9f3e7c +SIZE (dmarker-bone-2026.05.16-50c5a95_GH0.tar.gz) = 47768 diff --git a/net/bone-utils/pkg-descr b/net/bone-utils/pkg-descr new file mode 100644 index 000000000000..14b88d6300a3 --- /dev/null +++ b/net/bone-utils/pkg-descr @@ -0,0 +1,23 @@ +This is the [B]ag [O]f [N]etgraph [E]xtensions utilities package is an evolving +set of extra netgraph(4) utilities to simplify using the kernel modules in +net/bone-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: +* netgraph rc(8) script that keeps ifconfig(8)/ngctl(8) in agreement on nodes + that present a network interface (ng_eiface(4), ng_ether(4), ng_iface(4)). +* jeiface script to create an ng_eiface(4) in a jail giving it the name and + optional MAC you request. +* ncpcap(8) connectes to nodes to capture traffic. It is meant to have its + output piped to tcpdump(1) +* ngportal(8) is the fast and simple way to connect to vnets using netgraph. + +See manpages for more details and example usage. This package needs the correct +version of net/bone-kmods for your system. Most users want the default flavor: + + pkg install bone-kmods + +If you built your kernel with INVARIANTS (the default in CURRENT), use the +@invariants flavor: + + pkg install bone-kmods-invariants diff --git a/net/bone-utils/pkg-message b/net/bone-utils/pkg-message new file mode 100644 index 000000000000..ef4de1e78f3c --- /dev/null +++ b/net/bone-utils/pkg-message @@ -0,0 +1,22 @@ +[ +{ type: install + message: <