[SCM] Debian packaging of libtest-corpus-audio-mpd-perl branch, master, updated. debian/1.113282-1-4-gf9a715f

Florian Schlichting fschlich at zedat.fu-berlin.de
Sat Apr 7 17:44:36 UTC 2012


The following commit has been merged in the master branch:
commit 518eef6551be713dd2af6b29b90a51a21b897b41
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Sat Apr 7 19:38:59 2012 +0200

    Added localhost-explicitly-bind-v4.patch (closes: #667062)

diff --git a/debian/patches/localhost-explicitly-bind-v4.patch b/debian/patches/localhost-explicitly-bind-v4.patch
new file mode 100644
index 0000000..2bc0687
--- /dev/null
+++ b/debian/patches/localhost-explicitly-bind-v4.patch
@@ -0,0 +1,21 @@
+Description: bind to '127.0.0.1' instead of 'localhost'
+ On some Debian machines, 'localhost' can refer to both 127.0.0.1 and ::1. The
+ attempt to bind to ::1 explicitly later in the configuration file will then
+ fail with "could not start fake mpd: Failed to bind to '[::1]:6600': Address
+ already in use". This patch ensures that mpd will bind to both IPv4 and IPv6
+ localhost, without potential for clashes.
+Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667062
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=76383
+
+--- a/share/mpd.conf.template
++++ b/share/mpd.conf.template
+@@ -6,7 +6,7 @@
+ db_file              "TMP/music.db"
+ state_file           "TMP/state"
+ pid_file             "TMP/pid"
+-bind_to_address      "localhost"
++bind_to_address      "127.0.0.1"
+ password             "fulladmin at read,add,control,admin"
+ password             "foobar at read"
+ default_permissions  "read,add,control,admin"
diff --git a/debian/patches/series b/debian/patches/series
index fac5fa7..1ae28c2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+localhost-explicitly-bind-v4.patch
 skip_file-sharedir-pathclass.patch

-- 
Debian packaging of libtest-corpus-audio-mpd-perl



More information about the Pkg-perl-cvs-commits mailing list