svn commit: r338535 - head/Mk
Rene Ladan
rene at FreeBSD.org
Fri Jan 3 10:38:52 UTC 2014
Author: rene
Date: Fri Jan 3 10:38:51 2014
New Revision: 338535
URL: http://svnweb.freebsd.org/changeset/ports/338535
Log:
Ensure correct ownership of the licenses directory to avoid "leftovers" [1]
from that ports that modify the user/group.
[1] https://qat.redports.org/~rene@FreeBSD.org/20131227145600-2109-244247/boinc-setiathome-v7-7.00_2.log
Approved by: portmgr (bapt)
Modified:
head/Mk/bsd.licenses.mk
Modified: head/Mk/bsd.licenses.mk
==============================================================================
--- head/Mk/bsd.licenses.mk Fri Jan 3 08:58:44 2014 (r338534)
+++ head/Mk/bsd.licenses.mk Fri Jan 3 10:38:51 2014 (r338535)
@@ -760,6 +760,8 @@ install-license:
. endfor
.endif
# XXX @dirrmtry entry must be here (no way to do with PLIST_* vars)
+ @${ECHO_CMD} "@owner root" >> ${TMPPLIST}
+ @${ECHO_CMD} "@group wheel" >> ${TMPPLIST}
@${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm ${_LICENSE_DIR_REL}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec rmdir %D/share/licenses 2>/dev/null || true" >> ${TMPPLIST}
More information about the svn-ports-all
mailing list