Package: mpd
Version: 0.15.6-1
Severity: normal
Tags: patch

Hi,

The mpd user still exists on my system after I have purged the package.

Here is a patch against current version in sid to automatically delete 
the user when the package is purged:

--- debian/mpd.postrm.orig      2009-12-26 08:07:13.229827720 +0100
+++ debian/mpd.postrm   2009-12-26 08:07:25.501327778 +0100
@@ -11,6 +11,8 @@
                fi
        done
 
+       deluser --quiet --system mpd > /dev/null || true
+
        rm -rf /var/log/mpd /var/run/mpd/pid /var/lib/mpd/state \
             /var/lib/mpd/tag_cache > /dev/null 2>&1
 fi


Cheers,
Julien

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mpd depends on:
ii  adduser           3.112                  add and remove users and groups
ii  libao2            0.8.8-5                Cross Platform Audio Output Librar
ii  libasound2        1.0.21a-1              shared library for ALSA applicatio
ii  libaudiofile0     0.2.6-8                Open-source version of SGI's audio
ii  libavcodec52      5:0.5+svn20091224-0.0  library to encode decode multimedi
ii  libavformat52     5:0.5+svn20091224-0.0  ffmpeg file format library
ii  libavutil49       4:0.5+svn20090706-2+b1 ffmpeg utility library
ii  libc6             2.10.2-2               GNU C Library: Shared libraries
pn  libcue1           <none>                 (no description available)
ii  libcurl3-gnutls   7.19.7-1               Multi-protocol file transfer libra
ii  libfaad2          2.7-4                  freeware Advanced Audio Decoder - 
ii  libflac8          1.2.1-2+b1             Free Lossless Audio Codec - runtim
ii  libgcc1           1:4.4.2-6              GCC support library
ii  libglib2.0-0      2.22.3-2               The GLib library of C routines
ii  libid3tag0        0.15.1b-10             ID3 tag reading library from the M
ii  libjack0          0.118+svn3796-1        JACK Audio Connection Kit (librari
ii  libmad0           0.15.1b-4              MPEG audio decoder library
ii  libmms0           0.4-2                  MMS stream protocol library - shar
ii  libmpcdec6        2:0.1~r453-1           MusePack decoder - library
ii  libogg0           1.1.4~dfsg-2           Ogg bitstream library
ii  libpulse0         0.9.21-1               PulseAudio client libraries
pn  libresid-builder0 <none>                 (no description available)
ii  libsamplerate0    0.1.7-3                Audio sample rate conversion libra
ii  libshout3         2.2.2-5+b1             MP3/Ogg Vorbis broadcast streaming
pn  libsidplay2       <none>                 (no description available)
ii  libsqlite3-0      3.6.21-2               SQLite 3 shared library
ii  libstdc++6        4.4.2-6                The GNU Standard C++ Library v3
ii  libvorbis0a       1.2.3-3                The Vorbis General Audio Compressi
ii  libvorbisenc2     1.2.3-3                The Vorbis General Audio Compressi
ii  libvorbisfile3    1.2.3-3                The Vorbis General Audio Compressi
ii  libwavpack1       4.60.1-1               an audio codec (lossy and lossless

mpd recommends no packages.

Versions of packages mpd suggests:
ii  avahi-daemon                  0.6.25-2   Avahi mDNS/DNS-SD daemon
pn  icecast2                      <none>     (no description available)
pn  mpd-client                    <none>     (no description available)
ii  pulseaudio                    0.9.21-1   PulseAudio sound server





-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to