pcsc-lite-1.9.4-1

Resolves: rhbz#2017828
This commit is contained in:
Jakub Jelen 2021-11-18 14:33:09 +01:00
parent 761dff6aa7
commit 8366bce4b3
5 changed files with 10 additions and 40 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/pcsc-lite-1.8.26.tar.bz2.asc
/pcsc-lite-1.9.0.tar.bz2.asc
/pcsc-lite-1.9.1.tar.bz2.asc
/pcsc-lite-1.9.4.tar.bz2.asc

View File

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>The PCSC-lite Project</vendor>
<vendor_url>http://pcsclite.alioth.debian.org/</vendor_url>
<!-- <icon_name>smart-card</icon_name> -->
<action id="org.debian.pcsc-lite.access_pcsc">
<description>Access to the PC/SC daemon</description>
<message>Authentication is required to access the PC/SC daemon</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id="org.debian.pcsc-lite.access_card">
<description>Access to the smart card</description>
<message>Authentication is required to access the smart card</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
</policyconfig>

View File

@ -15,7 +15,7 @@ diff -up ./src/PCSC/pcsclite.h.readers_32 ./src/PCSC/pcsclite.h
+++ ./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.1" /**< Current version */
#define PCSCLITE_VERSION_NUMBER "1.9.4" /**< Current version */
/** Maximum readers context (a slot is count as a reader) */
-#define PCSCLITE_MAX_READERS_CONTEXTS 16
+#define PCSCLITE_MAX_READERS_CONTEXTS 48

View File

@ -1,6 +1,6 @@
Name: pcsc-lite
Version: 1.9.1
Release: 4%{?dist}
Version: 1.9.4
Release: 1%{?dist}
Summary: PC/SC Lite smart card framework and applications
License: BSD
@ -8,7 +8,6 @@ URL: https://pcsclite.apdu.fr/
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
Source3: org.debian.pcsc-lite.policy
Patch1: pcsc-lite-1.9.1-maxreaders.patch
BuildRequires: make
@ -95,10 +94,6 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" src/spy/pcsc-spy
%install
%make_install
rm -f $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions/org.debian.pcsc-lite.policy
mkdir -p $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions/
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions/
# Create empty directories
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d
@ -160,6 +155,10 @@ fi
%changelog
* Thu Nov 18 2021 Jakub Jelen <jjelen@redhat.com> - 1.9.4-1
- Rebase to current version from Fedora (#2017828)
- Use of upstrea polkit policy preventing unneeded prompts
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.9.1-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688

View File

@ -1,2 +1,2 @@
SHA512 (pcsc-lite-1.9.1.tar.bz2) = 4f59ea6acb5b258092018f10609987e12b8e601049e6ffed4b4b82abd3c4b35c38a60e1cda28fdc884202e694d1bc3a3b5d930c5b1e9c1b9c309bd17ef463e63
SHA512 (pcsc-lite-1.9.1.tar.bz2.asc) = d10333f776fe79d33350cd20f27c1946f1f3d0ed4c007796643e0b4a43091efad8401c0c602b2f89903c16217088a4927f2daa771eb4caf4f665f0be83968a21
SHA512 (pcsc-lite-1.9.4.tar.bz2) = d812fd4c6e906f277a73863c4170d96c30245c5fd0a8329e78923533320d71c6591b3f282695bcd69823c8cc381d8d438736bb7ab2262ab24c9d89434368659e
SHA512 (pcsc-lite-1.9.4.tar.bz2.asc) = abba93a18f1832e0bdb7bae21ad6db3d2b816bb9e3130079ab05b3b84d2d5ba001e29c553996574cfdd8551db54c5b06a7fff9e61fff26eb03c29b922ed6999a