30 Commits

Author SHA1 Message Date
Daniel Golle
0b824a8640 pcsc-lite: update to version 2.3.3
2.3.3: Ludovic Rousseau
2 April 2025
- Make polkit rules work again (bug introduced in 2.3.2)
2.3.2: Ludovic Rousseau
26 March 2025
- Hardening systemd pcscd.service file
- pcscd.service: add missing Requires=polkit.service
- pcsc-spy: add missing PCSCv2_PART10_PROPERTY_* definitions
- Support udev PCSCLITE_IGNORE property to filter readers
- debuglog: force use of colors when --color is used
- Some other minor improvements
2.3.1: Ludovic Rousseau
24 December 2024
- Install a default /etc/default/pcscd file
- auth.c: implement polkit support for FreeBSD
- meson:
  . also build static version of libpcsclite
  . add options to disable polkit and libsystemd
  . add "filter_names" in features when needed
- Doxygen: document dwCurrentState use for "\\?PnP?\Notification"
- Some other minor improvements
2.3.0: Ludovic Rousseau
3 August 2024
- SCardGetStatusChange(): add the number of reader events
- Add Appstream metainfo announcing HW support
- meson: specify minimum meson version to use
- fix formats under musl libc
- Send libpcsclite.so logs to stderr instead of stdout
- Some other minor improvements

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-04-27 18:29:25 +01:00
Rosen Penev
7eef6920c5 pcsc-lite: fix bad formats
Fixes compilation with -Werror=format

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-07-14 21:08:27 +01:00
Nathaniel Wesley Filardo
5bf463bd96 pcsc-lite: install libpcsclite_real.{a,so*}, too
74ee2fa489 failed to notice that libpcsclite now supports redirection, as of
1faab672aa
(first present in upstream release 2.1.0).  It's important to include the real
implementation, even if redirection permits loading others.

Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
2024-07-07 12:35:37 +01:00
Daniel Golle
74ee2fa489 pcsc-lite: update to version 2.2.3
Switch to meson build system instead of autotools.

Changes since version 2.0.1:

2.2.3: Ludovic Rousseau
26 May 2024
- meson:
  . Fix build on Slackware 15
  . fail if both libusb and libudev are used
- Fix memory leak on exit
- libpcscspy: dump an output buffer only if the call succeeded
- Some code cleanup

2.2.2: Ludovic Rousseau
20 May 2024
- Serial support is ENABLED by default

2.2.1: Ludovic Rousseau
8 May 2024
- fix meson related issues
- Some code cleanup

2.2.0: Ludovic Rousseau
3 May 2024
- provide files for meson build tool (replaces autoconf/auoomake)
- fix a missing symbol in libpcscspy (bug introduced by the previous version)
- fix shutdown issues with hotplug_libusb
- update pcsc-spy manpage
- update copyright date
- Some other minor improvements

2.1.0: Ludovic Rousseau
12 April 2024
- LIBPCSCLITE_DELEGATE is used to redirect to another libpcsclite library
- setup_spy.sh displays the LIBPCSCLITE_DELEGATE value to use for spying
- provides libfake.c as a sample source code
- Some other minor improvements

2.0.3: Ludovic Rousseau
3 March 2024
- add SCARD_E_UNKNOWN_RES_MNG back

2.0.2: Ludovic Rousseau
3 March 2024
- SCardConnect() & SCardReconnect(): restrict the protocol used
- negotiate PTS also for the backup protocol
- pcscd.8:
  . document --disable-polkit
  . add "CONFIGURATION FILE" section
- Some other minor improvements

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-06-23 11:10:41 -07:00
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