Fix a variety of reproducibility issues

Include:
- Not regenerated man pages.
- Automake tarball with bad time (and completely useless).
- Ordering of files within tarballs.
- Resetting timestamp various fixes.
- Older tars not properly overwriting files leading to many issues.
- Weird lack of reproducibility in libtool scripts paths to tools.
- and more
This commit is contained in:
fosslinux 2022-02-10 21:55:06 +11:00
parent a343dcf6ed
commit 931490551a
15 changed files with 71 additions and 32 deletions

View file

@ -20,4 +20,5 @@ src_compile() {
src_install() {
make install MAKEINFO=true DESTDIR="${DESTDIR}"
rm "${DESTDIR}${PREFIX}/share/doc/automake/amhello-1.0.tar.gz"
}

View file

@ -57,6 +57,9 @@ src_prepare() {
# Pre-built texinfo files
find . -name '*.info' -delete
# Pre-built man files
rm gcc/doc/*.1 gcc/doc/*.7
}
src_configure() {

View file

@ -59,6 +59,9 @@ src_prepare() {
# Pre-built texinfo files
find . -name '*.info' -delete
# Pre-built man files
rm gcc/doc/*.1 gcc/doc/*.7
}
src_configure() {

View file

@ -5,11 +5,20 @@
checksum=7e6a1082a4785a7b58928865a40ed2c93940af54972a2dc30ff10185da97b491
src_prepare() {
rm libltdl/config/ltmain.sh
rm doc/*.info
./bootstrap
}
src_configure() {
CC=tcc ./configure \
CC=tcc \
EGREP="/usr/bin/grep -E" \
FGREP="/usr/bin/grep -F" \
GREP="/usr/bin/grep" \
SED="/usr/bin/sed" \
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--disable-shared \

View file

@ -5,7 +5,7 @@
ar='tcc -ar'
cc='tcc'
ldlibpthname='LD_LIBRARY_PATH'
libpth='/image/lib/musl'
libpth='/usr/lib/musl'
path_sep=':'
archname=''
osvers=''

View file

@ -14,6 +14,7 @@ set -e
export PREFIX=/usr
export SOURCES=/after
export DESTDIR="/tmp/destdir"
create_sysb() {
# Copy everything in