Subject: Re: DESTDIR support
To: None <email@example.com>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 03/25/2007 04:48:53
On Sun, Mar 25, 2007 at 04:40:38AM +0200, Klaus Heinz wrote:
> > 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.
> Does the last paragraph above still apply? From what I have seen (with
> USE_DESTDIR=full and PKG_DESTDIR_SUPPORT=user-destdir) the files added
> by pkg_add have correct permissions but all directories from those
> packages belong to the local user who built the packages, eg
It does. I have a patch for pkg_create to fix that and I am working on
pkg_add to use the same code base. I expect this to hit the tree
sometime after the branch.