mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-19 09:50:29 +01:00
release: Patches to make tarball reproducible
Closes #26299 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
02d86bc21b
commit
c845f2e4b2
@ -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
3
doc/nofooter.conf
Normal file
@ -0,0 +1,3 @@
|
||||
# There is a single space on the footer-text line to make it reproducible.
|
||||
[footer-text]
|
||||
|
Loading…
Reference in New Issue
Block a user