Move all the newsyslog related configs to usr.sbin/newsyslog/
This is related to pkgbase and changes these to use CONFS so that these are tagged as config files. Approved by: AllanJude (mentor) Sponsored by: Essen Hackathon Differential Revision: https://reviews.freebsd.org/D16694
This commit is contained in:
parent
f60bdb86f0
commit
31ef5c6891
@ -31,7 +31,6 @@ BIN1= crontab \
|
||||
motd \
|
||||
netconfig \
|
||||
networks \
|
||||
newsyslog.conf \
|
||||
nsswitch.conf \
|
||||
phones \
|
||||
profile \
|
||||
@ -170,7 +169,6 @@ distribution:
|
||||
${_+_}cd ${.CURDIR}/devd; ${MAKE} install
|
||||
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
|
||||
${_+_}cd ${.CURDIR}/mtree; ${MAKE} install
|
||||
${_+_}cd ${.CURDIR}/newsyslog.conf.d; ${MAKE} install
|
||||
${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap
|
||||
${_+_}cd ${.CURDIR}/syslog.d; ${MAKE} install
|
||||
${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
CONFS= newsyslog.conf
|
||||
PROG= newsyslog
|
||||
MAN= newsyslog.8 newsyslog.conf.5
|
||||
SRCS= newsyslog.c ptimes.c
|
||||
@ -9,5 +10,6 @@ LIBADD= sbuf
|
||||
|
||||
HAS_TESTS=
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
SUBDIR+= newsyslog.conf.d
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -2,36 +2,36 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
BINDIR= /etc/newsyslog.conf.d
|
||||
CONFSDIR= /etc/newsyslog.conf.d
|
||||
|
||||
FILES=
|
||||
CONFS=
|
||||
|
||||
.if ${MK_AMD} != "no"
|
||||
FILES+= amd.conf
|
||||
CONFS+= amd.conf
|
||||
.endif
|
||||
|
||||
.if ${MK_FTP} != "no"
|
||||
FILES+= ftp.conf
|
||||
CONFS+= ftp.conf
|
||||
.endif
|
||||
|
||||
.if ${MK_LPR} != "no"
|
||||
FILES+= lpr.conf
|
||||
CONFS+= lpr.conf
|
||||
.endif
|
||||
|
||||
.if ${MK_OFED} != "no"
|
||||
FILES+= opensm.conf
|
||||
CONFS+= opensm.conf
|
||||
.endif
|
||||
|
||||
.if ${MK_PF} != "no"
|
||||
FILES+= pf.conf
|
||||
CONFS+= pf.conf
|
||||
.endif
|
||||
|
||||
.if ${MK_PPP} != "no"
|
||||
FILES+= ppp.conf
|
||||
CONFS+= ppp.conf
|
||||
.endif
|
||||
|
||||
.if ${MK_SENDMAIL} != "no"
|
||||
FILES+= sendmail.conf
|
||||
CONFS+= sendmail.conf
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
Loading…
Reference in New Issue
Block a user