commit:     d758a9ffb4fe70453085783d63e67a8f5814c1f0
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Sun May 27 13:44:50 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jun  2 13:25:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d758a9ff

media-sound/mpd: remove opts variable from init script

This variable should never have been used in the first place because it
is reserved to OpenRC. It is unlikely that this variable was ever used
because mpd exposes no interesting command-line options and Gentoo never
provided an associated conf.d file either.

Closes: https://bugs.gentoo.org/645664
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8621

 media-sound/mpd/files/mpd-0.20.4.init                         | 4 ++--
 media-sound/mpd/{mpd-0.20.12.ebuild => mpd-0.20.12-r1.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-sound/mpd/files/mpd-0.20.4.init 
b/media-sound/mpd/files/mpd-0.20.4.init
index 3eb0bc2bcb8..0a4c61677bc 100644
--- a/media-sound/mpd/files/mpd-0.20.4.init
+++ b/media-sound/mpd/files/mpd-0.20.4.init
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 : CFGFILE=${CFGFILE:=/etc/mpd.conf}
@@ -20,7 +20,7 @@ get_config() {
 
 extra_started_commands='reload'
 command=/usr/bin/mpd
-command_args=${opts:=${CFGFILE}}
+command_args=${CFGFILE}
 required_files=${CFGFILE}
 pidfile=$(get_config pid_file)
 description="Music Player Daemon"

diff --git a/media-sound/mpd/mpd-0.20.12.ebuild 
b/media-sound/mpd/mpd-0.20.12-r1.ebuild
similarity index 99%
rename from media-sound/mpd/mpd-0.20.12.ebuild
rename to media-sound/mpd/mpd-0.20.12-r1.ebuild
index 856bef04608..413a9c53b12 100644
--- a/media-sound/mpd/mpd-0.20.12.ebuild
+++ b/media-sound/mpd/mpd-0.20.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6

Reply via email to