Implement fletcher16 checksumming up to path

Uses fletcher16 from previous commits.
Next we will use sha-2 to do checksumming.
This commit is contained in:
fosslinux 2021-02-13 17:29:49 +11:00
parent 192221af22
commit 372e08e4f9
23 changed files with 90 additions and 2 deletions

View File

@ -9,6 +9,6 @@ Source: https://github.com/fosslinux/live-bootstrap
# Copyright: $YEAR $NAME <$CONTACT>
# License: ...
Files: SHA256SUMS.sources
Files: SHA256SUMS.sources sysa/*/checksums sysa/*/checksums/*
Copyright: none
License: MIT

View File

@ -83,6 +83,7 @@ mkdir -p tmp/after/include/linux/{x86,x86_64}
mkdir -p tmp/tmp
cp after.kaem tmp/
cp after.kaem.run tmp/after/kaem.run
cp mescc-tools-seed/checksums tmp/after/mescc-tools-seed-checksums
cp helpers.sh run.sh tmp/after/
# mescc-tools-extra

View File

@ -35,6 +35,7 @@ cp ../bin/kaem bin/kaem
cp ../catm bin/catm
chmod 755 bin/hex2 bin/M1 bin/M2-Planet bin/blood-elf \
bin/get_machine bin/mes-m2 bin/kaem bin/catm
fletcher16 mescc-tools-seed-checksums
PATH=/after/bin
# Part 4: blynn-compiler

View File

@ -259,3 +259,6 @@ cp bin/precisely ${bindir}/precisely
chmod 755 ${bindir}/precisely
cd ..
# Checksums
fletcher16 checksums

View File

@ -0,0 +1 @@
62114 /after/bin/precisely

View File

@ -29,3 +29,5 @@ patch -Np0 -i ../../patches/ls-strcmp.patch
# Build and install
/after/bin/make -f Makefile
/after/bin/make -f Makefile install
cd ../..

View File

@ -0,0 +1,3 @@
39142 /after/bin/gzip
39142 /after/bin/gunzip
39142 /after/bin/zcat

View File

@ -44,3 +44,6 @@ chmod 755 ${bindir}/gunzip
chmod 755 ${bindir}/zcat
cd ../..
# Checksums
fletcher16 checksums

13
sysa/mes/checksums Normal file
View File

@ -0,0 +1,13 @@
63031 /after/bin/mes
23643 /after/bin/mescc.scm
36724 /after/lib/crt1.s
42390 /after/lib/crt1.o
39638 /after/lib/x86.M1
526 /after/lib/libmescc.s
10591 /after/lib/libc+tcc.s
45027 /after/lib/libc.s
17259 /after/lib/libmescc.a
20204 /after/lib/libc+tcc.a
34645 /after/lib/libc.a
8245 /after/lib/linux/elf32-header.hex2
15474 /after/lib/linux/elf32-footer-single-main.hex2

View File

@ -296,3 +296,6 @@ libdir=${prefix}/lib
${MES} -c "(display 'Hello,Mes!) (newline)"
cd ../..
# Checksums
fletcher16 checksums

View File

@ -0,0 +1,3 @@
27475 /after/bin/chmod
34512 /after/bin/cp
37928 /after/bin/fletcher16

View File

@ -125,3 +125,6 @@ hex2 \
--exec_enable
cd ..
# Checksums
fletcher16 checksums

View File

@ -0,0 +1,8 @@
12760 /after/bin/blood-elf
31684 /after/bin/catm
52674 /after/bin/get_machine
47046 /after/bin/hex2
25862 /after/bin/kaem
33226 /after/bin/M1
61798 /after/bin/M2-Planet
44920 /after/bin/mes-m2

View File

@ -0,0 +1 @@
10790 /after/bin/patch

View File

@ -49,3 +49,6 @@ tcc -static -o ${bindir}/patch error.o getopt.o getopt1.o addext.o argmatch.o ba
patch --version
cd ../..
# Checksums
fletcher16 checksums

1
sysa/sed-4.0.7/checksums Normal file
View File

@ -0,0 +1 @@
15435 /after/bin/sed

View File

@ -44,3 +44,6 @@ tcc -static -o ${bindir}/sed -L lib lib/libsed.a compile.o execute.o regex.o fmt
sed --version
cd ..
# Checksums
fletcher16 checksums

1
sysa/tar-1.12/checksums Normal file
View File

@ -0,0 +1 @@
26761 /after/bin/tar

View File

@ -56,3 +56,6 @@ tcc -c -I lib -DSIZEOF_UNSIGNED_LONG=4 -DHAVE_FCNTL_H src/update.c
tcc -static -o ${bindir}/tar -L lib lib/libtar.a arith.o buffer.o compare.o create.o delete.o extract.o incremen.o list.o mangle.o misc.o names.o open3.o rtapelib.o tar_patched.o update.o -ltar
cd ..
# Checksums
fletcher16 checksums

17
sysa/tcc-0.9.26/checksums Normal file
View File

@ -0,0 +1,17 @@
27585 /after/bin/boot0-tcc
10300 /after/bin/boot1-tcc
47485 /after/bin/boot2-tcc
38508 /after/bin/boot3-tcc
336 /after/bin/boot4-tcc
35666 /after/bin/boot5-tcc
14206 /after/bin/mes-tcc
35666 /after/bin/tcc
35666 /after/bin/tcc-0.9.26
47832 /after/lib/libc.a
47832 /after/lib/libc+gnu.a
20204 /after/lib/libc+tcc.a
54049 /after/lib/libgetopt.a
23061 /after/lib/crt1.o
16980 /after/lib/crti.o
47705 /after/lib/crtn.o
10853 /after/lib/tcc/libtcc1.a

View File

@ -379,4 +379,7 @@ chmod 755 ${bindir}/tcc-0.9.26
tcc -c -D HAVE_CONFIG_H=1 -I include -I include/linux/x86 lib/posix/getopt.c
tcc -ar cr ${libdir}/libgetopt.a getopt.o
cd ..
cd ../..
# Checksums
fletcher16 checksums

View File

@ -0,0 +1,9 @@
35075 /after/bin/tcc
47832 /after/lib/libc.a
47832 /after/lib/libc+gnu.a
20204 /after/lib/libc+tcc.a
54049 /after/lib/libgetopt.a
23061 /after/lib/crt1.o
16980 /after/lib/crti.o
47705 /after/lib/crtn.o
54138 /after/lib/tcc/libtcc1.a

View File

@ -40,3 +40,6 @@ tcc -version
kaem --file ../../compile-libc.kaem
cd ../..
# Checksums
fletcher16 checksums/tcc-0.9.27