Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Don't install YP rc.d files with MKYP=no



details:   https://anonhg.NetBSD.org/src/rev/903553b448b6
branches:  trunk
changeset: 450765:903553b448b6
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Apr 25 08:56:21 2019 +0000

description:
Don't install YP rc.d files with MKYP=no

diffstat:

 distrib/sets/lists/etc/mi |  8 ++++----
 etc/rc.d/Makefile         |  9 ++++++---
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (48 lines):

diff -r af10f2469212 -r 903553b448b6 distrib/sets/lists/etc/mi
--- a/distrib/sets/lists/etc/mi Thu Apr 25 08:31:33 2019 +0000
+++ b/distrib/sets/lists/etc/mi Thu Apr 25 08:56:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.256 2019/04/10 00:35:25 sevan Exp $
+# $NetBSD: mi,v 1.257 2019/04/25 08:56:21 roy Exp $
 #
 # Note: end-user configuration files that are moved to another location
 #      should not be marked "obsolete"; they should just be removed from
@@ -318,9 +318,9 @@
 ./etc/rc.d/wscons                              etc-sys-rc
 ./etc/rc.d/wsmoused                            etc-sys-rc
 ./etc/rc.d/xntpd                               etc-obsolete            obsolete
-./etc/rc.d/ypbind                              etc-nis-rc
-./etc/rc.d/yppasswdd                           etc-nis-rc
-./etc/rc.d/ypserv                              etc-nis-rc
+./etc/rc.d/ypbind                              etc-nis-rc              yp
+./etc/rc.d/yppasswdd                           etc-nis-rc              yp
+./etc/rc.d/ypserv                              etc-nis-rc              yp
 ./etc/rc.d/ypset                               etc-obsolete            obsolete
 ./etc/rc.lkm                                   etc-obsolete            obsolete
 ./etc/rc.local                                 etc-sys-rc
diff -r af10f2469212 -r 903553b448b6 etc/rc.d/Makefile
--- a/etc/rc.d/Makefile Thu Apr 25 08:31:33 2019 +0000
+++ b/etc/rc.d/Makefile Thu Apr 25 08:56:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2019/04/10 00:32:15 sevan Exp $
+# $NetBSD: Makefile,v 1.101 2019/04/25 08:56:21 roy Exp $
 
 .include <bsd.own.mk>
 
@@ -40,11 +40,14 @@
                savecore screenblank securelevel sshd \
                staticroute swap1 swap2 sysctl sysdb syslogd \
                timed tpctl ttys \
-               veriexec virecover wdogctl wpa_supplicant wscons wsmoused \
-               ypbind yppasswdd ypserv
+               veriexec virecover wdogctl wpa_supplicant wscons wsmouse
 FILESDIR=      /etc/rc.d
 FILESMODE=     ${BINMODE}
 
+.if ${MKYP} != "no"
+CONFIGFILES+=  ypbind yppasswdd ypserv
+.endif
+
 .if ${MKX11} != "no"
 CONFIGFILES+=  xdm xfs fccache
 FILESBUILD_xdm=        yes



Home | Main Index | Thread Index | Old Index