Subject: Re: print-PLIST can't pick up files installed by cp -p.
To: OBATA Akio <obache@netbsd.org>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 03/15/2007 14:06:04
On 3/14/07, OBATA Akio <obache@netbsd.org> wrote:
> > Packages doing that should be fixed to use ${[BSD_]INSTALL_*} so that
> > they get *correct* permissions set by pkgsrc options.
>
> How about using 'tar' or 'pax'?

Ideally, this too is a bad idea, but my point is more that the
IMSTALL_* macros exist for a good reason and should be used if at all
possible.

That said, with pax (or real GNU tar) it is possible to change
ownership and permissions on the fly, and pax can also turn *off*
preservation of timestamps, avoiding the print-PLIST problem.  I saw a
package recently that used pax with the no-timestamping option (-pm),
but I forget which it was at the moment.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>