diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-10-24 08:14:35 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-10-24 08:14:35 +0000 |
commit | 38cd7f0f8d7ab9fc711d470a24aa639ddc40f685 (patch) | |
tree | 0c900472a50805c1c7025bdf8a2a53c1bdc66553 | |
parent | New upstream version. (diff) | |
download | gentoo-2-38cd7f0f8d7ab9fc711d470a24aa639ddc40f685.tar.gz gentoo-2-38cd7f0f8d7ab9fc711d470a24aa639ddc40f685.tar.bz2 gentoo-2-38cd7f0f8d7ab9fc711d470a24aa639ddc40f685.zip |
QA and init.d fix
(Portage version: 2.1.2_pre3-r7)
-rw-r--r-- | app-misc/lcdproc/ChangeLog | 14 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.4.5-LCDd.initd | 22 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.4.5-lcdproc.initd | 22 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.5.0-LCDd.initd | 21 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.5.0-lcdproc.initd | 22 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.5.1-LCDd.initd | 22 | ||||
-rw-r--r-- | app-misc/lcdproc/files/0.5.1-lcdproc.initd | 21 | ||||
-rw-r--r-- | app-misc/lcdproc/lcdproc-0.4.5.ebuild | 6 | ||||
-rw-r--r-- | app-misc/lcdproc/lcdproc-0.5.0-r2.ebuild | 6 | ||||
-rw-r--r-- | app-misc/lcdproc/lcdproc-0.5.1.ebuild | 6 |
10 files changed, 152 insertions, 10 deletions
diff --git a/app-misc/lcdproc/ChangeLog b/app-misc/lcdproc/ChangeLog index 3f849d0eddbb..3735e68bdb45 100644 --- a/app-misc/lcdproc/ChangeLog +++ b/app-misc/lcdproc/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for app-misc/lcdproc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v 1.37 2006/10/18 23:57:29 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/ChangeLog,v 1.38 2006/10/24 08:14:35 jokey Exp $ + + 24 Oct 2006; Markus Ullmann <jokey@gentoo.org> -files/0.4.5-LCDd.rc, + -files/0.5.0-LCDd.rc, +files/0.4.5-lcdproc.initd, + +files/0.5.0-lcdproc.initd, +files/0.4.5-LCDd.initd, + -files/0.4.5-lcdproc.rc, +files/0.5.0-LCDd.initd, -files/0.5.0-lcdproc.rc, + +files/0.5.1-LCDd.initd, -files/0.5.1-LCDd.rc, +files/0.5.1-lcdproc.initd, + -files/0.5.1-lcdproc.rc, lcdproc-0.4.5.ebuild, lcdproc-0.5.0-r2.ebuild, + lcdproc-0.5.1.ebuild: + QA and init.d fix + + 24 Oct 2006; Markus Ullmann <jokey@gentoo.org> lcdproc-0.5.1.ebuild: + Adding autotools 18 Oct 2006; Markus Ullmann <jokey@gentoo.org> metadata.xml: Metadata update diff --git a/app-misc/lcdproc/files/0.4.5-LCDd.initd b/app-misc/lcdproc/files/0.4.5-LCDd.initd new file mode 100644 index 000000000000..329936e96b69 --- /dev/null +++ b/app-misc/lcdproc/files/0.4.5-LCDd.initd @@ -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.initd,v 1.1 2006/10/24 08:14:35 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.4.5-lcdproc.initd b/app-misc/lcdproc/files/0.4.5-lcdproc.initd new file mode 100644 index 000000000000..ec45e227d0eb --- /dev/null +++ b/app-misc/lcdproc/files/0.4.5-lcdproc.initd @@ -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-lcdproc.initd,v 1.1 2006/10/24 08:14:35 jokey Exp $ + +depend(){ + need LCDd +} + +start() { + source /etc/lcdproc.conf + ebegin "Starting lcdproc" + start-stop-daemon --start --background \ + --exec /usr/bin/lcdproc -- ${SCREENS} + eend $? +} + +stop() { + ebegin "Stopping lcdproc" + start-stop-daemon --stop --exec /usr/bin/lcdproc + eend $? +} diff --git a/app-misc/lcdproc/files/0.5.0-LCDd.initd b/app-misc/lcdproc/files/0.5.0-LCDd.initd new file mode 100644 index 000000000000..5ceb8bde75bf --- /dev/null +++ b/app-misc/lcdproc/files/0.5.0-LCDd.initd @@ -0,0 +1,21 @@ +#!/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.initd,v 1.1 2006/10/24 08:14:35 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 + eend $? "Failed to start LCDd. Did you remember to set a driver in /etc/LCDd.conf? See syslog for details." +} + +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-lcdproc.initd b/app-misc/lcdproc/files/0.5.0-lcdproc.initd new file mode 100644 index 000000000000..09b0cc01041c --- /dev/null +++ b/app-misc/lcdproc/files/0.5.0-lcdproc.initd @@ -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.5.0-lcdproc.initd,v 1.1 2006/10/24 08:14:35 jokey Exp $ + +depend(){ + need LCDd +} + +start() { + source /etc/lcdproc.conf + ebegin "Starting lcdproc" + start-stop-daemon --start --background \ + --exec /usr/bin/lcdproc -- ${SCREENS} + eend $? +} + +stop() { + ebegin "Stopping lcdproc" + start-stop-daemon --stop --exec /usr/bin/lcdproc + eend $? +} diff --git a/app-misc/lcdproc/files/0.5.1-LCDd.initd b/app-misc/lcdproc/files/0.5.1-LCDd.initd new file mode 100644 index 000000000000..aa134a7d8ce9 --- /dev/null +++ b/app-misc/lcdproc/files/0.5.1-LCDd.initd @@ -0,0 +1,22 @@ +#!/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.1-LCDd.initd,v 1.1 2006/10/24 08:14:35 jokey Exp $ + +depend() { + use net + use g15daemon +} + +start() { + ebegin "Starting LCDd" + start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \ + --background --exec /usr/sbin/LCDd -- -s 1 -f + eend $? "Failed to start LCDd. Did you remember to set a driver in /etc/LCDd.conf? See syslog for details." +} + +stop() { + ebegin "Stopping LCDd" + start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid + eend $? +} diff --git a/app-misc/lcdproc/files/0.5.1-lcdproc.initd b/app-misc/lcdproc/files/0.5.1-lcdproc.initd new file mode 100644 index 000000000000..580ae60e6ea0 --- /dev/null +++ b/app-misc/lcdproc/files/0.5.1-lcdproc.initd @@ -0,0 +1,21 @@ +#!/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.1-lcdproc.initd,v 1.1 2006/10/24 08:14:35 jokey Exp $ + +depend(){ + use LCDd +} + +start() { + ebegin "Starting lcdproc" + start-stop-daemon --start --background \ + --exec /usr/bin/lcdproc + eend $? +} + +stop() { + ebegin "Stopping lcdproc" + start-stop-daemon --stop --exec /usr/bin/lcdproc + eend $? +} diff --git a/app-misc/lcdproc/lcdproc-0.4.5.ebuild b/app-misc/lcdproc/lcdproc-0.4.5.ebuild index e9dcff9cdf38..966475a06a5a 100644 --- a/app-misc/lcdproc/lcdproc-0.4.5.ebuild +++ b/app-misc/lcdproc/lcdproc-0.4.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.4.5.ebuild,v 1.13 2006/09/25 16:36:46 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.4.5.ebuild,v 1.14 2006/10/24 08:14:35 jokey Exp $ DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices" HOMEPAGE="http://lcdproc.org/" @@ -94,6 +94,6 @@ src_install() { doins LCDd.conf doins scripts/lcdproc.conf - newinitd "${FILESDIR}/${PV}-LCDd" LCDd - newinitd "${FILESDIR}/lcdproc" lcdproc + newinitd "${FILESDIR}/${PV}-LCDd.initd" LCDd + newinitd "${FILESDIR}/${PV}-lcdproc.initd" lcdproc } diff --git a/app-misc/lcdproc/lcdproc-0.5.0-r2.ebuild b/app-misc/lcdproc/lcdproc-0.5.0-r2.ebuild index 4195dff1325a..6c79c9013862 100644 --- a/app-misc/lcdproc/lcdproc-0.5.0-r2.ebuild +++ b/app-misc/lcdproc/lcdproc-0.5.0-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.0-r2.ebuild,v 1.1 2006/10/11 21:16:26 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.0-r2.ebuild,v 1.2 2006/10/24 08:14:35 jokey Exp $ inherit eutils flag-o-matic @@ -166,8 +166,8 @@ src_install() { doins LCDd.conf doins scripts/lcdproc.conf - newinitd "${FILESDIR}/${PV}-LCDd.rc" LCDd - newinitd "${FILESDIR}/${PV}-lcdproc.rc" lcdproc + newinitd "${FILESDIR}/${PV}-LCDd.initd" LCDd + newinitd "${FILESDIR}/${PV}-lcdproc.initd" lcdproc doman docs/*.1 docs/*.8 dodoc README CREDITS ChangeLog INSTALL diff --git a/app-misc/lcdproc/lcdproc-0.5.1.ebuild b/app-misc/lcdproc/lcdproc-0.5.1.ebuild index c57031307fa2..0378a8431e3e 100644 --- a/app-misc/lcdproc/lcdproc-0.5.1.ebuild +++ b/app-misc/lcdproc/lcdproc-0.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.1.ebuild,v 1.2 2006/10/18 23:36:16 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.1.ebuild,v 1.3 2006/10/24 08:14:35 jokey Exp $ inherit eutils flag-o-matic @@ -179,8 +179,8 @@ src_install() { doins clients/lcdproc/lcdproc.conf doins clients/lcdvc/lcdvc.conf - newinitd "${FILESDIR}/${PV}-LCDd.rc" LCDd - newinitd "${FILESDIR}/${PV}-lcdproc.rc" lcdproc + newinitd "${FILESDIR}/${PV}-LCDd.initd" LCDd + newinitd "${FILESDIR}/${PV}-lcdproc.initd" lcdproc doman docs/*.1 docs/*.5 docs/*.8 dodoc README CREDITS ChangeLog INSTALL TODO |