mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
sysutils/ngbuddy: Add new port
Netgraph Buddy is an rc.d script for simplified management of netgraph networks in mixed VM and jail environments. PR: 279999 Sponsored by: Bell Tower Integration Sponsored by: Klara, Inc. Co-authored-by: Xavier Beaudouin <kiwi@oav.net>
This commit is contained in:
parent
7b64ff108a
commit
fb5ba3cd5d
@ -829,6 +829,7 @@
|
||||
SUBDIR += nerdctl
|
||||
SUBDIR += netevent
|
||||
SUBDIR += nfcutils
|
||||
SUBDIR += ngbuddy
|
||||
SUBDIR += nitrogen
|
||||
SUBDIR += nix
|
||||
SUBDIR += nmdaemon
|
||||
|
29
sysutils/ngbuddy/Makefile
Normal file
29
sysutils/ngbuddy/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
PORTNAME= ngbuddy
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= daniel@belltech.it
|
||||
COMMENT= rc.d script for management of netgraph networks
|
||||
WWW= https://github.com/bellhyve/ngbuddy
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= bellhyve
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ngbuddy ${STAGEDIR}${PREFIX}/etc/rc.d/
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/share/ngbuddy/* ${STAGEDIR}${DATADIR}
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/examples
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/devfs.rules ${STAGEDIR}${DATADIR}/examples/
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/jail_skel.conf ${STAGEDIR}${DATADIR}/examples/
|
||||
${INSTALL_MAN} ${WRKSRC}/ngbuddy.8 ${STAGEDIR}${PREFIX}/share/man/man8/
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/ngbuddy/distinfo
Normal file
3
sysutils/ngbuddy/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1718315690
|
||||
SHA256 (bellhyve-ngbuddy-v1.0_GH0.tar.gz) = db62e004e5afbba97b2957676f8b2735a5a128ed68b67f96681393cc8bda8e6b
|
||||
SIZE (bellhyve-ngbuddy-v1.0_GH0.tar.gz) = 12977
|
20
sysutils/ngbuddy/files/pkg-message.in
Normal file
20
sysutils/ngbuddy/files/pkg-message.in
Normal file
@ -0,0 +1,20 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
To configure Netgraph Buddy with a "private" and "public" netgraph bridge, run:
|
||||
|
||||
service ngbuddy enable
|
||||
|
||||
If you're using vm-bhyve, you can add your bridges with:
|
||||
|
||||
service ngbuddy vmconf
|
||||
|
||||
For more information, see ngbuddy(8) and the example jail configuration in:
|
||||
|
||||
%%DATADIR%%/examples/
|
||||
|
||||
Please submit bugs to: https://github.com/bellhyve/ngbuddy
|
||||
|
||||
EOM
|
||||
}
|
||||
]
|
2
sysutils/ngbuddy/pkg-descr
Normal file
2
sysutils/ngbuddy/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
Netgraph Buddy is an rc.d script for simplified management of netgraph
|
||||
networks in mixed VM and jail environments.
|
6
sysutils/ngbuddy/pkg-plist
Normal file
6
sysutils/ngbuddy/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
etc/rc.d/ngbuddy
|
||||
share/man/man8/ngbuddy.8.gz
|
||||
%%DATADIR%%/ngbuddy-status.awk
|
||||
%%DATADIR%%/ngbuddy-mmd.awk
|
||||
%%DATADIR%%/examples/devfs.rules
|
||||
%%DATADIR%%/examples/jail_skel.conf
|
Loading…
Reference in New Issue
Block a user