1 diff -Nur pcsc-lite-1.1.1.orig/DRIVERS pcsc-lite-1.1.1/DRIVERS
2 --- pcsc-lite-1.1.1.orig/DRIVERS Mon Jul 1 18:28:39 2002
3 +++ pcsc-lite-1.1.1/DRIVERS Tue Mar 11 10:52:56 2003
6 To install drivers download the driver from http://www.linuxnet.com
7 and copy it to a temporary location. After you have unarchived the files
8 -copy the directory to /usr/local/pcsc/drivers. If the directory
9 -/usr/local/pcsc/drivers does not exist create it before copying the driver
10 +copy the directory to /usr/lib/pcsc/drivers. If the directory
11 +/usr/lib/pcsc/drivers does not exist create it before copying the driver
14 Example Mac OS X, Linux 2.4:
16 tar -xzvf driver.bundle-0.1.0.tar.gz
17 -cp -r driver.bundle /usr/local/pcsc/drivers
18 -cd /usr/local/pcsc/drivers/driver.bundle
19 +cp -r driver.bundle /usr/lib/pcsc/drivers
20 +cd /usr/lib/pcsc/drivers/driver.bundle
21 build or use Project Builder to build
23 -The /usr/local/pcsc/drivers directory should contain bundle directories only.
24 +The /usr/lib/pcsc/drivers directory should contain bundle directories only.
25 You must restart pcscd to use the new driver.
28 diff -Nur pcsc-lite-1.1.1.orig/doc/bundleTool.1 pcsc-lite-1.1.1/doc/bundleTool.1
29 --- pcsc-lite-1.1.1.orig/doc/bundleTool.1 Mon Jul 1 18:28:39 2002
30 +++ pcsc-lite-1.1.1/doc/bundleTool.1 Tue Mar 11 10:54:20 2003
34 Plugins MUST reside in
35 -.I /usr/local/pcsc/services
36 +.I /usr/lib/pcsc/services
37 diff -Nur pcsc-lite-1.1.1.orig/doc/pcscd.8 pcsc-lite-1.1.1/doc/pcscd.8
38 --- pcsc-lite-1.1.1.orig/doc/pcscd.8 Mon Jul 1 18:28:39 2002
39 +++ pcsc-lite-1.1.1/doc/pcscd.8 Tue Mar 11 10:55:23 2003
42 When a smart card is inserted into a reader, pcscd uses the ATR string from
43 the card to identify this card. The
44 -.I /usr/local/pcsc/serices
45 +.I /usr/lib/pcsc/serices
46 directory contains plug-ins for the card. These plug-ins are searched. If
47 the ATR string matches, the client library loads that plug-in for that
49 .SH "SERIAL SMART CARD READER DRIVERS"
50 Smart card reader drivers are placed in the
51 -.I /usr/local/pcsc/drivers
52 +.I /usr/lib/pcsc/drivers
53 directory. Each driver is simply an
55 file. The pcscd locates the driver with the
56 -.I usr/local/etc/reader.conf
58 file. The file has the following format:
62 DEVICENAME GEN_SMART_RDR
65 -LIBPATH /usr/local/pcsc/drivers/my_reader.so
66 +LIBPATH /usr/lib/pcsc/drivers/my_reader.so
73 Multiple drivers can be listed in
74 -.I usr/local/etc/reader.conf.
77 Drivers are available at http://www.musclecard.com
78 .SH "SMART CARD PLUG-INS"
79 pcsc-lite uses plug-ins to handle different types of smart cards. There is
80 a plug-in for each smart-card type. Plug-ins are installed in the
81 -.I /usr/local/pcsc/services
82 +.I /usr/lib/pcsc/services
83 directory. Plug-ins for cards/tokens are available from the MUSCLE
84 web site [http://www.musclecard.com].
87 -.I /usr/local/sbin/pcscd
92 diff -Nur pcsc-lite-1.1.1.orig/src/hotplug_linux.c pcsc-lite-1.1.1/src/hotplug_linux.c
93 --- pcsc-lite-1.1.1.orig/src/hotplug_linux.c Mon Jul 1 18:28:39 2002
94 +++ pcsc-lite-1.1.1/src/hotplug_linux.c Tue Mar 11 10:53:30 2003
97 #include "sys_generic.h"
99 -#define PCSCLITE_HP_DROPDIR "/usr/local/pcsc/drivers/"
100 +#define PCSCLITE_HP_DROPDIR "/usr/lib/pcsc/drivers/"
101 #define PCSCLITE_USB_PATH "/proc/bus/usb"
102 #define PCSCLITE_MANUKEY_NAME "ifdVendorID"
103 #define PCSCLITE_PRODKEY_NAME "ifdProductID"
104 diff -Nur pcsc-lite-1.1.1.orig/src/tokenfactory.c pcsc-lite-1.1.1/src/tokenfactory.c
105 --- pcsc-lite-1.1.1.orig/src/tokenfactory.c Mon Jul 1 18:28:39 2002
106 +++ pcsc-lite-1.1.1/src/tokenfactory.c Tue Mar 11 10:53:43 2003
108 #include "tokenfactory.h"
111 -#define MSC_SVC_DROPDIR "/usr/local/pcsc/services/"
112 +#define MSC_SVC_DROPDIR "/usr/lib/pcsc/services/"
114 #define MSC_SVC_DROPDIR "C:\\Program Files\\Muscle\\Services\\"
116 diff -Nur pcsc-lite-1.1.1.orig/src/utils/bundleTool.c pcsc-lite-1.1.1/src/utils/bundleTool.c
117 --- pcsc-lite-1.1.1.orig/src/utils/bundleTool.c Mon Jul 1 18:28:39 2002
118 +++ pcsc-lite-1.1.1/src/utils/bundleTool.c Tue Mar 11 10:53:49 2003
120 * The following defines personalize this for different tokens
123 -#define BUNDLE_DIR "/usr/local/pcsc/services/"
124 +#define BUNDLE_DIR "/usr/lib/pcsc/services/"
127 * End of personalization
128 diff -Nur pcsc-lite-1.1.1.orig/src/utils/installifd.c pcsc-lite-1.1.1/src/utils/installifd.c
129 --- pcsc-lite-1.1.1.orig/src/utils/installifd.c Mon Jul 1 18:28:39 2002
130 +++ pcsc-lite-1.1.1/src/utils/installifd.c Tue Mar 11 10:53:55 2003
134 ("Please enter the full path of the readers driver (75 char max)\n");
135 - printf("Example: /usr/local/pcsc/drivers/librdr_generic.so\n");
136 + printf("Example: /usr/lib/pcsc/drivers/librdr_generic.so\n");