all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christina O'Donnell <cdo@mutix.org>
To: arjan@adriaan.se
Cc: 65257@debbugs.gnu.org, Christina O'Donnell <cdo@mutix.org>
Subject: [bug#65257] [PATCH v2 1/1] gnu: pcsc-lite: Update to 2.1.0.
Date: Sun, 21 Apr 2024 22:27:59 +0100	[thread overview]
Message-ID: <e0489a76dba82842d13e57be2d18f66c14ec99d4.1713734666.git.cdo@mutix.org> (raw)
In-Reply-To: <cover.1713734666.git.cdo@mutix.org>

From: Arjan Adriaanse <arjan@adriaan.se>

* gnu/packages/security-token.scm (pcsc-lite): Update to 2.1.0.

Reviewed-by: Christina O'Donnell <cdo@mutix.org>

Change-Id: I133fd056afb84259cf5cb1f3e9c664ac336e50b9
---
 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 00a7f97582d..0da2d94ba6d 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -83,6 +83,7 @@ (define-module (gnu packages security-token)
   #: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 @@ (define-public softhsm
 (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
-- 
2.41.0





  reply	other threads:[~2024-04-21 21:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-12 23:57 [bug#65257] [PATCH] gnu: pcsc-lite: Update to 2.0.0 Arjan Adriaanse
2024-04-21 21:27 ` [bug#65257] [PATCH v2 0/1] gnu: pcsc-lite: Update to 2.1.0 Christina O'Donnell
2024-04-21 21:27   ` Christina O'Donnell [this message]
2024-05-06 11:54     ` bug#65257: [PATCH v2 1/1] " Nicolas Goaziou via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0489a76dba82842d13e57be2d18f66c14ec99d4.1713734666.git.cdo@mutix.org \
    --to=cdo@mutix.org \
    --cc=65257@debbugs.gnu.org \
    --cc=arjan@adriaan.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.