Source: mblaze
Version: 0.4-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that mblaze could not be built reproducibly.
This is due to (upstream) misspelling SOURCE_DATE_EPOCH as
SOURCE_TIME_EPOCH.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/GNUmakefile b/GNUmakefile
index e736104..0d7d0a3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -38,7 +38,7 @@ mmime : slurp.o
minc mlist : squeeze_slash.o
museragent: FRC
- @test -n "$$SOURCE_TIME_EPOCH" || BUILDDATE=$$(date '+ (%Y-%m-%d)'); \
+ @test -n "$$SOURCE_DATE_EPOCH" || BUILDDATE=$$(date '+ (%Y-%m-%d)'); \
printf '#!/bin/sh\nprintf "User-Agent: mblaze/%s%s\\n"\n' \
"$$({ git describe --always --dirty 2>/dev/null || cat VERSION;
} | sed 's/^v//')" \
"$$BUILDDATE" >$@