flat assembler
Message board for the users of flat assembler.

Index > Main > fasm archive checksum changed

Author
Thread Post new topic Reply to topic
killasmurf86



Joined: 29 Sep 2010
Posts: 36
killasmurf86 14 Oct 2011, 18:53
Few days ago fasm archive checksum changed.
I'm maintainer of FreeBSD fasm port.

I'm wondering was this silent update, expired cache, or someone hacked fasm.

Looking forward to hearing from you
Post 14 Oct 2011, 18:53
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 14 Oct 2011, 19:08
The last update of libc package, as listed on the download page (and also in atom channel), was 24 Sep 2011 10:30:07 UTC. The checksum should not have changed since then.
Post 14 Oct 2011, 19:08
View user's profile Send private message Visit poster's website Reply with quote
killasmurf86



Joined: 29 Sep 2010
Posts: 36
killasmurf86 15 Oct 2011, 07:11
Here's line from FreeBSD portscout (auto tool to check distfile availability)
Code:
=> Attempting to fetch http://flatassembler.net/fasm-1.69.34.tar.gz
fetch: http://flatassembler.net/fasm-1.69.34.tar.gz: size mismatch: expected 230885, actual 230911
    


The size of archive is also saved in FreeBSD ports distinfo, and it's also used to verify distfile integrity

Here's filesize and SHA256 sum difference
Code:
-SHA256 (fasm-1.69.34.tar.gz) = c77aa94ae1052e26f6f815aa734f6a26b621adf26fb3bc0dcb6ab7c5f38c4b23
-SIZE (fasm-1.69.34.tar.gz) = 230885
+SHA256 (fasm-1.69.34.tar.gz) = 272de9ae8c4f59da5795c6944545db752f89d081134c5455c07a7cdf52c492fe
+SIZE (fasm-1.69.34.tar.gz) = 230911
    



I wouldn't though of asking (thought it's silent update, like last time), but lwhsu at FreeBSD asked me to verify this, before patch to update port was commited
Post 15 Oct 2011, 07:11
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 15 Oct 2011, 08:32
Could you store the exact date of an update somewhere when fetching package for initial sum calculation? This would make this checking easier. Date is actually the version number for package - the version in package name refers only to fasm's core.
Post 15 Oct 2011, 08:32
View user's profile Send private message Visit poster's website Reply with quote
killasmurf86



Joined: 29 Sep 2010
Posts: 36
killasmurf86 15 Oct 2011, 17:08
Here's full log:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.20110929093118/fasm-1.69.34.log

Size mismatch was detected on Oct 7 03:15:05 UTC 2011

However these checks doesn't run every day for every port
Post 15 Oct 2011, 17:08
View user's profile Send private message Reply with quote
Goplat



Joined: 15 Sep 2006
Posts: 181
Goplat 15 Oct 2011, 17:34
Here's where that version was introduced into distinfo: http://www.freebsd.org/cgi/query-pr.cgi?pr=160958

Weird that the patch was apparently submitted on September 23, when fasm 1.69.34 wasn't released until September 24.
Post 15 Oct 2011, 17:34
View user's profile Send private message Reply with quote
killasmurf86



Joined: 29 Sep 2010
Posts: 36
killasmurf86 15 Oct 2011, 19:33
Perhaps thats related to different timezones.... between me and server

(That pr is mine)
Post 15 Oct 2011, 19:33
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 15 Oct 2011, 19:55
Goplat wrote:
Here's where that version was introduced into distinfo: http://www.freebsd.org/cgi/query-pr.cgi?pr=160958

Weird that the patch was apparently submitted on September 23, when fasm 1.69.34 wasn't released until September 24.

1.69.34 was first released September 23 (you can see that in the whatsnew.txt), but there was an update on September 24.
Post 15 Oct 2011, 19:55
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.