Sunday, March 29, 2020

Re: PORTS_PRIVSEP=Yes and doas install

On Thu, Mar 26, 2020 at 02:53:17PM +0000, Lucas wrote:
> Index: infrastructure/mk/pkgpath.mk
> ===================================================================
> RCS file: /home/cvs/ports/infrastructure/mk/pkgpath.mk,v
> retrieving revision 1.83
> diff -u -p -u -p -r1.83 pkgpath.mk
> --- infrastructure/mk/pkgpath.mk 30 May 2019 17:23:46 -0000 1.83
> +++ infrastructure/mk/pkgpath.mk 26 Mar 2020 00:15:11 -0000
> @@ -141,7 +141,7 @@ _PREDIR = |${_PBUILD} tee >/dev/null
> _PSUDO = ${SUDO}
> _UPDATE_PLIST_SETUP=FAKE_TREE_OWNER=${BUILD_USER} \
> PORTS_TREE_OWNER=$$(id -un) ${SUDO}
> -_INSTALL_CACHE_REPO = ${SUDO} install -d -o ${FETCH_USER} -g $$(id -g ${FETCH_USER}) ${PACKAGE_REPOSITORY_MODE}
> +_INSTALL_CACHE_REPO = ${_PFETCH} install -d ${PACKAGE_REPOSITORY_MODE}
> .else
> _PFETCH =
> _PBUILD =
>

Nah, this is more complicated.

This part will actually not work, because we are trying to create a directory
belonging to pfetch inside a directory belonging to pbuild.

No comments:

Post a Comment