port -v checksum

Joshua Root jmr at macports.org
Tue Feb 7 08:07:53 UTC 2017


On 2017-2-7 08:11 , John Patrick wrote:
> should 'port -v checksum' check all checksum's listed?
>
> just wondering as about to upgrade a port version and it complained
> about the rmd160, I updated rmd160 with the new checksum but not the
> sha512
>
> if their an option to force it to check all checksum's listed to I
> know the Portfile is valid for the new version?

'port checksum' should definitely always check all the checksums listed 
in the Portfile and fail if any of them don't match those of the 
distfile. It will additionally compute rmd160 and sha256 if those are 
not listed when it fails, so you can easily add them.

As Ryan mentioned, sha512 is not currently supported. If port doesn't 
complain when you use it, it probably should.

If this doesn't address your questions, please describe in more detail 
exactly what you did, what happened, and what you think should have 
happened instead.

- Josh


More information about the macports-dev mailing list