diff options
author | Skippy the Kangoo <Skippythekangoo at yahoo dot fr> | 2009-11-04 01:40:40 +0800 |
---|---|---|
committer | fredjo <frederic.joly@9online.fr> | 2009-11-04 05:20:29 +0800 |
commit | e6fda451bc470eafc3843fea924218c456f36e4f (patch) | |
tree | 65dce6b9f4ba07e8fca4062c52c09a289fa2e0ed | |
parent | b35834a30997d21215e1130522b7344931c5268b (diff) | |
download | nutyx-pakxe-e6fda451bc470eafc3843fea924218c456f36e4f.tar.gz nutyx-pakxe-e6fda451bc470eafc3843fea924218c456f36e4f.tar.bz2 nutyx-pakxe-e6fda451bc470eafc3843fea924218c456f36e4f.tar.xz nutyx-pakxe-e6fda451bc470eafc3843fea924218c456f36e4f.zip |
Maj de mpd#0.15.5-1
-rw-r--r-- | extra/mpd/.footprint | 1 | ||||
-rw-r--r-- | extra/mpd/.md5sum | 2 | ||||
-rw-r--r-- | extra/mpd/Pkgfile | 2 | ||||
-rwxr-xr-x | extra/mpd/mpd | 36 |
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 |