summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2017-05-12 12:41:20 +0200
committerAllan McRae <allan@archlinux.org>2017-05-16 12:54:01 +1000
commitd30878763ce1b5be453b563f2729d7333242e79b (patch)
tree453e67a0e740d25cad64a553eb6aa8fcfb6898ce /lib/libalpm/alpm.c
parent5f3812868600488de585771273e12a3e68a4d366 (diff)
makepkg: introduce SOURCE_DATE_EPOCH
This patch introduces the SOURCE_DATE_EPOCH environmental variable. All files in a package are adjusted to have their modification dates set to the value of SOURCE_DATE_EPOCH, which defaults to "date +%s". Setting this variable allows a package that is built twice in the same environment to be (potentially) reproducible in that the checksum of the generated package file will be the same. Also adjust the compression of the mtree file to avoid gzip embedding a timestamp. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.c')
0 files changed, 0 insertions, 0 deletions