On Wed, Sep 22, 2010 at 11:24:00AM -0500, L. V. Lammert wrote: > On Wed, 22 Sep 2010, Stuart Henderson wrote: > > > On 2010-09-22, LOL <elvis4...@gmail.com> wrote: > > > Does openBSD have a tools that search packages ? The only way I found it's > > > by installing ports tree but I think it's a bit stupid to have all the > > > tree > > > just to a search. > > > > pkg_add pkg_mgr > > > > > For *packages*, it's much simpler to create a pkg_find alias (originaly > from Matt Van Mater): > > export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/`uname -a | cut -d" " -f > 3`/packages/`uname -a | cut -d" " -f 5`/
That's ugly: uname -r and arch -s should be used there. That's if you're using -release/-stable. otherwise just use current.