Index: head/security/chrootuid/Makefile =================================================================== --- head/security/chrootuid/Makefile (revision 414929) +++ head/security/chrootuid/Makefile (revision 414930) @@ -1,25 +1,30 @@ # Created by: truckman # $FreeBSD$ PORTNAME= chrootuid PORTVERSION= 1.3 CATEGORIES= security MASTER_SITES= ftp://ftp.porcupine.org/pub/security/ \ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/chrootuid/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple wrapper that combines chroot(8) and su(1) into one program +LICENSE= MIT # MIT-like actually +LICENSE_FILE= ${WRKSRC}/chrootuid_license + PLIST_FILES= sbin/chrootuid man/man8/chrootuid.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS do-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_PROGRAM} ${WRKSRC}/chrootuid ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/chrootuid.1 ${STAGEDIR}${PREFIX}/man/man8 + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/security/chrootuid/files/patch-Makefile =================================================================== --- head/security/chrootuid/files/patch-Makefile (revision 414929) +++ head/security/chrootuid/files/patch-Makefile (revision 414930) @@ -1,11 +1,11 @@ ---- Makefile.orig Thu Aug 12 07:09:31 1993 -+++ Makefile Sun Jun 23 15:01:35 2002 +--- Makefile.orig 1993-08-12 14:09:31 UTC ++++ Makefile @@ -1,7 +1,7 @@ # @(#) Makefile 1.2 93/08/12 16:09:29 FILES = README Makefile chrootuid.c chrootuid.1 -CFLAGS = -O +CFLAGS ?= -O all: chrootuid chrootuid.1 Index: head/security/chrootuid/files/patch-chrootuid.1 =================================================================== --- head/security/chrootuid/files/patch-chrootuid.1 (revision 414929) +++ head/security/chrootuid/files/patch-chrootuid.1 (revision 414930) @@ -1,8 +1,8 @@ ---- chrootuid.1.orig Wed Jul 25 09:46:59 2001 -+++ chrootuid.1 Sun Jun 23 15:01:19 2002 +--- chrootuid.1.orig 2001-07-25 16:46:59 UTC ++++ chrootuid.1 @@ -1,4 +1,4 @@ -.TH CHROOTUID 1 +.TH CHROOTUID 8 .ad .fi .SH NAME Index: head/security/chrootuid/files/patch-chrootuid.c =================================================================== --- head/security/chrootuid/files/patch-chrootuid.c (revision 414929) +++ head/security/chrootuid/files/patch-chrootuid.c (revision 414930) @@ -1,13 +1,13 @@ ---- chrootuid.c.orig Wed Jul 25 09:47:44 2001 -+++ chrootuid.c Sun Jun 23 15:06:10 2002 -@@ -81,6 +81,10 @@ +--- chrootuid.c.orig 2001-07-25 16:47:44 UTC ++++ chrootuid.c +@@ -81,6 +81,10 @@ char **argv; syslog(LOG_ERR, "usage: %s path user command", argv[0]); return (0); } + + syslog(LOG_NOTICE, "chrootuid: dir(%s) user(%s) command(%s)", + argv[1], argv[2], argv[3]); + /* Must step into the new subtree. */ if (chdir(argv[1])) {