pkg_info question

Casey Scott casey at
Wed Jun 22 18:28:46 GMT 2005

Thanks. Good idea. How about this, its a little easier.

#find ./ -name 'pkg-plist*' | xargs grep 'bin/convert'


> Casey Scott wrote:
>> Sorry, I meant I need to know what package a file belongs to that does
>> not
>> exist in the file system already. I need to know where to get something,
>> not where it came from.
> My CVSup script executes
>    find /usr/ports -name "pkg-plist*" > /path/to/somewhere
> after an update of the ports directory. Thus I can search a file with
>    cat /path/to/somewhere | xargs grep 'pattern'
> This method is quick and dirty and does not cover all ports because some
> of them have no pkg-plist file in their directory. Those ports use the
> PLIST_FILES variable in their Makefile instead or generate a plist file
> dynamically.
> Björn
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list