Subject: Re: DESTDIR support
To: Joerg Sonnenberger <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 11/20/2006 17:40:23
On Wed, 15 Nov 2006, Joerg Sonnenberger wrote:
>> 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.

I still haven't found time to play with this, but can you tell to what 
extent it works - do pkgs have to be prepared specially for this (if so, 
how?), or will it work for every package?

Thanks for working on this!

   - Hubert