aboutsummaryrefslogtreecommitdiff
Honor SOURCE_DATE_EPOCH when exporting configuration date.
Autoconf-level patch submitted upstream on Wed Apr 13 17:03:23 UTC 2016

--- a/configure
+++ b/configure
@@ -27737,7 +28573,14 @@
 
 
 ## Configuration date
- CONFIG_DATE="`date`"
+ CONFIG_DATE="`date -u`"
+if test -n "$SOURCE_DATE_EPOCH"; then
+  CONFIG_DATE=`date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null \
+               || date -u -r "$SOURCE_DATE_EPOCH" 2>/dev/null`
+  if test -z "$CONFIG_DATE"; then
+    as_fn_error $? "malformed SOURCE_DATE_EPOCH" "$LINENO" 5
+  fi
+fi
 
 ## User doing the configuration
  CONFIG_USER="`whoami`@`hostname`"
cyrus-sasl.scm (cyrus-sasl)[source]: Use cyrus-sasl-CVE-2019-19906.patch. [replacement]: Remove field. (cyrus-sasl/fixed): Remove variable. Leo Famulari 2021-03-15gnu: cyrus-sasl/fixed: Make private....* gnu/packages/cyrus-sasl.scm (cyrus-sasl/fixed): Use define instead of define-public. Léo Le Bouter 2021-03-10gnu: cyrus-sasl: Fix CVE-2019-19906....* gnu/packages/patches/cyrus-sasl-CVE-2019-19906.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/cyrus-sasl.scm (cyrus-sasl/fixed): New variable. Apply patch. (cyrus-sasl)[replacement]: Graft. Léo Le Bouter