svn commit: r438592 - in head/www/nginx-devel: . files

Boris Samorodov bsam at passap.ru
Sun Apr 16 16:44:53 UTC 2017


15.04.2017 23:52, Sergey A. Osokin пишет:
> Hi Boris,
> 
> hope you're doing well.
> 
> On Sat, Apr 15, 2017 at 08:59:06PM +0300, Boris Samorodov wrote:
>> 15.04.2017 20:39, Sergey A. Osokin пишет:
>>> Author: osa
>>> Date: Sat Apr 15 17:39:35 2017
>>> New Revision: 438592
>>> URL:https://svnweb.freebsd.org/changeset/ports/438592
>>>
>>> Log:
>>>     Remove IPV6 knob, IPv6 now compiled-in automatically if support is found.
>>
>> Hm. This ties the decision of if the IPv6 exists/desired at target host
>> to the build host. Is it really intentional?
> 
> Good question!
> 
> Original commit: http://hg.nginx.org/nginx/rev/a6d116645c51
> 
> The configure option `--with-ipv6' isn't avaliable anymore, so it's been removed
> from nginx-devel/Makefile too.
> 
> According to nginx-1.12.0/auto/unix, the nginx tests the IPv6 feature this way:
> 
> # RFC 3542 way to get IPv6 datagram destination address
> 
> ngx_feature="IPV6_RECVPKTINFO"
> ngx_feature_name="NGX_HAVE_IPV6_RECVPKTINFO"
> ngx_feature_run=no
> ngx_feature_incs="#include <sys/socket.h>
>                    #include <netinet/in.h>"
> ngx_feature_path=
> ngx_feature_libs=
> ngx_feature_test="setsockopt(0, IPPROTO_IPV6, IPV6_RECVPKTINFO, NULL, 0)"
> . auto/feature
> 
> A GENERIC kernel contains the INET6 option and both header files are available,
> so, on default FreeBSD installation compiles an nginx with IPv6 support
> by default.

OK, I see your POV.  At least there is an option to explicitly disable
IPv6 at compile time.

Thank you.
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
"It is not necessary to change. Survival is not mandatory."


More information about the svn-ports-head mailing list