mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
release: Patches to make tarball reproducible
Closes #26299 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
committed by
David Goulet
parent
a80868c118
commit
11fedab9ce
@@ -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;
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# There is a single space on the footer-text line to make it reproducible.
|
||||
[footer-text]
|
||||
|
||||
Reference in New Issue
Block a user