New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checksumming #39
Checksumming #39
Conversation
eb99a3c
to
afdb38a
Compare
This should now be finished and ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good, although, it might be hard to manually update all hashes if we change some core component... E.g. patch tcc which will affect all hashes.
I don't believe the tcc use case will happen very often, however, I do understand the issue. I'm considering some solutions to this including:
However, I'll add that after this PR. I'm just adding Perl now then I'll merge |
40c37df
to
76e27c5
Compare
1. I'm not convinced our fletcher16 implementation is proper 2. It is not in coreutils So we add some basic code to do that. This is also the first dev-util, so add some documentation to DEVEL.md.
Uses fletcher16 from previous commits. Next we will use sha-2 to do checksumming.
Downloads to a particular filename, allows for different names than whatever is upstream.
Unfortunatley the sha2 project does not have versioned releases so we use the latest commit. We have also manually added a frontend to sha-2 to allow us to invoke it from the command line, thanks bittrof for the help!
Ensure validity at a higher bit depth
1. Adds sha256sum stage to the bash build harness. 2. Adds a third argument to build(), the checksum file name. This is used where there is more than one checksum file, most notably in multi-stage compilations. 3. Adds checksum files to all remaining programs. 4. Adds appropriate 3rd argument where needed (coreutils, tcc-musl, bison).
And the gawk change, fix checksums for that as well For commit e2796e8.
76e27c5
to
87b303f
Compare
TODO: Reuse