From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0v05-0001SQ-LN for guix-patches@gnu.org; Sat, 07 Oct 2017 15:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0v02-0005VU-En for guix-patches@gnu.org; Sat, 07 Oct 2017 15:43:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0v02-0005VN-A4 for guix-patches@gnu.org; Sat, 07 Oct 2017 15:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0v01-0001PR-Uo for guix-patches@gnu.org; Sat, 07 Oct 2017 15:43:01 -0400 Subject: [bug#28734] [PATCH 2/2] gnu: Add eid-mw. References: <20171007.213542.309894121786787748.post@thomasdanckaert.be> In-Reply-To: <20171007.213542.309894121786787748.post@thomasdanckaert.be> Resent-Message-ID: Date: Sat, 07 Oct 2017 21:42:09 +0200 (CEST) Message-Id: <20171007.214209.950322502448056392.post@thomasdanckaert.be> From: Thomas Danckaert Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Oct__7_21_42_09_2017_377)--" Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28734@debbugs.gnu.org ----Next_Part(Sat_Oct__7_21_42_09_2017_377)-- Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit This is the middleware package for the Belgian id card. For this package to actually be useful, we also need a working pcscd service with the appropriate drivers for card readers... so that's up next. Thomas ----Next_Part(Sat_Oct__7_21_42_09_2017_377)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0002-gnu-Add-eid-mw.patch" >From 831e8b6572225a71d0c8e85d25a309342e25f975 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Wed, 26 Apr 2017 20:37:10 +0200 Subject: [PATCH 2/2] gnu: Add eid-mw. * gnu/packages/security-token.scm (eid-mw): New variable. --- gnu/packages/security-token.scm | 52 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 8ae2dda1c..99b3bd88d 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -25,12 +25,20 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix build-system glib-or-gtk) + #:use-module (gnu packages autotools) #:use-module (gnu packages curl) + #:use-module (gnu packages gettext) + #:use-module (gnu packages gtk) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages man) + #:use-module (gnu packages networking) + #:use-module (gnu packages cyrus-sasl) + #:use-module (gnu packages tls) #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config)) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages xml)) (define-public ccid (package @@ -70,6 +78,48 @@ readers and is needed to communicate with such devices through the @command{pcscd} resource manager.") (license license:lgpl2.1+))) +(define-public eid-mw + (package + (name "eid-mw") + (version "4.3.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/Fedict/eid-mw/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0s646p19kq27wb160v9b8aaiy30k2shmq4njm471ggd2j7n7a6rs")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gnu-gettext) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("perl" ,perl))) + (inputs + `(("curl" ,curl) + ("openssl" ,openssl) + ("gtk+" ,gtk+) + ("pcsc-lite" ,pcsc-lite) + ("p11-kit" ,p11-kit) + ("libproxy" ,libproxy) + ("libxml2" ,libxml2) + ("cyrus-sasl" ,cyrus-sasl))) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; The github tarball doesn't contain a configure script. + (add-before 'configure 'autoreconf + (lambda _ (zero? (system* "autoreconf" "-i"))))))) + (synopsis "Belgian eID Middleware") + (description "The Belgian eID Middleware is required to authenticate with +online services using the Belgian electronic identity card.") + (home-page "https://github.com/Fedict/eid-mw") + (license license:lgpl3))) + (define-public libyubikey (package (name "libyubikey") -- 2.14.2 ----Next_Part(Sat_Oct__7_21_42_09_2017_377)----