[47516] trunk/dports/aqua/osx2x/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Feb 28 17:03:03 PST 2009


On Feb 28, 2009, at 15:31, jeremyhu at macports.org wrote:

> Revision: 47516
>           http://trac.macports.org/changeset/47516
> Author:   jeremyhu at macports.org
> Date:     2009-02-28 13:31:54 -0800 (Sat, 28 Feb 2009)
> Log Message:
> -----------
> osx2x: Link against MacPorts X11 libs.  Update X11 dependencies.   
> Update checksums since dist tarball updated upstream
>
> Modified Paths:
> --------------
>     trunk/dports/aqua/osx2x/Portfile
>
> Modified: trunk/dports/aqua/osx2x/Portfile
> ===================================================================
> --- trunk/dports/aqua/osx2x/Portfile	2009-02-28 21:29:56 UTC (rev  
> 47515)
> +++ trunk/dports/aqua/osx2x/Portfile	2009-02-28 21:31:54 UTC (rev  
> 47516)
> @@ -6,7 +6,7 @@
>
>  name            osx2x
>  version         2.4.0
> -revision        1
> +revision        2
>  set git_hash    3cc708236898ab789bb99a5fba7420ff76ede9f7
>  platforms       darwin
>  maintainers     nomaintainer
> @@ -27,20 +27,23 @@
>
>  worksrcdir      mdales-${name}-${git_hash}
>
> -checksums \
> -    md5     897cf872c4006d4173b3c6ff046b0c44 \
> -    sha1    1014e0ac22b0c00b47dde2b0f7f44eaa676acc7e \
> -    rmd160  cc2a63b9dbfd9485c039fc989bbab96e6cf919ac
> +checksums           md5     fd13fd638a380d29b55eec07e930aa85 \
> +                    sha1     
> 764c74f298374f05f7fba6e5d35d98636e754bf6 \
> +                    rmd160  7add82e2ac2d0c5fd6258ce77d6297502c395370

If you change a port's checksums for an upstream "stealth upgrade"  
you must change the dist_subdir otherwise users who had already  
downloaded the old file or who get it from one of our distfiles  
mirrors will now get a checksum mismatch. In this case, the file with  
the original checksums is still available here:

http://arn.se.distfiles.macports.org/osx2x/osx2x-2.4.tar.gz

However the real problem seems to be that osx2x uses github for  
downloads, which I imagine is generating the tarball on the fly as  
it's requested, hence it's always different. The checksum I got when  
I fetched now was different from the one you updated the portfile to.  
The tarball is always the same, but the gzip format must use entropy  
so its output is different every time for the same input data. github  
seems to cache the tar.gz for awhile, but after that it'll toss it  
and make a new one if it's requested again.

I think this means we simply cannot use github in master_sites in any  
port. I changed the port in r47558 to use the old checksums again and  
download from the arn.se distfiles mirror. By doing this, the  
California and trd.no mirrors should also pick up that file.

The only other port using github in master_sites is webarchiver. I'll  
fix that in a moment.



More information about the macports-dev mailing list