]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Changelog nore for #1238 and add `--help` description.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 28 Feb 2025 08:32:49 +0000 (09:32 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 28 Feb 2025 08:32:49 +0000 (09:32 +0100)
- Merge #1238: Prefer SOURCE_DATE_EPOCH over actual time.
  Add --help output description for the SOURCE_DATE_EPOCH variable.

configure
configure.ac
doc/Changelog

index 189ef0c57c423043944f0cfcafaa5740b486a6c7..2f49f0bdaf308f0ac403a1490a8fb2e12f7b9521 100755 (executable)
--- a/configure
+++ b/configure
@@ -712,6 +712,7 @@ SSLLIB
 HAVE_SSL
 PC_CRYPTO_DEPENDENCY
 CONFIG_DATE
+SOURCE_DATE_EPOCH
 GCC_DOCKER_LINTFLAGS
 NETBSD_LINTFLAGS
 PYUNBOUND_UNINSTALL
@@ -959,6 +960,7 @@ SYSTEMD_LIBS
 SYSTEMD_DAEMON_CFLAGS
 SYSTEMD_DAEMON_LIBS
 PYTHON_VERSION
+SOURCE_DATE_EPOCH
 PROTOBUFC_CFLAGS
 PROTOBUFC_LIBS'
 
@@ -1752,6 +1754,10 @@ Some influential environment variables:
               The installed Python version to use, for example '2.3'. This
               string will be appended to the Python interpreter canonical
               name.
+  SOURCE_DATE_EPOCH
+              If it is set, it uses the value of that variable instead of the
+              current time as the build timestamp. The format is a unix
+              timestamp. This enables reproducible build output.
   PROTOBUFC_CFLAGS
               C compiler flags for PROTOBUFC, overriding pkg-config
   PROTOBUFC_LIBS
@@ -19915,6 +19921,7 @@ printf "%s\n" "$CONFIG_DATE" >&6; }
 
 
 
+
 # Checks for libraries.
 
 # libnss
index 404cc98ef5b19c3607d3194fab0bb5c459b10411..07d211e6f3cdcd784c737608f3c959521ad6b195 100644 (file)
@@ -910,6 +910,7 @@ if test "`uname`" = "Linux"; then
        AC_SUBST(GCC_DOCKER_LINTFLAGS)
 fi
 AX_BUILD_DATE_EPOCH(CONFIG_DATE, [%Y%m%d])
+AC_ARG_VAR(SOURCE_DATE_EPOCH, [If it is set, it uses the value of that variable instead of the current time as the build timestamp. The format is a unix timestamp. This enables reproducible build output.])
 AC_SUBST(CONFIG_DATE)
 
 # Checks for libraries.
index 4c0fb1711104299c5845c75f628741d92dc9af58..d2ec4159079b9e7b1b8e05497c2fc30d6b40cbe1 100644 (file)
@@ -1,3 +1,7 @@
+28 February 2025: Wouter
+       - Merge #1238: Prefer SOURCE_DATE_EPOCH over actual time.
+         Add --help output description for the SOURCE_DATE_EPOCH variable.
+
 25 February 2025: Wouter
        - Merge #1243: Do not shadow tm on line 236.