svn commit: r428041 - head/security/chroot_safe

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Dec 7 09:00:46 UTC 2016


Author: amdmi3
Date: Wed Dec  7 09:00:45 2016
New Revision: 428041
URL: https://svnweb.freebsd.org/changeset/ports/428041

Log:
  - Add LICENSE
  - Switch to USES=tar
  - Cosmetic fixes

Modified:
  head/security/chroot_safe/Makefile

Modified: head/security/chroot_safe/Makefile
==============================================================================
--- head/security/chroot_safe/Makefile	Wed Dec  7 08:26:00 2016	(r428040)
+++ head/security/chroot_safe/Makefile	Wed Dec  7 09:00:45 2016	(r428041)
@@ -6,20 +6,22 @@ PORTVERSION=	1.4
 PORTREVISION=	1
 CATEGORIES=	security sysutils
 MASTER_SITES=	SF/chrootsafe/${PORTNAME}/${PORTVERSION}
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Tool to chroot softwares easily
 
-GNU_CONFIGURE=	YES
+LICENSE=	MIT
+
+USES=		tar:tgz
+GNU_CONFIGURE=	yes
 
 PLIST_FILES=	man/man1/chroot_safe.1.gz sbin/chroot_safe libexec/chroot_safe/chroot_safe.so
 
 post-patch:
-	${REINPLACE_CMD} -e  's|CXX=g++|CXX?=c++|' \
+	@${REINPLACE_CMD} -e  's|CXX=g++|CXX?=c++|' \
 		-e 's|-o chroot_safe.so|chroot_safe.cpp -o chroot_safe.so|' \
 		${WRKSRC}/Makefile.in
-	${REINPLACE_CMD} 's|chroot(1)|chroot(8)|' ${WRKSRC}/chroot_safe.1.in
-	${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp
+	@${REINPLACE_CMD} 's|chroot(1)|chroot(8)|' ${WRKSRC}/chroot_safe.1.in
+	@${REINPLACE_CMD} 's|putenv|unsetenv|' ${WRKSRC}/chroot_safe.cpp
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list