:: [devuan-dev] bug#806: Does not allo…
Página Principal
Delete this message
Reply to this message
Autor: Klaus Ethgen
Data:  
Para: Mark Hindley
CC: 806
Assunto: [devuan-dev] bug#806: Does not allow access to smartcard anymore - not even as root
Hi,

here is a patch to revert to the behaviour before:
diff -Nur pcsc-lite-2.0.1.orig/debian/changelog pcsc-lite-2.0.1/debian/changelog
--- pcsc-lite-2.0.1.orig/debian/changelog    2023-11-24 17:43:35.000000000 +0100
+++ pcsc-lite-2.0.1/debian/changelog    2023-11-27 19:44:53.253102673 +0100
@@ -1,3 +1,10 @@
+pcsc-lite (2.0.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Disable Policykit again.
+
+ -- Klaus Ethgen <Klaus@???>  Mon, 27 Nov 2023 19:44:35 +0100
+
 pcsc-lite (2.0.1-1) unstable; urgency=medium


   * new upstream release
diff -Nur pcsc-lite-2.0.1.orig/debian/control pcsc-lite-2.0.1/debian/control
--- pcsc-lite-2.0.1.orig/debian/control    2023-11-24 17:43:35.000000000 +0100
+++ pcsc-lite-2.0.1/debian/control    2023-11-27 19:45:57.968764118 +0100
@@ -5,7 +5,6 @@
 Build-Depends: autoconf-archive,
     debhelper-compat (= 13),
     flex,
-    libpolkit-gobject-1-dev,
     libsystemd-dev,
     libudev-dev [linux-any],
     libusb2-dev [kfreebsd-any],
diff -Nur pcsc-lite-2.0.1.orig/debian/pcscd.install pcsc-lite-2.0.1/debian/pcscd.install
--- pcsc-lite-2.0.1.orig/debian/pcscd.install    2023-11-24 17:43:35.000000000 +0100
+++ pcsc-lite-2.0.1/debian/pcscd.install    2023-11-27 19:46:12.386134261 +0100
@@ -1,4 +1,3 @@
 usr/sbin/pcscd
-usr/share/polkit-1/actions/org.debian.pcsc-lite.policy
 lib/systemd/system/pcscd.socket
 lib/systemd/system/pcscd.service
diff -Nur pcsc-lite-2.0.1.orig/debian/rules pcsc-lite-2.0.1/debian/rules
--- pcsc-lite-2.0.1.orig/debian/rules    2023-11-24 17:43:35.000000000 +0100
+++ pcsc-lite-2.0.1/debian/rules    2023-11-27 19:45:29.521033779 +0100
@@ -15,6 +15,7 @@
         --with-systemdsystemunitdir=/lib/systemd/system \
         --enable-usbdropdir=/usr/lib/pcsc/drivers \
         --enable-ipcdir=/run/pcscd \
+        --disable-polkit \
         $(shell dpkg-buildflags --export=configure)


ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@???>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C