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:
parent
192221af22
commit
372e08e4f9
|
@ -9,6 +9,6 @@ Source: https://github.com/fosslinux/live-bootstrap
|
||||||
# Copyright: $YEAR $NAME <$CONTACT>
|
# Copyright: $YEAR $NAME <$CONTACT>
|
||||||
# License: ...
|
# License: ...
|
||||||
|
|
||||||
Files: SHA256SUMS.sources
|
Files: SHA256SUMS.sources sysa/*/checksums sysa/*/checksums/*
|
||||||
Copyright: none
|
Copyright: none
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
|
@ -83,6 +83,7 @@ mkdir -p tmp/after/include/linux/{x86,x86_64}
|
||||||
mkdir -p tmp/tmp
|
mkdir -p tmp/tmp
|
||||||
cp after.kaem tmp/
|
cp after.kaem tmp/
|
||||||
cp after.kaem.run tmp/after/kaem.run
|
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/
|
cp helpers.sh run.sh tmp/after/
|
||||||
|
|
||||||
# mescc-tools-extra
|
# mescc-tools-extra
|
||||||
|
|
|
@ -35,6 +35,7 @@ cp ../bin/kaem bin/kaem
|
||||||
cp ../catm bin/catm
|
cp ../catm bin/catm
|
||||||
chmod 755 bin/hex2 bin/M1 bin/M2-Planet bin/blood-elf \
|
chmod 755 bin/hex2 bin/M1 bin/M2-Planet bin/blood-elf \
|
||||||
bin/get_machine bin/mes-m2 bin/kaem bin/catm
|
bin/get_machine bin/mes-m2 bin/kaem bin/catm
|
||||||
|
fletcher16 mescc-tools-seed-checksums
|
||||||
PATH=/after/bin
|
PATH=/after/bin
|
||||||
|
|
||||||
# Part 4: blynn-compiler
|
# Part 4: blynn-compiler
|
||||||
|
|
|
@ -259,3 +259,6 @@ cp bin/precisely ${bindir}/precisely
|
||||||
chmod 755 ${bindir}/precisely
|
chmod 755 ${bindir}/precisely
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
62114 /after/bin/precisely
|
|
@ -29,3 +29,5 @@ patch -Np0 -i ../../patches/ls-strcmp.patch
|
||||||
# Build and install
|
# Build and install
|
||||||
/after/bin/make -f Makefile
|
/after/bin/make -f Makefile
|
||||||
/after/bin/make -f Makefile install
|
/after/bin/make -f Makefile install
|
||||||
|
|
||||||
|
cd ../..
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
39142 /after/bin/gzip
|
||||||
|
39142 /after/bin/gunzip
|
||||||
|
39142 /after/bin/zcat
|
|
@ -44,3 +44,6 @@ chmod 755 ${bindir}/gunzip
|
||||||
chmod 755 ${bindir}/zcat
|
chmod 755 ${bindir}/zcat
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums
|
||||||
|
|
|
@ -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
|
|
@ -296,3 +296,6 @@ libdir=${prefix}/lib
|
||||||
${MES} -c "(display 'Hello,Mes!) (newline)"
|
${MES} -c "(display 'Hello,Mes!) (newline)"
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
27475 /after/bin/chmod
|
||||||
|
34512 /after/bin/cp
|
||||||
|
37928 /after/bin/fletcher16
|
|
@ -125,3 +125,6 @@ hex2 \
|
||||||
--exec_enable
|
--exec_enable
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
10790 /after/bin/patch
|
|
@ -49,3 +49,6 @@ tcc -static -o ${bindir}/patch error.o getopt.o getopt1.o addext.o argmatch.o ba
|
||||||
patch --version
|
patch --version
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
15435 /after/bin/sed
|
|
@ -44,3 +44,6 @@ tcc -static -o ${bindir}/sed -L lib lib/libsed.a compile.o execute.o regex.o fmt
|
||||||
sed --version
|
sed --version
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
26761 /after/bin/tar
|
|
@ -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
|
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 ..
|
cd ..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums
|
||||||
|
|
|
@ -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
|
|
@ -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 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/x86 lib/posix/getopt.c
|
||||||
tcc -ar cr ${libdir}/libgetopt.a getopt.o
|
tcc -ar cr ${libdir}/libgetopt.a getopt.o
|
||||||
|
|
||||||
cd ..
|
cd ../..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums
|
||||||
|
|
|
@ -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
|
|
@ -40,3 +40,6 @@ tcc -version
|
||||||
kaem --file ../../compile-libc.kaem
|
kaem --file ../../compile-libc.kaem
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
|
# Checksums
|
||||||
|
fletcher16 checksums/tcc-0.9.27
|
||||||
|
|
Loading…
Reference in New Issue