port -v checksum

Ryan Schmidt ryandesign at macports.org
Tue Feb 7 11:51:10 UTC 2017


On Feb 7, 2017, at 02:07, Joshua Root wrote:

> 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.

Yes, there are a couple ports that already have sha512 checksums listed -- apache-ant and jumpcut -- but MacPorts does not check them.




More information about the macports-dev mailing list