Subject: re: Ease of Downloading Packages
To: matthew green <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 12/19/2001 22:31:38
On Thu, 20 Dec 2001, matthew green wrote:

>    But what if, instead of typing
>        pkg_add
>    I could just type
>        pkg_add
>    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