sha1 and rmd160
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Fri Apr 6 06:15:57 PDT 2012
> The proftpd repository has an md5 file along with the binary. Does that mean i must use md5 or can I, as you suggest, upgrade to the rmd160 and sha256 hashes by generating them using openssl like below? Once I have those hashes I could then just include them in the port as checksums rather than the md5, sha1, and rmd160.
>
> openssl sha256 path/to/file
> openssl rmd160 path/to/file
It's much easier to put what checksums you're after in the Portfile and letting MacPorts tell you how they should be set:
* place checksums md5 a\ sha1 b\ rmd160 c\ sha256 d
* sudo port -v checksums
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120406/1b1f655e/attachment.bin>
More information about the macports-dev
mailing list