summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-07-19 19:23:38 +0000
committerdelphij <delphij@FreeBSD.org>2015-07-19 19:23:38 +0000
commit4aef5eea885fabe5477c19a87619636b3cca2de3 (patch)
tree02c1bd3fde4a06b38e5a475d6276c964731341d6 /usr.sbin/ntp
parent17b5e5cd78af276adb289aebb5b4ea7e6314ab06 (diff)
downloadFreeBSD-src-4aef5eea885fabe5477c19a87619636b3cca2de3.zip
FreeBSD-src-4aef5eea885fabe5477c19a87619636b3cca2de3.tar.gz
Use fixed date/time (the time choosen was the time the import was done on
-HEAD) in libntp so we can make reproducible build. PR: bin/201661 Reviewed by: gjb, cy, roberto MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D3122
Diffstat (limited to 'usr.sbin/ntp')
-rw-r--r--usr.sbin/ntp/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/ntp/config.h b/usr.sbin/ntp/config.h
index 30c325f..d8c341c 100644
--- a/usr.sbin/ntp/config.h
+++ b/usr.sbin/ntp/config.h
@@ -1782,3 +1782,8 @@ typedef union mpinfou {
# endif
#endif /* !defined(_KERNEL) && !defined(PARSESTREAM) */
+/*
+ * FreeBSD specific: Explicitly specify date/time for reproducible build.
+ */
+#define MKREPRO_DATE "Jul 04 2015"
+#define MKREPRO_TIME "15:42:16"
OpenPOWER on IntegriCloud