|
|
c671507 |
--- rpcbind-0.1.4/man/rpcbind.8.orig 2004-10-25 08:07:44.000000000 -0400
|
|
|
c671507 |
+++ rpcbind-0.1.4/man/rpcbind.8 2006-08-10 16:19:55.000000000 -0400
|
|
|
c671507 |
@@ -131,6 +131,14 @@ to use non-privileged ports for outgoing
|
|
|
c671507 |
clients from using
|
|
|
c671507 |
.Nm
|
|
|
c671507 |
to connect to services from a privileged port.
|
|
|
c671507 |
+.It Fl w
|
|
|
c671507 |
+Cause
|
|
|
c671507 |
+.Nm
|
|
|
c671507 |
+to do a "warm start" by read a state file (in /tmp) when
|
|
|
c671507 |
+.Nm
|
|
|
c671507 |
+starts up. The state file is created when
|
|
|
c671507 |
+.Nm
|
|
|
c671507 |
+terminates.
|
|
|
c671507 |
.El
|
|
|
c671507 |
.Sh NOTES
|
|
|
c671507 |
All RPC servers must be restarted if
|
|
|
c671507 |
--- rpcbind-0.1.4/src/Makefile.am.orig 2006-08-10 14:56:50.000000000 -0400
|
|
|
c671507 |
+++ rpcbind-0.1.4/src/Makefile.am 2006-08-10 15:36:04.000000000 -0400
|
|
|
c671507 |
@@ -1,5 +1,14 @@
|
|
|
c671507 |
INCLUDES = -I$(srcdir)/tirpc -DPORTMAP -DINET6 -DVERSION="\"$(VERSION)\"" \
|
|
|
c671507 |
-D_GNU_SOURCE -Wall -pipe
|
|
|
c671507 |
+if DEBUG
|
|
|
c671507 |
+INCLUDES += -DRPCBIND_DEBUG -DSVC_RUN_DEBUG -DDEBUG_RMTCALL
|
|
|
c671507 |
+INCLUDES += -DND_DEBUG -DBIND_DEBUG
|
|
|
c671507 |
+endif
|
|
|
c671507 |
+
|
|
|
c671507 |
+if WARMSTART
|
|
|
c671507 |
+INCLUDES += -DWARMSTART
|
|
|
c671507 |
+endif
|
|
|
c671507 |
+
|
|
|
c671507 |
|
|
|
c671507 |
bin_PROGRAMS = rpcbind rpcinfo
|
|
|
c671507 |
|
|
|
c671507 |
@@ -18,10 +27,6 @@ rpcbind_LDFLAGS = -lpthread -ltirpc
|
|
|
c671507 |
rpcbind_LDADD = $(LIB_TIRPC)
|
|
|
c671507 |
AM_CPPFLAGS = -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \
|
|
|
c671507 |
-DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO
|
|
|
c671507 |
-if DEBUG
|
|
|
c671507 |
-INCLUDES += -DRPCBIND_DEBUG -DSVC_RUN_DEBUG -DDEBUG_RMTCALL
|
|
|
c671507 |
-INCLUDES += -DND_DEBUG -DBIND_DEBUG
|
|
|
c671507 |
-endif
|
|
|
c671507 |
|
|
|
c671507 |
$(rpcbind_OBJECTS) : security.o util.o check_bound.o pmap_svc.o \
|
|
|
c671507 |
rpcb_svc.o rpcb_svc_com.o rpcb_svc_4.o \
|
|
|
c671507 |
--- rpcbind-0.1.4/configure.in.orig 2006-08-10 10:47:42.000000000 -0400
|
|
|
c671507 |
+++ rpcbind-0.1.4/configure.in 2006-08-10 15:37:29.000000000 -0400
|
|
|
c671507 |
@@ -18,6 +18,14 @@ AC_ARG_ENABLE(debug,[ --enable-debug
|
|
|
c671507 |
esac],[debug=false])
|
|
|
c671507 |
AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
|
|
|
c671507 |
|
|
|
c671507 |
+AC_ARG_ENABLE(warmstarts,[ --enable-warmstarts Enables Warm Starts],
|
|
|
c671507 |
+ [case "${enableval}" in
|
|
|
c671507 |
+ yes) warmstarts=true ;;
|
|
|
c671507 |
+ no) warmstarts=no ;;
|
|
|
c671507 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-warmstarts) ;;
|
|
|
c671507 |
+ esac],[warmstarts=false])
|
|
|
c671507 |
+AM_CONDITIONAL(WARMSTART, test x$warmstarts = xtrue)
|
|
|
c671507 |
+
|
|
|
c671507 |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h \
|
|
|
c671507 |
netinet/in.h stdlib.h string.h \
|
|
|
c671507 |
sys/param.h sys/socket.h \
|