xref: /freebsd-13.1/libexec/rc/rc.d/Makefile (revision 3c49f0f9)
10696600cSBjoern A. Zeeb# $FreeBSD$
20696600cSBjoern A. Zeeb
30696600cSBjoern A. Zeeb.include <src.opts.mk>
40696600cSBjoern A. Zeeb
5fdf46c24SBaptiste DaroussinCONFDIR=	/etc/rc.d
6fdf46c24SBaptiste DaroussinCONFGROUPS=	CONFS
7fdf46c24SBaptiste DaroussinCONFSPACKAGE=	rc
80696600cSBjoern A. Zeeb
9fdf46c24SBaptiste DaroussinCONFS=	DAEMON \
100696600cSBjoern A. Zeeb	FILESYSTEMS \
110696600cSBjoern A. Zeeb	LOGIN \
120696600cSBjoern A. Zeeb	NETWORKING \
130696600cSBjoern A. Zeeb	SERVERS \
140696600cSBjoern A. Zeeb	addswap \
150696600cSBjoern A. Zeeb	adjkerntz \
160696600cSBjoern A. Zeeb	archdep \
170696600cSBjoern A. Zeeb	bgfsck \
180696600cSBjoern A. Zeeb	${_blacklistd} \
190696600cSBjoern A. Zeeb	bridge \
200696600cSBjoern A. Zeeb	cfumass \
210696600cSBjoern A. Zeeb	cleanvar \
220696600cSBjoern A. Zeeb	cleartmp \
230696600cSBjoern A. Zeeb	cron \
240696600cSBjoern A. Zeeb	ctld \
250696600cSBjoern A. Zeeb	ddb \
260696600cSBjoern A. Zeeb	defaultroute \
270696600cSBjoern A. Zeeb	devd \
280696600cSBjoern A. Zeeb	devfs \
290696600cSBjoern A. Zeeb	devmatch \
300696600cSBjoern A. Zeeb	dhclient \
310696600cSBjoern A. Zeeb	dmesg \
320696600cSBjoern A. Zeeb	dumpon \
330696600cSBjoern A. Zeeb	fsck \
340696600cSBjoern A. Zeeb	gbde \
350696600cSBjoern A. Zeeb	geli \
360696600cSBjoern A. Zeeb	geli2 \
370696600cSBjoern A. Zeeb	gptboot \
380696600cSBjoern A. Zeeb	growfs \
390696600cSBjoern A. Zeeb	hostid \
400696600cSBjoern A. Zeeb	hostid_save \
410696600cSBjoern A. Zeeb	hostname \
420696600cSBjoern A. Zeeb	iovctl \
430696600cSBjoern A. Zeeb	ip6addrctl \
440696600cSBjoern A. Zeeb	ipsec \
450696600cSBjoern A. Zeeb	${_kadmind} \
460696600cSBjoern A. Zeeb	${_kdc} \
470696600cSBjoern A. Zeeb	${_kfd} \
480696600cSBjoern A. Zeeb	kld \
490696600cSBjoern A. Zeeb	kldxref \
500696600cSBjoern A. Zeeb	${_kpasswdd} \
510696600cSBjoern A. Zeeb	ldconfig \
52028af4aeSEdward Tomasz Napierala	linux \
530696600cSBjoern A. Zeeb	local \
540696600cSBjoern A. Zeeb	localpkg \
550696600cSBjoern A. Zeeb	lockd \
560696600cSBjoern A. Zeeb	mixer \
570696600cSBjoern A. Zeeb	motd \
580696600cSBjoern A. Zeeb	mountcritlocal \
590696600cSBjoern A. Zeeb	mountcritremote \
600696600cSBjoern A. Zeeb	mountlate \
610696600cSBjoern A. Zeeb	mdconfig \
620696600cSBjoern A. Zeeb	mdconfig2 \
630696600cSBjoern A. Zeeb	mountd \
640696600cSBjoern A. Zeeb	msgs \
650696600cSBjoern A. Zeeb	natd \
660696600cSBjoern A. Zeeb	netif \
670696600cSBjoern A. Zeeb	netoptions \
680696600cSBjoern A. Zeeb	netwait \
690696600cSBjoern A. Zeeb	newsyslog \
700696600cSBjoern A. Zeeb	nfsclient \
710696600cSBjoern A. Zeeb	nfscbd \
720696600cSBjoern A. Zeeb	nfsd \
730696600cSBjoern A. Zeeb	nfsuserd \
740696600cSBjoern A. Zeeb	nisdomain \
750696600cSBjoern A. Zeeb	${_nscd} \
760696600cSBjoern A. Zeeb	ntpdate \
770696600cSBjoern A. Zeeb	${_opensm} \
786467506bSWarner Losh	os-release \
790696600cSBjoern A. Zeeb	pf \
800696600cSBjoern A. Zeeb	pflog \
810696600cSBjoern A. Zeeb	pfsync \
82e7ca75cbSAndriy Gapon	powerd \
830696600cSBjoern A. Zeeb	ppp \
840696600cSBjoern A. Zeeb	pppoed \
850696600cSBjoern A. Zeeb	pwcheck \
860696600cSBjoern A. Zeeb	quota \
870696600cSBjoern A. Zeeb	random \
880696600cSBjoern A. Zeeb	rarpd \
890696600cSBjoern A. Zeeb	rctl \
900696600cSBjoern A. Zeeb	resolv \
910696600cSBjoern A. Zeeb	root \
920696600cSBjoern A. Zeeb	route6d \
930696600cSBjoern A. Zeeb	routing \
940696600cSBjoern A. Zeeb	rpcbind \
950696600cSBjoern A. Zeeb	rtadvd \
960696600cSBjoern A. Zeeb	rtsold \
970696600cSBjoern A. Zeeb	rwho \
980696600cSBjoern A. Zeeb	savecore \
990696600cSBjoern A. Zeeb	securelevel \
1000696600cSBjoern A. Zeeb	serial \
1010696600cSBjoern A. Zeeb	sppp \
1020696600cSBjoern A. Zeeb	statd \
1030696600cSBjoern A. Zeeb	static_arp \
1040696600cSBjoern A. Zeeb	static_ndp \
1050696600cSBjoern A. Zeeb	stf \
1060696600cSBjoern A. Zeeb	swap \
1070696600cSBjoern A. Zeeb	swaplate \
1080696600cSBjoern A. Zeeb	sysctl \
1095cc84f7aSEugene Grosbein	sysctl_lastload \
1100696600cSBjoern A. Zeeb	syslogd \
111c97588b4SEdward Tomasz Napierala	sysvipc \
1120696600cSBjoern A. Zeeb	tmp \
1130696600cSBjoern A. Zeeb	ugidfw \
1140696600cSBjoern A. Zeeb	${_utx} \
1150696600cSBjoern A. Zeeb	var \
1160696600cSBjoern A. Zeeb	watchdogd
1170696600cSBjoern A. Zeeb
1180696600cSBjoern A. Zeeb.if ${MK_NIS} != "no"
119fdf46c24SBaptiste DaroussinCONFS+=	ypbind \
1200696600cSBjoern A. Zeeb	ypldap \
1210696600cSBjoern A. Zeeb	yppasswdd \
1220696600cSBjoern A. Zeeb	ypserv \
1230696600cSBjoern A. Zeeb	ypset \
1240696600cSBjoern A. Zeeb	ypupdated \
1250696600cSBjoern A. Zeeb	ypxfrd
1260696600cSBjoern A. Zeeb.endif
1270696600cSBjoern A. Zeeb
1280696600cSBjoern A. Zeeb.if ${MK_ACCT} != "no"
129fdf46c24SBaptiste DaroussinCONFGROUPS+=	ACCT
1300696600cSBjoern A. ZeebACCT+=		accounting
1310696600cSBjoern A. ZeebACCTPACKAGE=	acct
1320696600cSBjoern A. Zeeb.endif
1330696600cSBjoern A. Zeeb
1340696600cSBjoern A. Zeeb.if ${MK_ACPI} != "no"
135fdf46c24SBaptiste DaroussinCONFGROUPS+=	ACPI
1360696600cSBjoern A. ZeebACPI=		power_profile
1370696600cSBjoern A. ZeebACPIPACKAGE=	acpi
1380696600cSBjoern A. Zeeb.endif
1390696600cSBjoern A. Zeeb
1400696600cSBjoern A. Zeeb.if ${MK_APM} != "no"
141fdf46c24SBaptiste DaroussinCONFGROUPS+=	APM
1420696600cSBjoern A. ZeebAPM+=		apm
1430696600cSBjoern A. Zeeb.if ${MACHINE} == "i386"
1440696600cSBjoern A. ZeebAPM+=		apmd
1450696600cSBjoern A. Zeeb.endif
1460696600cSBjoern A. ZeebAPMPACKAGE=	apm
1470696600cSBjoern A. Zeeb.endif
1480696600cSBjoern A. Zeeb
149738ea871SAlan Somers.if ${MK_AUDIT} != "no"
150fdf46c24SBaptiste DaroussinCONFGROUPS+=	AUDIT
151738ea871SAlan SomersAUDIT+=		auditd
152738ea871SAlan SomersAUDIT+=		auditdistd
153e3ff9a1fSEmmanuel VadotAUDITPACKAGE=	rc
154738ea871SAlan Somers.endif
155738ea871SAlan Somers
1560696600cSBjoern A. Zeeb.if ${MK_AUTOFS} != "no"
157fdf46c24SBaptiste DaroussinCONFS+=		automount
158fdf46c24SBaptiste DaroussinCONFS+=		automountd
159fdf46c24SBaptiste DaroussinCONFS+=		autounmountd
1600696600cSBjoern A. Zeeb.endif
1610696600cSBjoern A. Zeeb
1620696600cSBjoern A. Zeeb.if ${MK_BLACKLIST} != "no"
1630696600cSBjoern A. Zeeb_blacklistd+=	blacklistd
1640696600cSBjoern A. Zeeb.endif
1650696600cSBjoern A. Zeeb
1660696600cSBjoern A. Zeeb.if ${MK_BLUETOOTH} != "no"
167fdf46c24SBaptiste DaroussinCONFGROUPS+=	BLUETOOTH
1689553ea80SEmmanuel VadotBLUETOOTH+=	bluetooth \
1699553ea80SEmmanuel Vadot		bthidd \
1709553ea80SEmmanuel Vadot		hcsecd \
1719553ea80SEmmanuel Vadot		rfcomm_pppd_server \
1729553ea80SEmmanuel Vadot		sdpd \
1739553ea80SEmmanuel Vadot		ubthidhci
1749553ea80SEmmanuel VadotBLUETOOTHPACKAGE=	bluetooth
1750696600cSBjoern A. Zeeb.endif
1760696600cSBjoern A. Zeeb
1770696600cSBjoern A. Zeeb.if ${MK_BOOTPARAMD} != "no"
178fdf46c24SBaptiste DaroussinCONFS+=		bootparams
1790696600cSBjoern A. Zeeb.endif
1800696600cSBjoern A. Zeeb
1810696600cSBjoern A. Zeeb.if ${MK_BSNMP} != "no"
182fdf46c24SBaptiste DaroussinCONFGROUPS+=	BSNMP
1830696600cSBjoern A. ZeebBSNMP+=		bsnmpd
1840696600cSBjoern A. ZeebBSNMPPACKAGE=	bsnmp
1850696600cSBjoern A. Zeeb.endif
1860696600cSBjoern A. Zeeb
1870696600cSBjoern A. Zeeb.if ${MK_CCD} != "no"
188fdf46c24SBaptiste DaroussinCONFS+=		ccd
1890696600cSBjoern A. Zeeb.endif
1900696600cSBjoern A. Zeeb
1910696600cSBjoern A. Zeeb.if ${MK_FTP} != "no"
192fdf46c24SBaptiste DaroussinCONFS+=		ftpd
1930696600cSBjoern A. Zeeb.endif
1940696600cSBjoern A. Zeeb
195f5ab36c2SEmmanuel Vadot.if ${MK_GSSAPI} != "no"
196*3c49f0f9SEmmanuel VadotCONFGROUPS+=	GSSD
197f5ab36c2SEmmanuel VadotGSSD=		gssd
198f5ab36c2SEmmanuel VadotGSSDPACKAGE=	kerberos
199f5ab36c2SEmmanuel Vadot.endif
200f5ab36c2SEmmanuel Vadot
2010696600cSBjoern A. Zeeb.if ${MK_HAST} != "no"
202fdf46c24SBaptiste DaroussinCONFGROUPS+=	HAST
2030696600cSBjoern A. ZeebHAST=		hastd
2040696600cSBjoern A. ZeebHASTPACKAGE=	hast
2050696600cSBjoern A. Zeeb.endif
2060696600cSBjoern A. Zeeb
2070696600cSBjoern A. Zeeb.if ${MK_INETD} != "no"
208fdf46c24SBaptiste DaroussinCONFS+=		inetd
2090696600cSBjoern A. Zeeb.endif
2100696600cSBjoern A. Zeeb
21177e6f928SCy Schubert.if ${MK_IPFILTER} != "no"
212fdf46c24SBaptiste DaroussinCONFS+=	ipfilter \
21377e6f928SCy Schubert	ipfs \
21477e6f928SCy Schubert	ipmon \
215c2973001SCy Schubert	ipnat \
216c2973001SCy Schubert	ippool
21777e6f928SCy Schubert.endif
21877e6f928SCy Schubert
2190696600cSBjoern A. Zeeb.if ${MK_IPFW} != "no"
220fdf46c24SBaptiste DaroussinCONFS+=		ipfw
2210696600cSBjoern A. Zeeb.if ${MK_NETGRAPH} != "no"
222fdf46c24SBaptiste DaroussinCONFS+=		ipfw_netflow
2230696600cSBjoern A. Zeeb.endif
2240696600cSBjoern A. Zeeb.endif
2250696600cSBjoern A. Zeeb
2260696600cSBjoern A. Zeeb.if ${MK_ISCSI} != "no"
227fdf46c24SBaptiste DaroussinCONFS+=		iscsictl
228fdf46c24SBaptiste DaroussinCONFS+=		iscsid
2290696600cSBjoern A. Zeeb.endif
2300696600cSBjoern A. Zeeb
2310696600cSBjoern A. Zeeb.if ${MK_JAIL} != "no"
232fdf46c24SBaptiste DaroussinCONFGROUPS+=	JAIL
2330696600cSBjoern A. ZeebJAIL+=		jail
2340696600cSBjoern A. ZeebJAILPACKAGE=	jail
2350696600cSBjoern A. Zeeb.endif
2360696600cSBjoern A. Zeeb
2370696600cSBjoern A. Zeeb.if ${MK_LEGACY_CONSOLE} != "no"
238fdf46c24SBaptiste DaroussinCONFS+=		moused
239fdf46c24SBaptiste DaroussinCONFS+=		syscons
2400696600cSBjoern A. Zeeb.endif
2410696600cSBjoern A. Zeeb
2420696600cSBjoern A. Zeeb.if ${MK_LPR} != "no"
243fdf46c24SBaptiste DaroussinCONFS+=		lpd
2440696600cSBjoern A. Zeeb.endif
2450696600cSBjoern A. Zeeb
2460696600cSBjoern A. Zeeb.if ${MK_KERBEROS} != "no"
247fdf46c24SBaptiste DaroussinCONFS+=		ipropd_master
248fdf46c24SBaptiste DaroussinCONFS+=		ipropd_slave
2494574585eSCy Schubert_kadmind=	kadmind
2504574585eSCy Schubert_kdc=		kdc
2514574585eSCy Schubert_kfd=		kfd
2524574585eSCy Schubert_kpasswdd=	kpasswdd
25312de77b3SCy Schubert
25412de77b3SCy SchubertDIRS+=	VAR_HEMIDAL
25512de77b3SCy SchubertVAR_HEMIDAL=	/var/heimdal
25612de77b3SCy SchubertVAR_HEMIDAL_MODE=	700
2574574585eSCy Schubert.endif
2584574585eSCy Schubert
2590696600cSBjoern A. Zeeb.if ${MK_MAIL} != "no"
260fdf46c24SBaptiste DaroussinCONFS+=		othermta
2610696600cSBjoern A. Zeeb.endif
2620696600cSBjoern A. Zeeb
2630696600cSBjoern A. Zeeb.if ${MK_NS_CACHING} != "no"
2640696600cSBjoern A. Zeeb_nscd=		nscd
2650696600cSBjoern A. Zeeb.endif
2660696600cSBjoern A. Zeeb
2670696600cSBjoern A. Zeeb.if ${MK_NTP} != "no"
268fdf46c24SBaptiste DaroussinCONFS+=		ntpd
2690696600cSBjoern A. Zeeb.endif
2700696600cSBjoern A. Zeeb
2710696600cSBjoern A. Zeeb.if ${MK_OFED} != "no"
2720696600cSBjoern A. Zeeb_opensm=	opensm
2730696600cSBjoern A. Zeeb.endif
2740696600cSBjoern A. Zeeb
2750696600cSBjoern A. Zeeb.if ${MK_OPENSSL} != "no"
276fdf46c24SBaptiste DaroussinCONFS+=		keyserv
27759f6f5e2SRick Macklem.if ${MK_OPENSSL_KTLS} != "no"
27859f6f5e2SRick MacklemCONFS+=		tlsclntd \
27959f6f5e2SRick Macklem		tlsservd
28059f6f5e2SRick Macklem.endif
2810696600cSBjoern A. Zeeb.endif
2820696600cSBjoern A. Zeeb
2830696600cSBjoern A. Zeeb.if ${MK_OPENSSH} != "no"
284fdf46c24SBaptiste DaroussinCONFGROUPS+=	SSH
2850696600cSBjoern A. ZeebSSH=		sshd
2860696600cSBjoern A. ZeebSSHPACKAGE=	ssh
2870696600cSBjoern A. Zeeb.endif
2880696600cSBjoern A. Zeeb
2890696600cSBjoern A. Zeeb.if ${MK_PF} != "no"
290fdf46c24SBaptiste DaroussinCONFS+=		ftp-proxy
2910696600cSBjoern A. Zeeb.endif
2920696600cSBjoern A. Zeeb
2930696600cSBjoern A. Zeeb.if ${MK_ROUTED} != "no"
294fdf46c24SBaptiste DaroussinCONFS+=		routed
2950696600cSBjoern A. Zeeb.endif
2960696600cSBjoern A. Zeeb
2970696600cSBjoern A. Zeeb.if ${MK_SENDMAIL} != "no"
298fdf46c24SBaptiste DaroussinCONFGROUPS+=	SMRCD
2990696600cSBjoern A. ZeebSMRCD=		sendmail
3000696600cSBjoern A. ZeebSMRCDPACKAGE=	sendmail
3010696600cSBjoern A. Zeeb.endif
3020696600cSBjoern A. Zeeb
3030696600cSBjoern A. Zeeb.if ${MK_UNBOUND} != "no"
304fdf46c24SBaptiste DaroussinCONFGROUPS+=	UNBOUND
3050696600cSBjoern A. ZeebUNBOUND+=	local_unbound
3060696600cSBjoern A. ZeebUNBOUNDPACKAGE=	unbound
3070696600cSBjoern A. Zeeb.endif
3080696600cSBjoern A. Zeeb
3090696600cSBjoern A. Zeeb.if ${MK_UTMPX} != "no"
3100696600cSBjoern A. Zeeb_utx=		utx
3110696600cSBjoern A. Zeeb.endif
3120696600cSBjoern A. Zeeb
3130696600cSBjoern A. Zeeb.if ${MK_VI} != "no"
314fdf46c24SBaptiste DaroussinCONFGROUPS+=	VI
3150696600cSBjoern A. ZeebVI+=		virecover
3160696600cSBjoern A. ZeebVIPACKAGE=	vi
3170696600cSBjoern A. Zeeb.endif
3180696600cSBjoern A. Zeeb
3190696600cSBjoern A. Zeeb.if ${MK_WIRELESS} != "no"
320fdf46c24SBaptiste DaroussinCONFS+=		hostapd
321fdf46c24SBaptiste DaroussinCONFS+=		wpa_supplicant
3220696600cSBjoern A. Zeeb.endif
3230696600cSBjoern A. Zeeb
3240696600cSBjoern A. Zeeb.if ${MK_ZFS} != "no"
325fdf46c24SBaptiste DaroussinCONFGROUPS+=	ZFS
3260696600cSBjoern A. ZeebZFS+=		zfs
3270696600cSBjoern A. ZeebZFS+=		zfsbe
3280696600cSBjoern A. ZeebZFS+=		zfsd
329c88c1274SMateusz PiotrowskiZFS+=		zfskeys
33074e2b24fSCy SchubertZFS+=		zpool
3310696600cSBjoern A. ZeebZFS+=		zvol
332e3ff9a1fSEmmanuel VadotZFSPACKAGE=	rc
3330696600cSBjoern A. Zeeb.endif
3340696600cSBjoern A. Zeeb
335fdf46c24SBaptiste Daroussin.for fg in ${CONFGROUPS}
3360696600cSBjoern A. Zeeb${fg}MODE?=	${BINMODE}
3370696600cSBjoern A. Zeeb.endfor
3380696600cSBjoern A. Zeeb
3390696600cSBjoern A. Zeeb.include <bsd.prog.mk>
340