svn commit: r414930 - in head/security/chrootuid: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue May 10 09:03:33 UTC 2016


Author: amdmi3
Date: Tue May 10 09:03:31 2016
New Revision: 414930
URL: https://svnweb.freebsd.org/changeset/ports/414930

Log:
  - Add LICENSE
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/security/chrootuid/Makefile
  head/security/chrootuid/files/patch-Makefile
  head/security/chrootuid/files/patch-chrootuid.1
  head/security/chrootuid/files/patch-chrootuid.c

Modified: head/security/chrootuid/Makefile
==============================================================================
--- head/security/chrootuid/Makefile	Tue May 10 08:44:34 2016	(r414929)
+++ head/security/chrootuid/Makefile	Tue May 10 09:03:31 2016	(r414930)
@@ -11,15 +11,20 @@ DISTNAME=	${PORTNAME}${PORTVERSION}
 MAINTAINER=	ports at 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 <bsd.port.mk>

Modified: head/security/chrootuid/files/patch-Makefile
==============================================================================
--- head/security/chrootuid/files/patch-Makefile	Tue May 10 08:44:34 2016	(r414929)
+++ head/security/chrootuid/files/patch-Makefile	Tue May 10 09:03:31 2016	(r414930)
@@ -1,5 +1,5 @@
---- 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
  

Modified: head/security/chrootuid/files/patch-chrootuid.1
==============================================================================
--- head/security/chrootuid/files/patch-chrootuid.1	Tue May 10 08:44:34 2016	(r414929)
+++ head/security/chrootuid/files/patch-chrootuid.1	Tue May 10 09:03:31 2016	(r414930)
@@ -1,5 +1,5 @@
---- 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 

Modified: head/security/chrootuid/files/patch-chrootuid.c
==============================================================================
--- head/security/chrootuid/files/patch-chrootuid.c	Tue May 10 08:44:34 2016	(r414929)
+++ head/security/chrootuid/files/patch-chrootuid.c	Tue May 10 09:03:31 2016	(r414930)
@@ -1,6 +1,6 @@
---- 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);
      }


More information about the svn-ports-head mailing list