freebsd-dev/libexec/rc/rc.d/Makefile

332 lines
4.1 KiB
Makefile
Raw Normal View History

# $FreeBSD$
.include <src.opts.mk>
CONFDIR= /etc/rc.d
CONFGROUPS= CONFS
CONFSPACKAGE= rc
CONFS= DAEMON \
FILESYSTEMS \
LOGIN \
NETWORKING \
SERVERS \
addswap \
adjkerntz \
archdep \
bgfsck \
${_blacklistd} \
bridge \
cfumass \
cleanvar \
cleartmp \
cron \
ctld \
ddb \
defaultroute \
devd \
devfs \
devmatch \
dhclient \
dmesg \
dumpon \
fsck \
gbde \
geli \
geli2 \
gptboot \
growfs \
gssd \
hostid \
hostid_save \
hostname \
iovctl \
ip6addrctl \
ipsec \
${_kadmind} \
${_kdc} \
${_kfd} \
kld \
kldxref \
${_kpasswdd} \
ldconfig \
linux \
local \
localpkg \
lockd \
mixer \
motd \
mountcritlocal \
mountcritremote \
mountlate \
mdconfig \
mdconfig2 \
mountd \
msgs \
natd \
netif \
netoptions \
netwait \
newsyslog \
nfsclient \
nfscbd \
nfsd \
nfsuserd \
nisdomain \
${_nscd} \
ntpdate \
${_opensm} \
os-release \
pf \
pflog \
pfsync \
ppp \
pppoed \
pwcheck \
quota \
random \
rarpd \
rctl \
resolv \
root \
route6d \
routing \
rpcbind \
rtadvd \
rtsold \
rwho \
savecore \
securelevel \
serial \
sppp \
statd \
static_arp \
static_ndp \
stf \
swap \
swaplate \
sysctl \
syslogd \
sysvipc \
tmp \
ugidfw \
${_utx} \
var \
watchdogd
.if ${MK_NIS} != "no"
CONFS+= ypbind \
ypldap \
yppasswdd \
ypserv \
ypset \
ypupdated \
zfsd(8), the ZFS fault management daemon Add zfsd, which deals with hard drive faults in ZFS pools. It manages hotspares and replements in drive slots that publish physical paths. cddl/usr.sbin/zfsd Add zfsd(8) and its unit tests cddl/usr.sbin/Makefile Add zfsd to the build lib/libdevdctl A C++ library that helps devd clients process events lib/Makefile share/mk/bsd.libnames.mk share/mk/src.libnames.mk Add libdevdctl to the build. It's a private library, unusable by out-of-tree software. etc/defaults/rc.conf By default, set zfsd_enable to NO etc/mtree/BSD.include.dist Add a directory for libdevdctl's include files etc/mtree/BSD.tests.dist Add a directory for zfsd's unit tests etc/mtree/BSD.var.dist Add /var/db/zfsd/cases, where zfsd stores case files while it's shut down. etc/rc.d/Makefile etc/rc.d/zfsd Add zfsd's rc script sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c Fix the resource.fs.zfs.statechange message. It had a number of problems: It was only being emitted on a transition to the HEALTHY state. That made it impossible for zfsd to take actions based on drives getting sicker. It compared the new state to vdev_prevstate, which is the state that the vdev had the last time it was opened. That doesn't make sense, because a vdev can change state multiple times without being reopened. vdev_set_state contains logic that will change the device's new state based on various conditions. However, the statechange event was being posted _before_ that logic took effect. Now it's being posted after. Submitted by: gibbs, asomers, mav, allanjude Reviewed by: mav, delphij Relnotes: yes Sponsored by: Spectra Logic Corp, iX Systems Differential Revision: https://reviews.freebsd.org/D6564
2016-05-28 17:43:40 +00:00
ypxfrd
.endif
.if ${MK_ACCT} != "no"
CONFGROUPS+= ACCT
ACCT+= accounting
ACCTPACKAGE= acct
.endif
.if ${MK_ACPI} != "no"
CONFGROUPS+= ACPI
ACPI= power_profile
ACPIPACKAGE= acpi
.endif
.if ${MK_ACPI} != "no" || ${MK_APM} != "no"
CONFS+= powerd
.endif
.if ${MK_APM} != "no"
CONFGROUPS+= APM
APM+= apm
.if ${MACHINE} == "i386"
APM+= apmd
.endif
APMPACKAGE= apm
.endif
.if ${MK_AUDIT} != "no"
CONFGROUPS+= AUDIT
AUDIT+= auditd
AUDIT+= auditdistd
.endif
.if ${MK_AUTOFS} != "no"
CONFS+= automount
CONFS+= automountd
CONFS+= autounmountd
.endif
.if ${MK_BLACKLIST} != "no"
_blacklistd+= blacklistd
.endif
.if ${MK_BLUETOOTH} != "no"
CONFGROUPS+= BLUETOOTH
BLUETOOTH+= bluetooth \
bthidd \
hcsecd \
rfcomm_pppd_server \
sdpd \
ubthidhci
BLUETOOTHPACKAGE= bluetooth
.endif
.if ${MK_BOOTPARAMD} != "no"
CONFS+= bootparams
.endif
.if ${MK_BSNMP} != "no"
CONFGROUPS+= BSNMP
2015-03-18 13:01:09 +00:00
BSNMP+= bsnmpd
BSNMPPACKAGE= bsnmp
.endif
.if ${MK_CCD} != "no"
CONFS+= ccd
.endif
.if ${MK_FTP} != "no"
CONFS+= ftpd
.endif
.if ${MK_HAST} != "no"
CONFGROUPS+= HAST
HAST= hastd
HASTPACKAGE= hast
.endif
.if ${MK_INETD} != "no"
CONFS+= inetd
.endif
.if ${MK_IPFILTER} != "no"
CONFS+= ipfilter \
ipfs \
ipmon \
ipnat \
ippool
.endif
.if ${MK_IPFW} != "no"
CONFS+= ipfw
.if ${MK_NETGRAPH} != "no"
CONFS+= ipfw_netflow
.endif
.endif
.if ${MK_ISCSI} != "no"
CONFS+= iscsictl
CONFS+= iscsid
.endif
.if ${MK_JAIL} != "no"
CONFGROUPS+= JAIL
JAIL+= jail
JAILPACKAGE= jail
.endif
.if ${MK_LEGACY_CONSOLE} != "no"
CONFS+= moused
CONFS+= syscons
.endif
.if ${MK_LPR} != "no"
CONFS+= lpd
.endif
.if ${MK_KERBEROS} != "no"
CONFS+= ipropd_master
CONFS+= ipropd_slave
DIRS+= VAR_HEMIDAL
VAR_HEMIDAL= /var/heimdal
VAR_HEMIDAL_MODE= 700
.endif
.if ${MK_KERBEROS_SCRIPTS} != "no"
_kadmind= kadmind
_kdc= kdc
_kfd= kfd
_kpasswdd= kpasswdd
.endif
.if ${MK_MAIL} != "no"
CONFS+= othermta
.endif
.if ${MK_NS_CACHING} != "no"
_nscd= nscd
.endif
.if ${MK_NTP} != "no"
CONFS+= ntpd
.endif
.if ${MK_OFED} != "no"
_opensm= opensm
2010-04-16 16:49:42 +00:00
.endif
.if ${MK_OPENSSL} != "no"
CONFS+= keyserv
.endif
.if ${MK_OPENSSH} != "no"
CONFGROUPS+= SSH
SSH= sshd
SSHPACKAGE= ssh
.endif
.if ${MK_PF} != "no"
CONFS+= ftp-proxy
.endif
.if ${MK_ROUTED} != "no"
CONFS+= routed
.endif
.if ${MK_SENDMAIL} != "no"
CONFGROUPS+= SMRCD
SMRCD= sendmail
SMRCDPACKAGE= sendmail
.endif
.if ${MK_UNBOUND} != "no"
CONFGROUPS+= UNBOUND
UNBOUND+= local_unbound
UNBOUNDPACKAGE= unbound
.endif
.if ${MK_UTMPX} != "no"
_utx= utx
.endif
.if ${MK_VI} != "no"
CONFGROUPS+= VI
VI+= virecover
VIPACKAGE= vi
.endif
.if ${MK_WIRELESS} != "no"
CONFS+= hostapd
CONFS+= wpa_supplicant
.endif
.if ${MK_ZFS} != "no"
CONFGROUPS+= ZFS
ZFS+= zfs
ZFS+= zfsbe
zfsd(8), the ZFS fault management daemon Add zfsd, which deals with hard drive faults in ZFS pools. It manages hotspares and replements in drive slots that publish physical paths. cddl/usr.sbin/zfsd Add zfsd(8) and its unit tests cddl/usr.sbin/Makefile Add zfsd to the build lib/libdevdctl A C++ library that helps devd clients process events lib/Makefile share/mk/bsd.libnames.mk share/mk/src.libnames.mk Add libdevdctl to the build. It's a private library, unusable by out-of-tree software. etc/defaults/rc.conf By default, set zfsd_enable to NO etc/mtree/BSD.include.dist Add a directory for libdevdctl's include files etc/mtree/BSD.tests.dist Add a directory for zfsd's unit tests etc/mtree/BSD.var.dist Add /var/db/zfsd/cases, where zfsd stores case files while it's shut down. etc/rc.d/Makefile etc/rc.d/zfsd Add zfsd's rc script sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c Fix the resource.fs.zfs.statechange message. It had a number of problems: It was only being emitted on a transition to the HEALTHY state. That made it impossible for zfsd to take actions based on drives getting sicker. It compared the new state to vdev_prevstate, which is the state that the vdev had the last time it was opened. That doesn't make sense, because a vdev can change state multiple times without being reopened. vdev_set_state contains logic that will change the device's new state based on various conditions. However, the statechange event was being posted _before_ that logic took effect. Now it's being posted after. Submitted by: gibbs, asomers, mav, allanjude Reviewed by: mav, delphij Relnotes: yes Sponsored by: Spectra Logic Corp, iX Systems Differential Revision: https://reviews.freebsd.org/D6564
2016-05-28 17:43:40 +00:00
ZFS+= zfsd
ZFS+= zvol
.endif
.for fg in ${CONFGROUPS}
${fg}MODE?= ${BINMODE}
.endfor
.include <bsd.prog.mk>