Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpd/files/, media-sound/mpd/
Date: Sat, 02 Jun 2018 13:25:22
Message-Id: 1527945901.d758a9ffb4fe70453085783d63e67a8f5814c1f0.soap@gentoo
1 commit: d758a9ffb4fe70453085783d63e67a8f5814c1f0
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Sun May 27 13:44:50 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 2 13:25:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d758a9ff
7
8 media-sound/mpd: remove opts variable from init script
9
10 This variable should never have been used in the first place because it
11 is reserved to OpenRC. It is unlikely that this variable was ever used
12 because mpd exposes no interesting command-line options and Gentoo never
13 provided an associated conf.d file either.
14
15 Closes: https://bugs.gentoo.org/645664
16 Package-Manager: Portage-2.3.38, Repoman-2.3.9
17 Closes: https://github.com/gentoo/gentoo/pull/8621
18
19 media-sound/mpd/files/mpd-0.20.4.init | 4 ++--
20 media-sound/mpd/{mpd-0.20.12.ebuild => mpd-0.20.12-r1.ebuild} | 2 +-
21 2 files changed, 3 insertions(+), 3 deletions(-)
22
23 diff --git a/media-sound/mpd/files/mpd-0.20.4.init b/media-sound/mpd/files/mpd-0.20.4.init
24 index 3eb0bc2bcb8..0a4c61677bc 100644
25 --- a/media-sound/mpd/files/mpd-0.20.4.init
26 +++ b/media-sound/mpd/files/mpd-0.20.4.init
27 @@ -1,5 +1,5 @@
28 #!/sbin/openrc-run
29 -# Copyright 1999-2016 Gentoo Foundation
30 +# Copyright 1999-2018 Gentoo Foundation
31 # Distributed under the terms of the GNU General Public License v2
32
33 : CFGFILE=${CFGFILE:=/etc/mpd.conf}
34 @@ -20,7 +20,7 @@ get_config() {
35
36 extra_started_commands='reload'
37 command=/usr/bin/mpd
38 -command_args=${opts:=${CFGFILE}}
39 +command_args=${CFGFILE}
40 required_files=${CFGFILE}
41 pidfile=$(get_config pid_file)
42 description="Music Player Daemon"
43
44 diff --git a/media-sound/mpd/mpd-0.20.12.ebuild b/media-sound/mpd/mpd-0.20.12-r1.ebuild
45 similarity index 99%
46 rename from media-sound/mpd/mpd-0.20.12.ebuild
47 rename to media-sound/mpd/mpd-0.20.12-r1.ebuild
48 index 856bef04608..413a9c53b12 100644
49 --- a/media-sound/mpd/mpd-0.20.12.ebuild
50 +++ b/media-sound/mpd/mpd-0.20.12-r1.ebuild
51 @@ -1,4 +1,4 @@
52 -# Copyright 1999-2017 Gentoo Foundation
53 +# Copyright 1999-2018 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55
56 EAPI=6