HomeFreeBSD

Makefile.inc1: Make package timestamps reproducible by default

Description

Makefile.inc1: Make package timestamps reproducible by default

Set package archive timestamps based on most recent source commit
timestamp (approach suggested by bapt).

I'd like to include git metadata in a file included in src tarballs, so
that the build is reproducible (including the hash shown in uname etc.)
outside of a git checkout. There are still details to be sorted out to
do that, so this is an interim step to improve reproducibility.

Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49165

Details

Provenance
emasteAuthored on Thu, Feb 27, 1:17 PM
Reviewer
bapt
Differential Revision
D49165: Makefile.inc1: Make package timestamps reproducible
Parents
rGf2644d64b40f: routing: set net.route.multipath=0 when kernel doesn't have ROUTE_MPATH
Branches
Unknown
Tags
Unknown