sysutils/zrepl: install newsyslog snippet as @sample

Reported by:	mat
Differential Revision:	https://reviews.freebsd.org/D12462
This commit is contained in:
Nikolai Lifanov 2017-10-06 15:27:57 +00:00
parent a24e22babf
commit 7dee67ef4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451388
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= zrepl
PORTVERSION= 0.0.1
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= lifanov@FreeBSD.org
@ -55,7 +56,7 @@ post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d \
${STAGEDIR}${PREFIX}/etc/syslog.d \
${STAGEDIR}${PREFIX}/etc/zrepl
${INSTALL_DATA} ${FILESDIR}/newsyslog-zrepl.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/zrepl.conf
${INSTALL_DATA} ${FILESDIR}/newsyslog-zrepl.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/zrepl.conf.sample
${INSTALL_DATA} ${FILESDIR}/syslog-zrepl.conf.sample ${STAGEDIR}${PREFIX}/etc/syslog.d/zrepl.conf.sample
${INSTALL_DATA} ${FILESDIR}/zrepl.yml.sample ${STAGEDIR}${PREFIX}/etc/zrepl/zrepl.yml.sample

View File

@ -1,4 +1,4 @@
bin/zrepl
etc/newsyslog.conf.d/zrepl.conf
@sample etc/newsyslog.conf.d/zrepl.conf.sample
@sample etc/syslog.d/zrepl.conf.sample
@sample etc/zrepl/zrepl.yml.sample