svn commit: r451388 - head/sysutils/zrepl

Mathieu Arnold mat at FreeBSD.org
Fri Oct 6 16:41:51 UTC 2017


Le 06/10/2017 à 17:27, Nikolai Lifanov a écrit :
> Author: lifanov
> Date: Fri Oct  6 15:27:57 2017
> New Revision: 451388
> URL: https://svnweb.freebsd.org/changeset/ports/451388
>
> Log:
>   sysutils/zrepl: install newsyslog snippet as @sample
>   

That will not work, newsyslog uses all the files in the directory, so
you will have the .sample and the not .sample one.

>   Reported by:	mat
>   Differential Revision:	https://reviews.freebsd.org/D12462
>
> Modified:
>   head/sysutils/zrepl/Makefile
>   head/sysutils/zrepl/pkg-plist
>
> Modified: head/sysutils/zrepl/Makefile
> ==============================================================================
> --- head/sysutils/zrepl/Makefile	Fri Oct  6 15:08:56 2017	(r451387)
> +++ head/sysutils/zrepl/Makefile	Fri Oct  6 15:27:57 2017	(r451388)
> @@ -3,6 +3,7 @@
>  
>  PORTNAME=	zrepl
>  PORTVERSION=	0.0.1
> +PORTREVISION=	1
>  CATEGORIES=	sysutils
>  
>  MAINTAINER=	lifanov at 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
>  
>
> Modified: head/sysutils/zrepl/pkg-plist
> ==============================================================================
> --- head/sysutils/zrepl/pkg-plist	Fri Oct  6 15:08:56 2017	(r451387)
> +++ head/sysutils/zrepl/pkg-plist	Fri Oct  6 15:27:57 2017	(r451388)
> @@ -1,4 +1,4 @@
>  bin/zrepl
> -etc/newsyslog.conf.d/zrepl.conf
> + at sample etc/newsyslog.conf.d/zrepl.conf.sample
>  @sample etc/syslog.d/zrepl.conf.sample
>  @sample etc/zrepl/zrepl.yml.sample
>
>

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20171006/3b98b264/attachment.sig>


More information about the svn-ports-all mailing list