diff --git a/sysutils/Makefile b/sysutils/Makefile --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -52,6 +52,7 @@ SUBDIR += apcctrl SUBDIR += apcpwr SUBDIR += apcupsd + SUBDIR += appjail SUBDIR += apt-mirror-devel SUBDIR += aptly SUBDIR += arc_summary diff --git a/sysutils/appjail/Makefile b/sysutils/appjail/Makefile new file mode 100644 --- /dev/null +++ b/sysutils/appjail/Makefile @@ -0,0 +1,29 @@ +PORTNAME= appjail +DISTVERSIONPREFIX= v +DISTVERSION= 2.4.0 +CATEGORIES= sysutils + +MAINTAINER= DtxdF@disroot.org +COMMENT= Simple and easy-to-use tool for creating portable jails + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= DtxdF +GH_PROJECT= AppJail + +ALL_TARGET= utils-strip + +PORTDOCS= README.md + +OPTIONS_DEFINE= DEBOOTSTRAP DOCS GIT +DEBOOTSTRAP_DESC= Support for Debian and Ubuntu jails +DEBOOTSTRAP_RUN_DEPENDS= debootstrap>0:sysutils/debootstrap +GIT_RUN_DEPENDS= git>0:devel/git + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR} + +.include diff --git a/sysutils/appjail/distinfo b/sysutils/appjail/distinfo new file mode 100644 --- /dev/null +++ b/sysutils/appjail/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1678382078 +SHA256 (DtxdF-AppJail-v2.4.0_GH0.tar.gz) = e3e09f735607715066e88005a3eec5dd360cb290b7f147661e3ee9ff2bf33633 +SIZE (DtxdF-AppJail-v2.4.0_GH0.tar.gz) = 164278 diff --git a/sysutils/appjail/pkg-descr b/sysutils/appjail/pkg-descr new file mode 100644 --- /dev/null +++ b/sysutils/appjail/pkg-descr @@ -0,0 +1,3 @@ +AppJail is an open source framework entirely written in sh(1) and +C to create isolated, portable and easy to deploy environments using +FreeBSD jails that behaves like an application. diff --git a/sysutils/appjail/pkg-plist b/sysutils/appjail/pkg-plist new file mode 100644 --- /dev/null +++ b/sysutils/appjail/pkg-plist @@ -0,0 +1,119 @@ +bin/appjail +bin/appjail-dns +etc/rc.d/appjail +etc/rc.d/appjail-natnet +libexec/appjail/getservbyname/getservbyname +libexec/appjail/ipcheck/ipcheck +libexec/appjail/network/network +%%DATADIR%%/cmd/cmd +%%DATADIR%%/cmd/config +%%DATADIR%%/cmd/cpuset +%%DATADIR%%/cmd/disable +%%DATADIR%%/cmd/enable +%%DATADIR%%/cmd/enabled +%%DATADIR%%/cmd/expose +%%DATADIR%%/cmd/fetch +%%DATADIR%%/cmd/fstab +%%DATADIR%%/cmd/help +%%DATADIR%%/cmd/jail +%%DATADIR%%/cmd/limits +%%DATADIR%%/cmd/login +%%DATADIR%%/cmd/logs +%%DATADIR%%/cmd/makejail +%%DATADIR%%/cmd/nat +%%DATADIR%%/cmd/network +%%DATADIR%%/cmd/pkg +%%DATADIR%%/cmd/quick +%%DATADIR%%/cmd/restart +%%DATADIR%%/cmd/rstop +%%DATADIR%%/cmd/run +%%DATADIR%%/cmd/service +%%DATADIR%%/cmd/start +%%DATADIR%%/cmd/startup +%%DATADIR%%/cmd/stop +%%DATADIR%%/cmd/sysrc +%%DATADIR%%/cmd/update +%%DATADIR%%/cmd/upgrade +%%DATADIR%%/cmd/usage +%%DATADIR%%/cmd/version +%%DATADIR%%/cmd/zfs +%%DATADIR%%/files/config.conf +%%DATADIR%%/files/default.conf +%%DATADIR%%/files/default_template.conf +%%DATADIR%%/files/exclude-thinjail.files +%%DATADIR%%/files/include-thinjail.files +%%DATADIR%%/files/rctl-actions +%%DATADIR%%/files/rctl-resources +%%DATADIR%%/files/rctl-subjects +%%DATADIR%%/lib/atexit +%%DATADIR%%/lib/cache +%%DATADIR%%/lib/check_func +%%DATADIR%%/lib/colors +%%DATADIR%%/lib/copy +%%DATADIR%%/lib/files +%%DATADIR%%/lib/jail +%%DATADIR%%/lib/jail_types +%%DATADIR%%/lib/kern_modules +%%DATADIR%%/lib/keys +%%DATADIR%%/lib/load +%%DATADIR%%/lib/log +%%DATADIR%%/lib/mksum +%%DATADIR%%/lib/mount +%%DATADIR%%/lib/network +%%DATADIR%%/lib/random +%%DATADIR%%/lib/replace +%%DATADIR%%/lib/strlen +%%DATADIR%%/lib/sysexits +%%DATADIR%%/lib/tempfile +%%DATADIR%%/lib/version +%%DATADIR%%/lib/whitespaces +%%DATADIR%%/lib/zfs +%%DATADIR%%/makejail/cmd/all/ADD +%%DATADIR%%/makejail/cmd/all/ARG +%%DATADIR%%/makejail/cmd/all/CLEAR +%%DATADIR%%/makejail/cmd/all/CMD +%%DATADIR%%/makejail/cmd/all/COPY +%%DATADIR%%/makejail/cmd/all/ENTRYPOINT +%%DATADIR%%/makejail/cmd/all/ENV +%%DATADIR%%/makejail/cmd/all/MOUNT +%%DATADIR%%/makejail/cmd/all/PKG +%%DATADIR%%/makejail/cmd/all/RAW +%%DATADIR%%/makejail/cmd/all/REPLACE +%%DATADIR%%/makejail/cmd/all/RUN +%%DATADIR%%/makejail/cmd/all/SERVICE +%%DATADIR%%/makejail/cmd/all/SET +%%DATADIR%%/makejail/cmd/all/SYSRC +%%DATADIR%%/makejail/cmd/all/UMOUNT +%%DATADIR%%/makejail/cmd/all/USER +%%DATADIR%%/makejail/cmd/all/VAR +%%DATADIR%%/makejail/cmd/all/WORKDIR +%%DATADIR%%/makejail/cmd/build/LOGIN +%%DATADIR%%/makejail/cmd/build/OPTION +%%DATADIR%%/makejail/cmd/build/RESTART +%%DATADIR%%/makejail/cmd/build/START +%%DATADIR%%/makejail/cmd/build/STOP +%%DATADIR%%/makejail/write/all/ADD +%%DATADIR%%/makejail/write/all/ARG +%%DATADIR%%/makejail/write/all/CMD +%%DATADIR%%/makejail/write/all/COPY +%%DATADIR%%/makejail/write/all/MOUNT +%%DATADIR%%/makejail/write/all/PKG +%%DATADIR%%/makejail/write/all/RAW +%%DATADIR%%/makejail/write/all/REPLACE +%%DATADIR%%/makejail/write/all/RUN +%%DATADIR%%/makejail/write/all/SERVICE +%%DATADIR%%/makejail/write/all/SET +%%DATADIR%%/makejail/write/all/SYSRC +%%DATADIR%%/makejail/write/all/UMOUNT +%%DATADIR%%/makejail/write/all/VAR +%%DATADIR%%/makejail/write/all/WORKDIR +%%DATADIR%%/makejail/write/build/LOGIN +%%DATADIR%%/makejail/write/build/OPTION +%%DATADIR%%/makejail/write/build/RESTART +%%DATADIR%%/makejail/write/build/START +%%DATADIR%%/makejail/write/build/STOP +%%DATADIR%%/scripts/ascii2oct.sh +%%DATADIR%%/scripts/dns.sh +%%DATADIR%%/scripts/get_depends.sh +%%DATADIR%%/scripts/run_init.sh +%%DATADIR%%/scripts/run_jail.sh