github port group

Joshua Root jmr at macports.org
Sun Apr 22 14:39:15 PDT 2012


On 2012-4-23 07:35 , Joshua Root wrote:
> % openssl sha1 1/file.tar 2/file.tar
> SHA1(1/file.tar)= 7937656d0860ca9286a24246a199cf2fddeb6e49
> SHA1(2/file.tar)= 7937656d0860ca9286a24246a199cf2fddeb6e49
> % gzip 1/file.tar
> % gzip 2/file.tar
> % openssl sha1 1/file.tar.gz 2/file.tar.gz
> SHA1(1/file.tar.gz)= 78020f5e126da22be27ac9eda2633db59b725480
> SHA1(2/file.tar.gz)= 78020f5e126da22be27ac9eda2633db59b725480
> 
> Do your two input files also have identical timestamps?

In fact you can prove to yourself that the same file gzips the same by
repeatedly gunzipping and gzipping one.

- Josh


More information about the macports-dev mailing list