Home GnuPG

Allow ./configure to explicitly set libgpg-error's build timestamp
d620005fd1a6Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Allow ./configure to explicitly set libgpg-error's build timestamp

* configure.ac: add --enable-build-timestamp

A group within Debian is working on making the archive rebuildable in
a reproducible way, so that the compiled binary outputs are
byte-for-byte identical when built for the same platform using the
same toolchain. This is useful in providing auditability and
corroboration for users of the operating system.

libgpg-error is very close to reproducible except for embedding the
build timestamp in the generated binary. This timestamp is set in
config.h during ./configure.

This patch allows an external build system to set this embedded
timestamp explicitly, which appears to make the package build
repeatably when ./configure is called with (for example)
--enable=build-timestamp=2014-09-23T01:02+0000

(Minor reformatting and NEWS entry by wk.)

Details

Provenance
dkgAuthored on Sep 24 2014, 12:34 AM
wernerCommitted on Sep 24 2014, 3:14 PM
Parents
rEefb2442458c8: Add new error source GPG_ERR_SOURCE_TLS.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rEd620005fd1a6: Allow ./configure to explicitly set libgpg-error's build timestamp (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Sep 24 2014, 3:14 PM