hmm, on Tue, Oct 27, 2009 at 01:05:26AM +0000, Jacob Meuser said that > On Mon, Oct 26, 2009 at 08:41:44PM +0100, frantisek holop wrote: > > hmm, on Mon, Oct 26, 2009 at 02:56:49AM +0000, Jacob Meuser said that > > > > "If a given package name cannot be found, the directories named by > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > PKG_PATH are searched. It should contain a series > > > > of entries separated by colons. Each entry consists of a directory > > > > name. URL schemes such as FTP, HTTP, HTTPS, or SCP are also > > > > appropriate." > > > > later man pages go like this: > > > > If the given package names are not found in the current working > > directo- > > ry, pkg_add will search for them in each directory named by the > > PKG_PATH > > environment variable. Specifying `-' as a package name causes pkg_add > > to > > read from the standard input. > > > > i think this is inaccurate... the current working directory is never > > searched unless the package name starts with './' or PKG_PATH contains '.': > > > > not working: > > > > $ echo $PKG_PATH > > > > $ ls > > autossh-1.3.tgz > > $ sudo pkg_add autossh-1.3.tgz > > Can't find autossh-1.3.tgz > > Can't call method "grabPlist" on an undefined value at > > /usr/libdata/perl5/OpenBSD/Handle.pm line 154. > > works for me with Oct 22 snap on i386. that file (Handle.pm) is relatively > new. what version do you have?
# $OpenBSD: Handle.pm,v 1.6 2009/10/19 14:00:10 espie Exp $ afaik the latest. i am on Oct 20 snapshot. -f -- i'm neither for, nor against apathy.