Remove the .if ${MK_FOO} wrappers around the user/group ID checks. These

names are referenced in mtree files without any conditional logic, so the
users/groups must exist even if the corresponding tool(s) are disabled.
This commit is contained in:
Ian Lepore 2018-07-22 16:42:22 +00:00
parent 9a23cbc4d4
commit fd46d8a8c6

View File

@ -1175,22 +1175,14 @@ __installcheck_DESTDIR: .PHONY
#
CHECK_UIDS= auditdistd
CHECK_GIDS= audit
.if ${MK_SENDMAIL} != "no"
CHECK_UIDS+= smmsp
CHECK_GIDS+= smmsp
.endif
.if ${MK_PF} != "no"
CHECK_UIDS+= proxy
CHECK_GIDS+= proxy authpf
.endif
.if ${MK_UNBOUND} != "no"
CHECK_UIDS+= unbound
CHECK_GIDS+= unbound
.endif
.if ${MK_NTP} != "no"
CHECK_UIDS+= ntpd
CHECK_GIDS+= ntpd
.endif
_installcheck_world: __installcheck_UGID
__installcheck_UGID: .PHONY
.for uid in ${CHECK_UIDS}