Created attachment 252959 [details] [PATCH] net-mgmt/check_mk_agent: Update to 2.3.0p12 Updating check_mk_agent to a more recent version. Added dependencies on sysutils/ipmitool, devel/libstatgrab, ftp/wget, and USES=python since those are listed as required in the docs. [https://docs.checkmk.com/latest/en/agent_freebsd.html] Switched out LOCALBASE for PREFIX since I found that replacements weren't correct when passing a different prefix to make. Changed MK_VARDIR from /var/lib/check_mk_agent to /var/db/check_mk_agent since /var/lib isn't part of the FreeBSD filesystem hierarchy. Should the previous directory be moved as part of post-install? Updated the pkg-message to remove reference to devel/libstatgrab and devel/libstatgrab since those are included now, and changed the docs URL to be current.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=61d4ddfb22cf8e9e3048887938550dabeb985b51 commit 61d4ddfb22cf8e9e3048887938550dabeb985b51 Author: Ian Valentine <ivalentine@arizona.edu> AuthorDate: 2024-08-20 20:27:35 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2024-08-20 20:32:23 +0000 net-mgmt/check_mk_agent: update to 2.3.0p12 Add dependencies on sysutils/ipmitool, devel/libstatgrab, ftp/wget, and USES=python since those are listed as required in the docs. [https://docs.checkmk.com/latest/en/agent_freebsd.html] Switch to PREFIX (from LOCALBASE). Change MK_VARDIR from /var/lib/check_mk_agent to /var/db/check_mk_agent. Update the pkg-message to remove reference to devel/libstatgrab and devel/libstatgrab since those are included now, and changed the docs URL to be current. Changelog: https://checkmk.com/werks PR: 280953 Approved by: submitter is maintainer net-mgmt/check_mk_agent/Makefile | 21 ++++++++++++--------- net-mgmt/check_mk_agent/distinfo | 14 +++++++------- .../files/patch-check__mk__agent.freebsd | 14 ++++++++------ net-mgmt/check_mk_agent/files/pkg-message.in | 4 +--- 4 files changed, 28 insertions(+), 25 deletions(-)
Great work! Thanks!