diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-06-30 11:00:21 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-06-30 11:00:21 +0000 |
commit | 2fb6ba9a85ac4e48446321901675eb5fb8b0b9e0 (patch) | |
tree | 24d0c680b8b8805c48d063026c027ab633aa6c0c | |
parent | old (diff) | |
download | gentoo-2-2fb6ba9a85ac4e48446321901675eb5fb8b0b9e0.tar.gz gentoo-2-2fb6ba9a85ac4e48446321901675eb5fb8b0b9e0.tar.bz2 gentoo-2-2fb6ba9a85ac4e48446321901675eb5fb8b0b9e0.zip |
Update init script to change squeezeboxserver references to logitechmediaserver.
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
-rw-r--r-- | media-sound/squeezeslave/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/squeezeslave/files/squeezeslave.confd-r1 | 13 | ||||
-rw-r--r-- | media-sound/squeezeslave/files/squeezeslave.initd-r1 | 14 | ||||
-rw-r--r-- | media-sound/squeezeslave/squeezeslave-1.1_p350.ebuild | 6 |
4 files changed, 36 insertions, 4 deletions
diff --git a/media-sound/squeezeslave/ChangeLog b/media-sound/squeezeslave/ChangeLog index 412658d391eb..701b6ef43164 100644 --- a/media-sound/squeezeslave/ChangeLog +++ b/media-sound/squeezeslave/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/squeezeslave # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeslave/ChangeLog,v 1.9 2012/06/30 10:49:55 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeslave/ChangeLog,v 1.10 2012/06/30 11:00:21 radhermit Exp $ + + 30 Jun 2012; Tim Harder <radhermit@gentoo.org> squeezeslave-1.1_p350.ebuild, + +files/squeezeslave.confd-r1, +files/squeezeslave.initd-r1: + Update init script to change squeezeboxserver references to + logitechmediaserver. *squeezeslave-1.1_p350 (30 Jun 2012) diff --git a/media-sound/squeezeslave/files/squeezeslave.confd-r1 b/media-sound/squeezeslave/files/squeezeslave.confd-r1 new file mode 100644 index 000000000000..540aea95f656 --- /dev/null +++ b/media-sound/squeezeslave/files/squeezeslave.confd-r1 @@ -0,0 +1,13 @@ +# /etc/conf.d/squeezeslave: config file for /etc/init.d/squeezeslave + +# Log file for squeezeslave +SS_LOG="/var/log/squeezeslave.log" + +# MAC address associated with this instance +SS_MAC="00:00:00:00:00:01" + +# IP address of machine running logitechmediaserver +LMS_HOST="127.0.0.1" + +# Other squeezeslave options +SS_OPTS="" diff --git a/media-sound/squeezeslave/files/squeezeslave.initd-r1 b/media-sound/squeezeslave/files/squeezeslave.initd-r1 new file mode 100644 index 000000000000..5d23b4c71147 --- /dev/null +++ b/media-sound/squeezeslave/files/squeezeslave.initd-r1 @@ -0,0 +1,14 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeslave/files/squeezeslave.initd-r1,v 1.1 2012/06/30 11:00:21 radhermit Exp $ + +command="/usr/bin/${SVCNAME}" +command_args="--daemonize ${SS_LOG} --mac ${SS_MAC} --retry ${LMS_HOST} ${SS_OPTS}" +pidfile="/var/run/${SVCNAME}.pid" +start_stop_daemon_args="--background --quiet --make-pidfile" + +depend() { + need net + use logitechmediaserver +} diff --git a/media-sound/squeezeslave/squeezeslave-1.1_p350.ebuild b/media-sound/squeezeslave/squeezeslave-1.1_p350.ebuild index fb1b692f03aa..a3da0b3af03a 100644 --- a/media-sound/squeezeslave/squeezeslave-1.1_p350.ebuild +++ b/media-sound/squeezeslave/squeezeslave-1.1_p350.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeslave/squeezeslave-1.1_p350.ebuild,v 1.1 2012/06/30 10:49:55 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeslave/squeezeslave-1.1_p350.ebuild,v 1.2 2012/06/30 11:00:21 radhermit Exp $ EAPI="4" @@ -47,6 +47,6 @@ src_install() { dobin bin/${PN} dodoc ChangeLog TODO - newconfd "${FILESDIR}"/${PN}.confd ${PN} - newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} } |