Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 15:45:44 +0100 (BST)
From:      Bruce M Simpson <bms@spc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42695: New port: devel/ifd-test: PC/SC Lite IFD Test Suite
Message-ID:  <20020912144544.649959693@triage.dollah.com>

next in thread | raw e-mail | index | archive | help

>Number:         42695
>Category:       ports
>Synopsis:       New port: devel/ifd-test: PC/SC Lite IFD Test Suite
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 07:50:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bruce M Simpson
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD triage.dollah.com 4.6-STABLE FreeBSD 4.6-STABLE #4: Sat Sep 7 13:55:56 BST 2002 root@:/usr/src/sys/compile/TRIAGE i386


	
>Description:
	Test Suite for PC/SC Lite IFD intermediate drivers.
>How-To-Repeat:
	
>Fix:

	

--- ifd-test.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ifd-test
#	ifd-test/distinfo
#	ifd-test/pkg-descr
#	ifd-test/pkg-plist
#	ifd-test/Makefile
#	ifd-test/pkg-comment
#	ifd-test/files
#	ifd-test/files/patch-testB.c
#	ifd-test/files/patch-testBULL.c
#	ifd-test/files/patch-testIBM.c
#	ifd-test/files/patch-testSCHL.c
#	ifd-test/files/patch-testSIEMENS.c
#	ifd-test/files/patch-testGD.c
#	ifd-test/files/patch-Makefile
#	ifd-test/files/patch-commands.c
#	ifd-test/files/patch-ifdtest.c
#	ifd-test/files/patch-testA.c
#	ifd-test/files/patch-testAMMI.c
#	ifd-test/files/patch-testC.c
#
echo c - ifd-test
mkdir -p ifd-test > /dev/null 2>&1
echo x - ifd-test/distinfo
sed 's/^X//' >ifd-test/distinfo << 'END-of-ifd-test/distinfo'
XMD5 (ifd-test-1.0.tar.gz) = 86bfde45f2d7413336656a617edf207a
END-of-ifd-test/distinfo
echo x - ifd-test/pkg-descr
sed 's/^X//' >ifd-test/pkg-descr << 'END-of-ifd-test/pkg-descr'
XFrom the README:-
X
XThis program provides a driver validation sequence for validating drivers
Xon Unix OS's and PC/SC Lite.
X
XTo use this tester you must have a set of PC/SC test suite cards.  This
Xtest is nearly identical to that which is done by Microsoft's WHQL Group
Xand can be used to verify the quality of your driver for use with
Xpcsc-lite.  For those familiar with IFDTEST.EXE this will be no different.
X
XFeel free to contact me with questions: corcoran@linuxnet.com
X
XAuthor: David Corcoran
X
XWWW: http://www.linuxnet.com/sourcedrivers.html
X
XBruce
Xbms@spc.org
END-of-ifd-test/pkg-descr
echo x - ifd-test/pkg-plist
sed 's/^X//' >ifd-test/pkg-plist << 'END-of-ifd-test/pkg-plist'
Xsbin/ifdtest
END-of-ifd-test/pkg-plist
echo x - ifd-test/Makefile
sed 's/^X//' >ifd-test/Makefile << 'END-of-ifd-test/Makefile'
X# New ports collection makefile for:	ifd-test
X# Date created:		23 August 2002
X# Whom:			Bruce M Simpson
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ifd-test
XPORTVERSION=	1.0
XCATEGORIES=	security devel
XMASTER_SITES=	http://www.linuxnet.com/drivers/readers/files/
X
XMAINTAINER=	bms@spc.org
X
XLIB_DEPENDS=    pcsclite.0:${PORTSDIR}/devel/pcsc-lite
X
XUSE_GMAKE=	yes
X
XNOMAN=
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/ifdtest ${PREFIX}/sbin
X
X.include <bsd.port.mk>
END-of-ifd-test/Makefile
echo x - ifd-test/pkg-comment
sed 's/^X//' >ifd-test/pkg-comment << 'END-of-ifd-test/pkg-comment'
XIFD Test Suite for PC/SC Lite
END-of-ifd-test/pkg-comment
echo c - ifd-test/files
mkdir -p ifd-test/files > /dev/null 2>&1
echo x - ifd-test/files/patch-testB.c
sed 's/^X//' >ifd-test/files/patch-testB.c << 'END-of-ifd-test/files/patch-testB.c'
X--- testB.c.orig	Tue Apr 17 17:49:01 2001
X+++ testB.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X testB(int argc,char** argv ) {
END-of-ifd-test/files/patch-testB.c
echo x - ifd-test/files/patch-testBULL.c
sed 's/^X//' >ifd-test/files/patch-testBULL.c << 'END-of-ifd-test/files/patch-testBULL.c'
X--- testBULL.c.orig	Tue Apr 17 17:49:01 2001
X+++ testBULL.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X int temp1;
END-of-ifd-test/files/patch-testBULL.c
echo x - ifd-test/files/patch-testIBM.c
sed 's/^X//' >ifd-test/files/patch-testIBM.c << 'END-of-ifd-test/files/patch-testIBM.c'
X--- testIBM.c.orig	Tue Apr 17 17:49:02 2001
X+++ testIBM.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X int testIBM(int argc,char** argv ) {
END-of-ifd-test/files/patch-testIBM.c
echo x - ifd-test/files/patch-testSCHL.c
sed 's/^X//' >ifd-test/files/patch-testSCHL.c << 'END-of-ifd-test/files/patch-testSCHL.c'
X--- testSCHL.c.orig	Tue Apr 17 17:49:02 2001
X+++ testSCHL.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h> 
X #include <winscard.h> 
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X 
END-of-ifd-test/files/patch-testSCHL.c
echo x - ifd-test/files/patch-testSIEMENS.c
sed 's/^X//' >ifd-test/files/patch-testSIEMENS.c << 'END-of-ifd-test/files/patch-testSIEMENS.c'
X--- testSIEMENS.c.orig	Tue Apr 17 17:49:02 2001
X+++ testSIEMENS.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X 
END-of-ifd-test/files/patch-testSIEMENS.c
echo x - ifd-test/files/patch-testGD.c
sed 's/^X//' >ifd-test/files/patch-testGD.c << 'END-of-ifd-test/files/patch-testGD.c'
X--- testGD.c.orig	Tue Apr 17 17:49:01 2001
X+++ testGD.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X 
END-of-ifd-test/files/patch-testGD.c
echo x - ifd-test/files/patch-Makefile
sed 's/^X//' >ifd-test/files/patch-Makefile << 'END-of-ifd-test/files/patch-Makefile'
X--- Makefile.orig	Wed Aug 28 14:26:32 2002
X+++ Makefile	Wed Aug 28 14:27:06 2002
X@@ -1,10 +1,12 @@
X # Makefile for utilities
X # David Corcoran <corcoran@linuxnet.com>
X 
X+PREFIX?= /usr/local
X+
X CC      = gcc
X CFLAGS  = -g -w
X-INCLUDE = -I/usr/local/pcsc/include
X-LIBS    = -L/usr/local/pcsc/lib -lpcsclite
X+INCLUDE = -I${PREFIX}/include
X+LIBS    = -L${PREFIX}/lib -lpcsclite
X OBJS = testIBM.o testAMMI.o testSCHL.o testSIEMENS.o testBULL.o testGD.o commands.o testA.o testB.o
X 
X 
END-of-ifd-test/files/patch-Makefile
echo x - ifd-test/files/patch-commands.c
sed 's/^X//' >ifd-test/files/patch-commands.c << 'END-of-ifd-test/files/patch-commands.c'
X--- commands.c.orig	Tue Apr 17 17:49:02 2001
X+++ commands.c	Wed Aug 28 14:32:32 2002
X@@ -1,7 +1,7 @@
X 
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include <stdarg.h>  
X #include "commands.h"
END-of-ifd-test/files/patch-commands.c
echo x - ifd-test/files/patch-ifdtest.c
sed 's/^X//' >ifd-test/files/patch-ifdtest.c << 'END-of-ifd-test/files/patch-ifdtest.c'
X--- ifdtest.c.orig	Tue Apr 17 17:49:02 2001
X+++ ifdtest.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X #include <string.h>
END-of-ifd-test/files/patch-ifdtest.c
echo x - ifd-test/files/patch-testA.c
sed 's/^X//' >ifd-test/files/patch-testA.c << 'END-of-ifd-test/files/patch-testA.c'
X--- testA.c.orig	Tue Apr 17 17:49:01 2001
X+++ testA.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X testA(int argc,char** argv ) {
END-of-ifd-test/files/patch-testA.c
echo x - ifd-test/files/patch-testAMMI.c
sed 's/^X//' >ifd-test/files/patch-testAMMI.c << 'END-of-ifd-test/files/patch-testAMMI.c'
X--- testAMMI.c.orig	Tue Apr 17 17:49:01 2001
X+++ testAMMI.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X int testAMMI(int argc,char** argv ) {
END-of-ifd-test/files/patch-testAMMI.c
echo x - ifd-test/files/patch-testC.c
sed 's/^X//' >ifd-test/files/patch-testC.c << 'END-of-ifd-test/files/patch-testC.c'
X--- testC.c.orig	Tue Apr 17 17:49:02 2001
X+++ testC.c	Wed Aug 28 14:32:32 2002
X@@ -1,6 +1,6 @@
X #include <stdio.h>
X #include <winscard.h>
X-#include <configfile.h>
X+
X #include <stdlib.h>  
X #include "commands.h"
X testC(int argc,char** argv ) {
END-of-ifd-test/files/patch-testC.c
exit
--- ifd-test.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020912144544.649959693>