guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/09: gnu: pcsc-lite: Update to 2.1.0.


From: guix-commits
Subject: 02/09: gnu: pcsc-lite: Update to 2.1.0.
Date: Mon, 6 May 2024 07:50:35 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit a8f0e8a31dd9b74a4f9950b3e2efe8dfeed5789a
Author: Arjan Adriaanse <arjan@adriaan.se>
AuthorDate: Sun Apr 21 22:27:59 2024 +0100

    gnu: pcsc-lite: Update to 2.1.0.
    
    * gnu/packages/security-token.scm (pcsc-lite): Update to 2.1.0.
    
    Reviewed-by: Christina O'Donnell <cdo@mutix.org>
    
    Change-Id: I133fd056afb84259cf5cb1f3e9c664ac336e50b9
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/security-token.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 35a8d4e216..fbbab17df8 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -83,6 +83,7 @@
   #:use-module (gnu packages tex)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages polkit)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-crypto)
@@ -240,24 +241,33 @@ with a PKCS #11 Cryptographic Token Interface.")
 (define-public pcsc-lite
   (package
     (name "pcsc-lite")
-    (version "1.9.8")
+    (version "2.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://pcsclite.apdu.fr/files/";
                                   "pcsc-lite-" version ".tar.bz2"))
               (sha256
                (base32
-                "12923c6l5qzga1xlcxvm0vzbqrxnxq1qgzlrxf2y5gpcaz2q0bah"))))
+                "1aimbddk6jx828xrw1vg2g82i11v55inhr9jqhmixj24qwfbdjl5"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags '("--enable-usbdropdir=/var/lib/pcsc/drivers"
-                           "--disable-libsystemd")))
+                           "--disable-libsystemd")
+       #:phases ,#~(modify-phases %standard-phases
+                     (add-after 'unpack 'set-policy-dir
+                       (lambda _
+                         (substitute* "configure"
+                           (("polkit_policy_dir=.*")
+                            (string-append "polkit_policy_dir=\""
+                                           #$output 
"/share/polkit-1/actions\""))))))))
     (native-inputs
      (list flex
            perl                         ;for pod2man
            pkg-config))
     (inputs
-     (list python eudev))
+     (list python
+           eudev
+           polkit))
     (home-page "https://pcsclite.apdu.fr/";)
     (synopsis "Middleware to access a smart card using PC/SC")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]