pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pcsc-tools Provides several tools that are us...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f7aced72ed6a
branches: trunk
changeset: 539362:f7aced72ed6a
user: shannonjr <shannonjr%pkgsrc.org@localhost>
date: Tue Mar 04 11:32:15 2008 +0000
description:
Provides several tools that are useful when working
with smart cards: csc_scan regularly scans every
PC/SC reader connected to the host and reports when
a card is inserted or removed. ATR_analysis is a Perl
script used to parse the smart card ATR. The
smartcard_list.txt contains ATR of some cards. It is
used by ATR_analysis to find a card model corresponding
to the ATR. The perl script scriptortis used to send
commands to a smart card using a batch file or stdin.
diffstat:
security/pcsc-tools/DESCR | 9 +++++++++
security/pcsc-tools/Makefile | 32 ++++++++++++++++++++++++++++++++
security/pcsc-tools/PLIST | 13 +++++++++++++
security/pcsc-tools/distinfo | 6 ++++++
security/pcsc-tools/patches/patch-aa | 13 +++++++++++++
5 files changed, 73 insertions(+), 0 deletions(-)
diffs (93 lines):
diff -r d0a4a8d61042 -r f7aced72ed6a security/pcsc-tools/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-tools/DESCR Tue Mar 04 11:32:15 2008 +0000
@@ -0,0 +1,9 @@
+Provides several tools that are useful when working
+with smart cards: csc_scan regularly scans every
+PC/SC reader connected to the host and reports when
+a card is inserted or removed. ATR_analysis is a Perl
+script used to parse the smart card ATR. The
+smartcard_list.txt contains ATR of some cards. It is
+used by ATR_analysis to find a card model corresponding
+to the ATR. The perl script scriptortis used to send
+commands to a smart card using a batch file or stdin.
diff -r d0a4a8d61042 -r f7aced72ed6a security/pcsc-tools/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-tools/Makefile Tue Mar 04 11:32:15 2008 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 11:32:15 shannonjr Exp $
+#
+
+DISTNAME= pcsc-tools-1.4.12
+CATEGORIES= security
+MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
+
+MAINTAINER= shannonjr%NetBSD.org@localhost
+HOMEPAGE= http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
+COMMENT= Some tools usefull for a PC/SC user.
+
+DEPENDS+= p5-pcsc-perl>=1.4.6:../../local/p5-pcsc
+
+USE_TOOLS+= pkg-config
+USE_TOOLS+= gmake
+USE_TOOLS+= perl:run
+
+INSTALL_ENV+= DESTDIR=${PREFIX:Q}
+
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= post-patch
+SUBST_FILES.prefix= ATR_analysis ./ATR_analysis.1p
+SUBST_SED.prefix= -e 's,/usr/local,${PREFIX},'
+
+SUBST_CLASSES+= perl
+SUBST_STAGE.perl= post-patch
+SUBST_FILES.perl= scriptor gscriptor gscriptor.gtk1.2 ATR_analysis
+SUBST_SED.perl= -e 's,perl,${PERL5},'
+
+.include "../../security/pcsc-lite/buildlink3.mk"
+.include "../../security/ccid/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d0a4a8d61042 -r f7aced72ed6a security/pcsc-tools/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-tools/PLIST Tue Mar 04 11:32:15 2008 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/04 11:32:15 shannonjr Exp $
+bin/ATR_analysis
+bin/gscriptor
+bin/pcsc_scan
+bin/scriptor
+share/man/man1/ATR_analysis.1p.gz
+share/man/man1/gscriptor.1p.gz
+share/man/man1/pcsc_scan.1.gz
+share/man/man1/scriptor.1p.gz
+share/pcsc/smartcard_list.txt
+@dirrm share/pcsc
+@dirrm share/man/man1
+@dirrm share/man
diff -r d0a4a8d61042 -r f7aced72ed6a security/pcsc-tools/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-tools/distinfo Tue Mar 04 11:32:15 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/04 11:32:15 shannonjr Exp $
+
+SHA1 (pcsc-tools-1.4.12.tar.gz) = 193fe6e7b04eb5afff685a9bc1ea4bc5c5926302
+RMD160 (pcsc-tools-1.4.12.tar.gz) = a584b4c37fbbc53b6153857fe7eaee0fb49e524b
+Size (pcsc-tools-1.4.12.tar.gz) = 57657 bytes
+SHA1 (patch-aa) = ce9441fe2479558012da2aea4d36c204fc627dbb
diff -r d0a4a8d61042 -r f7aced72ed6a security/pcsc-tools/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-tools/patches/patch-aa Tue Mar 04 11:32:15 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:32:15 shannonjr Exp $
+
+--- ATR_analysis.orig 2007-10-05 10:39:44.000000000 -0600
++++ ATR_analysis
+@@ -47,7 +47,7 @@ use Getopt::Std;
+ use Chipcard::PCSC::Card;
+
+ # file containing the smart card models
+-my @SMARTCARD_LIST = ( "$ENV{HOME}/.smartcard_list.txt", "/usr/local/pcsc/smartcard_list.txt", "/usr/share/pcsc/smartcard_list.txt", "/usr/local/share/pcsc/smartcard_list.txt");
++my @SMARTCARD_LIST = ( "$ENV{HOME}/.smartcard_list.txt", "/usr/local/share/pcsc/smartcard_list.txt");
+
+ our ($opt_v, $opt_h);
+ my ($atr, %TS, @Fi, @Di, @XI, @UI, $T, $value, $counter, $line, $TCK);
Home |
Main Index |
Thread Index |
Old Index