summary refs log tree commit diff
path: root/gnu/packages/security-token.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-06 19:01:38 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-05-06 19:01:38 +0200
commit752c089b4ab932bf0bdf10e2456c1d20524a9722 (patch)
treecc6ecc1126c7363828db95c91b1011dda7b0ec7b /gnu/packages/security-token.scm
parent28e74f49fefdc18746d14704a6dbf72d24273e16 (diff)
downloadguix-752c089b4ab932bf0bdf10e2456c1d20524a9722.tar.gz
Revert "gnu: pcsc-lite: Update to 2.1.0."
This reverts commit a8f0e8a31dd9b74a4f9950b3e2efe8dfeed5789a.

It leads to 3799 dependent packages being rebuilt, so it's not suitable for
the master branch.
Diffstat (limited to 'gnu/packages/security-token.scm')
-rw-r--r--gnu/packages/security-token.scm18
1 files changed, 4 insertions, 14 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index fbbab17df8..35a8d4e216 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -83,7 +83,6 @@
   #: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)
@@ -241,33 +240,24 @@ with a PKCS #11 Cryptographic Token Interface.")
 (define-public pcsc-lite
   (package
     (name "pcsc-lite")
-    (version "2.1.0")
+    (version "1.9.8")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://pcsclite.apdu.fr/files/"
                                   "pcsc-lite-" version ".tar.bz2"))
               (sha256
                (base32
-                "1aimbddk6jx828xrw1vg2g82i11v55inhr9jqhmixj24qwfbdjl5"))))
+                "12923c6l5qzga1xlcxvm0vzbqrxnxq1qgzlrxf2y5gpcaz2q0bah"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags '("--enable-usbdropdir=/var/lib/pcsc/drivers"
-                           "--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\""))))))))
+                           "--disable-libsystemd")))
     (native-inputs
      (list flex
            perl                         ;for pod2man
            pkg-config))
     (inputs
-     (list python
-           eudev
-           polkit))
+     (list python eudev))
     (home-page "https://pcsclite.apdu.fr/")
     (synopsis "Middleware to access a smart card using PC/SC")
     (description