From 788aa07e3470a780e322742b4b0282f58c8bf19d Mon Sep 17 00:00:00 2001 From: Xin LI Date: Sun, 19 Jul 2015 19:23:38 +0000 Subject: [PATCH] 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 --- usr.sbin/ntp/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr.sbin/ntp/config.h b/usr.sbin/ntp/config.h index 30c325f36038..d8c341ca2c26 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"