Commit Graph

26 Commits

Author SHA1 Message Date
Daniel Golle 3c79b48d1c pcsc-lite: update to version 2.0.1
Add configure argument to keep polkit disabled as per before 2.0.1.

2.0.1: Ludovic Rousseau
24 November 2023
- 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

9 June 2023
2.0.0: Ludovic Rousseau
9 June 2023
- 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

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-20 05:34:35 +00:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Daniel Golle a8698d5ede
pcsc-lite: update to verion 1.9.9
1.9.9: Ludovic Rousseau
 11 September 2022
  - SCardEstablishContext() may return SCARD_W_SECURITY_VIOLATION if refused by Polkit
  - Fix SCardReleaseContext() failure on orphan handles
  - Fix SCardDisconnect() on orphan handle
  - pcsc-spy: log the pioSendPci & pioRecvPci SCardTransmit() parameters
  - Improve the log from pcscd: log the return code in text instead of hex
  - Some other minor improvements

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-07 02:11:50 +01:00
Daniel Golle db667b5b0f
pcsc-lite: update to version 1.9.8
1.9.8: Ludovic Rousseau
11 June 2022
- Install install_spy.sh & uninstall_spy.sh scripts in docdir
- SCardTransmit(): do not fail if receive buffer is "too large"
- SCardControl(): do not fail if receive buffer is "too large"
- fix some memory leaks on shutdown
- use a better random number generator
- Some other minor improvements

1.9.7: Ludovic Rousseau
13 May 2022
- disable strict compilation by default
- fix 3 warnings

1.9.6: Ludovic Rousseau
11 May 2022
- do not fail reader removal in some specific cases (USB/Thunderbolt port)
- improve documentation regarding /etc/reader.conf.d/
- SCardGetStatusChange: speedup the case DISABLE_AUTO_POWER_ON
- configure:
  . add --disable-strict option
   By default the compiler arguments are now:
   -Wall -Wextra -Wno-unused-parameter -Werror ${CFLAGS}
  . fail if flex is not found
- fix different data races
- pcscdaemon: -v displays internal constants values:
  MAX_READERNAME & PCSCLITE_MAX_READERS_CONTEXTS
- Some other minor improvements

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-07 22:56:30 +01:00
Daniel Golle 5c22f49175 pcsc-lite: update to version 1.9.5
1.9.5: Ludovic Rousseau 4 December 2021
 - pcscd: autoexit even if no client connects
 - Fix variable substitution in systemd units
 - fix potential race conditions with powerState handling
 - Add and use tag TAG_IFD_DEVICE_REMOVED
 - UnitaryTests: port code to Python 3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-18 23:47:14 +00:00
Daniel Golle 7e2a56e77d
pcsc-lite: update to version 1.9.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:03:04 +01:00
Daniel Golle fee9ad1c68
pcsc-lite: update to version 1.9.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-25 23:30:45 +00:00
Vincent JARDIN 85d53837f7 pcscd: default /var/run path instead of /run
Fix start error:
  00001221 [2012634380] pcscdaemon.c:624:main() cannot create /run/pcscd: No such file or directory

Signed-off-by: Vincent JARDIN <vjardin@free.fr>
2020-12-19 01:03:36 +00:00
Daniel Golle 74315625b9 pcsc-lite: update to version 1.9.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-06-14 23:20:53 +01:00
Daniel Golle e87bfe4631 pcsc-lite: update to version 1.8.26
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-07 01:27:16 +02:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Daniel Golle 9cd172336d pcsc-lite: update to version 1.8.25
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-05-10 23:36:49 +02:00
Daniel Golle f96a5706a0 pcsc-lite: update to version 1.8.24
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-03-02 21:55:04 +01:00
Daniel Engberg 4b29cce5c9 utils/pcsc-lite: Update URLs
New URLs

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-04-08 16:24:35 +08:00
Daniel Golle f56fc5754c pcsc-lite: update to version 1.8.23
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-01-05 02:12:24 +01:00
Daniel Golle fa1a510595 pcsc-lite: update to version 1.8.22
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 01:33:32 +02:00
Daniel Engberg 8a0bd8fcd9 utils/pcsc-lite: Update to 1.8.21
Update pcsc-lite to 1.8.21
Replace obsolete tarball hash variable with PKG_HASH

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-05-31 17:16:14 +02:00
Hannu Nyman 8c9b2a24cb cmdpad, pcsc-lite, slide-switch, stoken: shorten title
Longest package titles are not shown in the menuconfig,
which decreases manuconfig usability.

Shorten some of the longest titles.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-27 20:04:51 +03:00
Daniel Golle 8d44169aa1 pcsc-lite: update to version 1.8.20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-01-11 02:09:20 +01:00
Daniel Golle f5c2adfcf1 pcsc-lite: update to version 1.8.18
Support for GnuK token is included in this release, remove patches.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-19 19:11:09 +02:00
Daniel Golle 34af9ec22c pcsc-lite: update to version 1.8.16
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-04-19 14:05:04 +02:00
Daniel Golle e5df4967c5 pcsc-lite: update to 1.8.15
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-01-14 01:24:03 +01:00
Daniel Golle 794f1984e0 pcsc-lite: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-08-13 10:44:56 +02:00
Daniel Golle fdb502f3aa pcsc-lite: bump version to 1.8.13
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-11-27 16:20:30 +01:00
Daniel Golle 7216a7affc pcsc-lite: add PKG_LICENSE information
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-08-10 13:37:13 +02:00
Daniel Golle 2e20daf7a8 Import pcsc-lite
bump version to 1.8.11 and add myself as maintainer

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-06-16 14:23:51 +02:00