[PATCH] Put pcsc-wrapper in libexecdir
Eric Dorland
eric at debian.org
Sun Nov 19 00:01:29 CET 2006
Hello,
I believe the pcsc-wrapper program should go into libexecdir rather
than pkglibdir. Patch is below and the rationale from the GNU Coding
Standards:
libexecdir
The directory for installing executable programs to be run by
other programs rather than by users. This directory should
normally be /usr/local/libexec, but write it as
$(exec_prefix)/libexec. (If you are using Autoconf, write it as
'@libexecdir@'.)
Index: scd/Makefile.am
===================================================================
--- scd/Makefile.am (revision 47512)
+++ scd/Makefile.am (working copy)
@@ -21,7 +21,7 @@
bin_PROGRAMS = scdaemon
if ! HAVE_W32_SYSTEM
-pkglib_PROGRAMS = pcsc-wrapper
+libexec_PROGRAMS = pcsc-wrapper
endif
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl
-I$(top_srcdir)/common
Index: scd/apdu.c
===================================================================
--- scd/apdu.c (revision 47512)
+++ scd/apdu.c (working copy)
@@ -1329,7 +1329,7 @@
int err;
unsigned int dummy_status;
int sw = SW_HOST_CARD_IO_ERROR;
- const char *wrapperpgm = GNUPG_LIBDIR "/pcsc-wrapper";
+ const char *wrapperpgm = GNUPG_LIBEXECDIR "/pcsc-wrapper";
if (access (wrapperpgm, X_OK))
{
--
Eric Dorland <eric at kuroneko.ca>
ICQ: #61138586, Jabber: hooty at jabber.com
1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /pipermail/attachments/20061118/49a35710/attachment-0001.pgp
More information about the Gnupg-devel
mailing list