From d758a9ffb4fe70453085783d63e67a8f5814c1f0 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Sun, 27 May 2018 15:44:50 +0200 Subject: [PATCH] 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(-) rename media-sound/mpd/{mpd-0.20.12.ebuild => mpd-0.20.12-r1.ebuild} (99%) diff --git a/media-sound/mpd/files/mpd-0.20.4.init b/media-sound/mpd/files/mpd-0.20.4.init index 3eb0bc2bcb82..0a4c61677bcb 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 856bef046087..413a9c53b120 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 -- 2.26.2