Final reproducibility fixes

This commit is contained in:
fosslinux 2022-02-19 11:57:51 +11:00
parent 931490551a
commit e7c39af4b9
4 changed files with 12 additions and 2 deletions

View File

@ -22,7 +22,7 @@ src_configure() {
}
src_compile() {
make MAKEINFO=true
make MAKEINFO=true CFLAGS="-I${PWD}/libtextstyle/lib"
}
src_install() {

View File

@ -22,3 +22,11 @@ src_compile() {
export SOURCE_DATE_EPOCH=1638831119
default
}
src_install() {
default
rm -r "${DESTDIR}${PREFIX}/share/doc/openssl/html/man"{1,3,7}
rm -r "${DESTDIR}${PREFIX}/share/man/man"{1,3,7}
rm -r "${DESTDIR}${PREFIX}/ssl/misc"
}

View File

@ -18,4 +18,5 @@ src_install() {
default
rm "${DESTDIR}${PREFIX}/lib/musl/libxbps.so"*
rm -r "${DESTDIR}${PREFIX}/share/bash-completion/completions"
}

View File

@ -40,7 +40,8 @@ reset_timestamp() {
args="-h"
fi
if command -v find 2>&1 >/dev/null; then
find . -exec touch ${args} -t 197001010000.00 "{}" \;
# find does not error out on exec error
find . -print0 | xargs -0 touch ${args} -t 197001010000.00
else
# A rudimentary find implementation that does the trick
fs=