From owner-svn-ports-all@freebsd.org Sun Apr 16 16:44:52 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC1C3D40F3F; Sun, 16 Apr 2017 16:44:52 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [IPv6:2a02:6b8:0:1a72::289]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A677BC60; Sun, 16 Apr 2017 16:44:52 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [77.88.29.86]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id 119E520679; Sun, 16 Apr 2017 19:44:49 +0300 (MSK) Received: from smtp3p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3p.mail.yandex.net (Yandex) with ESMTP id 3C9851320063; Sun, 16 Apr 2017 19:44:46 +0300 (MSK) Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id KUm25kRNcX-ikwa7bxi; Sun, 16 Apr 2017 19:44:46 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1492361086; bh=FUZjh88dQBeJuvmrj+7+pUEeSpBmrtB7ANhMuz2H+sU=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=ZqLQZl04O4LU/9G3AS2jIEQQfQh3QQkUUiMl1IT0m7CoH8Jb+xl3mHmHVia93QXTv 5ll7RKQNySIzauDg0aJfXOIoJyv/WcE7XuCrrkCnCNZbLLCJhETWXyVwVTyHGGt9x/ W1D7CKRq1iUFzasUWyg/nKYB9mFHw7JZv8+UKe68= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@passap.ru X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0 Subject: Re: svn commit: r438592 - in head/www/nginx-devel: . files To: "Sergey A. Osokin" Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201704151739.v3FHdat1041522@repo.freebsd.org> <20170415205213.GK85682@FreeBSD.org> From: Boris Samorodov Message-ID: Date: Sun, 16 Apr 2017 19:44:45 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <20170415205213.GK85682@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2017 16:44:53 -0000 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 > #include " > 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."