Using sha256 checksums causes "No checksum set" for MacPorts 1.x

Rainer Müller raimue at macports.org
Mon Jul 25 02:06:58 PDT 2011


On 2011-07-24 22:28 , Ryan Schmidt wrote:
> Correction: it appears using four kinds of checksums for a distfile
> (md5, sha1, rmd160, and sha256) causes this error. I have now
> corrected this problem in all ports found doing this. Using sha256 in
> combination with only one or two other kinds of checksums seems to be
> fine (except that of course MacPorts 1.9.2 cannot verify sha256
> checksums). There is no reason to list more than two kinds of
> checksums for a distfile anyway, so this should not be a difficult
> problem for port authors to deal with: simply only list sha1 and
> rmd160 checksums for each distfile, as we've been recommending for
> awhile now.

I don't quite get it. Do I understand correctly that using four checksum
types results in an error even on 2.0.0?

Can you give a working and broken example including sha256?

Rainer


More information about the macports-dev mailing list