Fill in MK_ACPI, (MK_ACPI && MK_APM), MK_INET6, MK_PPP, and MK_ROUTED

Rework script dependencies to allow everything made optional to more optional
This commit is contained in:
Enji Cooper 2014-11-30 06:08:22 +00:00
parent c696ccf200
commit 2b0cb1247a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/building-blocks/; revision=275300
17 changed files with 50 additions and 32 deletions

View File

@ -40,7 +40,6 @@ FILES= DAEMON \
hostid_save \ hostid_save \
hostname \ hostname \
${_inetd} \ ${_inetd} \
ip6addrctl \
ipfilter \ ipfilter \
ipfs \ ipfs \
ipfw \ ipfw \
@ -65,8 +64,6 @@ FILES= DAEMON \
mdconfig \ mdconfig \
mdconfig2 \ mdconfig2 \
mountd \ mountd \
mroute6d \
mrouted \
msgs \ msgs \
natd \ natd \
netif \ netif \
@ -82,34 +79,21 @@ FILES= DAEMON \
pf \ pf \
pflog \ pflog \
pfsync \ pfsync \
powerd \
power_profile \
ppp \
pppoed \
pwcheck \ pwcheck \
quota \ quota \
random \ random \
rarpd \ rarpd \
rctl \ rctl \
resolv \ resolv \
rfcomm_pppd_server \
root \ root \
route6d \
routed \
routing \ routing \
rpcbind \ rpcbind \
rtadvd \
rtsold \
savecore \ savecore \
sdpd \
securelevel \ securelevel \
serial \ serial \
sppp \
${_sshd} \ ${_sshd} \
statd \ statd \
static_arp \ static_arp \
static_ndp \
stf \
swap \ swap \
swaplate \ swaplate \
sysctl \ sysctl \
@ -132,6 +116,14 @@ FILES= DAEMON \
FILES+= accounting FILES+= accounting
.endif .endif
.if ${MK_ACPI} != "no"
FILES+= power_profile
.endif
.if ${MK_ACPI} != "no" || ${MK_APM} != "no"
FILES+= powerd
.endif
.if ${MK_AMD} != "no" .if ${MK_AMD} != "no"
FILES+= amd FILES+= amd
.endif .endif
@ -162,6 +154,8 @@ FILES+= autounmountd
_bluetooth= bluetooth _bluetooth= bluetooth
_bthidd= bthidd _bthidd= bthidd
_hcsecd= hcsecd _hcsecd= hcsecd
FILES+= rfcomm_pppd_server
FILES+= sdpd
_ubthidhci= ubthidhci _ubthidhci= ubthidhci
.endif .endif
@ -197,6 +191,16 @@ FILES+= hastd
_inetd= inetd _inetd= inetd
.endif .endif
.if ${MK_INET6} != "no"
FILES+= ip6addrctl
FILES+= mroute6d
FILES+= route6d
FILES+= stf
FILES+= rtadvd
FILES+= rtsold
FILES+= static_ndp
.endif
.if ${MK_ISCSI} != "no" .if ${MK_ISCSI} != "no"
FILES+= iscsictl FILES+= iscsictl
FILES+= iscsid FILES+= iscsid
@ -259,10 +263,20 @@ _sshd= sshd
FILES+= ftp-proxy FILES+= ftp-proxy
.endif .endif
.if ${MK_PPP} != "no"
FILES+= ppp
FILES+= pppoed
FILES+= sppp
.endif
.if ${MK_RCMDS} != "no" .if ${MK_RCMDS} != "no"
FILES+= rwho FILES+= rwho
.endif .endif
.if ${MK_ROUTED} != "no"
FILES+= routed
.endif
.if ${MK_SENDMAIL} != "no" .if ${MK_SENDMAIL} != "no"
FILES+= sendmail FILES+= sendmail
.endif .endif

View File

@ -4,9 +4,9 @@
# #
# PROVIDE: NETWORKING NETWORK # PROVIDE: NETWORKING NETWORK
# REQUIRE: netif netoptions routing ppp ipfw stf # REQUIRE: netif netoptions routing ipfw
# REQUIRE: defaultroute routed mrouted route6d mroute6d resolv bridge # REQUIRE: defaultroute resolv bridge
# REQUIRE: static_arp static_ndp # REQUIRE: static_arp
# This is a dummy dependency, for services which require networking # This is a dummy dependency, for services which require networking
# to be operational before starting. # to be operational before starting.

