How about this:

* If the checksums specified in the Portfile include sha256, just print
out the actual values for those checksum types.

* If not, add sha256 to the list when printing out the actual values.

After all there's no harm in using weak hashes in addition to good ones.

- Josh

On 2015-10-12 07:02 , Joshua Root wrote:
> Yes, and I seem to remember having this conversation once before... :)
> 
> On 2015-10-12 05:06 , Daniel J. Luke wrote:
>> it’s really useful for the case when upstream publishes a checksum (that’s 
>> not one of our default ‘good’ ones) when the output includes the checksums 
>> that are in the portfile.
>>
>>> On Oct 11, 2015, at 1:34 PM, [email protected] wrote:
>>> Use $default_checksum_types for handy copy/paste output on checksum failure
>>>
>>> This should help adoption of better, more robust hashing algorithms.

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to