Date: Tue, 24 Sep 2013 10:08:00 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328105 - head/Mk Message-ID: <201309241008.r8OA80cm088926@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Sep 24 10:07:59 2013 New Revision: 328105 URL: http://svnweb.freebsd.org/changeset/ports/328105 Log: In case the port is supporting staging, initialize the PLIST with @owner root @group wheel to force all the content to in the end being installed with root owner even if packaged with a non root credential Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Tue Sep 24 10:04:22 2013 (r328104) +++ head/Mk/bsd.port.mk Tue Sep 24 10:07:59 2013 (r328105) @@ -5717,7 +5717,11 @@ generate-plist: @${ECHO_MSG} "===> Generating temporary packing list" @${MKDIR} `${DIRNAME} ${TMPPLIST}` @if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi +.if defined(NO_STAGE) @>${TMPPLIST} +.else + @${ECHO_CMD} -e "@owner root\n@group wheel" >${TMPPLIST} +.fi @for file in ${PLIST_FILES}; do \ ${ECHO_CMD} $${file} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} >> ${TMPPLIST}; \ done
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309241008.r8OA80cm088926>