From d2bf896155851fee524b045a790b949ea6863c76 Mon Sep 17 00:00:00 2001 From: Raphaël Mélotte Date: Fri, 6 Nov 2020 20:16:20 +0100 Subject: gnu: eid-mw: Build reproducibly. * gnu/packages/security-token.scm (eid-mw)[arguments]: Add a "make-reproducible" phase to set build date to the epoch. Signed-off-by: Tobias Geerinckx-Rice --- gnu/packages/security-token.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index cf6bf18373..162868ad7a 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -139,7 +139,13 @@ readers and is needed to communicate with such devices through the (substitute* "scripts/build-aux/genver.sh" (("/bin/sh") (which "sh")) (("^(GITDESC=).*" _ match) (string-append match ,version "\n"))) - (invoke "sh" "./bootstrap.sh")))))) + (invoke "sh" "./bootstrap.sh"))) + (add-after 'unpack 'make-reproducible + (lambda _ + (substitute* "scripts/mac/create-vers.sh" + (("NOW=.*") + "NOW=1970-01-01\n")) + #t))))) (synopsis "Belgian eID Middleware") (description "The Belgian eID Middleware is required to authenticate with online services using the Belgian electronic identity card.") -- cgit 1.4.1