QA and init.d fix
authorMarkus Ullmann <jokey@gentoo.org>
Tue, 24 Oct 2006 08:14:35 +0000 (08:14 +0000)
committerMarkus Ullmann <jokey@gentoo.org>
Tue, 24 Oct 2006 08:14:35 +0000 (08:14 +0000)
Package-Manager: portage-2.1.2_pre3-r7

app-misc/lcdproc/ChangeLog
app-misc/lcdproc/files/0.4.5-LCDd.initd [new file with mode: 0644]
app-misc/lcdproc/files/0.4.5-lcdproc.initd [new file with mode: 0644]
app-misc/lcdproc/files/0.5.0-LCDd.initd [new file with mode: 0644]
app-misc/lcdproc/files/0.5.0-lcdproc.initd [new file with mode: 0644]
app-misc/lcdproc/files/0.5.1-LCDd.initd [new file with mode: 0644]
app-misc/lcdproc/files/0.5.1-lcdproc.initd [new file with mode: 0644]
app-misc/lcdproc/lcdproc-0.4.5.ebuild
app-misc/lcdproc/lcdproc-0.5.0-r2.ebuild
app-misc/lcdproc/lcdproc-0.5.1.ebuild

index 3f849d0eddbbb02bf6bc70be9fe1add1ea95165f..3735e68bdb45d8fed7ecca2b7786e40454fab29a 100644 (file)
@@ -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 (file)
index 0000000..329936e
--- /dev/null
@@ -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 (file)
index 0000000..ec45e22
--- /dev/null
@@ -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 (file)
index 0000000..5ceb8bd
--- /dev/null
@@ -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 (file)
index 0000000..09b0cc0
--- /dev/null
@@ -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 (file)
index 0000000..aa134a7
--- /dev/null
@@ -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 (file)
index 0000000..580ae60
--- /dev/null
@@ -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 $?
+}
index e9dcff9cdf382c00e23b70393c53d2492ee4c0e9..966475a06a5a7011b2a0b45fd59d464e538b0c80 100644 (file)
@@ -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
 }
index 4195dff1325a4b21023ed28f678cad801db4de56..6c79c90138626c148a7145db510c373df1e166ae 100644 (file)
@@ -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
index c57031307fa235ee03572cb82a27243874654bd6..0378a8431e3e98d6088e3e38d25aa4818b10c8ce 100644 (file)
@@ -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