commit: e3f41379e12355f9cc1e79580af0a1e0dc7e89e2
Author: Peter Alfredsen <crabbedhaloablution <AT> icloud <DOT> com>
AuthorDate: Tue Dec 15 11:51:30 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 8 14:54:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f41379
net-misc/chrony: add "export SOURCE_DATE_EPOCH"
Added "export SOURCE_DATE_EPOCH=1607976314". Update when updating
ebuild. If not set, "date '+%s'" is used instead.
This is a problem when the build host is not synchronized to NTP,
since if time obtained from NTP is prior to build date, NTP time
may underflow.
Signed-off-by: Peter Alfredsen <crabbedhaloablution <AT> icloud.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/chrony/chrony-9999.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-misc/chrony/chrony-9999.ebuild
b/net-misc/chrony/chrony-9999.ebuild
index 9359312d902..18276179923 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -87,6 +87,10 @@ src_configure() {
tc-export CC PKG_CONFIG
+ # Update from time to time with output from "date +%s"
+ # on a system that is time-synced.
+ export SOURCE_DATE_EPOCH=1607976314
+
# not an autotools generated script
local myconf=(
$(use_enable seccomp scfilter)