mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
109e4b1b21
Bugs: - Fix NULL check against lcap data from the jail which was actually setting lcap to NULL. This lines up with similar code in jexec(8). Github PR #1 - Fix compile warning and segfault if lcap was actually NULL - can't cast the jusername struct to string output Github PR #2 Enhancements: - Support dynamic maximum number of groups rather than relying on compile-time NGROUPS Github PR #2 - Support specify target jail by jailname or jail ID through use of libjail jail_get_id() Github PR #3 - Return more specific details when username/UID mapping into jail fails Github PR #3 PR: 197207 Submitted by: Nicholas Kiraly <kiraly.nicholas@gmail.com> Approved by: steve.polyack@intermedix.com (maintainer)
24 lines
466 B
Makefile
24 lines
466 B
Makefile
# Created by: wmoran
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jailme
|
|
PORTVERSION= 0.2.0
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= freebsd-ports-maintainers@intermedix.com
|
|
COMMENT= Setuid version of jexec to allow normal users access to jails
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Intermedix
|
|
GH_COMMIT= d112a6c
|
|
|
|
PLIST_FILES= "@(,,4751) sbin/jailme"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/jailme ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
.include <bsd.port.mk>
|