xref: /freebsd/libexec/rc/rc.d/Makefile (revision 7029da5c36f2d3cf6bb6c81bf551229f416399e8)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5CONFDIR=	/etc/rc.d
6CONFGROUPS=	CONFS
7CONFSPACKAGE=	rc
8
9CONFS=	DAEMON \
10	FILESYSTEMS \
11	LOGIN \
12	NETWORKING \
13	SERVERS \
14	addswap \
15	adjkerntz \
16	archdep \
17	bgfsck \
18	${_blacklistd} \
19	bridge \
20	cfumass \
21	cleanvar \
22	cleartmp \
23	cron \
24	ctld \
25	ddb \
26	defaultroute \
27	devd \
28	devfs \
29	devmatch \
30	dhclient \
31	dmesg \
32	dumpon \
33	fsck \
34	gbde \
35	geli \
36	geli2 \
37	gptboot \
38	growfs \
39	gssd \
40	hostid \
41	hostid_save \
42	hostname \
43	iovctl \
44	ip6addrctl \
45	ipsec \
46	${_kadmind} \
47	${_kdc} \
48	${_kfd} \
49	kld \
50	kldxref \
51	${_kpasswdd} \
52	ldconfig \
53	linux \
54	local \
55	localpkg \
56	lockd \
57	mixer \
58	motd \
59	mountcritlocal \
60	mountcritremote \
61	mountlate \
62	mdconfig \
63	mdconfig2 \
64	mountd \
65	msgs \
66	natd \
67	netif \
68	netoptions \
69	netwait \
70	newsyslog \
71	nfsclient \
72	nfscbd \
73	nfsd \
74	nfsuserd \
75	nisdomain \
76	${_nscd} \
77	nsswitch \
78	ntpdate \
79	${_opensm} \
80	os-release \
81	pf \
82	pflog \
83	pfsync \
84	ppp \
85	pppoed \
86	pwcheck \
87	quota \
88	random \
89	rarpd \
90	rctl \
91	resolv \
92	root \
93	route6d \
94	routing \
95	rpcbind \
96	rtadvd \
97	rtsold \
98	rwho \
99	savecore \
100	securelevel \
101	serial \
102	sppp \
103	statd \
104	static_arp \
105	static_ndp \
106	stf \
107	swap \
108	swaplate \
109	sysctl \
110	syslogd \
111	sysvipc \
112	tmp \
113	ugidfw \
114	${_utx} \
115	var \
116	watchdogd
117
118.if ${MK_NIS} != "no"
119CONFS+=	ypbind \
120	ypldap \
121	yppasswdd \
122	ypserv \
123	ypset \
124	ypupdated \
125	ypxfrd
126.endif
127
128.if ${MK_ACCT} != "no"
129CONFGROUPS+=	ACCT
130ACCT+=		accounting
131ACCTPACKAGE=	acct
132.endif
133
134.if ${MK_ACPI} != "no"
135CONFGROUPS+=	ACPI
136ACPI=		power_profile
137ACPIPACKAGE=	acpi
138.endif
139
140.if ${MK_ACPI} != "no" || ${MK_APM} != "no"
141CONFS+=		powerd
142.endif
143
144.if ${MK_AMD} != "no"
145CONFGROUPS+=	AMD
146AMD+=		amd
147AMDPACKAGE=	amd
148.endif
149
150.if ${MK_APM} != "no"
151CONFGROUPS+=	APM
152APM+=		apm
153.if ${MACHINE} == "i386"
154APM+=		apmd
155.endif
156APMPACKAGE=	apm
157.endif
158
159.if ${MK_AUDIT} != "no"
160CONFGROUPS+=	AUDIT
161AUDIT+=		auditd
162AUDIT+=		auditdistd
163.endif
164
165.if ${MK_AUTOFS} != "no"
166CONFS+=		automount
167CONFS+=		automountd
168CONFS+=		autounmountd
169.endif
170
171.if ${MK_BLACKLIST} != "no"
172_blacklistd+=	blacklistd
173.endif
174
175.if ${MK_BLUETOOTH} != "no"
176CONFGROUPS+=	BLUETOOTH
177BLUETOOTH+=	bluetooth \
178		bthidd \
179		hcsecd \
180		rfcomm_pppd_server \
181		sdpd \
182		ubthidhci
183BLUETOOTHPACKAGE=	bluetooth
184.endif
185
186.if ${MK_BOOTPARAMD} != "no"
187CONFS+=		bootparams
188.endif
189
190.if ${MK_BSNMP} != "no"
191CONFGROUPS+=	BSNMP
192BSNMP+=		bsnmpd
193BSNMPPACKAGE=	bsnmp
194.endif
195
196.if ${MK_CCD} != "no"
197CONFS+=		ccd
198.endif
199
200.if ${MK_FTP} != "no"
201CONFS+=		ftpd
202.endif
203
204.if ${MK_HAST} != "no"
205CONFGROUPS+=	HAST
206HAST=		hastd
207HASTPACKAGE=	hast
208.endif
209
210.if ${MK_INETD} != "no"
211CONFS+=		inetd
212.endif
213
214.if ${MK_IPFILTER} != "no"
215CONFS+=	ipfilter \
216	ipfs \
217	ipmon \
218	ipnat \
219	ippool
220.endif
221
222.if ${MK_IPFW} != "no"
223CONFS+=		ipfw
224.if ${MK_NETGRAPH} != "no"
225CONFS+=		ipfw_netflow
226.endif
227.endif
228
229.if ${MK_ISCSI} != "no"
230CONFS+=		iscsictl
231CONFS+=		iscsid
232.endif
233
234.if ${MK_JAIL} != "no"
235CONFGROUPS+=	JAIL
236JAIL+=		jail
237JAILPACKAGE=	jail
238.endif
239
240.if ${MK_LEGACY_CONSOLE} != "no"
241CONFS+=		moused
242CONFS+=		syscons
243.endif
244
245.if ${MK_LPR} != "no"
246CONFS+=		lpd
247.endif
248
249.if ${MK_KERBEROS} != "no"
250CONFS+=		ipropd_master
251CONFS+=		ipropd_slave
252_kadmind=	kadmind
253_kdc=		kdc
254_kfd=		kfd
255_kpasswdd=	kpasswdd
256
257DIRS+=	VAR_HEMIDAL
258VAR_HEMIDAL=	/var/heimdal
259VAR_HEMIDAL_MODE=	700
260.endif
261
262.if ${MK_MAIL} != "no"
263CONFS+=		othermta
264.endif
265
266.if ${MK_NS_CACHING} != "no"
267_nscd=		nscd
268.endif
269
270.if ${MK_NTP} != "no"
271CONFS+=		ntpd
272.endif
273
274.if ${MK_OFED} != "no"
275_opensm=	opensm
276.endif
277
278.if ${MK_OPENSSL} != "no"
279CONFS+=		keyserv
280.endif
281
282.if ${MK_OPENSSH} != "no"
283CONFGROUPS+=	SSH
284SSH=		sshd
285SSHPACKAGE=	ssh
286.endif
287
288.if ${MK_PF} != "no"
289CONFS+=		ftp-proxy
290.endif
291
292.if ${MK_ROUTED} != "no"
293CONFS+=		routed
294.endif
295
296.if ${MK_SENDMAIL} != "no"
297CONFGROUPS+=	SMRCD
298SMRCD=		sendmail
299SMRCDPACKAGE=	sendmail
300.endif
301
302.if ${MK_UNBOUND} != "no"
303CONFGROUPS+=	UNBOUND
304UNBOUND+=	local_unbound
305UNBOUNDPACKAGE=	unbound
306.endif
307
308.if ${MK_UTMPX} != "no"
309_utx=		utx
310.endif
311
312.if ${MK_VI} != "no"
313CONFGROUPS+=	VI
314VI+=		virecover
315VIPACKAGE=	vi
316.endif
317
318.if ${MK_WIRELESS} != "no"
319CONFS+=		hostapd
320CONFS+=		wpa_supplicant
321.endif
322
323.if ${MK_ZFS} != "no"
324CONFGROUPS+=	ZFS
325ZFS+=		zfs
326ZFS+=		zfsbe
327ZFS+=		zfsd
328ZFS+=		zvol
329.endif
330
331.for fg in ${CONFGROUPS}
332${fg}MODE?=	${BINMODE}
333.endfor
334
335.include <bsd.prog.mk>
336