Page MenuHomeFreeBSD

libelftc: add elftc_timestamp to handle SOURCE_DATE_EPOCH

Authored by emaste on Aug 24 2016, 2:31 PM.
Referenced Files
Unknown Object (File)
Wed, Nov 22, 8:57 AM
Unknown Object (File)
Sun, Nov 12, 4:55 PM
Unknown Object (File)
Sun, Nov 12, 12:31 AM
Unknown Object (File)
Nov 4 2023, 9:40 AM
Unknown Object (File)
Oct 10 2023, 11:26 PM
Unknown Object (File)
Oct 8 2023, 3:49 PM
Unknown Object (File)
Sep 2 2023, 9:12 AM
Unknown Object (File)
Jun 25 2023, 2:33 AM



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.


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

Diff Detail

Lint Skipped
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