From 41cf573f0a4fefb0539174b46cfe65e9db128870 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 5 Jun 2022 10:33:53 -0700 Subject: gnu: sendmail: Remove timestamps. * gnu/packages/mail.scm (sendmail)[arguments]: Add 'remove-build-timestamps phase. --- gnu/packages/mail.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index d4f483e45e..7116b2bb34 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2888,6 +2888,14 @@ (define-public sendmail (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'remove-build-timestamps + ;; Avoid embedding timestamps for reproducible build + (lambda _ + (substitute* + (list + "devtools/bin/configure.sh" + "cf/sh/makeinfo.sh") + (("on `date`") "")))) (add-before 'build 'replace-/bin/sh (lambda _ (substitute* -- cgit v1.2.3