svn commit: r324606 - head/devel/rbenv
Jason Helfman
jgh at FreeBSD.org
Sun Aug 11 22:00:10 UTC 2013
Author: jgh
Date: Sun Aug 11 22:00:09 2013
New Revision: 324606
URL: http://svnweb.freebsd.org/changeset/ports/324606
Log:
- sanitize installation to not clobber suid/guid files
- while here print installation
Previous installations reset the ownerships of all
SUID and SGID files in /usr/local/libexec and
included subdirectories to root:wheel.
PR: 180851
Reported by: Carl Johnson <carlj at peak.org>
Submitted by: jgh@
Approved by: fmb at onibox.net (maintainer timeout, > 14days )
Modified:
head/devel/rbenv/Makefile
Modified: head/devel/rbenv/Makefile
==============================================================================
--- head/devel/rbenv/Makefile Sun Aug 11 21:04:10 2013 (r324605)
+++ head/devel/rbenv/Makefile Sun Aug 11 22:00:09 2013 (r324606)
@@ -2,7 +2,7 @@
PORTNAME= rbenv
PORTVERSION= 0.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel ruby
MASTER_SITES= GH
@@ -30,10 +30,10 @@ post-patch:
@${REINPLACE_CMD} -e "s|\$$root/completions|${DATADIR}/completions|g" ${WRKSRC}/libexec/rbenv-init
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-local-exec ${PREFIX}/bin
- @( cd ${WRKSRC}/libexec && ${COPYTREE_BIN} \* ${PREFIX}/libexec )
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-local-exec ${PREFIX}/bin
+ ( ${INSTALL_SCRIPT} ${WRKSRC}/libexec/* ${PREFIX}/libexec/ )
@${LN} -sf ${PREFIX}/libexec/rbenv ${PREFIX}/bin/rbenv
@${MKDIR} ${DATADIR}/completions
- @( cd ${WRKSRC}/completions && ${COPYTREE_BIN} \* ${DATADIR}/completions )
+ ( cd ${WRKSRC}/completions && ${COPYTREE_BIN} \* ${DATADIR}/completions )
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list