diff options
author | Rene Ladan <rene@FreeBSD.org> | 2014-01-03 10:38:51 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2014-01-03 10:38:51 +0000 |
commit | df98d075e9ccbd205c856fc1d628e6ccb8f21655 (patch) | |
tree | b2e8bdb34e80de462e36904722df9739b0a671b8 /Mk | |
parent | - Update to 1.545 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=338535
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.licenses.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.licenses.mk b/Mk/bsd.licenses.mk index 67e202cda010..d1e19812ac30 100644 --- a/Mk/bsd.licenses.mk +++ b/Mk/bsd.licenses.mk @@ -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} |