Commit 503b62f5 authored by Cristian Morales Vega's avatar Cristian Morales Vega Committed by Rémi Denis-Courmont

Build default.vlt in a reproducible fashion (fixes #4562)

gzip was including a timestamp, and tar was enumerating files in an
unspecified/variable order.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(+ minor modifiations)
(cherry picked from commit ceacef3bbb0c34d67aa84e6ca91b360cbe2419e5)

Conflicts:

	share/Makefile.am
parent e6057184
...@@ -88,7 +88,10 @@ skins2_default_vlt_FILES = \ ...@@ -88,7 +88,10 @@ skins2_default_vlt_FILES = \
skins2/default.vlt: $(skins2_default_vlt_FILES) skins2/default.vlt: $(skins2_default_vlt_FILES)
mkdir -p skins2 mkdir -p skins2
tar cvvzf skins2/default.vlt --exclude .svn -C $(srcdir)/skins2 default/ (cd "$(srcdir)/skins2"; find default -print0 | \
LC_ALL=C sort -z | \
tar cvv --exclude .svn --no-recursion --null -T -) | \
gzip -n > skins2/default.vlt
DIST_http = \ DIST_http = \
http/.hosts \ http/.hosts \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment