aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rdist/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rdist/Makefile')
-rw-r--r--usr.bin/rdist/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/rdist/Makefile b/usr.bin/rdist/Makefile
index 853439c9f763..83582e09e55a 100644
--- a/usr.bin/rdist/Makefile
+++ b/usr.bin/rdist/Makefile
@@ -2,11 +2,15 @@
PROG= rdist
CFLAGS+=-I${.CURDIR}
-SRCS= docmd.c expand.c lookup.c main.c server.c
+SRCS= docmd.c expand.c lookup.c main.c rshrcmd.c server.c
OBJS+= gram.o
-BINOWN= root
-BINMODE=4555
-INSTALLFLAGS=-fschg
CLEANFILES=y.tab.h
+# To use the old method, which requires setuid-root and all the baggage and
+# security holes that goes with it, uncomment:
+# CFLAGS+= -DDIRECT_RCMD
+# BINOWN= root
+# BINMODE=4555
+# INSTALLFLAGS=-fschg
+
.include <bsd.prog.mk>