release: Patches to make tarball reproducible

Closes #26299

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
Alexander Færøy 2020-07-10 02:31:35 +02:00 committed by David Goulet
parent 02d86bc21b
commit c845f2e4b2
2 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,8 @@ if [ $# != 3 ]; then
exit 1
fi
export SOURCE_DATE_EPOCH=$(git show --no-patch --format='%ct')
output=$3
if [ "$1" = "html" ]; then
@ -19,7 +21,7 @@ if [ "$1" = "html" ]; then
base=${output%%.html.in}
if [ "$2" != none ]; then
TZ=UTC "$2" -d manpage -o "$output" "$input"
TZ=UTC "$2" -f "$(dirname $0)/nofooter.conf" -d manpage -o "$output" "$input";
else
echo "=================================="
echo

3
doc/nofooter.conf Normal file
View File

@ -0,0 +1,3 @@
# There is a single space on the footer-text line to make it reproducible.
[footer-text]