1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/security/chrootuid/Makefile
Don Lewis 1ef37aadb3 The chrootuid command combines chroot(8) and su(1) into one program,
so that there is no need to have commands such as /usr/bin/su in the
restricted environment.  Access to the file system is restricted to
the newroot subtree and privileges are restricted to those of the
newuser account (which must be a known account in the unrestricted
environment).
1999-12-09 10:37:38 +00:00

37 lines
905 B
Makefile

# New ports collection makefile for: chrootuid
# Version required: 1.2
# Date created: 12 Dec 1999
# Whom: truckman
#
# $FreeBSD$
#
DISTNAME= chrootuid1.2
PKGNAME= chrootuid-1.2
CATEGORIES= security
MASTER_SITES= ftp://ftp.porcupine.org/pub/security/ \
ftp://coast.cs.purdue.edu/pub/tools/unix/chrootuid/
EXTRACT_SUFX= .shar.Z
MAINTAINER= truckman@FreeBSD.org
BUILD_DEPENDS= gunshar:${PORTSDIR}/archivers/gshar+gunshar
EXTRACT_CMD= uncompress
EXTRACT_BEFORE_ARGS= -c
EXTRACT_AFTER_ARGS= | gunshar -d ${WRKDIR}
NO_WRKSUBDIR= yes
MAN8= chrootuid.8
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/chrootuid
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/chrootuid
.endif
${INSTALL_PROGRAM} ${WRKSRC}/chrootuid ${PREFIX}/sbin/chrootuid
${CP} ${WRKSRC}/chrootuid.1 ${WRKSRC}/chrootuid.8
${INSTALL_MAN} ${WRKSRC}/${MAN8} ${PREFIX}/man/man8
.include <bsd.port.mk>