aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/periodic/etc/daily/Makefile
blob: c92b4ed8a6ee434e6d2f35382a860ee02c77511c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.include <src.opts.mk>

PACKAGE=	periodic

CONFGROUPS=	CONFS

CONFS=	100.clean-disks \
	110.clean-tmps \
	120.clean-preserve \
	200.backup-passwd \
	210.backup-aliases \
	400.status-disks \
	410.status-mfi \
	420.status-network \
	430.status-uptime \
	450.status-security \
	510.status-world-kernel \
	999.local

CONFGROUPS+=	GEOM
GEOM+=		221.backup-gpart \
		222.backup-gmirror \
		401.status-graid \
		406.status-gmirror \
		407.status-graid3 \
		408.status-gstripe \
		409.status-gconcat
GEOMPACKAGE=	geom

CONFGROUPS+=	RCMDS
RCMDS+=		140.clean-rwho
RCMDSPACKAGE=	rcmds

# NB: keep these sorted by MK_* knobs

.if ${MK_ACCT} != "no"
CONFGROUPS+=	ACCT
ACCT+=		310.accounting
ACCTMODE=	${BINMODE}
ACCTPACKAGE=	acct
.endif

.if ${MK_CALENDAR} != "no"
CONFS+=	300.calendar
.endif

.if ${MK_MAIL} != "no"
CONFS+=	130.clean-msgs
.endif

.if ${MK_NTP} != "no"
CONFGROUPS+=	NTP
NTP+=		480.status-ntpd \
		480.leapfile-ntpd
NTPMODE=	${BINMODE}
NTPPACKAGE=	ntp
.endif

.if ${MK_SENDMAIL} != "no"
CONFGROUPS+=		SENDMAIL
SENDMAIL+=		150.clean-hoststat \
			440.status-mailq \
			460.status-mail-rejects \
			500.queuerun
SENDMAILPACKAGE=	sendmail
.endif

.if ${MK_ZFS} != "no"
CONFGROUPS+=	ZFS
ZFS+=		223.backup-zfs \
		404.status-zfs \
		800.scrub-zfs  \
		801.trim-zfs
ZFSPACKAGE=	zfs
.endif

.include <bsd.prog.mk>