Package: spawn-fcgi Version: 1.6.4-1 Severity: normal Tags: upstream patch ipv6
Dear Maintainer, I wanted to run spawn-fcgi on an IPv6 address and port. However any IPv6 addresses were rejected. Looking at the output of: $ spawn-fcgi -v spawn-fcgi v1.6.4 - spawns FastCGI processes does not indicate any IPv6 support either, while it should according to upstream. I attached a patch for configure.ac that I believe fixes this bug. -- System Information: Debian Release: 8.8 APT prefers oldstable APT policy: (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages spawn-fcgi depends on: ii libc6 2.19-18+deb8u10 spawn-fcgi recommends no packages. spawn-fcgi suggests no packages. -- no debconf information
>From dbed609d7255e2f21675c120ce28872f2c2709e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= <t...@bastelstu.be> Date: Sun, 16 Jul 2017 00:19:51 +0200 Subject: [PATCH] Fix detection of IPv6 support in generated configure script --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b1a7401..742843d 100644 --- a/configure.ac +++ b/configure.ac @@ -75,13 +75,13 @@ AC_ARG_ENABLE(ipv6, if test x$ipv6 = xtrue; then AC_CACHE_CHECK([for IPv6 support], ac_cv_ipv6_support, - [AC_TRY_LINK([[ + [AC_TRY_LINK([ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> - ]], [[ + ], [ struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] = 0; - ]], [ac_cv_ipv6_support=yes], [ac_cv_ipv6_support=no])]) + ], [ac_cv_ipv6_support=yes], [ac_cv_ipv6_support=no])]) if test "$ac_cv_ipv6_support" = yes; then AC_DEFINE(HAVE_IPV6,1,[Whether to enable IPv6 support]) -- 2.13.0