Mark Peoples wrote:
I set my $PKG_PATH like:

PKG_PATH=/localnet/nfs/server:ftp://ftp3.usa./ftp/path/as/usual...

>From pkg_add(1), my impression was if I did something like

pkg_add a-package-not-in-the-nfs-path-above

it would first look in the nfs path above, and, if it doesn't find it, it would 
then go look at the ftp site. is that the intended behavior? because that's how 
i interpret pkg_add(1), but it's not

if that's not the intended behavior, does anyone have any pointers on how to 
make it work that way?

this is on about a 4 day old -current, but it's been not working the way i've 
thought it should for some time

thanks!


I have found that adding a PKG_CACHE is useful, but is not the "final" source.

perhaps you could use:

PKG_CACHE=localnet/nfs/server
and
PKG_PATH=ftp://ftp3.usa./ftp/path/as/usual...

PKG_CACHE is used if has correct version, else a newer version is downloaded and also added to cache.

As I recently learned, abc-1.2.0p0 and abc-1.2.0p0 are often different versions in -current.
So just copying off of ftp will not be useful


--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein

Reply via email to