summaryrefslogtreecommitdiff
path: root/doc/doc-txt/NewStuff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2017-04-12 23:22:36 -0400
committerPhil Pennock <pdp@exim.org>2017-04-12 23:28:09 -0400
commit6e411084a29a7658f7bc88aa5a62ab9016c22c79 (patch)
tree0198a45704bbc75e3cc13569ac9f8155b8561cac /doc/doc-txt/NewStuff
parent78a3bbd585b7ee0961dee45163c36904a419388b (diff)
$SOURCE_DATE_EPOCH support for build date stamp
If, and _only_ if, $SOURCE_DATE_EPOCH is found in environ during build, use it to set the timestamp embedded in the binary instead of using __DATE__ and __TIME__ cpp directives. This per <https://reproducible-builds.org/specs/source-date-epoch/> spec. It's sane and sensible, without removing date stamping which matters. The examples encourage packagers to use timestamps which do change when they backport patches, so that the date remains useful for distinguishing builds instead of claiming one date forever across multiple patchlevels. This change written so that the old behaviour and code is used if the environment variable is not found, to better continue to support ancient platforms with other variants of date(1). Built with and without an override, on macOS.
Diffstat (limited to 'doc/doc-txt/NewStuff')
-rw-r--r--doc/doc-txt/NewStuff3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff
index c0d07b446..5f446f792 100644
--- a/doc/doc-txt/NewStuff
+++ b/doc/doc-txt/NewStuff
@@ -26,6 +26,9 @@ Version 4.90
5. An option for recipient verify callouts to hold the connection open for
further recipients and for delivery.
+ 6. The reproducible build $SOURCE_DATE_EPOCH environment variable is now
+ supported.
+
Version 4.89
------------