New upstream release (#2084468)

This commit is contained in:
Jakub Jelen 2022-05-12 18:40:13 +02:00
parent 99550479bd
commit 7cdb01ad72
3 changed files with 20 additions and 14 deletions

View File

@ -10,15 +10,3 @@ diff -up ./src/PCSC/pcsclite.h.in.readers_32 ./src/PCSC/pcsclite.h.in
#define MAX_READERNAME 128
diff -up ./src/PCSC/pcsclite.h.readers_32 ./src/PCSC/pcsclite.h
--- ./src/PCSC/pcsclite.h.readers_32 2018-08-20 16:02:30.993385481 -0700
+++ ./src/PCSC/pcsclite.h 2018-08-20 16:03:00.061567242 -0700
@@ -281,7 +281,7 @@ extern const SCARD_IO_REQUEST g_rgSCardT
#define PCSCLITE_VERSION_NUMBER "1.9.5" /**< Current version */
/** Maximum readers context (a slot is count as a reader) */
-#define PCSCLITE_MAX_READERS_CONTEXTS 16
+#define PCSCLITE_MAX_READERS_CONTEXTS 48
#define MAX_READERNAME 128

View File

@ -0,0 +1,12 @@
diff -up pcsc-lite-1.9.6/src/pcscdaemon.c.build pcsc-lite-1.9.6/src/pcscdaemon.c
--- pcsc-lite-1.9.6/src/pcscdaemon.c.build 2022-05-11 17:21:14.000000000 +0200
+++ pcsc-lite-1.9.6/src/pcscdaemon.c 2022-05-12 18:34:04.884309174 +0200
@@ -107,7 +107,7 @@ static void SVCServiceRunLoop(void)
{
int rsp;
LONG rv;
- uint32_t dwClientID; /* Connection ID used to reference the Client */
+ uint32_t dwClientID = 0; /* Connection ID used to reference the Client */
while (TRUE)
{

View File

@ -6,8 +6,8 @@
%endif
Name: pcsc-lite
Version: 1.9.5
Release: 2%{?dist}
Version: 1.9.6
Release: 1%{?dist}
Summary: PC/SC Lite smart card framework and applications
License: BSD
@ -16,6 +16,7 @@ Source0: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2
Source1: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2.asc
Source2: gpgkey-F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E.gpg
Patch1: pcsc-lite-1.9.1-maxreaders.patch
Patch2: pcsc-lite-1.9.6-build.patch
BuildRequires: make
BuildRequires: doxygen
@ -33,6 +34,7 @@ BuildRequires: gnupg2
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: /usr/bin/pathfix.py
BuildRequires: flex
Requires(post): systemd
Requires(preun): systemd
@ -84,6 +86,7 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%setup -q
%patch1 -p 0 -b .maxreaders
%patch2 -p 1 -b .build
# Convert to utf-8
for file in ChangeLog; do
@ -170,6 +173,9 @@ fi
%changelog
* Thu May 12 2022 Jakub Jelen <jjelen@redhat.com> - 1.9.6-1
- New upstream release (#2084468)
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild