https://salsa.debian.org/rousseau/PCSC/blob/master/ChangeLog

- SCardConnect(): return SCARD_W_SECURITY_VIOLATION when needed (polkit)
- SCardCancel(): return SCARD_S_SUCCESS even if the client already finished
- polkit is enabled by default
- libpcscspy: fix a crash with NULL pointers
- Doxygen: fix SCardBeginTransaction() documentation
- fix pcscd internal thread safety issues (clang -fsanitize=thread)
- Some other minor improvements

Keep PolKit disabled;  untested and src/auth.c would need struct ucred
related patching.

Feedback? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/pcsc-lite/Makefile,v
diff -u -p -r1.61 Makefile
--- Makefile    27 Sep 2023 16:34:35 -0000      1.61
+++ Makefile    18 Dec 2023 21:47:20 -0000
@@ -1,6 +1,6 @@
 COMMENT=       resource manager for PC/SC
 
-V=             2.0.0
+V=             2.0.1
 DISTNAME=      pcsc-lite-${V}
 CATEGORIES=    security
 
@@ -37,6 +37,7 @@ CONFIGURE_STYLE= gnu
 
 CONFIGURE_ARGS=        --disable-libudev \
                --disable-libsystemd \
+               --disable-polkit \
                --without-systemdsystemunitdir \
                --enable-libusb \
                --enable-confdir=${SYSCONFDIR}/ccid \
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/pcsc-lite/distinfo,v
diff -u -p -r1.29 distinfo
--- distinfo    5 Jul 2023 15:08:04 -0000       1.29
+++ distinfo    18 Dec 2023 21:17:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (pcsc-lite-2.0.0.tar.bz2) = 1sPitkUQ5e1vzTMj/r8swqjl/aWmWIx2cfLXf58Yk1Y=
-SIZE (pcsc-lite-2.0.0.tar.bz2) = 799011
+SHA256 (pcsc-lite-2.0.1.tar.bz2) = XtyvXUVEQDvatu4rXWwCxvl+pk7r8IJbjQ+mG6QX2to=
+SIZE (pcsc-lite-2.0.1.tar.bz2) = 815103
Index: patches/patch-src_debuglog_c
===================================================================
RCS file: /cvs/ports/security/pcsc-lite/patches/patch-src_debuglog_c,v
diff -u -p -r1.5 patch-src_debuglog_c
--- patches/patch-src_debuglog_c        30 Mar 2023 15:11:47 -0000      1.5
+++ patches/patch-src_debuglog_c        18 Dec 2023 21:17:19 -0000
@@ -3,7 +3,7 @@ Disable colors by default.
 Index: src/debuglog.c
 --- src/debuglog.c.orig
 +++ src/debuglog.c
-@@ -260,7 +260,7 @@ static void log_line(const int priority, const char *D
+@@ -264,7 +264,7 @@ static void log_line(const int priority, const char *D
                                        break;
                        }
  
@@ -12,7 +12,7 @@ Index: src/debuglog.c
  #define THREAD_FORMAT "%p"
  #else
  #define THREAD_FORMAT "%lu"
-@@ -346,6 +346,9 @@ void DebugLogSetLogType(const int dbgtype)
+@@ -350,6 +350,9 @@ void DebugLogSetLogType(const int dbgtype)
                        LogMsgType = DEBUGLOG_STDOUT_DEBUG;
        }
  
@@ -22,7 +22,7 @@ Index: src/debuglog.c
        /* log to stdout and stdout is a tty? */
        if ((DEBUGLOG_STDOUT_DEBUG == LogMsgType && isatty(fileno(stdout)))
                || (DEBUGLOG_STDOUT_COLOR_DEBUG == LogMsgType))
-@@ -370,6 +373,7 @@ void DebugLogSetLogType(const int dbgtype)
+@@ -374,6 +377,7 @@ void DebugLogSetLogType(const int dbgtype)
                        }
                }
        }

Reply via email to