Subject: Re: Getting rid of pkg_install special handling
To: None <tech-pkg@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
Date: 04/25/2005 14:23:28
On Sat, Apr 23, 2005 at 08:58:52PM +0100, Alistair Crooks wrote:
> That's good news - you should also take a look at
> which is pkg_info, pkg_delete and pkg_create done in shell and awk (at
> least enough to get digest and other pre-reqs of pkg_install compiled,
> installed and registered when bootstrapping pkgsrc). pkg.sh has been
> in the generic bootstrap kit since it was written (the copyright says
> 2002, and I remember writing it at Usenix that year - Monterey, IIRC).
> I don't see any problems with the approach, but wonder why wheels are
> getting re-invented.
I don't see any wheels being re-invented here:
As you yourself says, pkg.sh does not do the equivalent of pkg_add,
which is exactly what the script we wrote is doing.