pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pcsc-lite Add rc.d script, from ISIHARA Takan...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5e95d14b6014
branches: trunk
changeset: 644631:5e95d14b6014
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jan 15 20:56:03 2015 +0000
description:
Add rc.d script, from ISIHARA Takanori in PR 49574.
Bump PKGREVISION.
diffstat:
security/pcsc-lite/Makefile | 6 ++--
security/pcsc-lite/PLIST | 3 +-
security/pcsc-lite/files/pcscd.sh | 45 +++++++++++++++++++++++++++++++++++++++
3 files changed, 49 insertions(+), 5 deletions(-)
diffs (85 lines):
diff -r acf848b553f3 -r 5e95d14b6014 security/pcsc-lite/Makefile
--- a/security/pcsc-lite/Makefile Thu Jan 15 20:53:18 2015 +0000
+++ b/security/pcsc-lite/Makefile Thu Jan 15 20:56:03 2015 +0000
@@ -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 @@
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 -r acf848b553f3 -r 5e95d14b6014 security/pcsc-lite/PLIST
--- a/security/pcsc-lite/PLIST Thu Jan 15 20:53:18 2015 +0000
+++ b/security/pcsc-lite/PLIST Thu Jan 15 20:56:03 2015 +0000
@@ -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 @@
sbin/pcscd
share/doc/pcsc-lite/README.DAEMON
share/doc/pcsc-lite/README.polkit
-@pkgdir share/examples/pcsc-lite
diff -r acf848b553f3 -r 5e95d14b6014 security/pcsc-lite/files/pcscd.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pcsc-lite/files/pcscd.sh Thu Jan 15 20:56:03 2015 +0000
@@ -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@localhost:/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"
+
Home |
Main Index |
Thread Index |
Old Index