View File

@ -26,7 +26,7 @@
# #
# PROVIDE: bridge # PROVIDE: bridge
# REQUIRE: netif ppp stf # REQUIRE: netif
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr

View File

@ -6,7 +6,7 @@
# #
# PROVIDE: defaultroute # PROVIDE: defaultroute
# REQUIRE: devd netif stf # REQUIRE: devd netif
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: gssd # PROVIDE: gssd
# REQUIRE: root # REQUIRE: root
# BEFORE: nfsd # BEFORE: nfsd nfsuserd
# KEYWORD: nojail shutdown # KEYWORD: nojail shutdown
. /etc/rc.subr . /etc/rc.subr

View File

@ -4,7 +4,6 @@
# #
# PROVIDE: ipfw # PROVIDE: ipfw
# REQUIRE: ppp
# KEYWORD: nojailvnet # KEYWORD: nojailvnet
. /etc/rc.subr . /etc/rc.subr

View File

@ -4,7 +4,7 @@
# #
# PROVIDE: local_unbound # PROVIDE: local_unbound
# REQUIRE: FILESYSTEMS netif resolv # REQUIRE: FILESYSTEMS netif resolv routing
# BEFORE: NETWORKING # BEFORE: NETWORKING
# KEYWORD: shutdown # KEYWORD: shutdown

View File

@ -26,7 +26,7 @@
# #
# PROVIDE: netif # PROVIDE: netif
# REQUIRE: FILESYSTEMS serial sppp sysctl # REQUIRE: FILESYSTEMS serial sysctl
# REQUIRE: ipfilter ipfs # REQUIRE: ipfilter ipfs
# KEYWORD: nojailvnet # KEYWORD: nojailvnet

View File

@ -27,7 +27,7 @@
# #
# PROVIDE: nsswitch # PROVIDE: nsswitch
# REQUIRE: root # REQUIRE: root routing
# BEFORE: NETWORK # BEFORE: NETWORK
. /etc/rc.subr . /etc/rc.subr

View File

@ -5,6 +5,7 @@
# PROVIDE: ppp # PROVIDE: ppp
# REQUIRE: netif # REQUIRE: netif
# BEFORE: bridge ipfw routing
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr

View File

@ -28,7 +28,7 @@
# #
# PROVIDE: resolv # PROVIDE: resolv
# REQUIRE: netif FILESYSTEMS # REQUIRE: netif FILESYSTEMS routing
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr

View File

@ -4,7 +4,8 @@
# #
# PROVIDE: route6d # PROVIDE: route6d
# REQUIRE: netif routing # REQUIRE: bridge netif routing
# BEFORE: NETWORKING
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr

View File

@ -4,7 +4,8 @@
# #
# PROVIDE: routed # PROVIDE: routed
# REQUIRE: netif routing # REQUIRE: bridge netif routing
# BEFORE: NETWORKING
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr

View File

@ -6,7 +6,7 @@
# #
# PROVIDE: routing # PROVIDE: routing
# REQUIRE: netif ppp stf # REQUIRE: netif
# KEYWORD: nojailvnet # KEYWORD: nojailvnet
. /etc/rc.subr . /etc/rc.subr

View File

@ -30,7 +30,7 @@
# #
# PROVIDE: static_arp # PROVIDE: static_arp
# REQUIRE: netif # REQUIRE: netif routing
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr

View File

@ -30,7 +30,8 @@
# #
# PROVIDE: static_ndp # PROVIDE: static_ndp
# REQUIRE: netif # REQUIRE: netif routing
# BEFORE: NETWORKING
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr

View File

@ -4,6 +4,7 @@
# PROVIDE: stf # PROVIDE: stf
# REQUIRE: netif # REQUIRE: netif
# BEFORE: bridge defaultroute NETWORKING routing
# KEYWORD: nojail # KEYWORD: nojail
. /etc/rc.subr . /etc/rc.subr