aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/security
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-08 06:12:16 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-08 06:12:16 +0000
commitd0d6d697886cab05e99442110de5b51183a20ef9 (patch)
tree402d98d939dfa1b1eceab6528a9ddb0fc3dd2cd0 /etc/periodic/security
parentfc674935bc911b572f31722ef8bde2d3f40a7c6c (diff)
downloadsrc-d0d6d697886cab05e99442110de5b51183a20ef9.tar.gz
src-d0d6d697886cab05e99442110de5b51183a20ef9.zip
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 Submitted by: Sergey <kpect@protonmail.com> (MK_TCP_WRAPPERS piece) MFC after: 1 week Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314895
Diffstat (limited to 'etc/periodic/security')
-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 8174133b64bb..353ba6262a3b 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>