aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ifd-test
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-20 14:52:20 +0800
committeredwin <edwin@FreeBSD.org>2003-01-20 14:52:20 +0800
commitbe18481fce5f806e71feb3938af30ccfa28a16b3 (patch)
treea72dac06aa5600d79d5ab583ddef81371e4ba995 /devel/ifd-test
parentafbc8cc8687b9c2dc6f663b74620ffde078c4c1e (diff)
downloadfreebsd-ports-graphics-be18481fce5f806e71feb3938af30ccfa28a16b3.tar.gz
freebsd-ports-graphics-be18481fce5f806e71feb3938af30ccfa28a16b3.tar.zst
freebsd-ports-graphics-be18481fce5f806e71feb3938af30ccfa28a16b3.zip
New port: devel/ifd-test: PC/SC Lite IFD Test Suite
Test Suite for PC/SC Lite IFD intermediate drivers. PR: ports/42695 Submitted by: Bruce M Simpson <bms@spc.org>
Diffstat (limited to 'devel/ifd-test')
-rw-r--r--devel/ifd-test/Makefile24
-rw-r--r--devel/ifd-test/distinfo1
-rw-r--r--devel/ifd-test/files/patch-Makefile17
-rw-r--r--devel/ifd-test/files/patch-commands.c11
-rw-r--r--devel/ifd-test/files/patch-ifdtest.c10
-rw-r--r--devel/ifd-test/files/patch-testA.c10
-rw-r--r--devel/ifd-test/files/patch-testAMMI.c10
-rw-r--r--devel/ifd-test/files/patch-testB.c10
-rw-r--r--devel/ifd-test/files/patch-testBULL.c10
-rw-r--r--devel/ifd-test/files/patch-testC.c10
-rw-r--r--devel/ifd-test/files/patch-testGD.c10
-rw-r--r--devel/ifd-test/files/patch-testIBM.c10
-rw-r--r--devel/ifd-test/files/patch-testSCHL.c10
-rw-r--r--devel/ifd-test/files/patch-testSIEMENS.c10
-rw-r--r--devel/ifd-test/pkg-comment1
-rw-r--r--devel/ifd-test/pkg-descr18
-rw-r--r--devel/ifd-test/pkg-plist1
17 files changed, 173 insertions, 0 deletions
diff --git a/devel/ifd-test/Makefile b/devel/ifd-test/Makefile
new file mode 100644
index 00000000000..bade4b76ae4
--- /dev/null
+++ b/devel/ifd-test/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: ifd-test
+# Date created: 23 August 2002
+# Whom: Bruce M Simpson
+#
+# $FreeBSD$
+#
+
+PORTNAME= ifd-test
+PORTVERSION= 1.0
+CATEGORIES= devel security
+MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/
+
+MAINTAINER= bms@spc.org
+
+LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite
+
+USE_GMAKE= yes
+
+NOMAN=
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ifdtest ${PREFIX}/sbin
+
+.include <bsd.port.mk>
diff --git a/devel/ifd-test/distinfo b/devel/ifd-test/distinfo
new file mode 100644
index 00000000000..0f55eb39406
--- /dev/null
+++ b/devel/ifd-test/distinfo
@@ -0,0 +1 @@
+MD5 (ifd-test-1.0.tar.gz) = 86bfde45f2d7413336656a617edf207a
diff --git a/devel/ifd-test/files/patch-Makefile b/devel/ifd-test/files/patch-Makefile
new file mode 100644
index 00000000000..325cfb51557
--- /dev/null
+++ b/devel/ifd-test/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig Wed Aug 28 14:26:32 2002
++++ Makefile Wed Aug 28 14:27:06 2002
+@@ -1,10 +1,12 @@
+ # Makefile for utilities
+ # David Corcoran <corcoran@linuxnet.com>
+
++PREFIX?= /usr/local
++
+ CC = gcc
+ CFLAGS = -g -w
+-INCLUDE = -I/usr/local/pcsc/include
+-LIBS = -L/usr/local/pcsc/lib -lpcsclite
++INCLUDE = -I${PREFIX}/include
++LIBS = -L${PREFIX}/lib -lpcsclite
+ OBJS = testIBM.o testAMMI.o testSCHL.o testSIEMENS.o testBULL.o testGD.o commands.o testA.o testB.o
+
+
diff --git a/devel/ifd-test/files/patch-commands.c b/devel/ifd-test/files/patch-commands.c
new file mode 100644
index 00000000000..8f68b7d8d7c
--- /dev/null
+++ b/devel/ifd-test/files/patch-commands.c
@@ -0,0 +1,11 @@
+--- commands.c.orig Tue Apr 17 17:49:02 2001
++++ commands.c Wed Aug 28 14:32:32 2002
+@@ -1,7 +1,7 @@
+
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include <stdarg.h>
+ #include "commands.h"
diff --git a/devel/ifd-test/files/patch-ifdtest.c b/devel/ifd-test/files/patch-ifdtest.c
new file mode 100644
index 00000000000..941d443f239
--- /dev/null
+++ b/devel/ifd-test/files/patch-ifdtest.c
@@ -0,0 +1,10 @@
+--- ifdtest.c.orig Tue Apr 17 17:49:02 2001
++++ ifdtest.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+ #include <string.h>
diff --git a/devel/ifd-test/files/patch-testA.c b/devel/ifd-test/files/patch-testA.c
new file mode 100644
index 00000000000..d14d1596c0e
--- /dev/null
+++ b/devel/ifd-test/files/patch-testA.c
@@ -0,0 +1,10 @@
+--- testA.c.orig Tue Apr 17 17:49:01 2001
++++ testA.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+ testA(int argc,char** argv ) {
diff --git a/devel/ifd-test/files/patch-testAMMI.c b/devel/ifd-test/files/patch-testAMMI.c
new file mode 100644
index 00000000000..368e0d51d1a
--- /dev/null
+++ b/devel/ifd-test/files/patch-testAMMI.c
@@ -0,0 +1,10 @@
+--- testAMMI.c.orig Tue Apr 17 17:49:01 2001
++++ testAMMI.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+ int testAMMI(int argc,char** argv ) {
diff --git a/devel/ifd-test/files/patch-testB.c b/devel/ifd-test/files/patch-testB.c
new file mode 100644
index 00000000000..d2e19464011
--- /dev/null
+++ b/devel/ifd-test/files/patch-testB.c
@@ -0,0 +1,10 @@
+--- testB.c.orig Tue Apr 17 17:49:01 2001
++++ testB.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+ testB(int argc,char** argv ) {
diff --git a/devel/ifd-test/files/patch-testBULL.c b/devel/ifd-test/files/patch-testBULL.c
new file mode 100644
index 00000000000..78a49088cb0
--- /dev/null
+++ b/devel/ifd-test/files/patch-testBULL.c
@@ -0,0 +1,10 @@
+--- testBULL.c.orig Tue Apr 17 17:49:01 2001
++++ testBULL.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+ int temp1;
diff --git a/devel/ifd-test/files/patch-testC.c b/devel/ifd-test/files/patch-testC.c
new file mode 100644
index 00000000000..7362d5dccf6
--- /dev/null
+++ b/devel/ifd-test/files/patch-testC.c
@@ -0,0 +1,10 @@
+--- testC.c.orig Tue Apr 17 17:49:02 2001
++++ testC.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+ testC(int argc,char** argv ) {
diff --git a/devel/ifd-test/files/patch-testGD.c b/devel/ifd-test/files/patch-testGD.c
new file mode 100644
index 00000000000..6b30795682d
--- /dev/null
+++ b/devel/ifd-test/files/patch-testGD.c
@@ -0,0 +1,10 @@
+--- testGD.c.orig Tue Apr 17 17:49:01 2001
++++ testGD.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+
diff --git a/devel/ifd-test/files/patch-testIBM.c b/devel/ifd-test/files/patch-testIBM.c
new file mode 100644
index 00000000000..7ad4be30ca8
--- /dev/null
+++ b/devel/ifd-test/files/patch-testIBM.c
@@ -0,0 +1,10 @@
+--- testIBM.c.orig Tue Apr 17 17:49:02 2001
++++ testIBM.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+ int testIBM(int argc,char** argv ) {
diff --git a/devel/ifd-test/files/patch-testSCHL.c b/devel/ifd-test/files/patch-testSCHL.c
new file mode 100644
index 00000000000..7fcfb34f376
--- /dev/null
+++ b/devel/ifd-test/files/patch-testSCHL.c
@@ -0,0 +1,10 @@
+--- testSCHL.c.orig Tue Apr 17 17:49:02 2001
++++ testSCHL.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+
diff --git a/devel/ifd-test/files/patch-testSIEMENS.c b/devel/ifd-test/files/patch-testSIEMENS.c
new file mode 100644
index 00000000000..bff5be3f08e
--- /dev/null
+++ b/devel/ifd-test/files/patch-testSIEMENS.c
@@ -0,0 +1,10 @@
+--- testSIEMENS.c.orig Tue Apr 17 17:49:02 2001
++++ testSIEMENS.c Wed Aug 28 14:32:32 2002
+@@ -1,6 +1,6 @@
+ #include <stdio.h>
+ #include <winscard.h>
+-#include <configfile.h>
++
+ #include <stdlib.h>
+ #include "commands.h"
+
diff --git a/devel/ifd-test/pkg-comment b/devel/ifd-test/pkg-comment
new file mode 100644
index 00000000000..0fad74a0cf9
--- /dev/null
+++ b/devel/ifd-test/pkg-comment
@@ -0,0 +1 @@
+IFD Test Suite for PC/SC Lite
diff --git a/devel/ifd-test/pkg-descr b/devel/ifd-test/pkg-descr
new file mode 100644
index 00000000000..5d5fddc26ae
--- /dev/null
+++ b/devel/ifd-test/pkg-descr
@@ -0,0 +1,18 @@
+From the README:-
+
+This program provides a driver validation sequence for validating drivers
+on Unix OS's and PC/SC Lite.
+
+To use this tester you must have a set of PC/SC test suite cards. This
+test is nearly identical to that which is done by Microsoft's WHQL Group
+and can be used to verify the quality of your driver for use with
+pcsc-lite. For those familiar with IFDTEST.EXE this will be no different.
+
+Feel free to contact me with questions: corcoran@linuxnet.com
+
+Author: David Corcoran
+
+WWW: http://www.linuxnet.com/sourcedrivers.html
+
+Bruce
+bms@spc.org
diff --git a/devel/ifd-test/pkg-plist b/devel/ifd-test/pkg-plist
new file mode 100644
index 00000000000..ed05d2a243d
--- /dev/null
+++ b/devel/ifd-test/pkg-plist
@@ -0,0 +1 @@
+sbin/ifdtest