pkgbase: Create a FreeBSD-periodic package
While here put the periodic files for some utilities in their own packages. MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33454
This commit is contained in:
parent
20cd6e315e
commit
b3d14eaccc
@ -83,6 +83,8 @@ nfs_COMMENT= NFS Utilities
|
|||||||
nfs_DESC= NFS Utilities
|
nfs_DESC= NFS Utilities
|
||||||
openssl_COMMENT= OpenSSL Library and Utility
|
openssl_COMMENT= OpenSSL Library and Utility
|
||||||
openssl_DESC= OpenSSL Library and Utility
|
openssl_DESC= OpenSSL Library and Utility
|
||||||
|
periodic_COMMENT= Periodic Utility
|
||||||
|
periodic_DESC= Periodic Utility
|
||||||
rc_COMMENT= RC Scripts
|
rc_COMMENT= RC Scripts
|
||||||
rc_DESC= RC Scripts
|
rc_DESC= RC Scripts
|
||||||
rcmds_COMMENT= Remote Command Utilities
|
rcmds_COMMENT= Remote Command Utilities
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PACKAGE= periodic
|
||||||
|
|
||||||
CONFS= periodic.conf
|
CONFS= periodic.conf
|
||||||
CONFSDIR= /etc/defaults
|
CONFSDIR= /etc/defaults
|
||||||
SCRIPTS=periodic.sh
|
SCRIPTS=periodic.sh
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
|
PACKAGE= periodic
|
||||||
|
|
||||||
CONFGROUPS= CONFS
|
CONFGROUPS= CONFS
|
||||||
|
|
||||||
CONFS= 100.clean-disks \
|
CONFS= 100.clean-disks \
|
||||||
@ -49,10 +51,12 @@ CONFS+= 480.status-ntpd \
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_SENDMAIL} != "no"
|
.if ${MK_SENDMAIL} != "no"
|
||||||
CONFS+= 150.clean-hoststat \
|
CONFGROUPS+= SENDMAIL
|
||||||
440.status-mailq \
|
SENDMAIL+= 150.clean-hoststat \
|
||||||
460.status-mail-rejects \
|
440.status-mailq \
|
||||||
500.queuerun
|
460.status-mail-rejects \
|
||||||
|
500.queuerun
|
||||||
|
SENDMAILPACKAGE= sendmail
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_ZFS} != "no"
|
.if ${MK_ZFS} != "no"
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
|
PACKAGE= periodic
|
||||||
|
|
||||||
CONFGROUPS= CONFS
|
CONFGROUPS= CONFS
|
||||||
|
|
||||||
CONFS= 450.status-security \
|
CONFS= 450.status-security \
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
|
PACKAGE= periodic
|
||||||
|
|
||||||
CONFGROUPS= CONFS DATA
|
CONFGROUPS= CONFS DATA
|
||||||
|
|
||||||
CONFS= 100.chksetuid \
|
CONFS= 100.chksetuid \
|
||||||
@ -12,23 +14,31 @@ CONFS= 100.chksetuid \
|
|||||||
410.logincheck \
|
410.logincheck \
|
||||||
700.kernelmsg \
|
700.kernelmsg \
|
||||||
800.loginfail
|
800.loginfail
|
||||||
DATA= security.functions
|
|
||||||
|
DATA= security.functions
|
||||||
DATAMODE= 444
|
DATAMODE= 444
|
||||||
|
DATAPACKAGE= periodic
|
||||||
|
|
||||||
# NB: keep these sorted by MK_* knobs
|
# NB: keep these sorted by MK_* knobs
|
||||||
|
|
||||||
.if ${MK_IPFILTER} != "no"
|
.if ${MK_IPFILTER} != "no"
|
||||||
CONFS+= 510.ipfdenied
|
CONFGROUPS+= IPFILTER
|
||||||
CONFS+= 610.ipf6denied
|
IPFILTER+= 510.ipfdenied
|
||||||
|
IPFILTER+= 610.ipf6denied
|
||||||
|
IPFILTERPACKAGE= ipfilter
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_IPFW} != "no"
|
.if ${MK_IPFW} != "no"
|
||||||
CONFS+= 500.ipfwdenied \
|
CONFGROUPS+= IPFW
|
||||||
550.ipfwlimit
|
IPFW+= 500.ipfwdenied \
|
||||||
|
550.ipfwlimit
|
||||||
|
IPFWPACKAGE= ipfw
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_PF} != "no"
|
.if ${MK_PF} != "no"
|
||||||
CONFS+= 520.pfdenied
|
CONFGROUPS+= PF
|
||||||
|
PF+= 520.pfdenied
|
||||||
|
PFPACKAGE= pf
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_INETD} != "no" && ${MK_TCP_WRAPPERS} != "no"
|
.if ${MK_INETD} != "no" && ${MK_TCP_WRAPPERS} != "no"
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
.include <src.opts.mk>
|
.include <src.opts.mk>
|
||||||
|
|
||||||
|
PACKAGE= periodic
|
||||||
|
|
||||||
CONFS= 340.noid \
|
CONFS= 340.noid \
|
||||||
450.status-security \
|
450.status-security \
|
||||||
999.local
|
999.local
|
||||||
|
Loading…
Reference in New Issue
Block a user