svn commit: r540386 - head/Mk
Mathieu Arnold
mat at FreeBSD.org
Thu Jun 25 12:37:26 UTC 2020
Author: mat
Date: Thu Jun 25 12:37:26 2020
New Revision: 540386
URL: https://svnweb.freebsd.org/changeset/ports/540386
Log:
Make sure rc files are owned by root:wheel with a sensible mode.
PR: 246158
Reported by: Chad Jacob Milios
Differential Revision: https://reviews.freebsd.org/D25295
Modified:
head/Mk/bsd.port.mk (contents, props changed)
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Thu Jun 25 11:33:34 2020 (r540385)
+++ head/Mk/bsd.port.mk Thu Jun 25 12:37:26 2020 (r540386)
@@ -4574,7 +4574,7 @@ install-rc-script:
_prefix=${PREFIX}; \
[ "${PREFIX}" = "/usr" ] && _prefix="" ; \
${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}$${_prefix}/etc/rc.d/$${i%.sh}; \
- ${ECHO_CMD} "$${_prefix}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \
+ ${ECHO_CMD} "@(root,wheel,0755) $${_prefix}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \
done
.endif
.endif
More information about the svn-ports-all
mailing list