public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-misc/lirc/files: lircd-0.8.6
@ 2009-10-04 18:48 Christian Faulhammer (fauli)
  0 siblings, 0 replies; only message in thread
From: Christian Faulhammer (fauli) @ 2009-10-04 18:48 UTC (permalink / raw
  To: gentoo-commits

fauli       09/10/04 18:48:30

  Added:                lircd-0.8.6
  Log:
  Revision bump that will fix some new and some old issues:
  * Merge mceusb and mceusb2 driver (bug 286269 by candrews AT
  integralblue DOT com)
  * New init.d file that will keep the old socket location so we don't
  break all applications (thanks to Oldrich Jedlicka <oldium DOT pro AT
  seznam DOT
  cz> in bug 286451)
  * Add new ene0100 device
  * Correct entry for iguanaIR device (bug 208785 by MasterC
    <MasterCLC AT gmail DOT com>)
  * Fix DEPEND and RDEPEND relations
  (Portage version: 2.1.6.13/cvs/Linux i686)

Revision  Changes    Path
1.1                  app-misc/lirc/files/lircd-0.8.6

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lirc/files/lircd-0.8.6?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/lirc/files/lircd-0.8.6?rev=1.1&content-type=text/plain

Index: lircd-0.8.6
===================================================================
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.6,v 1.1 2009/10/04 18:48:29 fauli Exp $

PIDFILE=/var/run/lirc/${SVCNAME}.pid
LIRCD_SYMLINKFILE=/dev/lircd
LIRCD_SOCKET=/var/run/lirc/lircd

depend() {
	provide lirc
}

start() {
	local retval
	ebegin "Starting lircd"
	rm -f ${LIRCD_SOCKET} && ln -s ${LIRCD_SOCKET} ${LIRCD_SYMLINKFILE}
	if [ $? -ne 0 ]; then
		eend $? "Unable to create symbolic link ${LIRCD_SYMLINKFILE}"
		return 1
	fi

	start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd -- \
		-P "${PIDFILE}" ${LIRCD_OPTS}
	retval=$?

	if [ ${retval} -ne 0 ]; then
		rm -f ${LIRCD_SOCKET}
	fi

	eend ${retval}
}

stop() {
	ebegin "Stopping lircd"
	rm -f ${LIRCD_SYMLINKFILE}
	start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd
	eend $?
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-04 18:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-04 18:48 [gentoo-commits] gentoo-x86 commit in app-misc/lirc/files: lircd-0.8.6 Christian Faulhammer (fauli)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox