pcsc-tools: update to version 1.7.0
authorDaniel Golle <daniel@makrotopia.org>
Wed, 20 Dec 2023 04:06:30 +0000 (04:06 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 20 Dec 2023 05:43:15 +0000 (05:43 +0000)
See https://pcsc-tools.apdu.fr/Changelog for details.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/pcsc-tools/Makefile
utils/pcsc-tools/patches/001-disable-atr.patch

index 92680165121298b390b8c7a575131382c24f2676..ced7e41a34d9cb7e4f1dd1af7d1316c1296d0228 100644 (file)
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pcsc-tools
-PKG_VERSION:=1.6.1
+PKG_VERSION:=1.7.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://ludovic.rousseau.free.fr/softwares/pcsc-tools
-PKG_HASH:=86fb756adfd18958d05af61e53c7503d4c46f0700677e6d0688dd4360eb53150
+PKG_HASH:=3466e60f975573168e9880505c7b44a4d51eb507a8a7dda9e68b672071c20da6
 
-PKG_MAINTAINER:=
+PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=COPYING
 
@@ -29,7 +29,7 @@ define Package/pcsc-tools
   CATEGORY:=Utilities
   DEPENDS:=+libpcsclite
   TITLE:=pcsc-tools
-  URL:=http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
+  URL:=https://pcsc-tools.apdu.fr/
 endef
 
 define Package/pcsc-tools/description
index c5adda108ea2778d309f96c0a5365447f68fb94f..54faf43f0600c7dea20981fcc67a9dcac9977812 100644 (file)
@@ -3,12 +3,21 @@ as a dependency.
 
 --- a/pcsc_scan.c
 +++ b/pcsc_scan.c
-@@ -294,7 +294,7 @@ static void initialize_options(options_t
- #if defined(WIN32) || defined(__APPLE__)
-       options->analyse_atr = False;
+@@ -283,7 +283,7 @@ static void initialize_options(options_t
+ {
+       options->pname = pname;
+ #if defined(ATR_PARSER)
+-      options->analyse_atr = true;
++      options->analyse_atr = false;
  #else
--      options->analyse_atr = True;
-+      options->analyse_atr = False;
+       options->analyse_atr = false;
+ #define ATR_PARSER ""
+@@ -302,7 +302,7 @@ static void initialize_options(options_t
+ #ifdef WIN32
+ #define OPTIONS OPTIONS_BASE
+ #else
+-#define OPTIONS OPTIONS_BASE "n"
++#define OPTIONS OPTIONS_BASE
  #endif
-       options->stress_card = False;
-       options->maxtime = 0;
+ static void print_version(void)