Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions steps/coreutils-9.4/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down
14 changes: 11 additions & 3 deletions steps/e2fsprogs-1.45.7/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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() {
Expand Down
3 changes: 3 additions & 0 deletions steps/file-5.44/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
9 changes: 7 additions & 2 deletions steps/gmp-6.2.1/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 1 addition & 0 deletions steps/help2man-1.36.4/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ src_prepare() {
rm help2man.info
touch help2man.info
rm help2man*.1
rm po/*.gmo
}

src_configure() {
Expand Down
10 changes: 10 additions & 0 deletions steps/pkg-config-0.29.2/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
6 changes: 6 additions & 0 deletions steps/pkg-config-0.29.2/sources
Original file line number Diff line number Diff line change
@@ -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
13 changes: 10 additions & 3 deletions steps/tar-1.34/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
10 changes: 10 additions & 0 deletions steps/util-linux-2.19.1/pass1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down