Emmanuel Vadot 77f0f1df8b pkgbase: Stop threating rc files as config files
rc scripts arent configuration files so use FILES instead of CONFS.
While here put rc scripts into related package (sendmail in the FreeBSD-sendmail
package, wpa_supplicant in the FreeBSD-wpa etc ...)

Reviewed by:	bapt, emaste
Differential Revision:	https://reviews.freebsd.org/D24177
2020-03-25 01:36:23 +00:00

31 lines
619 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
BINDIR= /etc
FILESGROUPS= RCETC RCETCEXEC RCETCDEFAULTS
RCETC= network.subr rc rc.initdiskless rc.subr rc.shutdown rc.bsdextended
RCETCPACKAGE= rc
.if ${MK_IPFW} != "no"
FILESGROUPS+= RCIPFW
RCIPFW+= rc.firewall
RCIPFWPACKAGE= ipfw
.endif
.if ${MK_SENDMAIL} != "no"
FILESGROUPS+= RCSENDMAIL
RCSENDMAIL+= rc.sendmail
RCSENDMAILPACKAGE= sendmail
.endif
RCETCMODE= 644
RCETCEXEC= netstart pccard_ether rc.resume rc.suspend
RCETCEXECMODE= 755
RCETCEXECPACKAGE= rc
RCETCDEFAULTSDIR= /etc/defaults
RCETCDEFAULTS= rc.conf
RCETCDEFAULTSPACKAGE= rc
SUBDIR+= rc.d
.include <bsd.prog.mk>