summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-08-01 22:10:58 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-08-01 22:10:58 +0000
commitda0e0a8a29807a5a3bd15f741917722c09cbfbe2 (patch)
tree30254051de1ce1078e4c66f6710328451e579e5f /app-misc
parentmask prelude (diff)
downloadhistorical-da0e0a8a29807a5a3bd15f741917722c09cbfbe2.tar.gz
historical-da0e0a8a29807a5a3bd15f741917722c09cbfbe2.tar.bz2
historical-da0e0a8a29807a5a3bd15f741917722c09cbfbe2.zip
add lircmd init script, bug #17167
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lirc/ChangeLog5
-rw-r--r--app-misc/lirc/Manifest5
-rw-r--r--app-misc/lirc/files/lircmd19
-rw-r--r--app-misc/lirc/lirc-0.7.0_pre7.ebuild3
4 files changed, 28 insertions, 4 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog
index e6c63c02c9e7..11d3bd4d8e8f 100644
--- a/app-misc/lirc/ChangeLog
+++ b/app-misc/lirc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/lirc
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.32 2004/08/01 22:07:51 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.33 2004/08/01 22:10:58 lanius Exp $
+
+ 02 Aug 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7.ebuild:
+ add lircmd init script, bug #17167
*lirc-0.7.0_pre7 (02 Aug 2004)
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
index 55e2b6ef0ae6..c72eee0ba2c0 100644
--- a/app-misc/lirc/Manifest
+++ b/app-misc/lirc/Manifest
@@ -1,9 +1,9 @@
MD5 6ea46a8f53247afcc0e5566e20a97270 lirc-0.7.0_pre6.ebuild 4619
MD5 9dec01b704006290727d5bf8d5c7fb3b lirc-0.7.0_pre3.ebuild 4430
-MD5 599c3664397eb7bae33d02195e9df4a5 lirc-0.7.0_pre7.ebuild 3330
+MD5 9305f23a56e3eac5fb7cbc4ab7489a37 lirc-0.7.0_pre7.ebuild 3356
MD5 39e8c8029290c82b23eb12334f1a2800 lirc-0.6.6-r1.ebuild 3853
MD5 81130c567a1cb8a47c8c4934171c5526 lirc-0.7.0_pre4.ebuild 4490
-MD5 6a360d8f81b26440eb135c924d4d7dd1 ChangeLog 4596
+MD5 ed87907cda1fd29687eb984bbe4d3eef ChangeLog 4709
MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
MD5 eb1d5f40e0d59edbc1ac2a097cea5850 files/digest-lirc-0.6.6-r1 63
MD5 d0d865cbe48f328fb4cfb41e22d4407b files/lirc-0.7.0_pre2-i2c.patch.gz 705
@@ -13,5 +13,6 @@ MD5 cec75bc2acbedddba62b71993bf9981c files/digest-lirc-0.7.0_pre3 67
MD5 03a0569271c2917b330754938b62cae7 files/digest-lirc-0.7.0_pre4 67
MD5 9d17cef262495b7318c8929900877365 files/digest-lirc-0.7.0_pre6 67
MD5 556773de652aa24339c9807015e154a9 files/digest-lirc-0.7.0_pre7 154
+MD5 be33063742c7eabaad1d246784472aae files/lircmd 381
MD5 6031968a1ddb51ff5265d1f22bd2d237 files/lirc-0.6.6-gentoo.diff.bz2 2215
MD5 ee2b49c33fb3b2a65122cfc698d9e100 files/xbox-lircd.conf 784
diff --git a/app-misc/lirc/files/lircmd b/app-misc/lirc/files/lircmd
new file mode 100644
index 000000000000..3332e8e047d2
--- /dev/null
+++ b/app-misc/lirc/files/lircmd
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need lircd
+}
+
+start() {
+ ebegin "Starting lircmd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/lircmd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping lircmd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd
+ eend $?
+}
diff --git a/app-misc/lirc/lirc-0.7.0_pre7.ebuild b/app-misc/lirc/lirc-0.7.0_pre7.ebuild
index 1dbc0184cbd3..6d86305c4b65 100644
--- a/app-misc/lirc/lirc-0.7.0_pre7.ebuild
+++ b/app-misc/lirc/lirc-0.7.0_pre7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.0_pre7.ebuild,v 1.1 2004/08/01 22:07:51 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.0_pre7.ebuild,v 1.2 2004/08/01 22:10:58 lanius Exp $
inherit eutils kmod
@@ -90,6 +90,7 @@ src_install() {
exeinto /etc/init.d
doexe ${FILESDIR}/lircd
+ doexe ${FILESDIR}/lircmd
insinto /etc/conf.d
newins ${FILESDIR}/lircd.conf lircd