unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44490] [PATCH 0/2] Update eid-mw and make it reproducible
@ 2020-11-06 19:12 Raphaël Mélotte
  2020-11-06 19:16 ` [bug#44490] [PATCH 1/2] gnu: eid-mw: Build reproducibly Raphaël Mélotte
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Raphaël Mélotte @ 2020-11-06 19:12 UTC (permalink / raw)
  To: 44490; +Cc: Raphaël Mélotte

Hello,

This patch series updates eid-mw to 5.0.8, and also removes a timestamp in the
build to make it reproducible.

I didn't know if small contributions also warrant a copyright line, so in
doubt I added one but I can remove it if necessary.

Raphaël Mélotte (2):
  gnu: eid-mw: Build reproducibly.
  gnu: eid-mw: Update to 5.0.8.

 gnu/packages/security-token.scm | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

-- 
2.28.0





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#44490] [PATCH 1/2] gnu: eid-mw: Build reproducibly.
  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
  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
  2 siblings, 0 replies; 5+ messages in thread
From: Raphaël Mélotte @ 2020-11-06 19:16 UTC (permalink / raw)
  To: 44490; +Cc: Raphaël Mélotte

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#44490] [PATCH 2/2] gnu: eid-mw: Update to 5.0.8.
  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 ` [bug#44490] [PATCH 1/2] gnu: eid-mw: Build reproducibly Raphaël Mélotte
@ 2020-11-06 19:16 ` 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
  2 siblings, 0 replies; 5+ messages in thread
From: Raphaël Mélotte @ 2020-11-06 19:16 UTC (permalink / raw)
  To: 44490; +Cc: Raphaël Mélotte

* gnu/packages/security-token.scm (eid-mw): Update to 5.0.8.
[arguments]: add remove-failing-test.
[inputs]: add autoconf-archive and libassuan.

Also add a copyright line.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
---
 gnu/packages/security-token.scm | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 162868ad7a..fd7ff4fcc6 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2018, 2019 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2020 Raphaël Mélotte <raphael.melotte@mind.be>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -43,6 +44,7 @@
   #:use-module (gnu packages dns)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages graphviz)
+  #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
@@ -102,7 +104,7 @@ readers and is needed to communicate with such devices through the
 (define-public eid-mw
   (package
     (name "eid-mw")
-    (version "4.4.27")
+    (version "5.0.8")
     (source
      (origin
        (method git-fetch)
@@ -111,13 +113,15 @@ readers and is needed to communicate with such devices through the
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "17lw8iwp7h5cs3db80sysr84ffi333cf2vrhncs9l6hy6glfl2v1"))))
+        (base32 "1ckini00iz9w96n9hpkx6w2ivpfkd4yyxyhnmsl9n0k8x4j6jg5a"))))
     (build-system glib-or-gtk-build-system)
     (native-inputs
      `(("autoconf" ,autoconf)
+       ("autoconf-archive" ,autoconf-archive)
        ("automake" ,automake)
        ("gettext" ,gettext-minimal)
        ("libtool" ,libtool)
+       ("libassuan" ,libassuan)
        ("pkg-config" ,pkg-config)
        ("perl" ,perl)))
     (inputs
@@ -145,7 +149,16 @@ readers and is needed to communicate with such devices through the
              (substitute* "scripts/mac/create-vers.sh"
                (("NOW=.*")
                 "NOW=1970-01-01\n"))
-             #t)))))
+             #t))
+         ;; remove failing test that was removed upstream after the release.
+         ;; See: https://github.com/Fedict/eid-mw/commit/3d1187b1b61118b9ae97607903d3d2fc0bad7518
+         (add-before 'check 'remove-failing-test
+           (lambda _
+             (substitute* "tests/unit/Makefile.am"
+               (("sign_state ordering cardcom_common")
+                "sign_state ordering #cardcom_common"))
+             #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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#44490] [PATCH 0/2] Update eid-mw and make it reproducible
  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 ` [bug#44490] [PATCH 1/2] gnu: eid-mw: Build reproducibly Raphaël Mélotte
  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 ` Tobias Geerinckx-Rice via Guix-patches via
  2020-11-11 16:49   ` bug#44490: " Tobias Geerinckx-Rice via Guix-patches via
  2 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2020-11-06 21:57 UTC (permalink / raw)
  To: Raphaël Mélotte; +Cc: 44490

Raphaël,

On 2020-11-06 20:12, Raphaël Mélotte wrote:
> This patch series updates eid-mw to 5.0.8, and also removes a timestamp 
> in the
> build to make it reproducible.

Thank you!  Both patches LGTM, I'll dig up my ID card and test them too.

> I didn't know if small contributions also warrant a copyright line, so 
> in
> doubt I added one but I can remove it if necessary.

I think this does.  It doesn't need to be mentioned in the commit 
message though.

> mind.be

Cool.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#44490: [PATCH 0/2] Update eid-mw and make it reproducible
  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   ` Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 0 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2020-11-11 16:49 UTC (permalink / raw)
  To: Raphaël Mélotte, 44490-done

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

Tobias Geerinckx-Rice via Guix-patches via 写道:
> Thank you!  Both patches LGTM, I'll dig up my ID card and test 
> them too.

Done and pushed as e6e31a59eb3d400bc264b0f70a1631cf5a8ae9c9 with 
minor tweaks to the commit messages.  Mainly because we don't sign 
off on our own patches.

Thanks!

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-11 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [bug#44490] [PATCH 1/2] gnu: eid-mw: Build reproducibly Raphaël Mélotte
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

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).