svn commit: r480310 - head/net-mgmt/prometheus2

Mateusz Piotrowski 0mp at FreeBSD.org
Fri Sep 21 21:20:57 UTC 2018


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 at 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


More information about the svn-ports-head mailing list