Bug 243721

Summary: www/fcgiwrap: please add IPv6 support
Product: Ports & Packages Reporter: olaf
Component: Individual Port(s)Assignee: Rodrigo Osorio <rodrigo>
Status: Closed FIXED    
Severity: Affects Only Me CC: w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description olaf 2020-01-30 09:46:35 UTC
fcgiwrap obviously does not support IPv6 although the man page says it does.

# /usr/local/sbin/fcgiwrap -s 'tcp6:[::1]:8999'
Failed to bind: Can't assign requested address

# telnet  ::1 8999
Trying ::1...
telnet: connect to address ::1: Connection refused
telnet: Unable to connect to remote host

# /usr/local/sbin/fcgiwrap -s 'tcp:127.0.0.1:8999'
# telnet 127.0.0.1 8999
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-03-28 17:50:36 UTC
A commit references this bug:

Author: rodrigo
Date: Sat Mar 28 17:49:37 UTC 2020
New revision: 529749
URL: https://svnweb.freebsd.org/changeset/ports/529749

Log:
  www/fcgiwrap: fix IPv6 support

  Extend existing patch to fix IPv6 support.
  Bump PORTREVISION

  The fix zero-out the sockaddr structure before
  using it as a sockaddr_in6 structure as explained
  by IEEE Std 1003.1.

  The patch was upstremed : https://github.com/gnosek/fcgiwrap/pull/51

  PR:		243721
  Reported by:	<olaf@zaplinski.de>

Changes:
  head/www/fcgiwrap/Makefile
  head/www/fcgiwrap/files/fcgiwrap.in
  head/www/fcgiwrap/files/patch-fcgiwrap.c
Comment 2 Rodrigo Osorio freebsd_committer freebsd_triage 2020-03-28 17:54:22 UTC
Thanks for the report, I did a fix in the
port itself, and committed it.

Feel free to update your version and tests it.
The fix was also upstream to the port maintainer.

Once again, thanks for the report and sorry for the delay.