unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Raphaël Mélotte" <raphael.melotte@mind.be>
To: 44490@debbugs.gnu.org
Cc: "Raphaël Mélotte" <raphael.melotte@mind.be>
Subject: [bug#44490] [PATCH 1/2] gnu: eid-mw: Build reproducibly.
Date: Fri,  6 Nov 2020 20:16:20 +0100	[thread overview]
Message-ID: <20201106191620.1129-1-raphael.melotte@mind.be> (raw)
In-Reply-To: <20201106191226.32196-1-raphael.melotte@mind.be>

* gnu/packages/security-token.scm (eid-mw)[arguments]: Add phase
"make-reproducible".

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
---
 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.")
-- 
2.28.0





  reply	other threads:[~2020-11-06 19:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-06 19:12 [bug#44490] [PATCH 0/2] Update eid-mw and make it reproducible Raphaël Mélotte
2020-11-06 19:16 ` Raphaël Mélotte [this message]
2020-11-06 19:16 ` [bug#44490] [PATCH 2/2] gnu: eid-mw: Update to 5.0.8 Raphaël Mélotte
2020-11-06 21:57 ` [bug#44490] [PATCH 0/2] Update eid-mw and make it reproducible Tobias Geerinckx-Rice via Guix-patches via
2020-11-11 16:49   ` bug#44490: " Tobias Geerinckx-Rice via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201106191620.1129-1-raphael.melotte@mind.be \
    --to=raphael.melotte@mind.be \
    --cc=44490@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).