diff --git a/sysutils/Makefile b/sysutils/Makefile index 41eabf996316..5021696dc3fb 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -829,6 +829,7 @@ SUBDIR += nerdctl SUBDIR += netevent SUBDIR += nfcutils + SUBDIR += ngbuddy SUBDIR += nitrogen SUBDIR += nix SUBDIR += nmdaemon diff --git a/sysutils/ngbuddy/Makefile b/sysutils/ngbuddy/Makefile new file mode 100644 index 000000000000..367781b7eac9 --- /dev/null +++ b/sysutils/ngbuddy/Makefile @@ -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 diff --git a/sysutils/ngbuddy/distinfo b/sysutils/ngbuddy/distinfo new file mode 100644 index 000000000000..9bb76bb57b70 --- /dev/null +++ b/sysutils/ngbuddy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1718315690 +SHA256 (bellhyve-ngbuddy-v1.0_GH0.tar.gz) = db62e004e5afbba97b2957676f8b2735a5a128ed68b67f96681393cc8bda8e6b +SIZE (bellhyve-ngbuddy-v1.0_GH0.tar.gz) = 12977 diff --git a/sysutils/ngbuddy/files/pkg-message.in b/sysutils/ngbuddy/files/pkg-message.in new file mode 100644 index 000000000000..044847281f2b --- /dev/null +++ b/sysutils/ngbuddy/files/pkg-message.in @@ -0,0 +1,20 @@ +[ +{ type: install + message: <