Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin mk: Allow building base without the MBONE applicati...
details: https://anonhg.NetBSD.org/src/rev/4174187e58b6
branches: trunk
changeset: 366400:4174187e58b6
user: nia <nia%NetBSD.org@localhost>
date: Wed May 25 10:18:28 2022 +0000
description:
mk: Allow building base without the MBONE applications by setting
MKMBONE=no in mk.conf
diffstat:
distrib/sets/lists/base/mi | 10 +++++-----
distrib/sets/lists/etc/mi | 6 +++---
distrib/sets/lists/man/mi | 26 +++++++++++++-------------
etc/Makefile | 8 ++++++--
etc/mtree/special | 6 +++---
etc/rc.d/Makefile | 8 ++++++--
share/man/man5/mk.conf.5 | 15 +++++++++++++--
share/mk/bsd.README | 6 +++++-
share/mk/bsd.own.mk | 3 ++-
usr.sbin/Makefile | 10 +++++++---
10 files changed, 63 insertions(+), 35 deletions(-)
diffs (truncated from 324 to 300 lines):
diff -r c81b38d0b5c4 -r 4174187e58b6 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Wed May 25 09:35:58 2022 +0000
+++ b/distrib/sets/lists/base/mi Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1298 2022/05/15 00:24:14 mrg Exp $
+# $NetBSD: mi,v 1.1299 2022/05/25 10:18:29 nia Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -1570,7 +1570,7 @@
./usr/sbin/makefs base-sysutil-bin
./usr/sbin/makemandb base-man-bin makemandb
./usr/sbin/makemap base-obsolete obsolete
-./usr/sbin/map-mbone base-netutil-bin
+./usr/sbin/map-mbone base-netutil-bin mbone
./usr/sbin/mbrlabel base-obsolete obsolete
./usr/sbin/mdconfig base-sysutil-bin
./usr/sbin/mdnsd base-mdns-bin mdns
@@ -1593,10 +1593,10 @@
./usr/sbin/mount_sysctlfs base-puffs-bin
./usr/sbin/mountd base-nfsserver-bin
./usr/sbin/moused base-sysutil-bin
-./usr/sbin/mrinfo base-router-bin
-./usr/sbin/mrouted base-router-bin
+./usr/sbin/mrinfo base-router-bin mbone
+./usr/sbin/mrouted base-router-bin mbone
./usr/sbin/mscdlabel base-sysutil-bin
-./usr/sbin/mtrace base-netutil-bin
+./usr/sbin/mtrace base-netutil-bin mbone
./usr/sbin/mtrace6 base-obsolete obsolete
./usr/sbin/mtree base-sysutil-bin
./usr/sbin/named base-bind-bin
diff -r c81b38d0b5c4 -r 4174187e58b6 distrib/sets/lists/etc/mi
--- a/distrib/sets/lists/etc/mi Wed May 25 09:35:58 2022 +0000
+++ b/distrib/sets/lists/etc/mi Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.265 2021/01/26 13:31:19 martin Exp $
+# $NetBSD: mi,v 1.266 2022/05/25 10:18:29 nia Exp $
#
# Note: end-user configuration files that are moved to another location
# should not be marked "obsolete"; they should just be removed from
@@ -97,7 +97,7 @@
./etc/monthly etc-sys-etc
./etc/monthly.conf etc-sys-etc
./etc/motd etc-sys-etc
-./etc/mrouted.conf etc-router-etc
+./etc/mrouted.conf etc-router-etc mbone
./etc/mtree/NetBSD.dist etc-sys-etc
./etc/mtree/set.etc etc-sys-etc
./etc/mtree/special etc-sys-etc
@@ -263,7 +263,7 @@
./etc/rc.d/mountcritremote etc-sys-rc
./etc/rc.d/mountd etc-nfsserver-rc
./etc/rc.d/moused etc-sysutil-rc
-./etc/rc.d/mrouted etc-router-rc
+./etc/rc.d/mrouted etc-router-rc mbone
./etc/rc.d/named etc-bind-rc
./etc/rc.d/ndbootd etc-bootserver-rc
./etc/rc.d/network etc-net-rc
diff -r c81b38d0b5c4 -r 4174187e58b6 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Wed May 25 09:35:58 2022 +0000
+++ b/distrib/sets/lists/man/mi Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1739 2022/05/13 16:39:33 brad Exp $
+# $NetBSD: mi,v 1.1740 2022/05/25 10:18:29 nia Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -2811,7 +2811,7 @@
./usr/share/man/cat8/makemandb.0 man-man-catman makemandb,.cat
./usr/share/man/cat8/makemap.0 man-obsolete obsolete
./usr/share/man/cat8/makewhatis.0 man-man-catman !makemandb,.cat
-./usr/share/man/cat8/map-mbone.0 man-netutil-catman .cat
+./usr/share/man/cat8/map-mbone.0 man-netutil-catman mbone,.cat
./usr/share/man/cat8/master.0 man-postfix-catman postfix,.cat
./usr/share/man/cat8/mbr.0 man-obsolete obsolete
./usr/share/man/cat8/mbrlabel.0 man-sysutil-catman .cat
@@ -2874,10 +2874,10 @@
./usr/share/man/cat8/mount_zfs.0 man-sysutil-catman zfs,.cat
./usr/share/man/cat8/mountd.0 man-nfsserver-catman .cat
./usr/share/man/cat8/moused.0 man-sysutil-catman .cat
-./usr/share/man/cat8/mrinfo.0 man-netutil-catman .cat
-./usr/share/man/cat8/mrouted.0 man-router-catman .cat
+./usr/share/man/cat8/mrinfo.0 man-netutil-catman mbone,.cat
+./usr/share/man/cat8/mrouted.0 man-router-catman mbone,.cat
./usr/share/man/cat8/mscdlabel.0 man-sysutil-catman .cat
-./usr/share/man/cat8/mtrace.0 man-netutil-catman .cat
+./usr/share/man/cat8/mtrace.0 man-netutil-catman mbone,.cat
./usr/share/man/cat8/mtrace6.0 man-obsolete obsolete
./usr/share/man/cat8/mtree.0 man-sysutil-catman .cat
./usr/share/man/cat8/mvme68k/MAKEDEV.0 man-obsolete obsolete
@@ -5869,7 +5869,7 @@
./usr/share/man/html8/makekey.html man-crypto-htmlman html
./usr/share/man/html8/makemandb.html man-man-htmlman makemandb,html
./usr/share/man/html8/makewhatis.html man-man-htmlman !makemandb,html
-./usr/share/man/html8/map-mbone.html man-netutil-htmlman html
+./usr/share/man/html8/map-mbone.html man-netutil-htmlman mbone,html
./usr/share/man/html8/master.html man-postfix-htmlman postfix,html
./usr/share/man/html8/mbrlabel.html man-sysutil-htmlman html
./usr/share/man/html8/mdconfig.html man-sysutil-htmlman html
@@ -5926,10 +5926,10 @@
./usr/share/man/html8/mount_zfs.html man-sysutil-htmlman zfs,html
./usr/share/man/html8/mountd.html man-nfsserver-htmlman html
./usr/share/man/html8/moused.html man-sysutil-htmlman html
-./usr/share/man/html8/mrinfo.html man-netutil-htmlman html
-./usr/share/man/html8/mrouted.html man-router-htmlman html
+./usr/share/man/html8/mrinfo.html man-netutil-htmlman mbone,html
+./usr/share/man/html8/mrouted.html man-router-htmlman mbone,html
./usr/share/man/html8/mscdlabel.html man-sysutil-htmlman html
-./usr/share/man/html8/mtrace.html man-netutil-htmlman html
+./usr/share/man/html8/mtrace.html man-netutil-htmlman mbone,html
./usr/share/man/html8/mtree.html man-sysutil-htmlman html
./usr/share/man/html8/mvme68k/boot.html man-sys-htmlman html
./usr/share/man/html8/mvme68k/installboot.html man-sysutil-htmlman html
@@ -9097,7 +9097,7 @@
./usr/share/man/man8/makemandb.8 man-man-man makemandb,.man
./usr/share/man/man8/makemap.8 man-obsolete obsolete
./usr/share/man/man8/makewhatis.8 man-man-man !makemandb,.man
-./usr/share/man/man8/map-mbone.8 man-netutil-man .man
+./usr/share/man/man8/map-mbone.8 man-netutil-man mbone,.man
./usr/share/man/man8/master.8 man-postfix-man postfix,.man
./usr/share/man/man8/mbr.8 man-obsolete obsolete
./usr/share/man/man8/mbrlabel.8 man-sysutil-man .man
@@ -9160,10 +9160,10 @@
./usr/share/man/man8/mount_zfs.8 man-sysutil-man zfs,.man
./usr/share/man/man8/mountd.8 man-nfsserver-man .man
./usr/share/man/man8/moused.8 man-sysutil-man .man
-./usr/share/man/man8/mrinfo.8 man-netutil-man .man
-./usr/share/man/man8/mrouted.8 man-router-man .man
+./usr/share/man/man8/mrinfo.8 man-netutil-man mbone,.man
+./usr/share/man/man8/mrouted.8 man-router-man mbone,.man
./usr/share/man/man8/mscdlabel.8 man-sysutil-man .man
-./usr/share/man/man8/mtrace.8 man-netutil-man .man
+./usr/share/man/man8/mtrace.8 man-netutil-man mbone,.man
./usr/share/man/man8/mtrace6.8 man-obsolete obsolete
./usr/share/man/man8/mtree.8 man-sysutil-man .man
./usr/share/man/man8/mvme68k/MAKEDEV.8 man-obsolete obsolete
diff -r c81b38d0b5c4 -r 4174187e58b6 etc/Makefile
--- a/etc/Makefile Wed May 25 09:35:58 2022 +0000
+++ b/etc/Makefile Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.458 2022/01/05 01:46:28 kre Exp $
+# $NetBSD: Makefile,v 1.459 2022/05/25 10:18:29 nia Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -105,12 +105,16 @@
csh.logout daily daily.conf dm.conf envsys.conf floppytab ftpchroot \
ftpusers gettytab gpio.conf group hosts hosts.lpd inetd.conf \
locate.conf login.conf mailer.conf man.conf monthly monthly.conf \
- mrouted.conf named.conf netconfig networks newsyslog.conf \
+ named.conf netconfig networks newsyslog.conf \
nsswitch.conf ntp.conf passwd.conf pkgpath.conf phones printcap \
profile protocols rbootd.conf rc rc.conf rc.local rc.subr \
rc.shutdown remote rpc security security.conf services shells \
shrc sysctl.conf syslog.conf weekly weekly.conf wscons.conf
+.if ${MKMBONE} != "no"
+BIN1+= mrouted.conf
+.endif
+
# Use machine-specific disktab if it exists, or the MI one otherwise
.if exists(etc.${MACHINE}/disktab)
BIN1+= etc.${MACHINE}/disktab
diff -r c81b38d0b5c4 -r 4174187e58b6 etc/mtree/special
--- a/etc/mtree/special Wed May 25 09:35:58 2022 +0000
+++ b/etc/mtree/special Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: special,v 1.172 2021/11/30 06:21:58 simonb Exp $
+# $NetBSD: special,v 1.173 2022/05/25 10:18:29 nia Exp $
# @(#)special 8.2 (Berkeley) 1/23/94
#
# This file may be overwritten on upgrades.
@@ -116,7 +116,7 @@
./etc/monthly type=file mode=0644
./etc/monthly.conf type=file mode=0644
./etc/monthly.local type=file mode=0644 optional
-./etc/mrouted.conf type=file mode=0644
+./etc/mrouted.conf type=file mode=0644 optional
./etc/mtree type=dir mode=0755
./etc/mtree/special type=file mode=0444
./etc/mtree/special.local type=file mode=0644 optional
@@ -249,7 +249,7 @@
./etc/rc.d/mountcritremote type=file mode=0555
./etc/rc.d/mountd type=file mode=0555
./etc/rc.d/moused type=file mode=0555
-./etc/rc.d/mrouted type=file mode=0555
+./etc/rc.d/mrouted type=file mode=0555 optional
./etc/rc.d/named type=file mode=0555
./etc/rc.d/ndbootd type=file mode=0555
./etc/rc.d/network type=file mode=0555
diff -r c81b38d0b5c4 -r 4174187e58b6 etc/rc.d/Makefile
--- a/etc/rc.d/Makefile Wed May 25 09:35:58 2022 +0000
+++ b/etc/rc.d/Makefile Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.111 2021/01/26 15:08:02 martin Exp $
+# $NetBSD: Makefile,v 1.112 2022/05/25 10:18:29 nia Exp $
.include <bsd.own.mk>
@@ -29,7 +29,7 @@
kdc \
ldconfig ldpd lvmlockdir local lpd lvm \
makemandb mdnsd mixerctl modules mopd motd mountall \
- mountcritlocal mountcritremote mountd moused mrouted \
+ mountcritlocal mountcritremote mountd moused \
named ndbootd network newsyslog nfsd nfslocking npf npf_boot \
npfd ntpd ntpdate \
perusertmp pf pf_boot pflogd postfix powerd ppp pwcheck \
@@ -44,6 +44,10 @@
FILESDIR= /etc/rc.d
FILESMODE= ${BINMODE}
+.if ${MKMBONE} != "no"
+CONFIGFILES+= mrouted
+.endif
+
.if ${MKYP} != "no"
CONFIGFILES+= ypbind yppasswdd ypserv
.endif
diff -r c81b38d0b5c4 -r 4174187e58b6 share/man/man5/mk.conf.5
--- a/share/man/man5/mk.conf.5 Wed May 25 09:35:58 2022 +0000
+++ b/share/man/man5/mk.conf.5 Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: mk.conf.5,v 1.85 2021/12/20 20:33:20 christos Exp $
+.\" $NetBSD: mk.conf.5,v 1.86 2022/05/25 10:18:29 nia Exp $
.\"
.\" Copyright (c) 1999-2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 20, 2021
+.Dd May 23, 2022
.Dt MK.CONF 5
.Os
.\" turn off hyphenation
@@ -627,6 +627,17 @@
at installation time.
.DFLTn
.
+.It Sy MKMBONE
+.YorN
+Indicates whether Multicast Backbone applications will be built and
+installed, i.e.
+.Xr map-mbone 8 ,
+.Xr mrinfo 8 ,
+.Xr mrouted 8 ,
+and
+.Xr mtrace 8 .
+.DFLTy
+.
.It Sy MKMDNS
.YorN
Indicates whether the mDNS (Multicast DNS) infrastructure
diff -r c81b38d0b5c4 -r 4174187e58b6 share/mk/bsd.README
--- a/share/mk/bsd.README Wed May 25 09:35:58 2022 +0000
+++ b/share/mk/bsd.README Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.README,v 1.429 2022/05/20 21:31:24 andvar Exp $
+# $NetBSD: bsd.README,v 1.430 2022/05/25 10:18:29 nia Exp $
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
This is the README file for the make "include" files for the NetBSD
@@ -369,6 +369,10 @@
MKMANZ If not "no", compress manual pages at installation time.
Default: no
+MKMBONE If "no", don't build or install Multicast Backbone
+ applications.
+ Default: yes
+
MKMDNS If "no", disables building of mDNS infrastructure
(libraries and support programs).
Default: yes
diff -r c81b38d0b5c4 -r 4174187e58b6 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Wed May 25 09:35:58 2022 +0000
+++ b/share/mk/bsd.own.mk Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1276 2022/03/29 22:48:04 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.1277 2022/05/25 10:18:29 nia Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -1159,6 +1159,7 @@
MKKMOD \
MKLDAP MKLIBSTDCXX MKLINKLIB MKLVM \
MKMAN MKMANDOC \
+ MKMBONE \
MKMDNS \
MKMAKEMANDB \
MKNLS \
diff -r c81b38d0b5c4 -r 4174187e58b6 usr.sbin/Makefile
--- a/usr.sbin/Makefile Wed May 25 09:35:58 2022 +0000
+++ b/usr.sbin/Makefile Wed May 25 10:18:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.286 2022/01/23 14:35:44 christos Exp $
+# $NetBSD: Makefile,v 1.287 2022/05/25 10:18:28 nia Exp $
# from: @(#)Makefile 5.20 (Berkeley) 6/12/93
Home |
Main Index |
Thread Index |
Old Index