Page MenuHomeFreeBSD

libelftc: add elftc_timestamp to handle SOURCE_DATE_EPOCH
ClosedPublic

Authored by emaste on Aug 24 2016, 2:31 PM.
Tags
None
Referenced Files
F164148531: D7631.id19633.diff
Wed, Jul 29, 4:11 AM
F164096281: D7631.id19633.diff
Tue, Jul 28, 4:38 PM
Unknown Object (File)
Mon, Jul 27, 3:28 PM
Unknown Object (File)
Sat, Jul 25, 9:12 AM
Unknown Object (File)
Sun, Jul 12, 8:56 AM
Unknown Object (File)
Wed, Jul 1, 12:45 AM
Unknown Object (File)
Tue, Jun 30, 12:47 AM
Unknown Object (File)
Jun 24 2026, 4:25 AM
Subscribers
None

Details

Summary

SOURCE_DATE_EPOCH[1] specifies a timestamp (number of seconds since the UNIX epoch) to be used as a timestamp in place of the "current" date and time, in order to facilitate reproducible builds.

[1] https://reproducible-builds.org/specs/source-date-epoch/

(Note, this diff is against the upstream elftoolchain repo, and would make it into FreeBSD in a future vendor import.)

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to libelftc: add elftc_timestamp to handle SOURCE_DATE_EPOCH.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)

The manual page is missing a ".El" between .Xr strtoll 3 . and .Sh SEE ALSO
Otherwise the patch looks quite good! Thanks!

kaiw edited edge metadata.

accept revision (only a minor change in the manual page needed, as stated in the comment)

This revision is now accepted and ready to land.Aug 30 2016, 9:53 PM