[packages/pcsc-lite] up to 1.9.9

atler atler at pld-linux.org
Mon Sep 12 01:32:21 CEST 2022


commit b8d80a79dab5580d149d8490f739c615696e0f73
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Sep 12 01:31:51 2022 +0200

    up to 1.9.9

 debuglog-pid.patch | 13 +++++++------
 pcsc-lite.spec     |  4 ++--
 2 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/pcsc-lite.spec b/pcsc-lite.spec
index 6478c60..454c0b8 100644
--- a/pcsc-lite.spec
+++ b/pcsc-lite.spec
@@ -12,12 +12,12 @@
 Summary:	PCSC Framework for Linux
 Summary(pl.UTF-8):	Środowisko PCSC dla Linuksa
 Name:		pcsc-lite
-Version:	1.9.8
+Version:	1.9.9
 Release:	1
 License:	BSD
 Group:		Daemons
 Source0:	https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2
-# Source0-md5:	d063c6ca17c17fab39a85132811e155d
+# Source0-md5:	23db832115db702e902baccf21da13aa
 Source1:	%{name}-pcscd.init
 Source2:	%{name}-pcscd.sysconfig
 Source4:	%{name}.tmpfiles
diff --git a/debuglog-pid.patch b/debuglog-pid.patch
index a4b3491..f3768f6 100644
--- a/debuglog-pid.patch
+++ b/debuglog-pid.patch
@@ -1,6 +1,6 @@
---- pcsc-lite-1.6.6/src/debuglog.c~	2010-06-30 15:40:58.000000000 +0300
-+++ pcsc-lite-1.6.6/src/debuglog.c	2011-01-12 01:58:18.693291099 +0200
-@@ -104,6 +104,8 @@
+--- pcsc-lite-1.9.9/src/debuglog.c.orig	2022-09-11 13:51:43.000000000 +0200
++++ pcsc-lite-1.9.9/src/debuglog.c	2022-09-12 01:28:32.960862895 +0200
+@@ -136,6 +136,8 @@ void log_msg(const int priority, const c
  {
  	char DebugBuffer[DEBUG_BUF_SIZE];
  	va_list argptr;
@@ -9,7 +9,7 @@
  
  	if ((priority < LogLevel) /* log priority lower than threshold? */
  		|| (DEBUGLOG_NO_DEBUG == LogMsgType))
-@@ -114,13 +116,18 @@
+@@ -145,6 +147,11 @@ void log_msg(const int priority, const c
  	vsnprintf(DebugBuffer, sizeof DebugBuffer, fmt, argptr);
  	va_end(argptr);
  
@@ -18,10 +18,11 @@
 +		syslog_opened = 1;
 +	}
 +
- 	log_line(priority, DebugBuffer);
+ 	log_line(priority, DebugBuffer, -1);
  } /* log_msg */
  
- static void log_line(const int priority, const char *DebugBuffer)
+@@ -203,7 +210,7 @@ static void log_line(const int priority,
+ 	unsigned int rv)
  {
  	if (DEBUGLOG_SYSLOG_DEBUG == LogMsgType)
 -		syslog(LOG_INFO, "%s", DebugBuffer);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pcsc-lite.git/commitdiff/b8d80a79dab5580d149d8490f739c615696e0f73



More information about the pld-cvs-commit mailing list