summaryrefslogtreecommitdiff
path: root/security/pcsc-lite
diff options
context:
space:
mode:
authorwiz <wiz>2015-01-15 20:56:03 +0000
committerwiz <wiz>2015-01-15 20:56:03 +0000
commitc76ff77a6e018a8383c1edacce1873c8ce075745 (patch)
tree18f484e0344dbcc92bc099a7a2d724cd2af3c711 /security/pcsc-lite
parent48b0835e5d66972305367a33b364695b5632760b (diff)
downloadpkgsrc-c76ff77a6e018a8383c1edacce1873c8ce075745.tar.gz
Add rc.d script, from ISIHARA Takanori in PR 49574.
Bump PKGREVISION.
Diffstat (limited to 'security/pcsc-lite')
-rw-r--r--security/pcsc-lite/Makefile6
-rw-r--r--security/pcsc-lite/PLIST3
-rw-r--r--security/pcsc-lite/files/pcscd.sh45
3 files changed, 49 insertions, 5 deletions
diff --git a/security/pcsc-lite/Makefile b/security/pcsc-lite/Makefile
index 187494328d4..b0e3c61a1bd 100644
--- a/security/pcsc-lite/Makefile
+++ b/security/pcsc-lite/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2014/10/01 16:27:03 gdt Exp $
-#
+# $NetBSD: Makefile,v 1.24 2015/01/15 20:56:03 wiz Exp $
DISTNAME= pcsc-lite-1.8.12
+PKGREVISION= 1
CATEGORIES= security
# Note that the MASTER_SITES URL is not stable with version changes,
# and one can end up with an old version if DISTNAME is changed but
@@ -41,7 +41,7 @@ EGDIR= ${PREFIX}/share/examples/pcsc-lite
PKGCONFIG_OVERRIDE+= src/libpcsclite.pc.in
BUILD_DEFS+= VARBASE
-INSTALLATION_DIRS= ${EGDIR}
+RCD_SCRIPTS= pcscd
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
diff --git a/security/pcsc-lite/PLIST b/security/pcsc-lite/PLIST
index 443916902ae..85a8ff0becc 100644
--- a/security/pcsc-lite/PLIST
+++ b/security/pcsc-lite/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2014/02/25 17:47:19 gdt Exp $
+@comment $NetBSD: PLIST,v 1.7 2015/01/15 20:56:03 wiz Exp $
${PLIST.spy}bin/pcsc-spy
include/PCSC/debuglog.h
include/PCSC/ifdhandler.h
@@ -15,4 +15,3 @@ man/man8/pcscd.8
sbin/pcscd
share/doc/pcsc-lite/README.DAEMON
share/doc/pcsc-lite/README.polkit
-@pkgdir share/examples/pcsc-lite
diff --git a/security/pcsc-lite/files/pcscd.sh b/security/pcsc-lite/files/pcscd.sh
new file mode 100644
index 00000000000..275b84da57a
--- /dev/null
+++ b/security/pcsc-lite/files/pcscd.sh
@@ -0,0 +1,45 @@
+>Number: 49574
+>Category: pkg
+>Synopsis: security/pcsc-lite: add rc.d file, please
+>Confidential: no
+>Severity: non-critical
+>Priority: low
+>Responsible: pkg-manager
+>State: open
+>Class: change-request
+>Submitter-Id: net
+>Arrival-Date: Thu Jan 15 15:50:00 +0000 2015
+>Originator: ISIHARA Takanori
+>Release: pkgsrc -current 2015/1/16
+>Organization:
+Nagoya *BSD Users' Group :-)
+>Environment:
+NetBSD ishitPc9.home 6.1_STABLE NetBSD 6.1_STABLE (ISHITPC9) #21: Sun Sep 28 05:31:48 JST 2014 sysbuild@ishitPc9.home:/opt/sysbuild/netbsd-6/obj/i386/sys/arch/i386/compile/ISHITPC9 i386
+
+>Description:
+Please add "/usr/pkg/share/example/rc.d/pcscd" to install files.
+
+
+>How-To-Repeat:
+
+>Fix:
+example rc.d file:
+
+#!!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: pcscd.sh,v 1.1 2015/01/15 20:56:03 wiz Exp $
+#
+
+# PROVIDE: pcscd
+# REQUIRE: DAEMON
+# BEFORE: LOGIN
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="pcscd"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+
+load_rc_config $name
+run_rc_command "$1"
+