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?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to