Functionality like "yum whatprovides" in MacPorts?

Joshua Root jmr at macports.org
Sun Jul 25 23:59:03 PDT 2010


On 2010-7-26 16:26 , Jon Hermansen wrote:
> Hello all,
>  I'm trying to find out what package includes the executable 'md5sum'
> but have (as of yet) been unable to find it. YUM provides a
> "whatprovides" function where I can provide a path (with wildcards, eg
> "*/md5sum" and it will return the binary package that contains it. Does
> MacPorts retain some function that tracks installed files, and does it
> also provide functionality to search typically installed binaries? I
> realize that variants may vary a package's installed binaries, and as
> such, MacPorts may be unable to reliably provide this information, but I
> thought it was worth asking.

See previous thread:
<http://lists.macosforge.org/pipermail/macports-users/2010-June/020775.html>

> Alternatively, does anyone know what incantation I can execute to
> install 'md5sum' on my system? I thought it might belong to coreutils
> but I still don't have it...

Coreutils provides 'gmd5sum'. Or of course there's /sbin/md5 or 'openssl
md5' if you don't need the exact output format of GNU md5sum.

- Josh


More information about the macports-users mailing list