Subject: re: Ease of Downloading Packages
To: matthew green <firstname.lastname@example.org>
From: Jeremy C. Reed <email@example.com>
Date: 12/19/2001 22:31:38
On Thu, 20 Dec 2001, matthew green wrote:
> But what if, instead of typing
> I could just type
> pkg_add http://packages.netbsd.org/pine
> and it would give me the latest version?
You can already use a package name without the version info and it will
get the latest version for you.
> why not just `pkg_add pine' ? have some config file to stuff where
> to download from...
I am not sure if you are saying that this is possible -- or if you are
suggesting this idea.
You can already do it by setting the environment variable for PKG_PATH to
the semicolon-delimited list of URLs (and CD mounts, et cetera).
This works for me:
$ echo $PKG_PATH
$ pkg_add xsnow
("pkg_add pine" works to get pine-4.33.tgz.)
Jeremy C. Reed