add a new switch to FreeBSD psearch utility

ports-mgmt/psearch is a great utility to lookup FreeBSD port tree . As I use it all days, I decided to add a new option on command line to show maintainer with switch -m or –maintainer.

Last night, I send patch to developer Benjamin Lutz and this reaction was :

On Saturday 12 April 2008 06:48:55 Sofian Brabez wrote:
> Your psearch is a great utility to search in port collection tree on
> FreeBSD, i add a new
> option on command line to show port maintainer with switch -m or
> –maintainer. It’s useful for me to lookup unmaintened ports :).

That is a useful idea, thanks!

He told me, he project to rewrite psearch from scratch in c++ to run it faster.

By the way, the following patch is available in my repository named psearch-1-2-maintainer-option.diff.

But why I wrote this patch ? I need to look for umaintened ports of FreeBSD port tree and now I can use it like that to do my search :

(sbz@atemi:~) % psearch -m | grep 'ports@FreeBSD.org' | more
arabic/aspell Aspell Arabic dictionaries ports@FreeBSD.org
archivers/9e Explode Plan9 archives ports@FreeBSD.org
...

Cool no ? :)


About this entry