gnu: eid-mw: Update to 5.0.8.

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

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
Raphaël Mélotte 2020-11-06 20:16:43 +01:00 committed by Tobias Geerinckx-Rice
parent d2bf896155
commit e6e31a59eb
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -8,6 +8,7 @@
;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018, 2019 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2018, 2019 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Raphaël Mélotte <raphael.melotte@mind.be>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -43,6 +44,7 @@
#:use-module (gnu packages dns) #:use-module (gnu packages dns)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages graphviz) #:use-module (gnu packages graphviz)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages libusb) #:use-module (gnu packages libusb)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
@ -102,7 +104,7 @@ readers and is needed to communicate with such devices through the
(define-public eid-mw (define-public eid-mw
(package (package
(name "eid-mw") (name "eid-mw")
(version "4.4.27") (version "5.0.8")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -111,13 +113,15 @@ readers and is needed to communicate with such devices through the
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "17lw8iwp7h5cs3db80sysr84ffi333cf2vrhncs9l6hy6glfl2v1")))) (base32 "1ckini00iz9w96n9hpkx6w2ivpfkd4yyxyhnmsl9n0k8x4j6jg5a"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
("autoconf-archive" ,autoconf-archive)
("automake" ,automake) ("automake" ,automake)
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
("libtool" ,libtool) ("libtool" ,libtool)
("libassuan" ,libassuan)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("perl" ,perl))) ("perl" ,perl)))
(inputs (inputs
@ -145,7 +149,16 @@ readers and is needed to communicate with such devices through the
(substitute* "scripts/mac/create-vers.sh" (substitute* "scripts/mac/create-vers.sh"
(("NOW=.*") (("NOW=.*")
"NOW=1970-01-01\n")) "NOW=1970-01-01\n"))
#t))))) #t))
;; Remove failing test that was removed upstream after version 5.0.8.
;; 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") (synopsis "Belgian eID Middleware")
(description "The Belgian eID Middleware is required to authenticate with (description "The Belgian eID Middleware is required to authenticate with
online services using the Belgian electronic identity card.") online services using the Belgian electronic identity card.")