mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Update to 1.6.0p8
- Do not download the whole release tarball. This port needs only a couple of small text files from that huge tarball of a couple of hundreds of megabytes. - Add USES=perl5. It is required by the agent now. - Pet portclippy & portfmt. Reported by: Repology
This commit is contained in:
parent
c0737c1e4a
commit
fb870fedfb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525262
@ -1,10 +1,16 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= check_mk_agent
|
||||
DISTVERSION= 1.5.0p21
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.6.0p8
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= https://mathias-kettner.de/support/${DISTVERSION}/
|
||||
DISTNAME= check-mk-raw-${DISTVERSION}.cre
|
||||
MASTER_SITES= https://raw.githubusercontent.com/tribe29/checkmk/${DISTVERSIONFULL}/agents/:agent \
|
||||
https://raw.githubusercontent.com/tribe29/checkmk/${DISTVERSIONFULL}/doc/agents/:doc \
|
||||
https://raw.githubusercontent.com/tribe29/checkmk/${DISTVERSIONFULL}/:license
|
||||
DISTFILES= ${_CHECKMK_AGENT}:agent \
|
||||
README.FreeBSD:doc \
|
||||
COPYING:license
|
||||
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= 0mp@FreeBSD.org
|
||||
COMMENT= Nagios-compatible agent for the Check_MK monitoring
|
||||
@ -14,43 +20,51 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
RUN_DEPENDS= bash>0:shells/bash
|
||||
|
||||
USES= shebangfix
|
||||
USES= perl5 shebangfix
|
||||
USE_PERL5= run
|
||||
|
||||
SHEBANG_FILES= agents/${CHECKMK_AGENT}
|
||||
SHEBANG_FILES= ${_CHECKMK_AGENT}
|
||||
|
||||
EXTRACT_CMD= ${CP}
|
||||
EXTRACT_BEFORE_ARGS= # none
|
||||
EXTRACT_AFTER_ARGS= ${WRKSRC}
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
NO_TEST= yes
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= PORTNAME=${PORTNAME}
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
PORTDOCS= README.FreeBSD
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
CHECKMK_AGENT= ${PORTNAME}.freebsd
|
||||
CHECKMK_LIBDIR= ${LOCALBASE}/lib/check_mk_agent
|
||||
CHECKMK_CONFDIR=${LOCALBASE}/etc/check_mk
|
||||
CHECKMK_TMPDIR= /var/run/check_mk
|
||||
_CHECKMK_AGENT= ${PORTNAME}.freebsd
|
||||
_CHECKMK_CONFDIR= ${LOCALBASE}/etc/check_mk
|
||||
_CHECKMK_LIBDIR= ${LOCALBASE}/lib/check_mk_agent
|
||||
_CHECKMK_TMPDIR= /var/run/check_mk
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|%%CHECKMK_LIBDIR%%|${CHECKMK_LIBDIR}|' \
|
||||
-e 's|%%CHECKMK_CONFDIR%%|${CHECKMK_CONFDIR}|' \
|
||||
-e 's|%%CHECKMK_TMPDIR%%|${CHECKMK_TMPDIR}|' \
|
||||
-e 's|%%CHECKMK_LIBDIR%%|${_CHECKMK_LIBDIR}|' \
|
||||
-e 's|%%CHECKMK_CONFDIR%%|${_CHECKMK_CONFDIR}|' \
|
||||
-e 's|%%CHECKMK_TMPDIR%%|${_CHECKMK_TMPDIR}|' \
|
||||
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
-e 's|%%BASH%%|${LOCALBASE}/bin/bash|' \
|
||||
${WRKSRC}/agents/${CHECKMK_AGENT}
|
||||
${WRKSRC}/${_CHECKMK_AGENT}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/agents/${CHECKMK_AGENT} \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${_CHECKMK_AGENT} \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/agents/README.FreeBSD \
|
||||
${INSTALL_DATA} ${WRKSRC}/README.FreeBSD \
|
||||
${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,7 @@
|
||||
TIMESTAMP = 1567764056
|
||||
SHA256 (check-mk-raw-1.5.0p21.cre.tar.gz) = 270f5422adbbda151edf102bdd8665ff1b5ee96b2aec04a899114a5238381869
|
||||
SIZE (check-mk-raw-1.5.0p21.cre.tar.gz) = 386037040
|
||||
TIMESTAMP = 1580893908
|
||||
SHA256 (check_mk_agent-1.6.0.p8/check_mk_agent.freebsd) = a42dafe70c19eb29305c31725dc6b00ca8d160329adcf3b28a6fb2f2c85393e6
|
||||
SIZE (check_mk_agent-1.6.0.p8/check_mk_agent.freebsd) = 16073
|
||||
SHA256 (check_mk_agent-1.6.0.p8/README.FreeBSD) = 01094a2197ca0a3a43ac16098c0f800d2ee808db2fd9a2f133f4bad04062ec5f
|
||||
SIZE (check_mk_agent-1.6.0.p8/README.FreeBSD) = 1349
|
||||
SHA256 (check_mk_agent-1.6.0.p8/COPYING) = fbaab079995bef694ef8451f0f763b91b44e5b57b8e2a487d2a240b395187a7f
|
||||
SIZE (check_mk_agent-1.6.0.p8/COPYING) = 15174
|
||||
|
Loading…
Reference in New Issue
Block a user