Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package prosody As described at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863475 prosody will fail to resolve dns requests if lua-event 0.4.3 (in stretch right now) is used, 'use_libevent = true' in config. This bug will make prosody fail to connect to any other XMPP server using a domain. This is quite important for a IM service. The fix is coming from upstream and I did test it. Thanks in advance, Victor Seva unblock prosody/0.9.12-2 -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru prosody-0.9.12/debian/changelog prosody-0.9.12/debian/changelog --- prosody-0.9.12/debian/changelog 2017-01-11 09:56:01.000000000 +0100 +++ prosody-0.9.12/debian/changelog 2017-05-31 09:33:41.000000000 +0200 @@ -1,3 +1,11 @@ +prosody (0.9.12-2) unstable; urgency=medium + + * [01d44c8] fix fails to initiate s2s when lua-event 0.4.3 is installed + backport fix from https://prosody.im/issues/issue/555 + (Closes: #863475) + + -- Victor Seva <vs...@debian.org> Wed, 31 May 2017 09:33:41 +0200 + prosody (0.9.12-1) unstable; urgency=medium * [e840660] New upstream version 0.9.12 diff -Nru prosody-0.9.12/debian/patches/0005_net_dns_libevent_luasocket.patch prosody-0.9.12/debian/patches/0005_net_dns_libevent_luasocket.patch --- prosody-0.9.12/debian/patches/0005_net_dns_libevent_luasocket.patch 1970-01-01 01:00:00.000000000 +0100 +++ prosody-0.9.12/debian/patches/0005_net_dns_libevent_luasocket.patch 2017-05-31 09:33:41.000000000 +0200 @@ -0,0 +1,23 @@ +From 9a59674e53fd449c2466975f2401e06872a4bdc3 Mon Sep 17 00:00:00 2001 +From: Kim Alvefur <z...@zash.se> +Date: Fri, 25 Sep 2015 17:32:13 +0200 +Subject: [PATCH] net.dns: Use new IPv4-specific socket factory if available + (fixes dns on libevent with latest development version of luasocket) + +--- + net/dns.lua | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/net/dns.lua b/net/dns.lua +index acc1556c..80bd895c 100644 +--- a/net/dns.lua ++++ b/net/dns.lua +@@ -620,7 +620,7 @@ function resolver:getsocket(servernum) -- - - - - - - - - - - - - getsocket + if peer:find(":") then + sock, err = socket.udp6(); + else +- sock, err = socket.udp(); ++ sock, err = (socket.udp4 or socket.udp)(); + end + if sock and self.socket_wrapper then sock, err = self.socket_wrapper(sock, self); end + if not sock then diff -Nru prosody-0.9.12/debian/patches/series prosody-0.9.12/debian/patches/series --- prosody-0.9.12/debian/patches/series 2017-01-11 09:56:01.000000000 +0100 +++ prosody-0.9.12/debian/patches/series 2017-05-31 09:33:41.000000000 +0200 @@ -2,3 +2,4 @@ 0002-prosody-lua51.patch 0003-buildflags.patch 0004-fix-package.path-of-ejabberd2prosody.patch +0005_net_dns_libevent_luasocket.patch