Bug 280953 - net-mgmt/check_mk_agent: Update to 2.3.0p12
Summary: net-mgmt/check_mk_agent: Update to 2.3.0p12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Zsolt Udvari
URL: https://checkmk.com/werks?search=free...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 19:16 UTC by Ian Valentine
Modified: 2024-08-20 20:33 UTC (History)
1 user (show)

See Also:


Attachments
[PATCH] net-mgmt/check_mk_agent: Update to 2.3.0p12 (6.37 KB, patch)
2024-08-20 19:16 UTC, Ian Valentine
ivalentine: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Valentine 2024-08-20 19:16:56 UTC
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-08-20 20:33:30 UTC
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(-)
Comment 2 Zsolt Udvari freebsd_committer freebsd_triage 2024-08-20 20:33:53 UTC
Great work! Thanks!