aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2019-01-24 14:21:06 +0100
committerBernhard M. Wiedemann <bwiedemann@suse.de>2019-01-24 14:27:10 +0100
commite91123e17a6ebe2cb1f718aa3e44edb10b707779 (patch)
tree7a45eb452d2c0d7dbabb0b429a16f1b9a47465aa
parente2ffcd722958857df232d8a02a9809b05d861049 (diff)
Use ChangeLog date instead of build date
in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good. This date call works with GNU date and BSD date. Also use UTC/gmtime to be independent of timezone.
-rw-r--r--configure.seed2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.seed b/configure.seed
index 1aa68f17c..006e6d976 100644
--- a/configure.seed
+++ b/configure.seed
@@ -30,7 +30,7 @@ if test -d ".git"; then :
GIT_RELEASE="${PACKAGE_VERSION}-${GIT_NUM}-${GIT_TAG}"
else
GIT_RELEASE="${PACKAGE_VERSION}"
- GIT_DATE=`date`
+ GIT_DATE=`date -u -r CHANGELOG.md`
fi
AC_DEFINE_UNQUOTED(NDPI_GIT_RELEASE, "${GIT_RELEASE}", [GIT Release])