Ryan Schmidt writes:

> On Feb 4, 2013, at 11:15, [email protected] wrote:
>
>> Revision: 102521
>>          https://trac.macports.org/changeset/102521
>> Author:   [email protected]
>> Date:     2013-02-04 09:15:24 -0800 (Mon, 04 Feb 2013)
>> Log Message:
>> -----------
>> mu: switch to using github portgroup
>> 
>> Modified Paths:
>> --------------
>>    trunk/dports/mail/mu/Portfile
>> 
>> Modified: trunk/dports/mail/mu/Portfile
>> ===================================================================
>> --- trunk/dports/mail/mu/Portfile    2013-02-04 17:15:15 UTC (rev 102520)
>> +++ trunk/dports/mail/mu/Portfile    2013-02-04 17:15:24 UTC (rev 102521)
>> @@ -2,8 +2,9 @@
>> # $Id$
>> 
>> PortSystem          1.0
>> -name                mu
>> -version             0.9.8.5
>> +PortGroup           github 1.0
>> +
>> +github.setup        djcb mu 0.9.8.5 v
>> license             GPL-3
>> categories          mail
>> maintainers         sean openmaintainer
>> @@ -18,12 +19,12 @@
>> platforms           darwin
>> 
>> homepage            http://www.djcbsoftware.nl/code/mu/
>> -master_sites        googlecode:mu0
>> 
>> -checksums           rmd160  dcb943dfd49cb60e3bc3cccb6d15c09d4c38aa70 \
>> -                    sha256  
>> 41ac0f905487c00e3872d190be7ebb8f6d113318e36a73e344a6f4c266ed79a1
>> +checksums           rmd160  82b5621bf826d3e82255895321352f9f76a0337c \
>> +                    sha256  
>> edb0f33c436b99eb05f4dd3568684b8f3d61e011832958629c83449fe772dcd7
>
> The file now being downloaded from github is not the same file that was being 
> downloaded from GoogleCode, as evidenced by the checksums having changed. But 
> you've left the filename the same, which will now cause a checksum mismatch 
> for anyone who already had the old distfile, or anyone who gets it from our 
> mirror network:
>
> $ sudo port install mu
> --->  Fetching distfiles for mu
> --->  Verifying checksum(s) for mu
> Error: Checksum (rmd160) mismatch for mu-0.9.8.5.tar.gz
> Error: Checksum (sha256) mismatch for mu-0.9.8.5.tar.gz
> Error: org.macports.checksum for port mu returned: Unable to verify file 
> checksums
>
> Because in r102523 you updated the port to version 0.99 / 0.9.9, users should 
> not be affected by this anymore, but in the future, please either handle this 
> as a stealth update:
>
> https://trac.macports.org/wiki/PortfileRecipes#stealth-updates
>
> Or better yet would have been to commit the switch to github and the update 
> to 0.99 / 0.9.9 in the same commit.

Fair enough. I'll do that in the future.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to