aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2002-02-06 20:39:36 +0000
committerMark Murray <markm@FreeBSD.org>2002-02-06 20:39:36 +0000
commitadb79039fd0fd0506fe65c162d95b9738fa4ad46 (patch)
treeefc7e3687dff5257969f07b17832d8790937105a /usr.sbin/ypserv
parent4ad88f2ca4397cec0afeb9b7d23bd0f6924222f9 (diff)
downloadsrc-adb79039fd0fd0506fe65c162d95b9738fa4ad46.tar.gz
src-adb79039fd0fd0506fe65c162d95b9738fa4ad46.zip
Enable TCP_WRAPPERs for the NIS server. The protection afforded is
not massive, but usable.
Notes
Notes: svn path=/head/; revision=90319
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/Makefile b/usr.sbin/ypserv/Makefile
index 214b9958603f..30c3f3f1109b 100644
--- a/usr.sbin/ypserv/Makefile
+++ b/usr.sbin/ypserv/Makefile
@@ -8,7 +8,10 @@ MAN= ypserv.8 ypinit.8
SRCS= yp_svc.c yp_server.c yp_dblookup.c yp_dnslookup.c \
ypxfr_clnt.c yp.h yp_main.c yp_error.c yp_access.c yp_svc_udp.c
-CFLAGS+= -I. -DDB_CACHE
+DPADD= ${LIBWRAP}
+LDADD= -lwrap
+
+CFLAGS+= -I. -DDB_CACHE -DTCP_WRAPPER
CLEANFILES= yp_svc.c ypxfr_clnt.c yp.h