Subject: Re: DESTDIR support
To: None <tech-pkg@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 11/15/2006 13:20:20
On Mon, Oct 09, 2006 at 03:04:49PM +0200, Joerg Sonnenberger wrote:
> Developers which want to modify existing packages should also try
> USE_DESTDIR= full
> This makes the build completely unprivileged and in turn detects any
> attempt to write e.g. to ${LOCALBASE}. This is not supported for actual
> installation yet, due to short comings of pkg_create.
For the archive, this mostly works now. The biggest problem right now is
that when a tarball contains foo/bar and bar is owned by user joe, tar
creates foo with owner joe and not with user root. There's no easy way
to avoid that though.
Joerg