summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-03-16 01:48:08 +0000
committerngie <ngie@FreeBSD.org>2017-03-16 01:48:08 +0000
commit00ebf1581fd5fcc381941180a312ca4c7e188cbb (patch)
treefd5826ef3a3a26b9e7a2951a42d9d1a499b97f93 /etc
parentda7958ff12c2a740a444322b9e55833e0ad70f70 (diff)
downloadFreeBSD-src-00ebf1581fd5fcc381941180a312ca4c7e188cbb.zip
FreeBSD-src-00ebf1581fd5fcc381941180a312ca4c7e188cbb.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/periodic/security/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/periodic/security/Makefile b/etc/periodic/security/Makefile
index 8174133..353ba62 100644
--- a/etc/periodic/security/Makefile
+++ b/etc/periodic/security/Makefile
@@ -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
@@ -31,4 +30,8 @@ FILES+= 500.ipfwdenied \
FILES+= 520.pfdenied
.endif
+.if ${MK_INETD} != "no" && ${MK_TCP_WRAPPERS} != "no"
+FILES+= 900.tcpwrap
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud