summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2003-08-03 04:39:04 +0000
committerBrian Jackson <iggy@gentoo.org>2003-08-03 04:39:04 +0000
commit14b765e35c63dc66cfe57b0cf33abfc5fbf440e1 (patch)
tree7a0e218d206d85864048067e70ee618e3b1dbd6e /sys-apps/pcsc-lite
parentGentoo style init script fixes bug # 15524 (diff)
downloadgentoo-2-14b765e35c63dc66cfe57b0cf33abfc5fbf440e1.tar.gz
gentoo-2-14b765e35c63dc66cfe57b0cf33abfc5fbf440e1.tar.bz2
gentoo-2-14b765e35c63dc66cfe57b0cf33abfc5fbf440e1.zip
Gentoo style init script fixes bug # 15524
Diffstat (limited to 'sys-apps/pcsc-lite')
-rw-r--r--sys-apps/pcsc-lite/ChangeLog4
-rw-r--r--sys-apps/pcsc-lite/Manifest2
-rw-r--r--sys-apps/pcsc-lite/files/pcscd-init16
-rw-r--r--sys-apps/pcsc-lite/pcsc-lite-1.1.1.ebuild9
4 files changed, 23 insertions, 8 deletions
diff --git a/sys-apps/pcsc-lite/ChangeLog b/sys-apps/pcsc-lite/ChangeLog
index 2f50fdc62d31..2322ab6c1711 100644
--- a/sys-apps/pcsc-lite/ChangeLog
+++ b/sys-apps/pcsc-lite/ChangeLog
@@ -1,9 +1,9 @@
# ChangeLog for sys-apps/pcsc-lite
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.4 2003/08/03 04:37:47 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.5 2003/08/03 04:38:59 iggy Exp $
02 Aug 2003; <iggy@gentoo.org> pcsc-lite-1.1.1.ebuild, files/pcscd-init:
- Gentoo style init script fixes bug # 15524
+ Gentoo style init script fixes bug # 15524 thanks to Alberto Ornaghi <alor@antifork.org>
*pcsc-lite-1.1.1 (16 Nov 2002)
diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest
index 0fd2be8641a1..59f47812804d 100644
--- a/sys-apps/pcsc-lite/Manifest
+++ b/sys-apps/pcsc-lite/Manifest
@@ -1,5 +1,5 @@
MD5 0e0297a02398891d6a23470c3182d0aa pcsc-lite-1.1.1.ebuild 1191
-MD5 aaa49977a638eb414a507725466e1e88 ChangeLog 575
+MD5 9f940113127f4caed8fcd6a5dcb1887f ChangeLog 622
MD5 80a6cb5c8874f62f7d1c18913df74c70 files/pcscd-init 473
MD5 ee85abea70b6baf8ca660f3793ac27eb files/digest-pcsc-lite-1.1.1 67
MD5 e3c00796256d8370fdf64ad258686427 files/pcsc-lite-1.1.1-gentoo.patch 1076
diff --git a/sys-apps/pcsc-lite/files/pcscd-init b/sys-apps/pcsc-lite/files/pcscd-init
new file mode 100644
index 000000000000..3a63bc80b2af
--- /dev/null
+++ b/sys-apps/pcsc-lite/files/pcscd-init
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init,v 1.1 2003/08/03 04:37:47 iggy Exp $
+
+start() {
+ ebegin "Starting pcscd"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/pcscd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping pcscd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/pcscd
+ eend $?
+}
diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.1.1.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.1.1.ebuild
index faa0717cac73..6a8033ec4f57 100644
--- a/sys-apps/pcsc-lite/pcsc-lite-1.1.1.ebuild
+++ b/sys-apps/pcsc-lite/pcsc-lite-1.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.1.1.ebuild,v 1.4 2003/06/21 21:19:40 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.1.1.ebuild,v 1.5 2003/08/03 04:37:47 iggy Exp $
inherit eutils
@@ -35,6 +35,9 @@ src_install() {
insinto /usr/share/doc/${P}
doins doc/*.pdf doc/README.DAEMON
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/pcscd-init pcscd
+
insinto /usr/share/pcsc-lite/utils
insopts -m755
doins src/utils/bundleTool src/utils/formaticc src/utils/installifd
@@ -43,8 +46,4 @@ src_install() {
insinto /etc
doins etc/reader.conf
-
- insinto /etc/init.d
- insopts -m755
- newins doc/pcscd.startup pcscd
}