[NEW] sysutils/quickjail: Utility to create transient single-command jails

Quickjail is a utility to create transient single-command jails.

This utility operates much like jail(8) -c, but the jails it creates are not
persistent, unlike with jail(8).  This makes quickjail more convenient for
cases where the command may need termination, which may prevent jail(8) from
cleaning up the jail.

WWW: https://git.kevans.dev/kevans/quickjail

Reviewed by:	koobs (earlier version)
Differential Revision:	https://reviews.freebsd.org/D24792
This commit is contained in:
Kyle Evans 2020-07-29 05:17:07 +00:00
parent 756fe84652
commit f52702d061
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543644
4 changed files with 35 additions and 0 deletions

View File

@ -1037,6 +1037,7 @@
SUBDIR += qt5-qtpaths
SUBDIR += qt5-qtplugininfo
SUBDIR += qtpass
SUBDIR += quickjail
SUBDIR += quicksynergy
SUBDIR += racktables
SUBDIR += radeontool

View File

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= quickjail
PORTVERSION= 0.1.2
CATEGORIES= sysutils
MASTER_SITES= https://git.kevans.dev/kevans/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
MAINTAINER= kevans@FreeBSD.org
COMMENT= Utility to quickly create transient single-command jails
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz \
${STAGEDIR}${MAN1PREFIX}/share/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1595998385
SHA256 (quickjail-0.1.2.tar.gz) = 60435a3642dfd5c5d7597149a3fef827dae11ea6487a01d0eca4cb0dbfdfb32f
SIZE (quickjail-0.1.2.tar.gz) = 3815

View File

@ -0,0 +1,8 @@
Quickjail is a utility to create transient single-command jails.
This utility operates much like jail(8) -c, but the jails it creates are not
persistent, unlike with jail(8). This makes quickjail more convenient for
cases where the command may need termination, which may prevent jail(8) from
cleaning up the jail.
WWW: https://git.kevans.dev/kevans/quickjail