summaryrefslogtreecommitdiff
path: root/extra/mpd
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-04-03 14:54:55 +0000
commitb618c3d0693aec564c6746238fd05d94e31d3b76 (patch)
tree4a4834f3097bba25dba1adeba4324080c1b4bf7b /extra/mpd
parent8cb5196780766f47b595410eed8ddbee2e8add08 (diff)
Tue Apr 3 14:54:45 UTC 2012
Diffstat (limited to 'extra/mpd')
-rw-r--r--extra/mpd/ChangeLog15
-rwxr-xr-xextra/mpd/mpd36
-rw-r--r--extra/mpd/mpd.install18
3 files changed, 0 insertions, 69 deletions
diff --git a/extra/mpd/ChangeLog b/extra/mpd/ChangeLog
deleted file mode 100644
index 7e174cfb4..000000000
--- a/extra/mpd/ChangeLog
+++ /dev/null
@@ -1,15 +0,0 @@
-2012-02-11 Angel Velasquez <angvp@archlinux.org>
- * Version bump to 0.16.7
-
-2011-12-05 Angel Velasquez <angvp@archlinux.org>
- * Version bump to 0.16.6
-
-2011-09-03 Angel Velasquez <angvp@archlinux.org>
- * Version bump to 0.16.4
- * Removed the patch mpd-0.16.3_ffmpeg_sigsegv.patch since is included upstream
-
-2011-06-25 Angel Velasquez <angvp@archlinux.org>
- * Added a patch for bug with ffmpeg FS#24839
-
-
-# vim: set ft=changelog ts=4 sw=4 et:
diff --git a/extra/mpd/mpd b/extra/mpd/mpd
deleted file mode 100755
index 6134e2ed4..000000000
--- a/extra/mpd/mpd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting Music Player Daemon"
- [ ! -d /var/run/mpd ] && install -d -g 45 -o 45 /var/run/mpd
- /usr/bin/mpd /etc/mpd.conf &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon mpd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Music Player Daemon"
- /usr/bin/mpd --kill /etc/mpd.conf &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon mpd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/mpd/mpd.install b/extra/mpd/mpd.install
deleted file mode 100644
index 885505a07..000000000
--- a/extra/mpd/mpd.install
+++ /dev/null
@@ -1,18 +0,0 @@
-post_install() {
- post_upgrade
- echo "==> Create a configuration file /etc/mpd.conf before using MPD (example: /usr/share/mpd/mpd.conf.example)"
-}
-
-post_upgrade() {
- getent group "mpd" &>/dev/null || groupadd -r -g 45 mpd 1>/dev/null
- getent passwd "mpd" &>/dev/null || useradd -r -u 45 -g mpd -d "/var/lib/mpd" -s "/bin/true" -G "audio" mpd 1>/dev/null
- for dir in /var/{lib,log}/mpd; do
- chown -R mpd:mpd "$dir" 1>/dev/null
- done
-}
-
-post_remove() {
- getent passwd "mpd" &>/dev/null && userdel mpd 1>/dev/null
- getent group "mpd" &>/dev/null && groupdel mpd 1>/dev/null
- [ -f etc/mpd.conf ] && mv etc/mpd.conf etc/mpd.conf.pacsave 1>/dev/null
-}