summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2008-11-11 14:03:15 +0000
committerJoe Peterson <lavajoe@gentoo.org>2008-11-11 14:03:15 +0000
commit9052a2c377a9cd871aa08d5046c6654265413274 (patch)
tree88556219396c888116846dca03a449acb2c7ddae /media-sound/squeezecenter
parentSparc stable --- Security Bug #153538 --- neat test and uses system libpng. (diff)
downloadhistorical-9052a2c377a9cd871aa08d5046c6654265413274.tar.gz
historical-9052a2c377a9cd871aa08d5046c6654265413274.tar.bz2
historical-9052a2c377a9cd871aa08d5046c6654265413274.zip
Remove use of sudo and nice in init script; no rev bump
Package-Manager: portage-2.2_rc13/cvs/Linux 2.6.27-gentoo-r2 i686
Diffstat (limited to 'media-sound/squeezecenter')
-rw-r--r--media-sound/squeezecenter/ChangeLog5
-rw-r--r--media-sound/squeezecenter/Manifest4
-rwxr-xr-xmedia-sound/squeezecenter/files/squeezecenter.init.d28
3 files changed, 20 insertions, 17 deletions
diff --git a/media-sound/squeezecenter/ChangeLog b/media-sound/squeezecenter/ChangeLog
index ca903d248907..dadad5bd4175 100644
--- a/media-sound/squeezecenter/ChangeLog
+++ b/media-sound/squeezecenter/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/squeezecenter
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/ChangeLog,v 1.31 2008/10/27 18:52:44 lavajoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/ChangeLog,v 1.32 2008/11/11 14:03:15 lavajoe Exp $
+
+ 11 Nov 2008; Joe Peterson <lavajoe@gentoo.org> files/squeezecenter.init.d:
+ Remove use of sudo and nice in init script; no rev bump
27 Oct 2008; Joe Peterson <lavajoe@gentoo.org>
files/build-perl-modules-gentoo.patch:
diff --git a/media-sound/squeezecenter/Manifest b/media-sound/squeezecenter/Manifest
index b2b15efd9827..d86017f1e5ab 100644
--- a/media-sound/squeezecenter/Manifest
+++ b/media-sound/squeezecenter/Manifest
@@ -8,7 +8,7 @@ AUX filepaths-gentoo.patch 4328 RMD160 ddbb9c6dae371230bc22efc64dbbf9534ad1a923
AUX mDNSResponder-7.1-gentoo.patch 351 RMD160 c4f7ee74c7ec70496ffe845f10cd61a533742968 SHA1 c5b23edc04d47003cbd66504439a82c6a12c5a8c SHA256 18039bf06a8712195b492f792f78943bae3546d0985f17accb0419efc83e5095
AUX mDNSResponder-gentoo.patch 351 RMD160 c4f7ee74c7ec70496ffe845f10cd61a533742968 SHA1 c5b23edc04d47003cbd66504439a82c6a12c5a8c SHA256 18039bf06a8712195b492f792f78943bae3546d0985f17accb0419efc83e5095
AUX squeezecenter.conf.d 903 RMD160 e3ef773ec921e47ddb749c56ea0c87b32d4399d7 SHA1 f7aede39aca7f19772579caab9cc86f3b3769ff9 SHA256 bd64fd08949e8d1e56f9efc89a3fa141aa50ba851cedb9435be89c4b506c836a
-AUX squeezecenter.init.d 1297 RMD160 3255af0a8c2fc001fa532dc67b5961dc9fa0729a SHA1 f7a9bfc11f1e8fec9bd272e22739e35329549d89 SHA256 90432a539a55d3201be57954e0dc79888d8a7397b020fd8a7470e86abec2ccd6
+AUX squeezecenter.init.d 1314 RMD160 eb37f6daffe617fa8aeb95068e38ea94a68823ee SHA1 e1fdaa194474b29a86f4a4c31d089f08234a6730 SHA256 cf4b77c842e052737e45f236298c7c5984465e0bab892bf17db1b3508bca1f15
AUX squeezecenter.logrotate.d 407 RMD160 5a6045321cf1f180ee2ce671d5395cd08379accd SHA1 e1f4c03e9bae354ba44c7fdc59721696c643eb64 SHA256 a98dcb6a95d8711632d6913b7dab221decf35f70858618529b7ae8c103b20a01
AUX squeezecenter.prefs 126 RMD160 b715267b10e2bc63eaa7da5aa9dd3177dc0e46ee SHA1 3354ce16a5dd453d71c475a8487b43fec34084c2 SHA256 19c74a3838f78c6a076220e749c236564d085c4ef095fa0f77bbb1be74532b2d
DIST SqueezeCenter-AutoXS-Header-0.03.tar.gz 2497 RMD160 91ae4b03d47d3773747f2f69c992c54a1e6ff2bb SHA1 f6f106412fb603abefefec8a640ce4713a50a1f7 SHA256 59ee972bf0ea3e85fbcb619863e2cd47ad5646a849409c9a65123fffdb77519a
@@ -32,5 +32,5 @@ DIST squeezecenter-7.2.1-noCPAN.tgz 22681495 RMD160 ed7ee0f27b15edc307a6fa2b8ec4
EBUILD squeezecenter-7.1.0-r1.ebuild 13052 RMD160 cb0b007100c1dbb0c4b3dc19dcb254135770f312 SHA1 d4996ab7f7867da30007111a4106bf5f89524dc7 SHA256 b0a0a2266e33c9e2e66769f3fecb10805cbfd120e7486d257dc2d65af41bb06b
EBUILD squeezecenter-7.2.0-r1.ebuild 13030 RMD160 bd5795cbb4571d3f254749f5c47e1833b2522793 SHA1 bafba5edd8203ea017b960a6a3beebb5724ace02 SHA256 9315390f38a6e6c8dd5472e1004de330fb6c8504dd0fcd4a1f264eab98b77bde
EBUILD squeezecenter-7.2.1.ebuild 13948 RMD160 5ee5c8be6884eb16d1cd68ce353596bf18bb5a04 SHA1 4eabe6680ecfdc4b22cd6c8628da635a12cdd761 SHA256 08afb9f17785c2a2e4df007fa5b66d3109255f602388fdce07860ed30b3e95f2
-MISC ChangeLog 6631 RMD160 443fdc094b0ccdc89a116f57d833c85634e58e49 SHA1 6bf50bfbeaa444e3f7df16d3fb1d938a1abf53e7 SHA256 79812d1a448bee49c972b081628477d9c825ad34cf56f19c3bb0f685616e3ccd
+MISC ChangeLog 6767 RMD160 222dfc4a3b3e9cc98295dea03c376a1446379cf9 SHA1 47897fbefeaf1a85a5e4524d8b088a89661ce640 SHA256 5edb4ae570fe010450489753aadfcc87015af562ea93d2df2cadf2440b321a14
MISC metadata.xml 1030 RMD160 e1d4c5948b583040d153fb5c504855d018d64930 SHA1 533aa2ee17648b8b6beaf0c63cf897ffff97a40d SHA256 8796af3188ab311eb971bdefe726ef47e9d7d39dab6956e22ab51acbc90a77c9
diff --git a/media-sound/squeezecenter/files/squeezecenter.init.d b/media-sound/squeezecenter/files/squeezecenter.init.d
index 23717c4ea30a..d6cdd90e4da5 100755
--- a/media-sound/squeezecenter/files/squeezecenter.init.d
+++ b/media-sound/squeezecenter/files/squeezecenter.init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/files/squeezecenter.init.d,v 1.1 2008/08/03 04:35:29 lavajoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/files/squeezecenter.init.d,v 1.2 2008/11/11 14:03:15 lavajoe Exp $
# These fit the SqueezeCenter ebuild and so shouldn't need to be changed;
# user-servicable parts go in /etc/conf.d/squeezecenter.
@@ -21,20 +21,20 @@ depend() {
start() {
ebegin "Starting SqueezeCenter"
+ export SSD_NICELEVEL=${SC_NICENESS}
cd /
- /usr/bin/nice --adjustment=${SC_NICENESS:-0} sudo -u ${scuser} \
- start-stop-daemon \
- --start --exec /usr/bin/perl /usr/sbin/${scname} \
- -- \
- --quiet --daemon \
- --pidfile=${pidfile} \
- --cachedir=${cachedir} \
- --prefsfile=${prefsfile} \
- --prefsdir=${prefsdir} \
- --logdir=${logdir} \
- --audiodir=${SC_MUSIC_DIR} \
- --playlistdir=${SC_PLAYLISTS_DIR} \
- ${SC_OPTS}
+ start-stop-daemon \
+ --start --exec /usr/bin/perl /usr/sbin/${scname} --chuid ${scuser} \
+ -- \
+ --quiet --daemon \
+ --pidfile=${pidfile} \
+ --cachedir=${cachedir} \
+ --prefsfile=${prefsfile} \
+ --prefsdir=${prefsdir} \
+ --logdir=${logdir} \
+ --audiodir=${SC_MUSIC_DIR} \
+ --playlistdir=${SC_PLAYLISTS_DIR} \
+ ${SC_OPTS}
eend $? "Failed to start SqueezeCenter"
}