[Slackbuilds-users] Indirect download links in *.info

Thomas Szteliga ts at websafe.pl
Fri Jan 2 07:32:07 UTC 2015


On 01/02/2015 07:46 AM, Willy Sudiarto Raharjo wrote:
> i have uploaded the source in this URL
> https://sourceforge.net/projects/slackbuildsdirectlinks/files/OpenSans/

OK, thank You Willy, but please check the result of this script:

https://gist.github.com/websafe/c172f6a99cf2ff28f8f0

Why do the md5 sums differ?


ls -l

-rw-r--r-- 1 root root 1144311 Jan  2  2015 Open_Sans.zip
-rw-r--r-- 1 root root 1144311 Jan  2 07:08
download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ


md5sum

811d92c69a9d75e17c148b28226c6eab
download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ
b7b32f9e7f22b772d83117407ed48f1b  Open_Sans.zip


md5sum -b

811d92c69a9d75e17c148b28226c6eab
*download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ

b7b32f9e7f22b772d83117407ed48f1b *Open_Sans.zip


I've noticed something strange


for i in `seq 10`; do \
  rm -f Open_Sans.zip; \
  wget -q --content-disposition \

"http://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ";
\
  md5sum Open_Sans.zip; \
done;


Result:

387a12ebc6ae95fc1d7d34ece556ab71  Open_Sans.zip
387a12ebc6ae95fc1d7d34ece556ab71  Open_Sans.zip
4b71e4dd4e82c0ae7119fce173c699c9  Open_Sans.zip
4b71e4dd4e82c0ae7119fce173c699c9  Open_Sans.zip
087871b0c521cdb33d4cf76fdd6554c4  Open_Sans.zip
087871b0c521cdb33d4cf76fdd6554c4  Open_Sans.zip
2bd0bd021b17e6c1b44885cb4cfa54f5  Open_Sans.zip
7f8d14883723c28087d352e53746635c  Open_Sans.zip
7f8d14883723c28087d352e53746635c  Open_Sans.zip
f7b0244cc750069f99ddca02258e4118  Open_Sans.zip


It's somehow Google's "fault". So in this case
I'll not be able to verify, that

https://sourceforge.net/projects/slackbuildsdirectlinks/files/OpenSans/

matches

http://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ


hmmm...

-- 
Thomas Szteliga
https://github.com/websafe


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3692 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150102/e7871ffe/attachment-0001.p7s>


More information about the SlackBuilds-users mailing list