aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/daily/Makefile
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-09-21 22:02:26 +0000
committerSam Leffler <sam@FreeBSD.org>2008-09-21 22:02:26 +0000
commit690f477d75324543e57e2b45354c6e0670b9a5f7 (patch)
tree6d0176f734c952569004dea8a4d84a092ced5821 /etc/periodic/daily/Makefile
parenteba1dd2124fa2c06c7ad100d2ac2a3a8786f9c9d (diff)
downloadsrc-690f477d75324543e57e2b45354c6e0670b9a5f7.tar.gz
src-690f477d75324543e57e2b45354c6e0670b9a5f7.zip
add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month
Notes
Notes: svn path=/head/; revision=183242
Diffstat (limited to 'etc/periodic/daily/Makefile')
-rw-r--r--etc/periodic/daily/Makefile49
1 files changed, 37 insertions, 12 deletions
diff --git a/etc/periodic/daily/Makefile b/etc/periodic/daily/Makefile
index 5e25f90ee3a3..80583a1182bc 100644
--- a/etc/periodic/daily/Makefile
+++ b/etc/periodic/daily/Makefile
@@ -1,15 +1,11 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
FILES= 100.clean-disks \
110.clean-tmps \
120.clean-preserve \
- 130.clean-msgs \
- 140.clean-rwho \
- 150.clean-hoststat \
200.backup-passwd \
- 210.backup-aliases \
- 300.calendar \
- 310.accounting \
330.news \
400.status-disks \
404.status-zfs \
@@ -19,13 +15,42 @@ FILES= 100.clean-disks \
408.status-gstripe \
409.status-gconcat \
420.status-network \
- 430.status-rwho \
- 440.status-mailq \
450.status-security \
- 460.status-mail-rejects \
- 470.status-named \
- 480.status-ntpd \
- 500.queuerun \
999.local
+# NB: keep these sorted by MK_* knobs
+
+.if ${MK_ACCT} != "no"
+FILES+= 310.accounting
+.endif
+
+.if ${MK_BIND_NAMED} != "no"
+FILES+= 470.status-named
+.endif
+
+.if ${MK_CALENDAR} != "no"
+FILES+= 300.calendar
+.endif
+
+.if ${MK_MAIL} != "no"
+FILES+= 130.clean-msgs
+.endif
+
+.if ${MK_NTP} != "no"
+FILES+= 480.status-ntpd
+.endif
+
+.if ${MK_RCMDS} != "no"
+FILES+= 140.clean-rwho \
+ 430.status-rwho
+.endif
+
+.if ${MK_SENDMAIL} != "no"
+FILES+= 150.clean-hoststat \
+ 210.backup-aliases \
+ 440.status-mailq \
+ 460.status-mail-rejects \
+ 500.queuerun
+.endif
+
.include <bsd.prog.mk>