Subject: Re: Thought on pkgviews
To: Dan McMahill <dmcmahill@NetBSD.org>
From: Alistair Crooks <agc@wasabisystems.com>
List: tech-pkg
Date: 07/24/2003 15:02:22
On Wed, Jul 23, 2003 at 11:05:18PM -0400, Dan McMahill wrote:
> 
> > from your example above.  After a package has been installed into
> > its depot directory, it would be possible to use pkg_view(1) to
> > add the package to the correct view, e.g.
> > 
> >     pkg_view -d /usr/pkg/packages/${MACHINE_GNU_PLATFORM} \
> >              -v ${MACHINE_GNU_PLATFORM} add <pkg-name>
> > 
> > would add <pkg-name> into
> > /usr/pkg/${MACHINE_GNU_PLATFORM}/{bin,include,lib}, etc.
> 
> If multiple versions of a package are installed, what would Joe User do
> to select which version he runs?  Is it a modification of his path or 
> does pkg_view create a versioned link farm?  Ie,

No, the original idea behind pkgviews was that all executables (and
manual pages) are selected based on PATH and MANPATH settings in the
environment.
 
> pkg_views should be a major win for pkgsrc.  I really appreciate the
> work you're putting into it.

Yes, my thanks also to Johnny for doing this.

Regards,
Alistair