git: 78d91e21bf72 - main - Makefile.inc1: Set SOURCE_DATE_EPOCH in more pkg targets
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Jun 2025 13:09:08 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=78d91e21bf72a1b706c4152c4f8e2fed3fcbdac3
commit 78d91e21bf72a1b706c4152c4f8e2fed3fcbdac3
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-06-27 13:06:58 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-06-27 13:06:58 +0000
Makefile.inc1: Set SOURCE_DATE_EPOCH in more pkg targets
Otherwise timestamps in the underlying tar files are not reproducible.
I believe this was a simple omission, other package targets specify the
timestamp this way.
Reviewed by: bapt
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D51066
---
Makefile.inc1 | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile.inc1 b/Makefile.inc1
index ea498a8afae4..e7b1a2d7acb9 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2113,7 +2113,9 @@ create-packages-source: _pkgbootstrap _repodir .PHONY
${_+_}@cd ${.CURDIR}; \
${MAKE} -f Makefile.inc1 \
DESTDIR=${SSTAGEDIR} \
- PKG_VERSION=${PKG_VERSION} create-source-packages
+ PKG_VERSION=${PKG_VERSION} \
+ SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \
+ create-source-packages
create-packages: .PHONY create-packages-world create-packages-kernel create-packages-source
@@ -2322,7 +2324,10 @@ create-kernel-packages-extra-flavor${flavor:C,^""$,${_default_flavor},}-${_kerne
sign-packages: .PHONY
${_+_}@cd ${.CURDIR}; \
- ${MAKE} -f Makefile.inc1 PKG_VERSION=${PKG_VERSION} real-sign-packages
+ ${MAKE} -f Makefile.inc1 \
+ PKG_VERSION=${PKG_VERSION} \
+ SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \
+ real-sign-packages
real-sign-packages: _pkgbootstrap .PHONY
printf "version = 2;\n" > ${WSTAGEDIR}/meta