xref: /freebsd/usr.sbin/periodic/etc/daily/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <src.opts.mk>
2
3PACKAGE=	periodic
4
5CONFGROUPS=	CONFS
6
7CONFS=	100.clean-disks \
8	110.clean-tmps \
9	120.clean-preserve \
10	140.clean-rwho \
11	200.backup-passwd \
12	210.backup-aliases \
13	221.backup-gpart \
14	222.backup-gmirror \
15	400.status-disks \
16	401.status-graid \
17	406.status-gmirror \
18	407.status-graid3 \
19	408.status-gstripe \
20	409.status-gconcat \
21	410.status-mfi \
22	420.status-network \
23	430.status-uptime \
24	450.status-security \
25	510.status-world-kernel \
26	999.local
27
28# NB: keep these sorted by MK_* knobs
29
30.if ${MK_ACCT} != "no"
31CONFGROUPS+=	ACCT
32ACCT+=		310.accounting
33ACCTMODE=	${BINMODE}
34ACCTPACKAGE=	acct
35.endif
36
37.if ${MK_CALENDAR} != "no"
38CONFS+=	300.calendar
39.endif
40
41.if ${MK_MAIL} != "no"
42CONFS+=	130.clean-msgs
43.endif
44
45.if ${MK_NTP} != "no"
46CONFGROUPS+=	NTP
47NTP+=		480.status-ntpd \
48		480.leapfile-ntpd
49NTPMODE=	${BINMODE}
50NTPPACKAGE=	ntp
51.endif
52
53.if ${MK_SENDMAIL} != "no"
54CONFGROUPS+=		SENDMAIL
55SENDMAIL+=		150.clean-hoststat \
56			440.status-mailq \
57			460.status-mail-rejects \
58			500.queuerun
59SENDMAILPACKAGE=	sendmail
60.endif
61
62.if ${MK_ZFS} != "no"
63CONFS+=	223.backup-zfs \
64	404.status-zfs \
65	800.scrub-zfs  \
66	801.trim-zfs
67.endif
68
69.include <bsd.prog.mk>
70