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