mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- update to version 1.1.8
- take maintainership PR: 151998 Submitted by: ohauer Approved by: Peter Lai <cowbert _at_ gmail.com> (old maintainer), glarkin (mentor, implicit)
This commit is contained in:
parent
1b9a387c3d
commit
337699123c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264368
@ -6,20 +6,50 @@
|
||||
#
|
||||
|
||||
PORTNAME= mk-livestatus
|
||||
PORTVERSION= 1.1.3
|
||||
PORTVERSION= 1.1.8
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://mathias-kettner.de/download/
|
||||
|
||||
MAINTAINER= cowbert@gmail.com
|
||||
COMMENT= Mathias Kettner's mk-livestatus plugin for nagios
|
||||
MAINTAINER= ohauer@FreeBSD.org
|
||||
COMMENT= Nagios event broker module
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
PLIST_FILES= lib/mk-livestatus/unixcat lib/mk-livestatus/livestatus.o
|
||||
PLIST_DIRS= lib/${PORTNAME}
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= PREFIX=${PREFIX}
|
||||
|
||||
PORTEXAMPLES= *
|
||||
EXAMPLE_FILES= api/python/example_multisite.py \
|
||||
api/python/example.py \
|
||||
api/python/livestatus.py \
|
||||
api/python/make_nagvis_map.py \
|
||||
api/python/README
|
||||
|
||||
# parameter "command_file" from nagios.cfg
|
||||
COMMAND_FILE?= /var/spool/nagios/rw/live
|
||||
|
||||
post-patch:
|
||||
.for i in ${EXAMPLE_FILES}
|
||||
@${REINPLACE_CMD} -i '' -e 's|/usr/bin/python|${LOCALBASE}/bin/python|g' \
|
||||
-e 's|/var/lib/nagios/rw/live|${COMMAND_FILE}|g' \
|
||||
-e 's|/var/run/nagios/rw/live|${COMMAND_FILE}|g' ${WRKSRC}/$i
|
||||
.endfor
|
||||
@${REINPLACE_CMD} -i '' -e 's|/usr/local/nagios/var/rw/live|${COMMAND_FILE}|' \
|
||||
${WRKSRC}/src/livestatus.h
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
# do not install the outdated perl api!
|
||||
${MKDIR} ${EXAMPLESDIR}/api/python
|
||||
. for i in ${EXAMPLE_FILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/$i ${EXAMPLESDIR}/$i
|
||||
. endfor
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,2 @@
|
||||
MD5 (mk-livestatus-1.1.3.tar.gz) = df32a163a8663c1784afd1fa329732a0
|
||||
SHA256 (mk-livestatus-1.1.3.tar.gz) = 8882b52332038d081b52ef7d0d16084ee184e07f536f227cad7da2c266f8e0c9
|
||||
SIZE (mk-livestatus-1.1.3.tar.gz) = 318465
|
||||
SHA256 (mk-livestatus-1.1.8.tar.gz) = b9f3449664625a5b23a24dfd015f2ad1e3b5829d45a3b9502051f9121c0da17d
|
||||
SIZE (mk-livestatus-1.1.8.tar.gz) = 323754
|
||||
|
15
net-mgmt/mk-livestatus/files/pkg-message.in
Normal file
15
net-mgmt/mk-livestatus/files/pkg-message.in
Normal file
@ -0,0 +1,15 @@
|
||||
=============================================================================
|
||||
|
||||
Notes:
|
||||
|
||||
* See the documentation at http://mathias-kettner.de/checkmk_livestatus.html
|
||||
|
||||
* Requires that net-mgmt/nagios be built with WITH_EVENT_BROKER=yes or
|
||||
livestatus.o will never be loaded...
|
||||
|
||||
* unixcat (for use with reading from the socket and/or inetd(8) support)
|
||||
moved from %%PREFIX%%/bin
|
||||
to %%PREFIX%%/lib/mk-livestatus
|
||||
in order to avoid a conflict with sysutils/ucspi-unix
|
||||
|
||||
=============================================================================
|
@ -1,4 +1,6 @@
|
||||
MKLivestatus is a very simple and smart Nagios eventbroker module.
|
||||
MK Livestatus - a Nagios event broker module that allows quick,
|
||||
direct and comfortable access to your status data.
|
||||
|
||||
Livestatus is concepted and tuned to reduce disk, memory and cpu loads
|
||||
caused by live-data processing on the Nagios system. Just as NDO,
|
||||
Livestatus makes use of the Nagios Event Broker API and loads a binary
|
||||
@ -7,4 +9,5 @@ actively write out data e.g. to the disk. Instead, it opens a socket for
|
||||
external applications to connect to and fetch the current status
|
||||
information from Nagios.
|
||||
|
||||
|
||||
WWW: http://mathias-kettner.de/checkmk_livestatus.html
|
||||
|
@ -1,10 +0,0 @@
|
||||
Notes:
|
||||
|
||||
* See the documentation at http://mathias-kettner.de/checkmk_livestatus.html
|
||||
|
||||
* Requires that net-mgmt/nagios be built with WITH_EVENT_BROKER=yes or
|
||||
livestatus.o will never be loaded...
|
||||
|
||||
* unixcat (for use with reading from the socket and/or inetd(8) support)
|
||||
moved to $LOCALBASE/lib/mk-livestatus from $LOCALBASE/bin in
|
||||
order to avoid a conflict with sysutils/ucspi-unix
|
Loading…
Reference in New Issue
Block a user