From ba749a82d58abba52f91ef5d1d2e2ad8ba3d6a0c Mon Sep 17 00:00:00 2001 From: 0mp <0mp@FreeBSD.org> Date: Fri, 21 Sep 2018 21:20:56 +0000 Subject: 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 --- net-mgmt/prometheus2/Makefile | 1 + net-mgmt/prometheus2/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net-mgmt/prometheus2/Makefile b/net-mgmt/prometheus2/Makefile index bc130ab0440b..f79f7be882ff 100644 --- a/net-mgmt/prometheus2/Makefile +++ b/net-mgmt/prometheus2/Makefile @@ -3,6 +3,7 @@ PORTNAME= prometheus DISTVERSIONPREFIX= v DISTVERSION= 2.3.2 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= dor.bsd@xm0.uk diff --git a/net-mgmt/prometheus2/pkg-plist b/net-mgmt/prometheus2/pkg-plist index c0d818e58ad0..a82f590dd9d8 100644 --- a/net-mgmt/prometheus2/pkg-plist +++ b/net-mgmt/prometheus2/pkg-plist @@ -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 -- cgit