Hello. File /usr/src/etc/periodic/security/Makefile ought to be modified so that it contains .if ${MK_TCP_WRAPPERS} != "no" FILES+=>900.tcpwrap .endif Regards, Sergey.
A commit references this bug: Author: ngie Date: Wed Mar 8 06:12:16 UTC 2017 New revision: 314895 URL: https://svnweb.freebsd.org/changeset/base/314895 Log: 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 Changes: head/etc/periodic/security/Makefile
in file /usr/src/lib/Makefile /lib/libwrap is also not removed when MK_TCP_WRAPPERS = no.
(In reply to Sergey from comment #2) This is a separate issue that would cause grief for downstream consumers: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216254 . The downstream consumers that always assume libwrap is present need to be fixed (admittedly, I've stalled this work).
Err... it's fixed on ^/head, but is going to be MFCed...
(In reply to Ngie Cooper from comment #4) That's OK )
A commit references this bug: Author: ngie Date: Thu Mar 16 01:48:08 UTC 2017 New revision: 315347 URL: https://svnweb.freebsd.org/changeset/base/315347 Log: 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 Changes: _U stable/11/ stable/11/etc/periodic/security/Makefile
A commit references this bug: Author: ngie Date: Thu Mar 16 01:50:11 UTC 2017 New revision: 315348 URL: https://svnweb.freebsd.org/changeset/base/315348 Log: 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 Changes: _U stable/10/ stable/10/etc/periodic/security/Makefile