From 5351d0d669aaf357b31d421e05f270a7651e1f8b Mon Sep 17 00:00:00 2001 From: markm Date: Wed, 6 Feb 2002 20:39:36 +0000 Subject: Enable TCP_WRAPPERs for the NIS server. The protection afforded is not massive, but usable. --- usr.sbin/ypserv/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ypserv') diff --git a/usr.sbin/ypserv/Makefile b/usr.sbin/ypserv/Makefile index 214b995..30c3f3f 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 -- cgit v1.1