periodic: move some periodic scripts to their packages

Periodic scripts for rwho, geom, zfs and tcpwrappers are only relevant
if those packages are installed, so move them to the appropriate
package.

Reviewed by:	manu, des, emaste
Approved by:	des (mentor)
Differential Revision:	https://reviews.freebsd.org/D50341
This commit is contained in:
Lexi Winter
2025-05-14 13:14:58 +01:00
parent cb205f5ed8
commit 2b05168eb8
2 changed files with 23 additions and 13 deletions
+17 -9
View File
@@ -7,17 +7,9 @@ CONFGROUPS= CONFS
CONFS= 100.clean-disks \
110.clean-tmps \
120.clean-preserve \
140.clean-rwho \
200.backup-passwd \
210.backup-aliases \
221.backup-gpart \
222.backup-gmirror \
400.status-disks \
401.status-graid \
406.status-gmirror \
407.status-graid3 \
408.status-gstripe \
409.status-gconcat \
410.status-mfi \
420.status-network \
430.status-uptime \
@@ -25,6 +17,20 @@ CONFS= 100.clean-disks \
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"
@@ -60,10 +66,12 @@ SENDMAILPACKAGE= sendmail
.endif
.if ${MK_ZFS} != "no"
CONFS+= 223.backup-zfs \
CONFGROUPS+= ZFS
ZFS+= 223.backup-zfs \
404.status-zfs \
800.scrub-zfs \
801.trim-zfs
ZFSPACKAGE= zfs
.endif
.include <bsd.prog.mk>
+3 -1
View File
@@ -40,7 +40,9 @@ PFPACKAGE= pf
.endif
.if ${MK_INETD} != "no" && ${MK_TCP_WRAPPERS} != "no"
CONFS+= 900.tcpwrap
CONFGROUPS+= TCPWRAP
TCPWRAP+= 900.tcpwrap
TCPWRAPPACKAGE= tcpd
.endif
.include <bsd.prog.mk>