Bug#768982: libaudio-mpd-perl: cannot connect to mpd via a Unix socket

Simon McVittie smcv at debian.org
Mon Nov 10 14:53:39 UTC 2014


Package: libaudio-mpd-perl
Version: 2.000-1
Severity: wishlist
Tags: upstream patch
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=99762

Since mpd 0.14 (2008) it has been possible for mpd to listen on an
AF_UNIX socket. Access is controlled by Unix filesystem permissions,
making a password unnecessary.

The convention seems to be to set MPD_HOST to the absolute path to the
socket, e.g. "/home/me/.cache/mpd.socket", ignoring MPD_PORT; and to
recognise these connections via the leading "/".

The attached patch adds support for this, and seems to be enough to
enable mpd-dynamic to work in this configuration. I already
submitted it upstream.

Regards,
    S

-- System Information:
Debian Release: jessie/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libaudio-mpd-perl depends on:
ii  libaudio-mpd-common-perl               2.002-1
ii  libgetopt-euclid-perl                  0.4.5-1
ii  libio-socket-ip-perl                   0.32-1
ii  libmoose-perl                          2.1213-1
ii  libmoosex-has-sugar-perl               1.000004-1
ii  libmoosex-semiaffordanceaccessor-perl  0.10-1
ii  libproc-daemon-perl                    0.14-2
ii  perl                                   5.20.1-2
ii  perl-base [libio-socket-ip-perl]       5.20.1-2

libaudio-mpd-perl recommends no packages.

Versions of packages libaudio-mpd-perl suggests:
ii  mpd  0.19.1-1

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-patch-to-allow-a-mpd-Unix-socket.patch
Type: text/x-diff
Size: 3064 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20141110/ed7b4785/attachment.patch>


More information about the pkg-perl-maintainers mailing list