Subject: Re: pkg/10835: Package upgrade procedure sucks
To: None <firstname.lastname@example.org>
From: Hubert Feyrer <email@example.com>
Date: 08/17/2000 01:18:47
On Wed, 16 Aug 2000 firstname.lastname@example.org wrote:
> something like this might not be bad anyway. OpenBSD has implemented
> something they call "fake" which when building a binary pkg, installs to a
> fake dir (I haven't looked to see if its done via chroot). Then the PLIST
> is used to tar up the result. They did it to avoid stuff being installed
> that wasn't correctly listed in PLIST. But such a thing might be good, as
> you suggest, for upgrades.
It would in fact even be good for installing every package: First make a
binary package (without installing it), then pkg_add that binary.
This removes the need to duplicate code in bsd.pkg.mk and pkg_*.
NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!