diff options
author | Phil Pennock <pdp@exim.org> | 2017-04-12 23:22:36 -0400 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2017-04-12 23:28:09 -0400 |
commit | 6e411084a29a7658f7bc88aa5a62ab9016c22c79 (patch) | |
tree | 0198a45704bbc75e3cc13569ac9f8155b8561cac /doc | |
parent | 78a3bbd585b7ee0961dee45163c36904a419388b (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')
-rw-r--r-- | doc/doc-txt/ChangeLog | 3 | ||||
-rw-r--r-- | doc/doc-txt/NewStuff | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 5dfc9b5bb..b6c9e3986 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -46,6 +46,9 @@ JH/06 Default openssl_options to include +no_ticket, to reduce load on peers. by default on recent versions (3.1.3 +) unless the PFS priority string is used (3.2.4 +). +PP/03 Add $SOURCE_DATE_EPOCH support for reproducible builds, per spec at + <https://reproducible-builds.org/specs/source-date-epoch/>. + Exim version 4.89 ----------------- 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 ------------ |