[Bug 297244] net-mgmt/check_mk_agent-2.5.0p9: MK_CONFDIR set to /usr/local/usr/local/etc/check_mk

[email protected] Mon, 03 Aug 2026 06:21:19 +0000
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297244

            Bug ID: 297244
           Summary: net-mgmt/check_mk_agent-2.5.0p9: MK_CONFDIR set to
                    /usr/local/usr/local/etc/check_mk
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]

After make extract of latest 2.5.0p9:

/usr/ports/net-mgmt/check_mk_agent # grep -n MK_CONFDIR
work/check_mk_agent-2.5.0p9/check_mk_agent.freebsd
26:# Agent paths (MK_LIBDIR, MK_CONFDIR, MK_VARDIR, MK_LOGDIR, MK_BIN)
148:    : "${MK_CONFDIR:="/usr/local/etc/check_mk"}"


But after make patch and thus in the script which gets installed:

/usr/ports/net-mgmt/check_mk_agent # grep -n MK_CONFDIR
work/check_mk_agent-2.5.0p9/check_mk_agent.freebsd
26:# Agent paths (MK_LIBDIR, MK_CONFDIR, MK_VARDIR, MK_LOGDIR, MK_BIN)
148:    : "${MK_CONFDIR:="/usr/local/usr/local/etc/check_mk"}"


Maybe remove this from the Makefile:

-e 's|/etc/check_mk|${_CHECKMK_CONFDIR}|' \

-- 
You are receiving this mail because:
You are the assignee for the bug.