use-source-date-epoch.patch 592 B

1234567891011121314
  1. Only in netpbm-10.73.31/buildtools/: depend.mk
  2. diff -aur netpbm-10.73.31.old/buildtools/stamp-date netpbm-10.73.31/buildtools/stamp-date
  3. --- netpbm-10.73.31.old/buildtools/stamp-date 2020-05-30 17:34:29.833395465 +0200
  4. +++ netpbm-10.73.31/buildtools/stamp-date 2020-05-30 17:48:52.910091897 +0200
  5. @@ -9,7 +9,7 @@
  6. # documentation. This software is provided "as is" without express or
  7. # implied warranty.
  8. #
  9. -DATE=$(date)
  10. +DATE="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}")"
  11. LOGNAME_OR_UNKNOWN=${LOGNAME:-UNKNOWN}
  12. USER=${USER:-$LOGNAME_OR_UNKNOWN}
  13. if [ "$USER" = "UNKNOWN" ]; then