Do not install NIS program rc script if WITHOUT_NIS is set

PR:		213375
Submitted by:	sergey@akhmatov.ru
MFC after:	3 days
This commit is contained in:
Baptiste Daroussin 2016-10-22 19:51:32 +00:00
parent a358681e90
commit 62352309a8
2 changed files with 12 additions and 2 deletions

View File

@ -118,14 +118,17 @@ FILES= DAEMON \
ugidfw \
${_utx} \
var \
watchdogd \
ypbind \
watchdogd
.if ${MK_NIS} != "no"
FILES+= ypbind \
ypldap \
yppasswdd \
ypserv \
ypset \
ypupdated \
ypxfrd
.endif
.if ${MK_ACCT} != "no"
FILESGROUPS+= ACCT

View File

@ -6113,6 +6113,13 @@ OLD_FILES+=usr/share/snmp/mibs/BEGEMOT-NETGRAPH.txt
.endif
.if ${MK_NIS} == no
OLD_FILES+=etc/rc.d/ypbind
OLD_FILES+=etc/rc.d/ypldap
OLD_FILES+=etc/rc.d/yppasswdd
OLD_FILES+=etc/rc.d/ypserv
OLD_FILES+=etc/rc.d/ypset
OLD_FILES+=etc/rc.d/ypupdated
OLD_FILES+=etc/rc.d/ypxfrd
OLD_FILES+=usr/bin/ypcat
OLD_FILES+=usr/bin/ypchfn
OLD_FILES+=usr/bin/ypchpass