From owner-svn-ports-branches@freebsd.org Tue Jan 3 15:52:07 2017 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9F89C9D3B6; Tue, 3 Jan 2017 15:52:07 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60C521DA4; Tue, 3 Jan 2017 15:52:07 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v03Fq6WJ062802; Tue, 3 Jan 2017 15:52:06 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v03Fq6Qg062800; Tue, 3 Jan 2017 15:52:06 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201701031552.v03Fq6Qg062800@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 3 Jan 2017 15:52:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r430480 - branches/2017Q1/sysutils/munin-node X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2017 15:52:07 -0000 Author: mat Date: Tue Jan 3 15:52:06 2017 New Revision: 430480 URL: https://svnweb.freebsd.org/changeset/ports/430480 Log: MFH: r430479 Fix plugin configurations. Munin seems to read all the files in its .d directory, so the .sample is always read after the actual .conf, and overwrites its defaults. Which is, obviously, a bad thing. Sponsored by: Absolight Modified: branches/2017Q1/sysutils/munin-node/Makefile branches/2017Q1/sysutils/munin-node/pkg-plist Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/sysutils/munin-node/Makefile ============================================================================== --- branches/2017Q1/sysutils/munin-node/Makefile Tue Jan 3 15:48:47 2017 (r430479) +++ branches/2017Q1/sysutils/munin-node/Makefile Tue Jan 3 15:52:06 2017 (r430480) @@ -3,7 +3,7 @@ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils perl5 MASTER_SITES= ${MUNIN_SITES} PKGNAMESUFFIX= -node @@ -77,7 +77,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/build/node/munin-node.conf \ ${STAGEDIR}${ETCDIR}/munin-node.conf.sample ${INSTALL_DATA} ${WRKDIR}/plugins.conf \ - ${STAGEDIR}${ETCDIR}/plugin-conf.d/plugins.conf.sample + ${STAGEDIR}${ETCDIR}/plugins.conf.sample (cd ${WRKSRC}/node/blib/bindoc; \ ${INSTALL_MAN} munin-node-configure.1 munin-node.1 munin-run.1 munin-sched.1 munindoc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1; \ ) Modified: branches/2017Q1/sysutils/munin-node/pkg-plist ============================================================================== --- branches/2017Q1/sysutils/munin-node/pkg-plist Tue Jan 3 15:48:47 2017 (r430479) +++ branches/2017Q1/sysutils/munin-node/pkg-plist Tue Jan 3 15:52:06 2017 (r430480) @@ -1,6 +1,7 @@ bin/munindoc @sample %%ETCDIR%%/munin-node.conf.sample -@sample %%ETCDIR%%/plugin-conf.d/plugins.conf.sample +@dir %%ETCDIR%%/plugin-conf.d +@sample %%ETCDIR%%/plugins.conf.sample %%ETCDIR%%/plugin-conf.d/plugins.conf @comment the directory exists in STAGEDIR because it is present in @comment BSD.local.dist but if not registered here, it will not exist in PREFIX @comment when the package is installed.