cvs commit: ports/security/nmap Makefile
ports/security/nmap/files patch-ncat__ncat_core.c
Hajimu UMEMOTO
ume at FreeBSD.org
Tue Apr 21 16:27:24 UTC 2009
Hi,
>>>>> On Tue, 21 Apr 2009 15:36:56 +0000 (UTC)
>>>>> Wesley Shields <wxs at FreeBSD.org> said:
wxs> Modified files:
wxs> security/nmap Makefile Z
wxs> Added files:
wxs> security/nmap/files patch-ncat__ncat_core.c
wxs> Log:
wxs> - Add patch to work around versions of FreeBSD with broken
wxs> getaddrinfo(3) (7.1 and earlier, and -CURRENT before the end of March
wxs> 2009).
wxs>
wxs> PR: ports/133779
wxs> Submitted by: Daniel Roethlisberger <daniel at roe.ch> (maintainer)
It seems this change is not good practice. The original usage of
getadrinfo(3) is not good, in the first place.
You can fix this by just adding ai_socktype hint. The replacement of
patch-ncat__ncat_core.c is attached.
Sorry, but I don't test it, actually. But, it should work. Please,
try it.
Sincerely,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ncat__ncat_core.c
Type: text/x-patch
Size: 411 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20090421/32413b6d/patch-ncat__ncat_core.bin
-------------- next part --------------
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
More information about the cvs-ports
mailing list