Page MenuHomeFreeBSD

net-mgmt/prometheus2: Fix a path in pkg-plist.
ClosedPublic

Authored by 0mp on Sep 21 2018, 2:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 19, 3:20 AM
Unknown Object (File)
Sat, Jul 18, 12:14 PM
Unknown Object (File)
Mon, Jun 29, 3:47 AM
Unknown Object (File)
Mon, Jun 22, 5:26 PM
Unknown Object (File)
Jun 20 2026, 12:17 PM
Unknown Object (File)
Jun 20 2026, 12:17 PM
Unknown Object (File)
Jun 18 2026, 1:58 PM
Unknown Object (File)
Jun 18 2026, 11:59 AM
Subscribers

Details

Summary
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
Sponsored by:	Bally Wulff Games & Entertainment GmbH
Test Plan

poudriere testport: ok
portlint: ok

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 19726
Build 19289: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sep 21 2018, 3:53 PM

@krion, thanks.

I think I'll wait for the maintainer to get their approval as well.

Thanks, fixing that path is fine.

This issue was introduced by a FreeBSD port committer adjusting one of my previous patches :(

This revision was automatically updated to reflect the committed changes.
head/net-mgmt/prometheus2/pkg-plist
3โ€“4 โ†—(On Diff #48329)

The fix is reversed. It should be etc, /etc is completely.