1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

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:
Brad Davis 2018-08-12 13:24:53 +00:00
parent f60bdb86f0
commit 31ef5c6891
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337686
12 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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>

View File

@ -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>