freebsd-ports/net-mgmt/prometheus2/pkg-plist
Mateusz Piotrowski 4f076ed812 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
2018-09-21 21:20:56 +00:00

16 lines
738 B
Text

bin/prometheus
bin/promtool
%%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
%%PROMETHEUS_CONSOLES_DIR%%/index.html.example
%%PROMETHEUS_CONSOLES_DIR%%/node-cpu.html
%%PROMETHEUS_CONSOLES_DIR%%/node-disk.html
%%PROMETHEUS_CONSOLES_DIR%%/node-overview.html
%%PROMETHEUS_CONSOLES_DIR%%/node.html
%%PROMETHEUS_CONSOLES_DIR%%/prometheus-overview.html
%%PROMETHEUS_CONSOLES_DIR%%/prometheus.html
@sample etc/prometheus.yml.sample
@dir(prometheus,prometheus) %%PROMETHEUS_DB_DIR%%
@dir(root,root) %%PROMETHEUS_LOG_DIR%%