From owner-svn-ports-all@freebsd.org Tue Jan 30 15:51:36 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E14CFED1EE4 for ; Tue, 30 Jan 2018 15:51:35 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B9BD72EEB for ; Tue, 30 Jan 2018 15:51:35 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by mail-it0-x233.google.com with SMTP id n206so1085643itg.1 for ; Tue, 30 Jan 2018 07:51:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunpoet-net.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0gt8ilSL2EHm9s2g/zigFRmHi2Rr/ZGLOUr1mJKgv/8=; b=iRkekZoHj4gBIaOoLFvVT8yr3Yo/xBEEDkwIbdPQHm84LrCwYVG8RcJB8R2hO18UK4 mYi1bGr3BTmtogI83BAlh+aalgzqfkgjKNY9X0MxfYftEc8k2zN+q95C44WZ18fgg4XA /bK+2mR86uHVQHxqn9Sbx67SQl38gZbH+b5ZX7x6jRTGAhBYu54CIm75u2DHsh9XbO+U qGFwRxEjaGJs/ZHL6eSSE6YRhSw26NTMJ7FG+Pe1AWBtrcXCYbp6iLyE4ZKb135shXn8 HzO5GXRcTCPSn5SGykozXXdXVa/NDXLVAQq8EgNeuaNz2tkjEZstpvVugVYAsBbSthUi g4yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0gt8ilSL2EHm9s2g/zigFRmHi2Rr/ZGLOUr1mJKgv/8=; b=mSC+PB3ZDjyfZETk2GoFE5Hsqks09UhMRebe9PeLRCx3WkALJ9i8K+TUVNA4iqnb6x xaAMeLS3OZJgntbWA+Z7qGqOn8I0d40lrsVSxREhVqmI1cM0NMIy6gvWTF0KQW+UPwvD EPf6J3JjeBLdy85/J6OapmslUXjjj/y5fdCnV+T+XyQTM0H85p0T/4hh33OeSRT9d4Jr oVgOT/xXYcqE4PsFLZIpRPrl62G84tsojEDlRgkW8BWkTY0VgDpl2EONOqQ/d8UoL2vu RuysJnEZ0rSYOLD+Djrl+sddA4OKxHLoSdxV0oyRsSq5tbb9P8x2EhjPVAAsMXLd2GLS 3NSg== X-Gm-Message-State: AKwxyteAzXWj+BlnSfeCIVFYlTVsF/TeiElkgojptASqfLTbrDJn0pl9 g05j92BuvDjDEIiTJDoLqtPi3CO3l5JC6FldvNpW9g== X-Google-Smtp-Source: AH8x2275QqbDx4S8wr3etUgqw+8mNBhy53dTMP3O+TF4tVNijJ9nvCpxuUUM9IBtmOfOJevchOzf53hIi3qtJzAXqPE= X-Received: by 10.36.17.208 with SMTP id 199mr31347299itf.103.1517327494513; Tue, 30 Jan 2018 07:51:34 -0800 (PST) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.2.133.1 with HTTP; Tue, 30 Jan 2018 07:50:54 -0800 (PST) In-Reply-To: <201801301344.w0UDijmA083648@repo.freebsd.org> References: <201801301344.w0UDijmA083648@repo.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 30 Jan 2018 23:50:54 +0800 X-Google-Sender-Auth: IoTdUuMZvIBRHkNu1LT2dpw1yzA Message-ID: Subject: Re: svn commit: r460385 - in head/dns: bind9-devel bind911 bind912 To: Mathieu Arnold Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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: Tue, 30 Jan 2018 15:51:36 -0000 On Tue, Jan 30, 2018 at 9:44 PM, Mathieu Arnold wrote: > Author: mat > Date: Tue Jan 30 13:44:44 2018 > New Revision: 460385 > URL: https://svnweb.freebsd.org/changeset/ports/460385 > > Log: > Add a TCP_FASTOPEN option (default on) to allow not building it in. [1] > > It is annoying because it outputs one line saying it cannot enable > TCP_FASTOPEN when the deamon starts. > > While there, discover that FILTER_AAAA is always enabled in 9.12+ and no > longer an option, so remove it. > > These 2 options are also available for dns/bind-tools. It may need PORTREVISION bump. > PR: 217288 [1] (based on) > Reported by: doktornotor mailinator com > Sponsored by: Absolight > > Modified: > head/dns/bind9-devel/Makefile (contents, props changed) > head/dns/bind911/Makefile (contents, props changed) > head/dns/bind912/Makefile (contents, props changed) > > Modified: head/dns/bind9-devel/Makefile > ============================================================ > ================== > --- head/dns/bind9-devel/Makefile Tue Jan 30 12:35:05 2018 > (r460384) > +++ head/dns/bind9-devel/Makefile Tue Jan 30 13:44:44 2018 > (r460385) > @@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc > PORTREVISION= 0 > .else > # dns/bind9xx here > -PORTREVISION= 0 > +PORTREVISION= 1 > .endif > CATEGORIES= dns net ipv6 > MASTER_SITES= LOCAL/mat/bind > @@ -69,9 +69,9 @@ MAKE_JOBS_UNSAFE= yes > > PORTDOCS= * > > -OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON > +OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON > TCP_FASTOPEN > OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \ > - FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA > + FIXED_RRSET SIGCHASE IPV6 THREADS TCP_FASTOPEN > > OPTIONS_RADIO= CRYPTO GOSTDEF > OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11 > @@ -100,7 +100,6 @@ DLZ_MYSQL_DESC= DLZ MySQL driver (no > threading) > DLZ_POSTGRESQL_DESC= DLZ Postgres driver > DLZ_STUB_DESC= DLZ stub driver > DNSTAP_DESC= Provides fast passive logging of DNS messages > -FILTER_AAAA_DESC= Enable filtering of AAAA records > FIXED_RRSET_DESC= Enable fixed rrset ordering > GEOIP_DESC= Allow geographically based ACL. > GOSTDEF_DESC= Enable GOST ciphers, needs SSL > @@ -122,6 +121,7 @@ RPZ_NSIP_DESC= Enable RPZ NSIP trigger > rules > SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation > SSL_DESC= Build with OpenSSL (Required for DNSSEC) > START_LATE_DESC= Start BIND late in the boot process (see help) > +TCP_FASTOPEN_DESC= RFC 7413 support > TUNING_LARGE_DESC= Tune named for large systems (**READ HELP**) > > DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes > @@ -146,8 +146,6 @@ DNSTAP_IMPLIES= THREADS > DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ > libprotobuf-c.so:devel/protobuf-c > > -FILTER_AAAA_CONFIGURE_ENABLE= filter-aaaa > - > FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset > > GEOIP_CONFIGURE_WITH= geoip > @@ -212,6 +210,8 @@ START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS > cleanvar" > NAMED_BEFORE="LOGIN" > START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \ > NAMED_BEFORE="SERVERS" > + > +TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen > > THREADS_CONFIGURE_ENABLE= threads > > > Modified: head/dns/bind911/Makefile > ============================================================ > ================== > --- head/dns/bind911/Makefile Tue Jan 30 12:35:05 2018 (r460384) > +++ head/dns/bind911/Makefile Tue Jan 30 13:44:44 2018 (r460385) > @@ -3,7 +3,7 @@ > > PORTNAME= bind > PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/} > -PORTREVISION= 1 > +PORTREVISION= 2 > CATEGORIES= dns net ipv6 > MASTER_SITES= ISC/bind9/${ISCVERSION} > PKGNAMESUFFIX= 911 > @@ -48,12 +48,12 @@ MAKE_JOBS_UNSAFE= yes > PORTDOCS= * > > OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON \ > - DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP > + DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP > TCP_FASTOPEN > OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \ > FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA \ > RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \ > MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \ > - START_LATE TUNING_LARGE > + START_LATE TUNING_LARGE TCP_FASTOPEN > > OPTIONS_RADIO= CRYPTO GOSTDEF > OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11 > @@ -98,6 +98,7 @@ RPZ_NSIP_DESC= Enable RPZ NSIP trigger > rules > SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation > SSL_DESC= Build with OpenSSL (Required for DNSSEC) > START_LATE_DESC= Start BIND late in the boot process (see help) > +TCP_FASTOPEN_DESC= RFC 7413 support > TUNING_LARGE_DESC= Tune named for large systems (**READ HELP**) > > DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes > @@ -221,6 +222,9 @@ post-patch-PORTREVISION-on: > @${REINPLACE_CMD} -e '/EXTENSIONS/s#=$$#=_${PORTREVISION}#' \ > ${WRKSRC}/version > .endif > + > +post-patch-TCP_FASTOPEN-off: > + @${REINPLACE_CMD} -e 's/#define ISC_PLATFORM_HAVETFO 1/#undef > ISC_PLATFORM_HAVETFO/' ${WRKSRC}/configure > > post-install: > ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree > > Modified: head/dns/bind912/Makefile > ============================================================ > ================== > --- head/dns/bind912/Makefile Tue Jan 30 12:35:05 2018 (r460384) > +++ head/dns/bind912/Makefile Tue Jan 30 13:44:44 2018 (r460385) > @@ -8,7 +8,7 @@ PORTVERSION= ${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc > PORTREVISION= 0 > .else > # dns/bind912 here > -PORTREVISION= 0 > +PORTREVISION= 1 > .endif > CATEGORIES= dns net ipv6 > MASTER_SITES= ISC/bind9/${ISCVERSION} > @@ -67,9 +67,9 @@ MAKE_JOBS_UNSAFE= yes > > PORTDOCS= * > > -OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON > +OPTIONS_DEFAULT= SSL THREADS SIGCHASE IDN GSSAPI_NONE JSON PYTHON > TCP_FASTOPEN > OPTIONS_DEFINE= IDN LARGE_FILE PYTHON JSON \ > - FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA > + FIXED_RRSET SIGCHASE IPV6 THREADS TCP_FASTOPEN > > OPTIONS_RADIO= CRYPTO GOSTDEF > OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11 > @@ -98,7 +98,6 @@ DLZ_MYSQL_DESC= DLZ MySQL driver (no > threading) > DLZ_POSTGRESQL_DESC= DLZ Postgres driver > DLZ_STUB_DESC= DLZ stub driver > DNSTAP_DESC= Provides fast passive logging of DNS messages > -FILTER_AAAA_DESC= Enable filtering of AAAA records > FIXED_RRSET_DESC= Enable fixed rrset ordering > GEOIP_DESC= Allow geographically based ACL. > GOSTDEF_DESC= Enable GOST ciphers, needs SSL > @@ -120,6 +119,7 @@ RPZ_NSIP_DESC= Enable RPZ NSIP trigger > rules > SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation > SSL_DESC= Build with OpenSSL (Required for DNSSEC) > START_LATE_DESC= Start BIND late in the boot process (see help) > +TCP_FASTOPEN_DESC= RFC 7413 support > TUNING_LARGE_DESC= Tune named for large systems (**READ HELP**) > > DLZ_BDB_CONFIGURE_ON= --with-dlz-bdb=yes > @@ -144,8 +144,6 @@ DNSTAP_IMPLIES= THREADS > DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \ > libprotobuf-c.so:devel/protobuf-c > > -FILTER_AAAA_CONFIGURE_ENABLE= filter-aaaa > - > FIXED_RRSET_CONFIGURE_ENABLE= fixed-rrset > > GEOIP_CONFIGURE_WITH= geoip > @@ -210,6 +208,8 @@ START_LATE_SUB_LIST= NAMED_REQUIRE="SERVERS > cleanvar" > NAMED_BEFORE="LOGIN" > START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldconfig syslogd" \ > NAMED_BEFORE="SERVERS" > + > +TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen > > THREADS_CONFIGURE_ENABLE= threads > > >