openbsd-ports/security/pcsc-lite/patches/patch-src-pcsclite_h
2005-12-25 09:13:57 +00:00

23 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src-pcsclite_h,v 1.4 2005/12/25 09:13:57 sturm Exp $
--- src/pcsclite.h.orig Wed Nov 7 23:54:30 2001
+++ src/pcsclite.h Sun Dec 25 10:08:58 2005
@@ -143,11 +143,13 @@ char * pcsc_stringify_error( long );
#define BLOCK_STATUS_RESUME 0x00FF /* Normal resume */
#define BLOCK_STATUS_BLOCKING 0x00FA /* Function is blocking */
-#define PCSCLITE_READER_CONFIG "/etc/reader.conf"
-#define PCSCLITE_CARD_CONFIG "/etc/card.conf"
-#define PCSCLITE_SHM_FILE "/tmp/pcsc/.pcsctmp"
-#define PCSCLITE_PUBSHM_FILE "/tmp/pcsc/.pcscpub"
-#define PCSCLITE_CSOCK_NAME "/tmp/pcsc/.pcscomm"
+#define PCSCLITE_CONFIG_DIR "/etc/pcscd"
+#define PCSCLITE_READER_CONFIG PCSCLITE_CONFIG_DIR "/reader.conf"
+#define PCSCLITE_CARD_CONFIG PCSCLITE_CONFIG_DIR "/card.conf"
+#define PCSCLITE_IPC_DIR "/var/run/pcsc"
+#define PCSCLITE_SHM_FILE PCSCLITE_IPC_DIR "/.pcsctmp"
+#define PCSCLITE_PUBSHM_FILE PCSCLITE_IPC_DIR "/.pcscpub"
+#define PCSCLITE_CSOCK_NAME PCSCLITE_IPC_DIR "/.pcscomm"
#define PCSCLITE_SVC_IDENTITY 0x01030000 /* Service ID */