Subject: Re: Searching Packages
To: Daniel Bolgheroni <firstname.lastname@example.org>
From: James K. Lowden <email@example.com>
Date: 03/04/2004 23:00:54
On Sat, 28 Feb 2004, Daniel Bolgheroni <firstname.lastname@example.org>
> 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`
> dirname $D