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 a80868c118
commit 11fedab9ce
2 changed files with 6 additions and 1 deletions
+3 -1
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
View File
@@ -0,0 +1,3 @@
# There is a single space on the footer-text line to make it reproducible.
[footer-text]