Skip to content

Commit e8b2e55

Browse files
authored
Merge pull request #520 from fosslinux/nochecksum-fixes
Pregenerated files removal
2 parents f21d2d7 + 07c15ea commit e8b2e55

File tree

9 files changed

+63
-8
lines changed

9 files changed

+63
-8
lines changed

steps/coreutils-9.4/pass1.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ regenerate_files() {
1111
touch ChangeLog
1212
cp ../gnulib-bb5bb43/build-aux/po/Makefile.in.in po/Makefile.in.in
1313

14+
rm man/help2man
15+
ln -s /usr/bin/help2man man/
16+
1417
# Remove pregenerated gnulib files
1518
pushd ../gnulib-bb5bb43
1619
rm lib/uniwidth/width*.h
@@ -23,6 +26,8 @@ regenerate_files() {
2326
VERSION=$(basename "${BASH_SOURCE[0]}" .sh | sed 's/coreutils-//')
2427
echo "$VERSION" > .tarball-version
2528

29+
rm gl/tests/test-rand-isaac.c
30+
2631
# We don't have autopoint from gettext yet.
2732
AUTOPOINT=true AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
2833
}

steps/e2fsprogs-1.45.7/pass1.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ src_prepare() {
1212
rm config/config.guess config/config.sub config/ltmain.sh
1313
libtoolize -i
1414

15-
AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -fi
16-
1715
# Remove bison parser generated
18-
rm intl/plural.y
16+
rm intl/plural.c
1917

2018
# Setup for regeneratation of lib/ext2fs/utf8data.h
2119
rm lib/ext2fs/utf8data.h
@@ -25,6 +23,16 @@ src_prepare() {
2523

2624
# Disable int
2725
sed -i "s/@LIBINTL@//" MCONFIG.in
26+
27+
# Testfiles
28+
rm tests/*/image.* lib/blkid/tests/*.img.bz2
29+
rm -r tests/i_qcow
30+
rm lib/et/test_cases/*.c lib/et/test_cases/*.h
31+
32+
# Generated gettext files
33+
rm po/*.gmo
34+
35+
AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -fi
2836
}
2937

3038
src_configure() {

steps/file-5.44/pass1.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
src_prepare() {
66
default
77

8+
# testfiles are difficult to audit here
9+
rm tests/*.testfile
10+
811
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
912
}
1013

steps/gmp-6.2.1/pass1.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ src_prepare() {
66
default
77

88
# Remove bison and flex generated files
9-
rm demos/calc/calc.{c,h} demos/calc/calclex.c
9+
rm demos/calc/calc.{c,h} demos/calc/calclex.c \
10+
demos/primes.h
11+
12+
rm mpn/cray/cfp/mulwwc90.s \
13+
mpn/cray/cfp/mulwwj90.s \
14+
tests/rand/t-rand.c
1015

1116
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
1217

1318
# Pre-built texinfo files
14-
find . -name '*.info*' -delete
19+
rm doc/*.info*
1520
}
1621

1722
src_configure() {

steps/help2man-1.36.4/pass1.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ src_prepare() {
1111
rm help2man.info
1212
touch help2man.info
1313
rm help2man*.1
14+
rm po/*.gmo
1415
}
1516

1617
src_configure() {

steps/pkg-config-0.29.2/pass1.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
src_prepare() {
6+
rm glib/glib/gunidecomp.h glib/glib/gunibreak.h glib/glib/gscripttable.h \
7+
glib/glib/gunichartables.h
8+
9+
pushd glib/glib
10+
mkdir unidata
11+
mv ../../../*.txt unidata/
12+
perl gen-unicode-tables.pl -both 6.2.0 unidata
13+
perl gen-script-table.pl unidata/Scripts-6.2.0.txt > gscripttable.h
14+
popd
15+
616
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
717
}
818

steps/pkg-config-0.29.2/sources

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz 6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591
2+
http://ftp.unicode.org/Public/6.2.0/ucd/UnicodeData.txt 8b2cd18247527aa08ec320c3352b6a01b95d63199f20b3b593ea5d5217bdd170 UnicodeData-6.2.0.txt
3+
http://ftp.unicode.org/Public/6.2.0/ucd/LineBreak.txt 5e2eb009b078569e7954789b2d7b5c026b0b40be6fb9400c6e1ecc7d13f4a13f LineBreak-6.2.0.txt
4+
http://ftp.unicode.org/Public/6.2.0/ucd/SpecialCasing.txt 707209a69d7f760e3cc461ce26d789f83d6fb694336c83b14652cd44413aa334 SpecialCasing-6.2.0.txt
5+
http://ftp.unicode.org/Public/6.2.0/ucd/CaseFolding.txt 5cbd9afdddd91fee53871c9b36a34899b0a5bcdf4569ca1a3c98cae3ec3d6333 CaseFolding-6.2.0.txt
6+
http://ftp.unicode.org/Public/6.2.0/ucd/CompositionExclusions.txt 3b3f5051bd74e21df7f2b1b264ead48be626cdeefb061c04ce7280a2358efff9 CompositionExclusions-6.2.0.txt
7+
http://ftp.unicode.org/Public/6.2.0/ucd/Scripts.txt 4cdeb69b6bfead1c170a81b544e7488549575493715ab632bd7492bc92c4823e Scripts-6.2.0.txt

steps/tar-1.34/pass1.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,18 @@ src_prepare() {
88

99
. ../../import-gnulib.sh
1010

11+
# Remove bison pregenerated file
12+
rm gnu/parse-datetime.c gnu/parse-datetime-gen.h
13+
14+
# Gettext translations
15+
rm po/*.gmo
16+
17+
# Docs
18+
rm doc/tar.info*
19+
20+
rm tests/testsuite
1121
# We don't have autopoint from gettext yet
1222
AUTOPOINT=true AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
13-
14-
# Remove bison pregenerated file
15-
rm gnu/parse-datetime.c
1623
}
1724

1825
src_configure() {

steps/util-linux-2.19.1/pass1.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
src_prepare() {
66
default
77

8+
# gettext translation files
9+
rm po/*.gmo
10+
11+
# NOTE: misc-utils/scriptreplay.1 was originally a Pod::Man generated
12+
# manpage. However, it *has* been manually edited since then. In this
13+
# case, it is fine not to delete it; there is little-no risk.
14+
15+
# generated/unauditable testdata
16+
rm -r tests/ts/blkid/images-fs tests/ts/cramfs/*.img
17+
818
# We don't have gettext (autopoint) yet.
919
AUTOPOINT=true AUTOMAKE=automake-1.10 AUTOCONF=autoconf-2.64 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -fi
1020
}

0 commit comments

Comments
 (0)