Subject: Re: Thought on pkgviews
To: Johnny C. Lam <jlam@NetBSD.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: tech-pkg
Date: 07/23/2003 23:05:18
> 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,
/usr/pkg/bin/foo -> /some/place/foo-1.2/bin/foo
/usr/pkg/bin/foo-1.2 -> /some/place/foo-1.2/bin/foo
/usr/pkg/bin/foo-1.1 -> /some/place/foo-1.1/bin/foo
/usr/pkg/bin/foo-1.0 -> /some/place/foo-1.0/bin/foo
pkg_views should be a major win for pkgsrc. I really appreciate the
work you're putting into it.
-Dan
--