Subject: Re: strange permissions difference between /var/db/pkg and the
To: NetBSD Packages Technical Discussion List <tech-pkg@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 04/21/1999 13:34:30
On Tue, 20 Apr 1999, Greg A. Woods wrote:
> Yes, the "make package" and the "pkg_add" were both run by root.

I think the problem is that the tar-file is created by reading the
INSTALL-file from pkgsrc/foo/bar/pkg/INSTALL (etc.), not from
/var/db/pkg/bar-x.y/+INSTALL.


> Note also that the +INSTALL script is only found on the build machine
> and isn't copied into /var/db/pkg on a binary-only machine.  I think I
> mentioned this before, and I think it's a bug too -- the +INSTALL script
> should be preserved, not only so it can be displayed with "pkg_info -i"
> on any machine, but also so that it might be possible to reproduce a
> binary package on a binary-only machine (which has several interesting
> uses, not the least of which is to make it easier to verify that the
> construction of the package is correct and that the pkgsrc Makefile
> isn't doing anything that should be done in the +INSTALL or +REQUIRE
> scripts.

Yet another inaccuracy. Please send code to fix. :)


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>