Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Set EXTERNAL_BUILD_TIMESTAMP from SOURCE_DATE_EPOCH #297

Merged
merged 1 commit into from Jan 2, 2020

Conversation

bmwiedemann
Copy link
Contributor

Set EXTERNAL_BUILD_TIMESTAMP from SOURCE_DATE_EPOCH
to make the package build reproducible by default without
everyone having to discover the custom variable.

See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

This code assigns the plain integer to keep the code simple.
Otherwise we would have to deal with differences between GNU date
and BSD date or include extra build deps like perl or python.

to make the package build reproducible by default without
everyone having to discover the custom variable.

See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

This code assigns the plain integer to keep the code simple.
Otherwise we would have to deal with differences between GNU date
and BSD date or include extra build deps like perl or python.
@aaronmdjones aaronmdjones merged commit 28e12fa into charybdis-ircd:master Jan 2, 2020
@bmwiedemann bmwiedemann deleted the date branch January 3, 2020 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants