svn commit: r319243 - in stable/10: share/mk tools/build/options usr.sbin/rpcbind

Ngie Cooper ngie at FreeBSD.org
Tue May 30 17:46:21 UTC 2017


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}


More information about the svn-src-all mailing list