file2port search

Yonatan Bokovza Yonatan at xpert.com
Thu May 1 05:23:23 PDT 2003


> -----Original Message-----
> From: Josef El-Rayes [mailto:j.el-rayes at daemon.li]
> Sent: Thursday, May 01, 2003 15:16
> To: freebsd-ports at freebsd.org
> Subject: file2port search
> 
> 
> hello!
> 
> i was wondering whether there is a more convienient way to resolve a
> file<->port search, than doing something like this
> 
> find /usr/ports -name pkg-plist -print0 | xargs -0 grep <file>
> 
> it would be nice if you can tell me a way to acheive something like
> 
> foo at bar~>pkg_search libtodoconduit.so.0
> deskutils/kdepim3/
> 
> so i enter the file i am looking for and get the 
> corresponding port as a
> result.
> 
> and i dont need to have kdepim3 installed - it should work 
> for the whole
> portstree.

You meen something like portupgrade's pkg_which?


More information about the freebsd-ports mailing list