[72523] trunk/dports/net
Anders F Björklund
afb at macports.org
Tue Oct 19 23:50:45 PDT 2010
Rainer Müller wrote:
>> Seems like /sbin/sha256 is missing from Snow Leopard too.
>
> We are linking to CommonCrypto or libmd for the checksum
> algorithms, not
> using binaries. You can use 'sudo port -v checksum' if you need to
> manually generate checksums.
Oh, I was just wondering why it (md) had #ifndef __APPLE__
on the SHA-256, but I guess you can use gsha256sum instead
or make something similar for CC or openssl if you wanted ?
Or use perl's "shasum -a 256" or python's "hashlib.sha256"
--anders
More information about the macports-dev
mailing list