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

(cherry picked from commit 8a3537aaf7c19f7331fcc160ab42e36fc79e408a)

Details

Provenance
emasteAuthored on Thu, Feb 27, 1:17 PM
Reviewer
bapt
Differential Revision
D49165: Makefile.inc1: Make package timestamps reproducible
Parents
rG72e2ebf64212: pfkey2: use correct value for a key length
Branches
Unknown
Tags
Unknown