From bd637e492d3fdbe6798b055d66d65983e34a1cfd Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Fri, 22 Sep 2006 14:12:58 +0000 Subject: Adding new init.d script for 0.5.0 to fix bug #148513 (Portage version: 2.1.2_pre1) --- app-misc/lcdproc/files/0.4.5-LCDd | 22 ++++++++++++++++++++++ app-misc/lcdproc/files/0.5.0-LCDd | 24 ++++++++++++++++++++++++ app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1 | 3 +++ 3 files changed, 49 insertions(+) create mode 100644 app-misc/lcdproc/files/0.4.5-LCDd create mode 100644 app-misc/lcdproc/files/0.5.0-LCDd create mode 100644 app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1 (limited to 'app-misc/lcdproc/files') diff --git a/app-misc/lcdproc/files/0.4.5-LCDd b/app-misc/lcdproc/files/0.4.5-LCDd new file mode 100644 index 000000000000..9b153edc6204 --- /dev/null +++ b/app-misc/lcdproc/files/0.4.5-LCDd @@ -0,0 +1,22 @@ +#!/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/lcdproc/files/0.4.5-LCDd,v 1.1 2006/09/22 14:12:58 jokey Exp $ + +depend() { + use net +} + +start() { + ebegin "Starting LCDd" + start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \ + --background --exec /usr/sbin/LCDd -- -s -f -c /etc/LCDd.conf + sleep 1 + eend $? +} + +stop() { + ebegin "Stopping LCDd" + start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid + eend $? +} diff --git a/app-misc/lcdproc/files/0.5.0-LCDd b/app-misc/lcdproc/files/0.5.0-LCDd new file mode 100644 index 000000000000..daefa4aaaa35 --- /dev/null +++ b/app-misc/lcdproc/files/0.5.0-LCDd @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/files/0.5.0-LCDd,v 1.1 2006/09/22 14:12:58 jokey Exp $ + +depend() { + use net +} + +start() { + ebegin "Starting LCDd" + start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \ + --background --exec /usr/sbin/LCDd -- -s 1 -f 1 \ + || ( eerror "Failed to start LCDd. Did you remember to set a driver in /etc/LCDd.conf? See syslog for details." \ + && return 1 ) + sleep 1 + eend $? +} + +stop() { + ebegin "Stopping LCDd" + start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid + eend $? +} diff --git a/app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1 b/app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1 new file mode 100644 index 000000000000..6fd0b99fd06c --- /dev/null +++ b/app-misc/lcdproc/files/digest-lcdproc-0.5.0-r1 @@ -0,0 +1,3 @@ +MD5 4b67e421c19063fa322611a849ab5b80 lcdproc-0.5.0.tar.gz 711118 +RMD160 44153db5fe24cc45aa1b7a4be8afb87a9cd58062 lcdproc-0.5.0.tar.gz 711118 +SHA256 a7567f3f68517008e68d15b33630f36ba539540fbb361a2f9c440ce2ceb8393b lcdproc-0.5.0.tar.gz 711118 -- cgit v1.2.3-65-gdbad