Subject: Re: Searching Packages
To: Daniel Bolgheroni <dbolgheroni@sigmanet.com.br>
From: James K. Lowden <jklowden@schemamania.org>
List: tech-pkg
Date: 03/04/2004 23:00:54
On Sat, 28 Feb 2004, Daniel Bolgheroni <dbolgheroni@sigmanet.com.br>
wrote:
> Hi,
> 
> I'm looking for a better way to find some packages on pkgsrc database
> based on some keywords. I don't think the two ways I know are the right
> choice, or even a good way to do.
> 
> One way is to "make readme readme-all" in /usr/pkgsrc, open
> /usr/pkgsrc/README-all.html on a browser and search a keyword in it.
> Another way is to "make search key=package", but it takes a long time
> extracting complete dependency database (a lot of dots).
> 
> I didn't find any references at http://www.pkgsrc.org.
> 
> What's the right way to search packages?

Here's what I do:

$ grep -l statistic */*/DESCR |
> for D in `cat`
> do
> dirname $D
> done
audio/festvox-en1
audio/festvox-kal16
audio/festvox-kal8
audio/festvox-ked16
audio/festvox-ked8
[...]

--jkl