summaryrefslogtreecommitdiffstats
path: root/extra/mpd
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-04 11:44:49 +0100
committerlesibel <lesibel@free.fr>2009-11-04 11:44:49 +0100
commit40667e223a28fe8d6c7c50453aefde709c1948dd (patch)
tree157ded1885e4b515a5aaa78407a9320b17867136 /extra/mpd
parenta0c1d7fa3024601998a9f007a24bdf20681c5da4 (diff)
parent814af508a237000f57b4b7066da139ee018e5384 (diff)
downloadnutyx-extra-40667e223a28fe8d6c7c50453aefde709c1948dd.tar.gz
nutyx-extra-40667e223a28fe8d6c7c50453aefde709c1948dd.tar.bz2
nutyx-extra-40667e223a28fe8d6c7c50453aefde709c1948dd.tar.xz
nutyx-extra-40667e223a28fe8d6c7c50453aefde709c1948dd.zip
Merge remote branch 'nutyx-2009/master'
Diffstat (limited to 'extra/mpd')
-rw-r--r--extra/mpd/.footprint1
-rw-r--r--extra/mpd/.md5sum2
-rw-r--r--extra/mpd/Pkgfile2
-rwxr-xr-xextra/mpd/mpd36
4 files changed, 38 insertions, 3 deletions
diff --git a/extra/mpd/.footprint b/extra/mpd/.footprint
index c5b20a26a..24fafdd39 100644
--- a/extra/mpd/.footprint
+++ b/extra/mpd/.footprint
@@ -8,7 +8,6 @@ drwxr-xr-x root/root usr/share/doc/mpd/
-rw-r--r-- root/root usr/share/doc/mpd/COPYING
-rw-r--r-- root/root usr/share/doc/mpd/NEWS
-rw-r--r-- root/root usr/share/doc/mpd/README
--rw-r--r-- root/root usr/share/doc/mpd/TODO
-rw-r--r-- root/root usr/share/doc/mpd/UPGRADING
-rw-r--r-- root/root usr/share/doc/mpd/mpdconf.example
drwxr-xr-x root/root usr/share/man/
diff --git a/extra/mpd/.md5sum b/extra/mpd/.md5sum
index e7d5d4bdb..8df92f376 100644
--- a/extra/mpd/.md5sum
+++ b/extra/mpd/.md5sum
@@ -1 +1 @@
-66817a4b4c05454e6488f6b821f2a6a3 mpd-0.14.2.tar.bz2
+078bd45c8266ac577e4a96fa38d1e534 mpd-0.15.5.tar.bz2
diff --git a/extra/mpd/Pkgfile b/extra/mpd/Pkgfile
index bf381d0f1..110d34589 100644
--- a/extra/mpd/Pkgfile
+++ b/extra/mpd/Pkgfile
@@ -5,7 +5,7 @@
# Depends on: glib, libmad, libogg, alsa-lib, libid3tag
name=mpd
-version=0.14.2
+version=0.15.5
release=1
source=(http://downloads.sourceforge.net/musicpd/$name-$version.tar.bz2)
build() {
diff --git a/extra/mpd/mpd b/extra/mpd/mpd
new file mode 100755
index 000000000..76d4192c6
--- /dev/null
+++ b/extra/mpd/mpd
@@ -0,0 +1,36 @@
+#!/bin/sh
+# Begin $rc_base/init.d/mpd
+
+. /etc/sysconfig/rc
+. $rc_functions
+
+pidfile=/var/run/mpd.pid
+
+case "$1" in
+ start)
+ boot_mesg " Lancement de MPD..."
+ loadproc mpd
+ ;;
+
+ stop)
+ boot_mesg "Arret de MPD..."
+ if [ -f $pidfile ]; then
+ loadkill mpd
+ fi
+ ;;
+
+ restart)
+ boot_mesg "Relancement de MPD..."
+ if [ -f $pidfile ]; then
+ loadproc mpd stop
+ loadproc mpd
+ fi
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+ ;;
+esac
+
+# End $rc_base/init.d/mpd