aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author0mp <0mp@FreeBSD.org>2018-09-22 05:20:56 +0800
committer0mp <0mp@FreeBSD.org>2018-09-22 05:20:56 +0800
commitba749a82d58abba52f91ef5d1d2e2ad8ba3d6a0c (patch)
treeda02b59e04d17ed51e20ce850a58e637c7f9d176
parent65ee3b59655c7f1e9a69e02fdc9ca987835cfd0f (diff)
downloadfreebsd-ports-gnome-ba749a82d58abba52f91ef5d1d2e2ad8ba3d6a0c.tar.gz
freebsd-ports-gnome-ba749a82d58abba52f91ef5d1d2e2ad8ba3d6a0c.tar.zst
freebsd-ports-gnome-ba749a82d58abba52f91ef5d1d2e2ad8ba3d6a0c.zip
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
-rw-r--r--net-mgmt/prometheus2/Makefile1
-rw-r--r--net-mgmt/prometheus2/pkg-plist2
2 files changed, 2 insertions, 1 deletions
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