summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-08-02 08:08:10 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-08-02 08:08:10 +0000
commitc262f5e67d3f02c2bac294568d294f82fcc59def (patch)
tree3fad6c259e499c9d32c4668c8b9f30f2ed9d769b /app-accessibility
parentDon't inherit from gtk-engines2.eclass. New version: 0.8 (diff)
downloadhistorical-c262f5e67d3f02c2bac294568d294f82fcc59def.tar.gz
historical-c262f5e67d3f02c2bac294568d294f82fcc59def.tar.bz2
historical-c262f5e67d3f02c2bac294568d294f82fcc59def.zip
Cleaned up init script to set permissions on /dev/speech.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/speechd/ChangeLog5
-rw-r--r--app-accessibility/speechd/Manifest10
-rw-r--r--app-accessibility/speechd/files/speechd.rc11
3 files changed, 18 insertions, 8 deletions
diff --git a/app-accessibility/speechd/ChangeLog b/app-accessibility/speechd/ChangeLog
index a58709346b33..a050ff91f639 100644
--- a/app-accessibility/speechd/ChangeLog
+++ b/app-accessibility/speechd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-accessibility/speechd
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/ChangeLog,v 1.15 2005/08/01 03:11:10 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/ChangeLog,v 1.16 2005/08/02 08:08:10 eradicator Exp $
+
+ 02 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> files/speechd.rc:
+ Cleaned up init script to set permissions on /dev/speech.
*speechd-0.56-r2 (01 Aug 2005)
diff --git a/app-accessibility/speechd/Manifest b/app-accessibility/speechd/Manifest
index e7e5e744686e..28394cec5ea7 100644
--- a/app-accessibility/speechd/Manifest
+++ b/app-accessibility/speechd/Manifest
@@ -1,18 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 d3cbe0bd33fa69ea144fd3bedb755364 ChangeLog 2457
+MD5 ee15f7074d46270217eb03b224e6e162 ChangeLog 2593
MD5 4f5d797c455932135181f0c31b5e71b2 metadata.xml 185
MD5 40012b5c02e2f375cbcffe72bea7ed09 speechd-0.56-r1.ebuild 1190
MD5 1a16aaa0593e7d62be70f4c9eab0e713 speechd-0.56-r2.ebuild 1054
MD5 bc0a2d35e9d4d817f657a8aad30d3a14 files/digest-speechd-0.56-r1 63
-MD5 946d2d86e6a6b6640fcdd745d47a04d7 files/speechd.rc 500
+MD5 79cfb18265e6e5d54c677b101f289778 files/speechd.rc 649
MD5 5ced99d95d106de24cd3e8e5e5851d86 files/speechd-0.56-catspeech-eof.patch 411
MD5 bc0a2d35e9d4d817f657a8aad30d3a14 files/digest-speechd-0.56-r2 63
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFC7ZLdArHZZzCEUG0RAo/tAJ0dPs1ComjPjCB/0qY63kf7zcbtPACfYDHx
-lCbjaWz7NcJBYz0TKsdPnPM=
-=JOoq
+iD8DBQFC7yn8ArHZZzCEUG0RAkwOAJ9qtDuc52JguEFNMKDihFZAgywamwCdFaWZ
+ZGMK5V3+ZYCG5Nx4GeBWmOE=
+=krPI
-----END PGP SIGNATURE-----
diff --git a/app-accessibility/speechd/files/speechd.rc b/app-accessibility/speechd/files/speechd.rc
index 362624d04b4d..255742b4a9de 100644
--- a/app-accessibility/speechd/files/speechd.rc
+++ b/app-accessibility/speechd/files/speechd.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/files/speechd.rc,v 1.3 2004/08/14 14:33:24 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/files/speechd.rc,v 1.4 2005/08/02 08:08:10 eradicator Exp $
depend() {
need festival
@@ -9,12 +9,19 @@ depend() {
start() {
ebegin "Starting speechd"
- start-stop-daemon --start --quiet --exec /usr/bin/speechd -- -Q
+ start-stop-daemon --start --group speech --exec /usr/bin/speechd -- -Q
+ if [[ -p /dev/speech ]] ; then
+ chmod 660 /dev/speech
+ chgrp speech /dev/speech
+ fi
eend $?
}
stop() {
ebegin "Stopping speechd"
start-stop-daemon --stop --quiet --pidfile /var/run/speechd.pid
+ if [[ -p /dev/speech ]] ; then
+ rm /dev/speech
+ fi
eend $?
}