Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 10:07:21 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        LuKreme <kremels@kreme.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Searching the port tree with portmaster?
Message-ID:  <CAOjFWZ5HRA325RxpR=7fHv%2BdmqCJhwzhXY-f6Hp5qgzqEFst2Q@mail.gmail.com>
In-Reply-To: <F190CCA1-DF98-4EEA-8C14-E5AC3BC86AF0@kreme.com>
References:  <F190CCA1-DF98-4EEA-8C14-E5AC3BC86AF0@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 14, 2013 at 11:44 PM, LuKreme <kremels@kreme.com> wrote:

> Am I missing a search feature in postmaster?
>
> If not, how are people finding where a port is to install it (I had a heck
> of a time finding sudo, for example)
>

Method 1:
cd /usr/ports
make quicksearch name=sudo

Method 2:
cd /usr/ports/ports-mgmt/psearch
make install clean
rehash
psearch sudo

Method 1 doesn't require any extra software, but requires a lot of typing.

Method 2 is very handy and speedy, and requires much less typing once
psearch is installed.

Portmaster is a ports installation/upgrading tool.  It's not a ports
searching tool.  Remember the Unix philosophy:  do one thing, and do it
well.  :)  Use separate tools for separate functions.

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ5HRA325RxpR=7fHv%2BdmqCJhwzhXY-f6Hp5qgzqEFst2Q>