diff options
| author | Ian Valentine <ivalentine@arizona.edu> | 2026-08-06 18:34:09 +0000 |
|---|---|---|
| committer | Bernhard Froehlich <decke@FreeBSD.org> | 2026-08-06 18:45:14 +0000 |
| commit | 1deeef98daabe9dc293951c1584d7c7aaf17d8ad (patch) | |
| tree | 5ccc1ce380a9205491fd94c3b6115f3e54e0387f | |
| parent | 373219ff8da64901c833da6686216ef23b7be603 (diff) | |
net-mgmt/check_mk_agent: Change default paths
Upstream changed default values for MK_CONFDIR and MK_VARDIR.
This updates the patch to properly use PREFIX with the new defaults
and not hardcode to /usr/local.
PR: 297244
Approved by: maintainer
| -rw-r--r-- | net-mgmt/check_mk_agent/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net-mgmt/check_mk_agent/Makefile b/net-mgmt/check_mk_agent/Makefile index 2964d9a8cca1..38e8c72be8e3 100644 --- a/net-mgmt/check_mk_agent/Makefile +++ b/net-mgmt/check_mk_agent/Makefile @@ -1,5 +1,6 @@ PORTNAME= check_mk_agent PORTVERSION= 2.5.0p9 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= https://raw.githubusercontent.com/Checkmk/checkmk/${_TAG}/agents/:agent \ https://raw.githubusercontent.com/Checkmk/checkmk/${_TAG}/doc/agents/:doc \ @@ -48,14 +49,12 @@ OPTIONS_DEFINE= DOCS _CHECKMK_AGENT= ${PORTNAME}.freebsd _CHECKMK_LIBDIR= ${PREFIX}/lib/check_mk_agent _CHECKMK_CONFDIR= ${PREFIX}/etc/check_mk -_CHECKMK_VARDIR= /var/db/check_mk_agent _TAG= d2d9245 post-patch: @${REINPLACE_CMD} \ -e 's|/usr/local/lib/check_mk_agent|${_CHECKMK_LIBDIR}|' \ - -e 's|/etc/check_mk|${_CHECKMK_CONFDIR}|' \ - -e 's|/var/lib/check_mk_agent|${_CHECKMK_VARDIR}|' \ + -e 's|/usr/local/etc/check_mk|${_CHECKMK_CONFDIR}|' \ -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/${_CHECKMK_AGENT} |
