Date: Sun, 16 Apr 2017 19:44:45 +0300 From: Boris Samorodov <bsam@passap.ru> To: "Sergey A. Osokin" <osa@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r438592 - in head/www/nginx-devel: . files Message-ID: <ed55b4f7-10c9-dfc0-2a3f-27197060b1b1@passap.ru> In-Reply-To: <20170415205213.GK85682@FreeBSD.org> References: <201704151739.v3FHdat1041522@repo.freebsd.org> <a4ba8140-d31f-03a0-133d-76ba16537fc9@passap.ru> <20170415205213.GK85682@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed55b4f7-10c9-dfc0-2a3f-27197060b1b1>