sysutils/quickjail: update to 0.2.1

0.2.0 mainly featured quickshell(1), which is a shortcut for invocations
like:

$ quickjail path=/mnt command=/bin/sh
# Equivalent:
$ quickshell /mnt

This update also simplifies the port by just using the bsd.prog.mk install
builds with USES=uidfix. PLIST_FILES was split out into a pkg-plist while it
was growing in numbers and was otherwise tempting me to come up with some
less greppable incantations to generate it.
This commit is contained in:
Kyle Evans
2020-11-04 03:43:39 +00:00
parent e86ee125d0
commit 7e65bab33f
3 changed files with 14 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= quickjail
PORTVERSION= 0.1.2
PORTVERSION= 0.2.1
CATEGORIES= sysutils
MASTER_SITES= https://git.kevans.dev/kevans/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
@@ -11,13 +11,14 @@ COMMENT= Utility to quickly create transient single-command jails
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= uidfix
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
MAKE_ENV+= BINDIR="${PREFIX}/bin" \
MANDIR="${PREFIX}/share/man/man"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1.gz \
${STAGEDIR}${MAN1PREFIX}/share/man/man1
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>

View File

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

View File

@@ -0,0 +1,4 @@
bin/quickjail
bin/quickshell
share/man/man1/quickjail.1.gz
share/man/man1/quickshell.1.gz