[79069] trunk/base/src/port1.0/portchecksum.tcl

Ryan Schmidt ryandesign at macports.org
Wed Jun 1 04:06:52 PDT 2011


On May 31, 2011, at 21:17, jmr at macports.org wrote:

> Revision: 79069
>          http://trac.macports.org/changeset/79069
> Author:   jmr at macports.org
> Date:     2011-05-31 19:17:35 -0700 (Tue, 31 May 2011)
> Log Message:
> -----------
> update default checksum types
> 
> Modified Paths:
> --------------
>    trunk/base/src/port1.0/portchecksum.tcl
> 
> Modified: trunk/base/src/port1.0/portchecksum.tcl
> ===================================================================
> --- trunk/base/src/port1.0/portchecksum.tcl	2011-06-01 02:01:38 UTC (rev 79068)
> +++ trunk/base/src/port1.0/portchecksum.tcl	2011-06-01 02:17:35 UTC (rev 79069)
> @@ -58,7 +58,7 @@
> set checksum_types_count [llength $checksum_types]
> 
> # types to recommend if none are specified in the portfile
> -set default_checksum_types {sha1 rmd160}
> +set default_checksum_types {rmd160 sha256}


Shouldn't we wait on this change until we release a version of MacPorts that includes support for sha256? The purpose of listing two checksum types is so that, if one algorithm becomes insecure, the other still confirms the distfile is the same. But MacPorts 1.9.2 does not check sha256 checksums.




More information about the macports-dev mailing list