From owner-svn-src-stable-10@freebsd.org Tue May 30 17:46:21 2017 Return-Path: Delivered-To: svn-src-stable-10@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 8BE59B9513A; Tue, 30 May 2017 17:46:21 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55DBB727C4; Tue, 30 May 2017 17:46:21 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4UHkK0L050497; Tue, 30 May 2017 17:46:20 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4UHkKwG050494; Tue, 30 May 2017 17:46:20 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201705301746.v4UHkKwG050494@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Tue, 30 May 2017 17:46:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r319243 - in stable/10: share/mk tools/build/options usr.sbin/rpcbind X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 17:46:21 -0000 Author: ngie Date: Tue May 30 17:46:19 2017 New Revision: 319243 URL: https://svnweb.freebsd.org/changeset/base/319243 Log: MFC r317168: Add a knob, WITH*_RPCBIND_WARMSTART_SUPPORT, to allow the end-user to build rpcbind(8) with/without warmstart support. The knob defaults to off to preserve POLA for the feature. See rpcbind(8) for more details about the warmstart feature. Relnotes: yes Added: stable/10/tools/build/options/WITH_RPCBIND_WARMSTART_SUPPORT - copied unchanged from r317168, head/tools/build/options/WITH_RPCBIND_WARMSTART_SUPPORT Modified: stable/10/share/mk/bsd.own.mk stable/10/usr.sbin/rpcbind/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/share/mk/bsd.own.mk ============================================================================== --- stable/10/share/mk/bsd.own.mk Tue May 30 17:42:48 2017 (r319242) +++ stable/10/share/mk/bsd.own.mk Tue May 30 17:46:19 2017 (r319243) @@ -406,6 +406,7 @@ __DEFAULT_NO_OPTIONS = \ NAND \ OFED \ PKGTOOLS \ + RPCBIND_WARMSTART_SUPPORT \ SHARED_TOOLCHAIN \ SVN \ TESTS \ Copied: stable/10/tools/build/options/WITH_RPCBIND_WARMSTART_SUPPORT (from r317168, head/tools/build/options/WITH_RPCBIND_WARMSTART_SUPPORT) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/10/tools/build/options/WITH_RPCBIND_WARMSTART_SUPPORT Tue May 30 17:46:19 2017 (r319243, copy of r317168, head/tools/build/options/WITH_RPCBIND_WARMSTART_SUPPORT) @@ -0,0 +1,4 @@ +.\" $FreeBSD$ +Set to build +.Xr rpcbind 8 +with warmstart support. Modified: stable/10/usr.sbin/rpcbind/Makefile ============================================================================== --- stable/10/usr.sbin/rpcbind/Makefile Tue May 30 17:42:48 2017 (r319242) +++ stable/10/usr.sbin/rpcbind/Makefile Tue May 30 17:46:19 2017 (r319243) @@ -14,6 +14,10 @@ CFLAGS+= -DPORTMAP CFLAGS+= -DINET6 .endif +.if ${MK_RPCBIND_WARMSTART_SUPPORT} != "no" +CFLAGS+= -DWARMSTART +.endif + .if ${MK_TCP_WRAPPERS} != "no" CFLAGS+= -DLIBWRAP DPADD+= ${LIBWRAP}