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
This commit is contained in:
parent
c2d1a328f9
commit
1ac2ad3700
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328105
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue