24392172 pcscd should reside in /usr/lib
authorIvo Raisr <ivo.raisr@oracle.com>
Tue, 02 Aug 2016 12:50:07 -0700
changeset 6540 a6868ecc80b4
parent 6538 a53c8be7d7b3
child 6541 e00afd505b4e
24392172 pcscd should reside in /usr/lib
components/pcsc-lite/Makefile
components/pcsc-lite/Solaris/svc-pcscd
components/pcsc-lite/pcsclite.p5m
--- a/components/pcsc-lite/Makefile	Tue Aug 02 13:15:22 2016 -0700
+++ b/components/pcsc-lite/Makefile	Tue Aug 02 12:50:07 2016 -0700
@@ -54,6 +54,7 @@
 
 # options needed for configure, otherwise default will install into /usr/local
 CONFIGURE_OPTIONS +=    --exec-prefix=$(USRLIBDIR64)
+CONFIGURE_OPTIONS +=    --sbindir=$(USRLIBDIR)
 CONFIGURE_OPTIONS +=    --enable-libusb
 CONFIGURE_OPTIONS +=    --enable-confdir=$(ETCDIR)/pcsc
 CONFIGURE_OPTIONS +=    --enable-usbdropdir=$(USRLIBDIR64)/pcsc/drivers
--- a/components/pcsc-lite/Solaris/svc-pcscd	Tue Aug 02 13:15:22 2016 -0700
+++ b/components/pcsc-lite/Solaris/svc-pcscd	Tue Aug 02 12:50:07 2016 -0700
@@ -26,7 +26,7 @@
 . /lib/svc/share/smf_include.sh
 
 NAME=pcscd
-DAEMON=/usr/sbin/$NAME
+DAEMON=/usr/lib/$NAME
 PIDFILE=$SMF_SYSVOL_FS/$NAME.pid
 
 # exit if the server daemon is not installed
--- a/components/pcsc-lite/pcsclite.p5m	Tue Aug 02 13:15:22 2016 -0700
+++ b/components/pcsc-lite/pcsclite.p5m	Tue Aug 02 12:50:07 2016 -0700
@@ -50,6 +50,5 @@
 file path=usr/lib/$(MACH64)/libpcsclite.so.1.0.0
 dir  path=usr/lib/$(MACH64)/pcsc/drivers
 file path=usr/lib/$(MACH64)/pkgconfig/libpcsclite.pc
-file path=usr/sbin/pcscd
-file path=usr/share/doc/pcsc-lite/README.DAEMON
+file path=usr/lib/pcscd mode=0555
 license pcsclite.license license="GPL v.3"