Date: Sun, 11 Aug 2013 22:00:09 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324606 - head/devel/rbenv Message-ID: <201308112200.r7BM09Q6049828@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@peak.org> Submitted by: jgh@ Approved by: fmb@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308112200.r7BM09Q6049828>