commit 11fedab9cec75293485f2bf89e47d73de074ce73 parent a80868c1180bd2882ae3e8d2f5de56930706a22c Author: Alexander Færøy <ahf@torproject.org> Date: Fri, 10 Jul 2020 02:31:35 +0200 release: Patches to make tarball reproducible Closes #26299 Signed-off-by: David Goulet <dgoulet@torproject.org> Diffstat:
| M | doc/asciidoc-helper.sh | | | 4 | +++- |
| A | doc/nofooter.conf | | | 3 | +++ |
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/doc/asciidoc-helper.sh b/doc/asciidoc-helper.sh @@ -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; diff --git a/doc/nofooter.conf b/doc/nofooter.conf @@ -0,0 +1,3 @@ +# There is a single space on the footer-text line to make it reproducible. +[footer-text] +