Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpd/files/
Date: Sun, 01 Apr 2018 21:55:25
Message-Id: 1522619616.d47f408a8d1780414744e29bff5bf193aee345e6.monsieurp@gentoo
1 commit: d47f408a8d1780414744e29bff5bf193aee345e6
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 20 18:16:31 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 1 21:53:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d47f408a
7
8 media-sound/mpd: remove unused files.
9
10 Closes: https://bugs.gentoo.org/651330
11 Closes: https://github.com/gentoo/gentoo/pull/7240
12
13 media-sound/mpd/files/mpd.logrotate | 7 -------
14 media-sound/mpd/files/mpd2.init | 36 ------------------------------------
15 2 files changed, 43 deletions(-)
16
17 diff --git a/media-sound/mpd/files/mpd.logrotate b/media-sound/mpd/files/mpd.logrotate
18 deleted file mode 100644
19 index c913c1facc4..00000000000
20 --- a/media-sound/mpd/files/mpd.logrotate
21 +++ /dev/null
22 @@ -1,7 +0,0 @@
23 -/var/lib/mpd/log {
24 - missingok
25 - postrotate
26 - [ -f /var/run/mpd.pid ] && cat /var/run/mpd.pid | xargs /bin/kill -HUP
27 - [ -f /var/lib/mpd/pid ] && cat /var/lib/mpd/pid | xargs /bin/kill -HUP
28 - endscript
29 -}
30
31 diff --git a/media-sound/mpd/files/mpd2.init b/media-sound/mpd/files/mpd2.init
32 deleted file mode 100644
33 index ae5a2cce0eb..00000000000
34 --- a/media-sound/mpd/files/mpd2.init
35 +++ /dev/null
36 @@ -1,36 +0,0 @@
37 -#!/sbin/openrc-run
38 -# Copyright 1999-2016 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -depend() {
42 - need localmount
43 - use net netmount nfsmount alsasound esound pulseaudio
44 -}
45 -
46 -checkconfig() {
47 - if ! [ -f /etc/mpd.conf ]; then
48 - eerror "Configuration file /etc/mpd.conf does not exist."
49 - return 1
50 - fi
51 -
52 - if ! grep -q '^\s*pid_file' /etc/mpd.conf; then
53 - eerror "Invalid configuration: pid_file needs to be set."
54 - return 1
55 - fi
56 -
57 - return 0
58 -}
59 -
60 -start() {
61 - checkconfig || return 1
62 -
63 - ebegin "Starting Music Player Daemon"
64 - start-stop-daemon --start --quiet --exec /usr/bin/mpd -- /etc/mpd.conf 2>/dev/null
65 - eend $?
66 -}
67 -
68 -stop() {
69 - ebegin "Stopping Music Player Daemon"
70 - /usr/bin/mpd --kill
71 - eend $?
72 -}