update to pcsc-tools 1.4.25

This commit is contained in:
sthen 2015-11-12 16:41:04 +00:00
parent e8a6ca9f53
commit c51fdf2975
4 changed files with 29 additions and 9 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2015/09/08 18:25:12 sthen Exp $
# $OpenBSD: Makefile,v 1.3 2015/11/12 16:41:04 sthen Exp $
COMMENT= tools for use with PC/SC drivers, cards, readers
DISTNAME= pcsc-tools-1.4.24
DISTNAME= pcsc-tools-1.4.25
CATEGORIES= security sysutils

View File

@ -1,2 +1,2 @@
SHA256 (pcsc-tools-1.4.24.tar.gz) = F27m95HNdDfgXZIeUEGh8iZRFqWg0QeaW4Mh8s9UFoI=
SIZE (pcsc-tools-1.4.24.tar.gz) = 180792
SHA256 (pcsc-tools-1.4.25.tar.gz) = qccVIk5eopNyHgvE4d60pu5zyhnxZnmJbsOkdZHwDEc=
SIZE (pcsc-tools-1.4.25.tar.gz) = 183540

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-ATR_analysis,v 1.1 2015/11/12 16:41:04 sthen Exp $
--- ATR_analysis.orig Tue Nov 10 15:52:54 2015
+++ ATR_analysis Tue Nov 10 15:56:11 2015
@@ -240,15 +240,7 @@ sub update_smartcard_list($$)
if ($old)
{
print "Updating $file using $url\n";
-
- if ($^O =~ "darwin")
- {
- system("curl $url --output $file");
- }
- else
- {
- system("wget $url --output-document=$file ; touch $file");
- }
+ system("ftp -o $file $url");
# did an update
return 1;

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2015/01/08 15:08:53 sthen Exp $
--- Makefile.orig Sat Jun 16 11:33:32 2012
+++ Makefile Thu Jan 8 14:11:34 2015
@@ -18,7 +18,9 @@ LDLIBS := $(PCSC_LDLIBS)
$OpenBSD: patch-Makefile,v 1.2 2015/11/12 16:41:04 sthen Exp $
--- Makefile.orig Sun Nov 8 17:18:51 2015
+++ Makefile Tue Nov 10 15:51:55 2015
@@ -16,7 +16,9 @@ LDLIBS := $(PCSC_LDLIBS)
BIN = pcsc_scan
BIN_SCRIPT = ATR_analysis gscriptor scriptor
@ -12,7 +12,7 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2015/01/08 15:08:53 sthen Exp $
all: $(BIN) $(MAN)
@@ -33,8 +35,9 @@ install: all
@@ -31,8 +33,9 @@ install: all
install -d $(DESTDIR)/share/pcsc
install -m 644 smartcard_list.txt $(DESTDIR)/share/pcsc