From 74ee2fa4899a0418c81f5bb2dab76bbe3bf0e101 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 5 Jun 2024 02:05:13 +0100 Subject: [PATCH] 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 --- utils/pcsc-lite/Makefile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/utils/pcsc-lite/Makefile b/utils/pcsc-lite/Makefile index 4842f24f91..06e74057db 100644 --- a/utils/pcsc-lite/Makefile +++ b/utils/pcsc-lite/Makefile @@ -8,21 +8,21 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pcsc-lite -PKG_VERSION:=2.0.1 +PKG_VERSION:=2.2.3 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://pcsclite.apdu.fr/files/ -PKG_HASH:=5edcaf5d4544403bdab6ee2b5d6c02c6f97ea64eebf0825b8d0fa61ba417dada +PKG_HASH:=cab1e62755713f62ce1b567954dbb0e9a7e668ffbc3bbad3ce85c53f8f4e00a4 PKG_MAINTAINER:=Daniel Golle PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=COPYING PKG_CPE_ID:=cpe:/a:muscle:pcsc-lite -PKG_FIXUP:=autoreconf PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/meson.mk define Package/pcsc-lite/Default TITLE:=Access a smart card using SCard API (PC/SC) @@ -66,14 +66,13 @@ endef TARGET_CFLAGS += $(FPIC) TARGET_LDFLAGS += -lpthread -CONFIGURE_ARGS += \ - --disable-libudev \ - --disable-libsystemd \ - --enable-libusb \ - --disable-polkit \ - --enable-static \ - --enable-ipcdir=/var/run/pcscd \ - --enable-usbdropdir=/usr/lib/pcsc/drivers +MESON_ARGS += \ + -Dlibudev=false \ + -Dlibsystemd=false \ + -Dlibusb=true \ + -Dpolkit=false \ + -Dipcdir='/var/run/pcscd' \ + -Dusbdropdir='/usr/lib/pcsc/drivers' define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/PCSC