Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 21:15:57 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405186 - head/www/grafana2
Message-ID:  <201601032115.u03LFvFg047410@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Sun Jan  3 21:15:57 2016
New Revision: 405186
URL: https://svnweb.freebsd.org/changeset/ports/405186

Log:
  Install grafana2.conf using the @sample keyword, to preserve changes
  between upgrades.
  
  PR:		205803
  Submitted by:	olgeni
  Approved by:	maintainer

Modified:
  head/www/grafana2/Makefile
  head/www/grafana2/pkg-plist

Modified: head/www/grafana2/Makefile
==============================================================================
--- head/www/grafana2/Makefile	Sun Jan  3 21:10:26 2016	(r405185)
+++ head/www/grafana2/Makefile	Sun Jan  3 21:15:57 2016	(r405186)
@@ -2,6 +2,7 @@
 
 PORTNAME=	grafana2
 PORTVERSION=	2.6.0
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 
@@ -151,7 +152,7 @@ do-install:
 	${MKDIR} ${STAGEDIR}${GRAFANAHOMEDIR}/data/log
 	${INSTALL_DATA} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/grafana/conf/defaults.ini \
 	${STAGEDIR}${GRAFANAHOMEDIR}/conf/defaults.ini
-	${INSTALL_DATA} ${WRKDIR}/grafana2.conf ${STAGEDIR}${PREFIX}/etc/grafana2.conf
+	${INSTALL_DATA} ${WRKDIR}/grafana2.conf ${STAGEDIR}${PREFIX}/etc/grafana2.conf.sample
 
 .include <bsd.port.pre.mk>
 

Modified: head/www/grafana2/pkg-plist
==============================================================================
--- head/www/grafana2/pkg-plist	Sun Jan  3 21:10:26 2016	(r405185)
+++ head/www/grafana2/pkg-plist	Sun Jan  3 21:15:57 2016	(r405186)
@@ -1,5 +1,5 @@
 bin/grafana-server
-etc/grafana2.conf
+@sample etc/grafana2.conf.sample
 share/grafana/conf/defaults.ini
 share/grafana/public/app/app.js
 share/grafana/public/app/core/config.js



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601032115.u03LFvFg047410>