Created attachment 221991 [details] prometheus2.diff This patch updates net-mgmt/prometheus2 to v2.24.1. A full changelog can be found at https://github.com/prometheus/prometheus/releases/tag/v2.24.1 Other changes: - Removed PROMETHEUS_LOG_DIR from Makefile as absent. - Added prometheus_syslog_output_* features to rc-script. - Refactored Makefile and rc-script. Also fixed #253053.
Hi, Thanks for this, sorry I've been a bit slow updating this port recently. I believe this patch is mostly fine, except I'm confused about the removal of the `load_rc_config` command. Is loading the variables from `/etc/rc.conf` implied somewhere else? Cheers, -David
(In reply to David O'Rourke from comment #1) It was declared twice (@@ -37 +64 @@). I've removed once. Thx.
Aha, so it was. Thanks, I missed that. :)
Created attachment 221996 [details] net-mgmt/prometheus2: Update to 2.24.1 This takes the patch from Boris Korzun and fixes a pkg-plist issue revealed by poudriere testport.
Comment on attachment 221991 [details] prometheus2.diff Obsoleted by newer patch with a pkg-plist fix.
*** Bug 253053 has been marked as a duplicate of this bug. ***
Thanks for rolling the fix to the rc.d script in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253053 - i've closed that bug report as requested.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/248285432
A commit references this bug: Author: dmgk Date: Thu Jan 28 23:11:58 UTC 2021 New revision: 563164 URL: https://svnweb.freebsd.org/changeset/ports/563164 Log: net-mgmt/prometheus2: Update to 2.24.1 Changes: https://github.com/prometheus/prometheus/releases/tag/v2.24.1 PR: 253064 Submitted by: Boris Korzun <drtr0jan@yandex.ru> Approved by: David O'Rourke <dor.bsd@xm0.uk> (maintainer) Changes: head/net-mgmt/prometheus2/Makefile head/net-mgmt/prometheus2/distinfo head/net-mgmt/prometheus2/files/prometheus.in head/net-mgmt/prometheus2/pkg-plist
A commit references this bug: Author: dmgk Date: Thu Jan 28 23:13:07 UTC 2021 New revision: 563165 URL: https://svnweb.freebsd.org/changeset/ports/563165 Log: MFH: r563164 net-mgmt/prometheus2: Update to 2.24.1 Changes: https://github.com/prometheus/prometheus/releases/tag/v2.24.1 PR: 253064 Submitted by: Boris Korzun <drtr0jan@yandex.ru> Approved by: David O'Rourke <dor.bsd@xm0.uk> (maintainer) Changes: _U branches/2021Q1/ branches/2021Q1/net-mgmt/prometheus2/Makefile branches/2021Q1/net-mgmt/prometheus2/distinfo branches/2021Q1/net-mgmt/prometheus2/files/prometheus.in branches/2021Q1/net-mgmt/prometheus2/pkg-plist
Committed, thanks!