Wednesday, June 28, 2023

security/pcsc-lite: update to 2.0.0

https://salsa.debian.org/rousseau/PCSC/blob/master/ChangeLog
- Adjust USB drivers path at run-time via environment variable
PCSCLITE_HP_DROPDIR
- Add '--disable-polkit' option
- Reset eventCounter when a reader is removed
- Add "polkit" in "pcscd -v" output if enabled
- Doxygen: document SCARD_E_INVALID_VALUE for some functions
- use secure_getenv(3) if available
- Some other minor improvements

Tests all pass with smart card inserted, firefox login keeps working.
No dynamic export or PLIST changes.

Feedback? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/pcsc-lite/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile 30 Mar 2023 15:11:47 -0000 1.59
+++ Makefile 28 Jun 2023 22:39:34 -0000
@@ -1,6 +1,6 @@
COMMENT= resource manager for PC/SC

-V= 1.9.9
+V= 2.0.0
DISTNAME= pcsc-lite-${V}
CATEGORIES= security

@@ -47,7 +47,8 @@ CONFIGURE_ENV= ac_cv_lib_lex='none neede
TEST_DEPENDS= ${BUILD_PKGPATH}=${V} \
security/ccid

-# The pcscd server needs to be up and running
+# The pcscd server needs to be up and running and tests prompt/wait for
+# insertion of a smart card reader as well as smart card
TEST_IS_INTERACTIVE= Yes

do-test:
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/pcsc-lite/distinfo,v
retrieving revision 1.28
diff -u -p -r1.28 distinfo
--- distinfo 30 Mar 2023 15:11:47 -0000 1.28
+++ distinfo 28 Jun 2023 22:24:19 -0000
@@ -1,2 +1,2 @@
-SHA256 (pcsc-lite-1.9.9.tar.bz2) = y8w7NMYfUykc7MDYMUI8lNQ3sYjrK5e3/rwI3hyRToo=
-SIZE (pcsc-lite-1.9.9.tar.bz2) = 789914
+SHA256 (pcsc-lite-2.0.0.tar.bz2) = 1sPitkUQ5e1vzTMj/r8swqjl/aWmWIx2cfLXf58Yk1Y=
+SIZE (pcsc-lite-2.0.0.tar.bz2) = 799011
Index: patches/patch-src_debug_c
===================================================================
RCS file: /cvs/ports/security/pcsc-lite/patches/patch-src_debug_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-src_debug_c
--- patches/patch-src_debug_c 16 Mar 2022 10:22:32 -0000 1.3
+++ patches/patch-src_debug_c 28 Jun 2023 22:25:26 -0000
@@ -3,7 +3,7 @@ Disable colors by default.
Index: src/debug.c
--- src/debug.c.orig
+++ src/debug.c
-@@ -72,6 +72,7 @@ static void log_init(void)
+@@ -73,6 +73,7 @@ static void log_init(void)
if (e)
LogLevel = atoi(e);

@@ -11,7 +11,7 @@ Index: src/debug.c
/* log to stderr and stderr is a tty? */
if (isatty(fileno(stderr)))
{
-@@ -95,6 +96,7 @@ static void log_init(void)
+@@ -96,6 +97,7 @@ static void log_init(void)
}
}
}

No comments:

Post a Comment