]> git.pld-linux.org Git - packages/pcsc-lite.git/blame - pcsc-lite-fhs.patch
- LSB conformance
[packages/pcsc-lite.git] / pcsc-lite-fhs.patch
CommitLineData
74a933ab
JB
1diff -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
4@@ -2,18 +2,18 @@
5
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
12 directory to it.
13
14 Example Mac OS X, Linux 2.4:
15
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
22
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.
26
27
28diff -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
31@@ -48,4 +48,4 @@
32 .B pcscd(8)
33 .SH BUGS
34 Plugins MUST reside in
35-.I /usr/local/pcsc/services
36+.I /usr/lib/pcsc/services
37diff -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
40@@ -43,17 +43,17 @@
41
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
48 token.
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
54 .I *.so
55 file. The pcscd locates the driver with the
56-.I usr/local/etc/reader.conf
57+.I /etc/reader.conf
58 file. The file has the following format:
59
60 .RS
61@@ -68,7 +68,7 @@
62 DEVICENAME GEN_SMART_RDR
63 .RE
64 .RS
65-LIBPATH /usr/local/pcsc/drivers/my_reader.so
66+LIBPATH /usr/lib/pcsc/drivers/my_reader.so
67 .RE
68 .RS
69 CHANNELID 0x0103F8
70@@ -103,18 +103,18 @@
71 COM4 0x0102E8
72
73 Multiple drivers can be listed in
74-.I usr/local/etc/reader.conf.
75+.I /etc/reader.conf.
76
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].
85 .SH FILES
86 .I /etc/reader.conf
87-.I /usr/local/sbin/pcscd
88+.I /usr/sbin/pcscd
89 .SH BUGS
90 None known.
91 .SH "SEE ALSO"
92diff -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
95@@ -31,7 +31,7 @@
96 #include "debuglog.h"
97 #include "sys_generic.h"
98
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"
104diff -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
107@@ -26,7 +26,7 @@
108 #include "tokenfactory.h"
109
110 #ifndef WIN32
111-#define MSC_SVC_DROPDIR "/usr/local/pcsc/services/"
112+#define MSC_SVC_DROPDIR "/usr/lib/pcsc/services/"
113 #else
114 #define MSC_SVC_DROPDIR "C:\\Program Files\\Muscle\\Services\\"
115 #endif
116diff -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
119@@ -37,7 +37,7 @@
120 * The following defines personalize this for different tokens
121 */
122
123-#define BUNDLE_DIR "/usr/local/pcsc/services/"
124+#define BUNDLE_DIR "/usr/lib/pcsc/services/"
125
126 /*
127 * End of personalization
128diff -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
131@@ -45,7 +45,7 @@
132
133 printf
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");
137 printf("-----> ");
138
139 gets(lpcLibrary);
This page took 0.064246 seconds and 4 git commands to generate.