MFC r314895:

Only install 900.tcpwrap if MK_INETD != "no" and MK_TCP_WRAPPERS != "no"

It relies on output from inetd that is triggered by MK_TCP_WRAPPERS=yes.

We need to check for both knobs being set -- otherwise the script doesn't
have much value.

PR:		217577
This commit is contained in:
Enji Cooper 2017-03-16 01:50:11 +00:00
parent 9210846899
commit 00ff22e130
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=315348

View File

@ -11,8 +11,7 @@ FILES= 100.chksetuid \
400.passwdless \
410.logincheck \
700.kernelmsg \
800.loginfail \
900.tcpwrap
800.loginfail
DATA= security.functions
# NB: keep these sorted by MK_* knobs
@ -35,4 +34,8 @@ FILES+= 520.pfdenied
FILES+= 460.chkportsum
.endif
.if ${MK_INETD} != "no" && ${MK_TCP_WRAPPERS} != "no"
FILES+= 900.tcpwrap
.endif
.include <bsd.prog.mk>