Searching the port tree with portmaster?

LuKreme kremels at kreme.com
Thu Aug 15 15:45:32 UTC 2013


On 15 Aug 2013, at 06:33 , Adam Vande More <amvandemore at gmail.com> wrote:

> whereis sudo

Sure, if sudo is installed. Sudo was not installed, so I had to search the ports tree for it. Same with openssl.

I setup an alias

alias pf='find /usr/ports -maxdepth 2 -type d | grep -i '

but was afraid I was missing a command in portmaster.

On 15 Aug 2013, at 00:56 , Sergey V. Dyatko <sergey.dyatko at gmail.com> wrote:

> man ports

> /search[enter]

cd /usr/ports && make search name=pear- 
cd /usr/ports && make search name=pear- xname='ht(tp|ml)'

Well, OK. That seems a lot more effort, and loses your current directory, but that does work. It's fugly though.

-- 
The Drum jealously guarded its reputation as the most stylishly
disreputable tavern in Ankh-Morpork and the big troll that now guarded
the door carefully vetted customers for suitability in the way of black
cloaks, glowing eyes, magic swords and so forth. Rincewind never found
out what he did to the failures. Perhaps he ate them. --Sourcery



More information about the freebsd-ports mailing list