CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]   2017/11/13 07:01:44

Modified files:
        infrastructure/mk: bsd.port.mk pkgpath.mk 

Log message:
allow better integration of ports tree with dpb.
if PORTS_PRIVSEP=Yes, use FETCH_USER and BUILD_USER (defaults to
_pbuild/_pfetch) for common directories. Includes
- fetching stuff into DISTDIR
- building packages under PACKAGE_REPOSITORY
- also caching packages
- running register-plist

the extra complication is reasonably small, the largest part being the
gap between pkg_create to tmp file as regular user and moving into
_pbuild.

(regular pkg_create has to be the same user as make build, because of
ports like boost where the archive has no read rights for anyone but
the user active during extraction)

The full build is not privsep'd (yet, I have to see how complicated this
gets), but with this, using the same machine for regular ports build and
for dpb usage becomes easier.

(note that dpb proper sets PORTS_PRIVSEP=No since it's doing all the privsep
on its own)

as discussed with pirofti@, sthen@ during p2k17

okay pirofti@

Reply via email to