logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: e8b2e55df6de42ebfff4acd2da3ddf31d9ba847a
parent f21d2d77b85442a29d73fa24dc11df6bb2459fbf
Author: Andrius Štikonas <andrius@stikonas.eu>
Date:   Tue, 25 Mar 2025 23:15:17 +0000

Merge pull request #520 from fosslinux/nochecksum-fixes

Pregenerated files removal

Diffstat:

Msteps/coreutils-9.4/pass1.sh5+++++
Msteps/e2fsprogs-1.45.7/pass1.sh14+++++++++++---
Msteps/file-5.44/pass1.sh3+++
Msteps/gmp-6.2.1/pass1.sh9+++++++--
Msteps/help2man-1.36.4/pass1.sh1+
Msteps/pkg-config-0.29.2/pass1.sh10++++++++++
Msteps/pkg-config-0.29.2/sources6++++++
Msteps/tar-1.34/pass1.sh13++++++++++---
Msteps/util-linux-2.19.1/pass1.sh10++++++++++
9 files changed, 63 insertions(+), 8 deletions(-)

diff --git a/steps/coreutils-9.4/pass1.sh b/steps/coreutils-9.4/pass1.sh @@ -11,6 +11,9 @@ regenerate_files() { touch ChangeLog cp ../gnulib-bb5bb43/build-aux/po/Makefile.in.in po/Makefile.in.in + rm man/help2man + ln -s /usr/bin/help2man man/ + # Remove pregenerated gnulib files pushd ../gnulib-bb5bb43 rm lib/uniwidth/width*.h @@ -23,6 +26,8 @@ regenerate_files() { VERSION=$(basename "${BASH_SOURCE[0]}" .sh | sed 's/coreutils-//') echo "$VERSION" > .tarball-version + rm gl/tests/test-rand-isaac.c + # We don't have autopoint from gettext yet. AUTOPOINT=true AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi } diff --git a/steps/e2fsprogs-1.45.7/pass1.sh b/steps/e2fsprogs-1.45.7/pass1.sh @@ -12,10 +12,8 @@ src_prepare() { rm config/config.guess config/config.sub config/ltmain.sh libtoolize -i - AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -fi - # Remove bison parser generated - rm intl/plural.y + rm intl/plural.c # Setup for regeneratation of lib/ext2fs/utf8data.h rm lib/ext2fs/utf8data.h @@ -25,6 +23,16 @@ src_prepare() { # Disable int sed -i "s/@LIBINTL@//" MCONFIG.in + + # Testfiles + rm tests/*/image.* lib/blkid/tests/*.img.bz2 + rm -r tests/i_qcow + rm lib/et/test_cases/*.c lib/et/test_cases/*.h + + # Generated gettext files + rm po/*.gmo + + AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -fi } src_configure() { diff --git a/steps/file-5.44/pass1.sh b/steps/file-5.44/pass1.sh @@ -5,6 +5,9 @@ src_prepare() { default + # testfiles are difficult to audit here + rm tests/*.testfile + AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi } diff --git a/steps/gmp-6.2.1/pass1.sh b/steps/gmp-6.2.1/pass1.sh @@ -6,12 +6,17 @@ src_prepare() { default # Remove bison and flex generated files - rm demos/calc/calc.{c,h} demos/calc/calclex.c + rm demos/calc/calc.{c,h} demos/calc/calclex.c \ + demos/primes.h + + rm mpn/cray/cfp/mulwwc90.s \ + mpn/cray/cfp/mulwwj90.s \ + tests/rand/t-rand.c AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi # Pre-built texinfo files - find . -name '*.info*' -delete + rm doc/*.info* } src_configure() { diff --git a/steps/help2man-1.36.4/pass1.sh b/steps/help2man-1.36.4/pass1.sh @@ -11,6 +11,7 @@ src_prepare() { rm help2man.info touch help2man.info rm help2man*.1 + rm po/*.gmo } src_configure() { diff --git a/steps/pkg-config-0.29.2/pass1.sh b/steps/pkg-config-0.29.2/pass1.sh @@ -3,6 +3,16 @@ # SPDX-License-Identifier: GPL-3.0-or-later src_prepare() { + rm glib/glib/gunidecomp.h glib/glib/gunibreak.h glib/glib/gscripttable.h \ + glib/glib/gunichartables.h + + pushd glib/glib + mkdir unidata + mv ../../../*.txt unidata/ + perl gen-unicode-tables.pl -both 6.2.0 unidata + perl gen-script-table.pl unidata/Scripts-6.2.0.txt > gscripttable.h + popd + AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi } diff --git a/steps/pkg-config-0.29.2/sources b/steps/pkg-config-0.29.2/sources @@ -1 +1,7 @@ https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz 6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591 +http://ftp.unicode.org/Public/6.2.0/ucd/UnicodeData.txt 8b2cd18247527aa08ec320c3352b6a01b95d63199f20b3b593ea5d5217bdd170 UnicodeData-6.2.0.txt +http://ftp.unicode.org/Public/6.2.0/ucd/LineBreak.txt 5e2eb009b078569e7954789b2d7b5c026b0b40be6fb9400c6e1ecc7d13f4a13f LineBreak-6.2.0.txt +http://ftp.unicode.org/Public/6.2.0/ucd/SpecialCasing.txt 707209a69d7f760e3cc461ce26d789f83d6fb694336c83b14652cd44413aa334 SpecialCasing-6.2.0.txt +http://ftp.unicode.org/Public/6.2.0/ucd/CaseFolding.txt 5cbd9afdddd91fee53871c9b36a34899b0a5bcdf4569ca1a3c98cae3ec3d6333 CaseFolding-6.2.0.txt +http://ftp.unicode.org/Public/6.2.0/ucd/CompositionExclusions.txt 3b3f5051bd74e21df7f2b1b264ead48be626cdeefb061c04ce7280a2358efff9 CompositionExclusions-6.2.0.txt +http://ftp.unicode.org/Public/6.2.0/ucd/Scripts.txt 4cdeb69b6bfead1c170a81b544e7488549575493715ab632bd7492bc92c4823e Scripts-6.2.0.txt diff --git a/steps/tar-1.34/pass1.sh b/steps/tar-1.34/pass1.sh @@ -8,11 +8,18 @@ src_prepare() { . ../../import-gnulib.sh + # Remove bison pregenerated file + rm gnu/parse-datetime.c gnu/parse-datetime-gen.h + + # Gettext translations + rm po/*.gmo + + # Docs + rm doc/tar.info* + + rm tests/testsuite # We don't have autopoint from gettext yet AUTOPOINT=true AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi - - # Remove bison pregenerated file - rm gnu/parse-datetime.c } src_configure() { diff --git a/steps/util-linux-2.19.1/pass1.sh b/steps/util-linux-2.19.1/pass1.sh @@ -5,6 +5,16 @@ src_prepare() { default + # gettext translation files + rm po/*.gmo + + # NOTE: misc-utils/scriptreplay.1 was originally a Pod::Man generated + # manpage. However, it *has* been manually edited since then. In this + # case, it is fine not to delete it; there is little-no risk. + + # generated/unauditable testdata + rm -r tests/ts/blkid/images-fs tests/ts/cramfs/*.img + # We don't have gettext (autopoint) yet. AUTOPOINT=true AUTOMAKE=automake-1.10 AUTOCONF=autoconf-2.64 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -fi }