Created attachment 257438 [details] net-mgmt/netdata: Update to v2.2.5 Changelog: https://github.com/netdata/netdata/releases/tag/v2.2.4 https://github.com/netdata/netdata/releases/tag/v2.2.5 * Add newsyslog.conf.d configuration (see bug #281687) * Fixed CLOUD_DASHBOARD distfile * Updated CLOUD_DASHBOARD to 20250212 * Updated pkg-message
${INSTALL_DATA} ${FILESDIR}/netdata.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/netdata.conf.sample should probably say ${INSTALL_DATA} ${FILESDIR}/netdata.newsyslog.conf.sample ${STAGEDIR}${ETCDIR}/netdata.newsyslog.conf.sample ?
Created attachment 257478 [details] net-mgmt/netdata: Update to v2.2.5 Hmm yes, good catch. I just took that line from nncp. It's probably better to have the sample file in %%ETCDIR%% tho, moved it there.
BTW bug #273831 and #267825 can probably be closed too.
(In reply to Daniel Engberg from comment #1) Maybe better: ${INSTALL_DATA} ${FILESDIR}/netdata.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/netdata.conf.sample
(In reply to Vladimir Druzenko from comment #4) https://github.com/freebsd/freebsd-ports/blob/main/Mk/bsd.port.mk#L1548 No need to change
(In reply to Daniel Engberg from comment #5) I know what is ETCDIR. I suggested to use etc/newsyslog.conf.d/ for netdata.newsyslog.conf.sample.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a6b67ce13a845a15af98a89d9fd9708aa29cfc0 commit 2a6b67ce13a845a15af98a89d9fd9708aa29cfc0 Author: Namkhai Bourquin <nk@nkeor.me> AuthorDate: 2025-02-20 23:59:30 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2025-02-20 23:59:35 +0000 net-mgmt/netdata: Update to 2.2.5 Changelog: https://github.com/netdata/netdata/releases/tag/v2.2.4 https://github.com/netdata/netdata/releases/tag/v2.2.5 * Add newsyslog.conf.d configuration (PR 281687) * Fixed CLOUD_DASHBOARD distfile * Updated CLOUD_DASHBOARD to 20250212 * Updated pkg-message PR: 284759 net-mgmt/netdata/Makefile | 6 +- net-mgmt/netdata/distinfo | 10 +- .../files/netdata.newsyslog.conf.sample (new) | 9 + net-mgmt/netdata/pkg-message | 4 +- net-mgmt/netdata/pkg-plist | 210 +++++++++++---------- 5 files changed, 126 insertions(+), 113 deletions(-)
Committed, thanks!