GNU bug report logs - #65257
[PATCH] gnu: pcsc-lite: Update to 2.0.0.

Previous Next

Package: guix-patches;

Reported by: Arjan Adriaanse <arjan <at> adriaan.se>

Date: Sat, 12 Aug 2023 23:56:01 UTC

Owned by: Christina O'Donnell <cdo <at> mutix.org>

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65257 in the body.
You can then email your comments to 65257 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#65257; Package guix-patches. (Sat, 12 Aug 2023 23:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arjan Adriaanse <arjan <at> adriaan.se>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 12 Aug 2023 23:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arjan Adriaanse <arjan <at> adriaan.se>
To: guix-patches <at> gnu.org
Cc: Arjan Adriaanse <arjan <at> adriaan.se>
Subject: [PATCH] gnu: pcsc-lite: Update to 2.0.0.
Date: Sun, 13 Aug 2023 01:57:21 +0200
* gnu/packages/security-token.scm (pcsc-lite): Update to 2.0.0.
---
 gnu/packages/security-token.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 3a0ed245ad..1a4a433554 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -236,14 +236,14 @@ (define-public softhsm
 (define-public pcsc-lite
   (package
     (name "pcsc-lite")
-    (version "1.9.8")
+    (version "2.0.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://pcsclite.apdu.fr/files/"
                                   "pcsc-lite-" version ".tar.bz2"))
               (sha256
                (base32
-                "12923c6l5qzga1xlcxvm0vzbqrxnxq1qgzlrxf2y5gpcaz2q0bah"))))
+                "0mlk32gpzmzjf5v8qn56lpyyba625jzzw8rkrmpyvr8h8nvf5hyn"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags '("--enable-usbdropdir=/var/lib/pcsc/drivers"

base-commit: eb25c2b3e204a36a97ec724defe8930757ab83c0
-- 
2.41.0





Owner recorded as Christina O'Donnell <cdo <at> mutix.org>. Request was from Christina O'Donnell <cdo <at> mutix.org> to control <at> debbugs.gnu.org. (Sun, 21 Apr 2024 21:13:04 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#65257; Package guix-patches. (Sun, 21 Apr 2024 21:29:03 GMT) Full text and rfc822 format available.

Message #10 received at 65257 <at> debbugs.gnu.org (full text, mbox):

From: Christina O'Donnell <cdo <at> mutix.org>
To: arjan <at> adriaan.se
Cc: 65257 <at> debbugs.gnu.org, Christina O'Donnell <cdo <at> mutix.org>
Subject: [PATCH v2 0/1] gnu: pcsc-lite: Update to 2.1.0.
Date: Sun, 21 Apr 2024 22:27:58 +0100
Hi,

Thanks for the patch. Sorry it's taken so long to get to you.

This looks good. I updated it to 2.1.0, which required a small change to get
it to work with polkit enabled. Otherweise the patch is as-is.

I've tested this against its major dependencies: keepassxc and gnupg and
they're building and working fine with my Yubikey.

I'm happy for this to be committed.

Kind regards,
Christina

Arjan Adriaanse (1):
  gnu: pcsc-lite: Update to 2.1.0.

 gnu/packages/security-token.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)


base-commit: a1d711c92e119f6b5b8e99a620cdba92a4ca3bfb
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65257; Package guix-patches. (Sun, 21 Apr 2024 21:29:04 GMT) Full text and rfc822 format available.

Message #13 received at 65257 <at> debbugs.gnu.org (full text, mbox):

From: Christina O'Donnell <cdo <at> mutix.org>
To: arjan <at> adriaan.se
Cc: 65257 <at> debbugs.gnu.org, Christina O'Donnell <cdo <at> mutix.org>
Subject: [PATCH v2 1/1] gnu: pcsc-lite: Update to 2.1.0.
Date: Sun, 21 Apr 2024 22:27:59 +0100
From: Arjan Adriaanse <arjan <at> adriaan.se>

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

Reviewed-by: Christina O'Donnell <cdo <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#65257; Package guix-patches. (Sun, 21 Apr 2024 21:37:03 GMT) Full text and rfc822 format available.

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Mon, 06 May 2024 11:56:01 GMT) Full text and rfc822 format available.

Notification sent to Arjan Adriaanse <arjan <at> adriaan.se>:
bug acknowledged by developer. (Mon, 06 May 2024 11:56:02 GMT) Full text and rfc822 format available.

Message #21 received at 65257-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Christina O'Donnell <cdo <at> mutix.org>
Cc: 65257-done <at> debbugs.gnu.org, arjan <at> adriaan.se
Subject: Re: [bug#65257] [PATCH v2 1/1] gnu: pcsc-lite: Update to 2.1.0.
Date: Mon, 06 May 2024 13:54:27 +0200
Hello,

Christina O'Donnell <cdo <at> mutix.org> writes:

> From: Arjan Adriaanse <arjan <at> adriaan.se>
>
> * gnu/packages/security-token.scm (pcsc-lite): Update to 2.1.0.
>
> Reviewed-by: Christina O'Donnell <cdo <at> mutix.org>

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Jun 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.