Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2017 17:46:20 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
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
Message-ID:  <201705301746.v4UHkKwG050494@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705301746.v4UHkKwG050494>