aboutsummaryrefslogtreecommitdiff
path: root/devel/ifd-test/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ifd-test/files')
-rw-r--r--devel/ifd-test/files/patch-Makefile14
-rw-r--r--devel/ifd-test/files/patch-commands.c11
-rw-r--r--devel/ifd-test/files/patch-ifdtest.c57
-rw-r--r--devel/ifd-test/files/patch-pcsc1.4.057
-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
13 files changed, 0 insertions, 229 deletions
diff --git a/devel/ifd-test/files/patch-Makefile b/devel/ifd-test/files/patch-Makefile
deleted file mode 100644
index 7ad608fa8869..000000000000
--- a/devel/ifd-test/files/patch-Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile.orig Tue Apr 17 18:49:02 2001
-+++ Makefile Mon Apr 11 21:23:34 2005
-@@ -1,10 +1,7 @@
- # Makefile for utilities
- # David Corcoran <corcoran@linuxnet.com>
-
--CC = gcc
--CFLAGS = -g -w
--INCLUDE = -I/usr/local/pcsc/include
--LIBS = -L/usr/local/pcsc/lib -lpcsclite
-+INCLUDE = -I${PREFIX}/include -I${PREFIX}/include/PCSC
- 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
deleted file mode 100644
index 8f68b7d8d7cb..000000000000
--- a/devel/ifd-test/files/patch-commands.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
deleted file mode 100644
index 5dd0d11a232a..000000000000
--- a/devel/ifd-test/files/patch-ifdtest.c
+++ /dev/null
@@ -1,57 +0,0 @@
---- ifdtest.c.orig 2001-04-17 18:49:02.000000000 +0200
-+++ ifdtest.c 2011-03-19 13:25:35.000000000 +0100
-@@ -1,6 +1,5 @@
- #include <stdio.h>
- #include <winscard.h>
--#include <configfile.h>
- #include <stdlib.h>
- #include "commands.h"
- #include <string.h>
-@@ -21,13 +20,13 @@
- UCHAR value[300];
- struct ReaderContext *rContext;
- SCARD_IO_REQUEST sSendPci, sRecvPci;
--PSCARD_READERSTATE_A rgReaderStates[1];
-+SCARD_READERSTATE* rgReaderStates[1];
- DWORD dwReaderLen, dwState, dwProt, dwAtrLen;
- DWORD dwSendLength, dwRecvLength, dwPref, dwReaders;
--LPSTR pcReaders, mszReaders;
-+LPTSTR pcReaders, mszReaders;
- BYTE pbAtr[MAX_ATR_SIZE];
- BYTE s[300], r[300];
--LPCSTR mszGroups;
-+LPCTSTR mszGroups;
- LONG rv;
- DWORD state;
- DWORD protocol;
-@@ -110,18 +109,12 @@
- }
- if( outfile != NULL) fp = fopen(outfile,"w");
- else fp=NULL;
-- rv = SCardEstablishContext( SCARD_SCOPE_GLOBAL, pcHost, NULL, &hContext );
-+ rv = SCardEstablishContext( SCARD_SCOPE_SYSTEM, pcHost, NULL, &hContext );
- if ( rv != SCARD_S_SUCCESS ) {
- myprintf("ERROR :: Resource Manager not running \n");
- myprintf("Please start the resource manager and try again \n");
- return 1;
- }
-- rv = SCardSetTimeout(hContext,100);
-- if ( rv != SCARD_S_SUCCESS ) {
-- myprintf("ERROR :: Cannot Set timeout \n");
-- myprintf("PCSC ERROR: %s\n", pcsc_stringify_error(rv));
-- return -1;
-- }
- rv = SCardGetStatusChange( hContext, INFINITE, 0, 0 );
-
- if ( rv != SCARD_S_SUCCESS ) {
-@@ -162,8 +155,8 @@
- } while ( iReader > p || iReader <= 0 );
-
- rgReaderStates[0] =
-- (PSCARD_READERSTATE_A)
-- malloc(sizeof(SCARD_READERSTATE_A));
-+ (SCARD_READERSTATE*)
-+ malloc(sizeof(SCARD_READERSTATE*));
- strcpy(readerName,&mszReaders[iList[iReader]]);
- printVersion(readerName);
- (rgReaderStates[0])->szReader = strdup(readerName);
diff --git a/devel/ifd-test/files/patch-pcsc1.4.0 b/devel/ifd-test/files/patch-pcsc1.4.0
deleted file mode 100644
index b594888948c2..000000000000
--- a/devel/ifd-test/files/patch-pcsc1.4.0
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -ru ifd-test-1.0/testGD.c ifd-test-1.0.new/testGD.c
---- ifd-test-1.0/testGD.c 2001-04-17 18:49:01.000000000 +0200
-+++ testGD.c 2007-03-02 16:23:52.000000000 +0100
-@@ -12,12 +12,12 @@
- //checkATR(atr);
- /* Try to set T=0 protocol */
- printit("Try to set protocol T0 | T1");
-- rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T0,SCARD_RESET,&protocol);
-+ rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T0,SCARD_RESET_CARD,&protocol);
- if( rv != SCARD_S_SUCCESS ) {
- myprintf("Failed\n");
- return -1;
- }
-- rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T1,SCARD_RESET,&protocol);
-+rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T1,SCARD_RESET_CARD,&protocol);
- if( rv != SCARD_S_SUCCESS ) {
- myprintf("Failed\n");
- return -1;
-@@ -25,7 +25,7 @@
- myprintf("Passed\n");
- myprintf("Test No. 1 \n");
- printit("Cold reset");
-- rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T0,SCARD_RESET,&protocol);
-+ rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T0,SCARD_RESET_CARD,&protocol);
- if( rv!= SCARD_S_SUCCESS ) {
- myprintf("Failed\n");
- return -1;
-@@ -51,7 +51,7 @@
- DO_TRANSMIT(SCARD_PCI_T0,0);
- }
- printit("Cold reset");
-- rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T1,SCARD_RESET,&protocol);
-+ rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T1,SCARD_RESET_CARD,&protocol);
- if( rv != SCARD_S_SUCCESS ) {
- myprintf("Failed\n");
- return -1;
-diff -ru ifd-test-1.0/testSIEMENS.c ifd-test-1.0.new/testSIEMENS.c
---- ifd-test-1.0/testSIEMENS.c 2001-04-17 18:49:02.000000000 +0200
-+++ testSIEMENS.c 2007-03-02 16:24:05.000000000 +0100
-@@ -14,7 +14,7 @@
- //checkATR(atr);
- /* Try to set T=0 protocol */
- printit("Try to set protocol T0");
-- rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T0,SCARD_RESET,&protocol);
-+ rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T0,SCARD_RESET_CARD,&protocol);
- fflush(stdout);
- fflush(stderr);
- if( rv!= SCARD_S_SUCCESS ) {
-@@ -28,7 +28,7 @@
- myprintf("Failed\n");
- }
- printit("Set Protocol T=1");
-- rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T1,SCARD_RESET,&protocol);
-+ rv = SCardReconnect(hCard,SCARD_SHARE_SHARED,SCARD_PROTOCOL_T1,SCARD_RESET_CARD,&protocol);
- if( rv!= SCARD_S_SUCCESS ) {
- myprintf("Failed\n");
- return -1;
diff --git a/devel/ifd-test/files/patch-testA.c b/devel/ifd-test/files/patch-testA.c
deleted file mode 100644
index d14d1596c0e2..000000000000
--- a/devel/ifd-test/files/patch-testA.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
deleted file mode 100644
index 368e0d51d1a0..000000000000
--- a/devel/ifd-test/files/patch-testAMMI.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
deleted file mode 100644
index d2e194640118..000000000000
--- a/devel/ifd-test/files/patch-testB.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
deleted file mode 100644
index 78a49088cb0d..000000000000
--- a/devel/ifd-test/files/patch-testBULL.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
deleted file mode 100644
index 7362d5dccf64..000000000000
--- a/devel/ifd-test/files/patch-testC.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
deleted file mode 100644
index 6b30795682d0..000000000000
--- a/devel/ifd-test/files/patch-testGD.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
deleted file mode 100644
index 7ad4be30ca85..000000000000
--- a/devel/ifd-test/files/patch-testIBM.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
deleted file mode 100644
index 7fcfb34f3766..000000000000
--- a/devel/ifd-test/files/patch-testSCHL.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
deleted file mode 100644
index bff5be3f08e8..000000000000
--- a/devel/ifd-test/files/patch-testSIEMENS.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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"
-