Subject: Re: Announce: System Package support now in -current
To: None <firstname.lastname@example.org>
From: =?iso-8859-1?Q?Joachim_K=F6nig-Baltes?= <Joachim.Koenig-Baltes@cms.tecmath.com>
Date: 01/22/2002 11:07:50
On Tue, 22 Jan 2002, Hubert Feyrer wrote:
> On Mon, 21 Jan 2002, Jim Wise wrote:
> > The need to explicitly specify the syspkg PKG_DBDIR will be replaced with a
> > flag for the various pkg tools in the next few days.
> Um, would it make sense to add wrapper scripts syspkg_add, syspkg_info
> etc. instead? I think id's a bit more intuitive (think what'll happen if
> users forget to add the switch, and the will do so!).
> It 'll also be consistent with a future patch_add, patch_info, ...
But the user can also use the wrong script. I would prefer to set a variable
in each of the packages (Makefile, +CONTENTS) marking it as "sys" or "pkgsrc"
package and pkg_add etc. could figure out which PKG_DBDIR to take, if not
told otherwise via command line.