[#]
http://marc.info/?l=openbsd-ports-cvs&m=140766121123082&w=2
openbsd-ports-cvs(obsdave,2) — All
2014-08-10 13:55:14
Module name: ports
Changes by: espie@cvs.openbsd.org 2014/08/10 02:59:48
Modified files:
infrastructure/mk: pkgpath.mk perl.port.mk bsd.port.mk
Log message:
framework to allow fake as non-root, based on an idea and initial patch by
naddy.
Not turned on yet, as it involves a critical new file.
Basically:
- introduce new variations on SUBST cmds to install various files
- use pkg_subst -i in !root mode
- unhardcode install path where possible, to allow for an install-wrapper
that disregards owner/groups.
- do links during fake to disable chown/chgrp/install.
Extra tweak (always-wrap) to actually encode "perl \
${PORTSDIR}/infra/bin/install-wrapper" as an install script, required by a few ports \
that keep track of the install script for later (eg., ruby, postgres).