Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2018 21:20:56 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480310 - head/net-mgmt/prometheus2
Message-ID:  <201809212120.w8LLKug9001705@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Fri Sep 21 21:20:56 2018
New Revision: 480310
URL: https://svnweb.freebsd.org/changeset/ports/480310

Log:
  net-mgmt/prometheus2: Fix a path in pkg-plist.
  
  Fix the following installation phase error:
  
      cp: /usr/local/etc/newsyslog.conf.d/prometheus.conf: No such file or directory
  
  It was caused by a relative path being specified in pkg-plist instead of an
  absolute one (a leading "/" was missing).
  
  PR:		231548
  Reviewed by:	dor, krion
  Approved by:	dor (maintainer), krion (mentor)
  Sponsored by:	Bally Wulff Games & Entertainment GmbH
  Differential Revision:	https://reviews.freebsd.org/D17273

Modified:
  head/net-mgmt/prometheus2/Makefile
  head/net-mgmt/prometheus2/pkg-plist

Modified: head/net-mgmt/prometheus2/Makefile
==============================================================================
--- head/net-mgmt/prometheus2/Makefile	Fri Sep 21 20:33:16 2018	(r480309)
+++ head/net-mgmt/prometheus2/Makefile	Fri Sep 21 21:20:56 2018	(r480310)
@@ -3,6 +3,7 @@
 PORTNAME=	prometheus
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.3.2
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	dor.bsd@xm0.uk

Modified: head/net-mgmt/prometheus2/pkg-plist
==============================================================================
--- head/net-mgmt/prometheus2/pkg-plist	Fri Sep 21 20:33:16 2018	(r480309)
+++ head/net-mgmt/prometheus2/pkg-plist	Fri Sep 21 21:20:56 2018	(r480310)
@@ -1,6 +1,6 @@
 bin/prometheus
 bin/promtool
-%%USE_SYSLOG%%@sample %%ETCDIR%%/newsyslog.conf.sample etc/newsyslog.conf.d/%%PORTNAME%%.conf
+%%USE_SYSLOG%%@sample %%ETCDIR%%/newsyslog.conf.sample /etc/newsyslog.conf.d/%%PORTNAME%%.conf
 %%USE_SYSLOG%%@sample %%ETCDIR%%/syslog.d.conf.sample /etc/syslog.d/%%PORTNAME%%.conf
 %%PROMETHEUS_CONSOLE_LIBRARIES_DIR%%/menu.lib
 %%PROMETHEUS_CONSOLE_LIBRARIES_DIR%%/prom.lib



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