utils/pcsc-tools: Update to 1.5.3 5922/head
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Mon, 16 Apr 2018 07:27:22 +0000 (09:27 +0200)
committerDaniel Engberg <daniel.engberg.lists@pyret.net>
Mon, 16 Apr 2018 07:30:56 +0000 (09:30 +0200)
Update pcsc-tools to 1.5.3

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
utils/pcsc-tools/Makefile
utils/pcsc-tools/patches/001-disable-atr.patch

index 249d7226d044945f946b037b16ed722c8b47421b..cde0a435775eaab5bb1e8786e3d1964a42230e11 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pcsc-tools
-PKG_VERSION=1.5.2
+PKG_VERSION=1.5.3
 PKG_RELEASE:=1
 PKG_MAINTAINER:=
 PKG_LICENSE:=GPL-2.0
@@ -16,7 +16,7 @@ PKG_LICENSE_FILES:=COPYING
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
-PKG_HASH:=ff4e087c76700aa5a25dd7d0bc4f55bb4a5e71cd4f0d6b5301babe0b434f86fc
+PKG_HASH:=daaa011c28daa00653bd8e2a3d8b0b9f8abae00f7344f50b1a94fbd2b01f1d14
 
 PKG_FIXUP:=autoreconf
 
index 127f19248a3834bc71a64479397d672da688f699..4ae111cdb8e1364a4ca43ca51e6e5e6740a5b25c 100644 (file)
@@ -1,17 +1,16 @@
-Windows (Win32) doesn't support the analyze ATR perl-script and since we 
-don't want to pull in perl as a dependency add the same workaround here. 
+Disable the analyze ATR perl-script and as we don't want to pull in perl
+as a dependency.
 
 diff --git a/pcsc_scan.c b/pcsc_scan.c
-index e1d8942..81344e1 100644
+index d89bc3e..134b675 100644
 --- a/pcsc_scan.c
 +++ b/pcsc_scan.c
-@@ -224,9 +224,7 @@ int main(int argc, char *argv[])
-       printf("PC/SC device scanner\n");
-       printf("V " PACKAGE_VERSION " (c) 2001-2017, Ludovic Rousseau <ludovic.rousseau@free.fr>\n");
--#ifdef WIN32
-       analyse_atr = FALSE;
--#endif
-       while ((opt = getopt(argc, argv, "Vhns")) != EOF)
-       {
+@@ -241,7 +241,7 @@ static void initialize_options(options_t *options, const char *pname)
+ #ifdef WIN32
+       options->analyse_atr = False;
+ #else
+-      options->analyse_atr = True;
++      options->analyse_atr = False;
+ #endif
+       options->stress_card = False;
+       options->print_version = False;