svn commit: r490387 - in head/net-mgmt: . p5-Monitoring-Livestatus
Vinícius Zavam
egypcio at FreeBSD.org
Tue Jan 15 16:44:32 UTC 2019
Author: egypcio
Date: Tue Jan 15 16:44:30 2019
New Revision: 490387
URL: https://svnweb.freebsd.org/changeset/ports/490387
Log:
[NEW] net-mgmt/p5-Monitoring-Livestatus: Perl API for check_mk livestatus
Perl API for check_mk livestatus to access runtime data from Nagios
WWW: https://metacpan.org/release/Monitoring-Livestatus
Approved by: araujo (mentor)
Differential Revision: https://reviews.freebsd.org/D18637
Added:
head/net-mgmt/p5-Monitoring-Livestatus/
head/net-mgmt/p5-Monitoring-Livestatus/Makefile (contents, props changed)
head/net-mgmt/p5-Monitoring-Livestatus/distinfo (contents, props changed)
head/net-mgmt/p5-Monitoring-Livestatus/pkg-descr (contents, props changed)
Modified:
head/net-mgmt/Makefile
Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile Tue Jan 15 16:39:31 2019 (r490386)
+++ head/net-mgmt/Makefile Tue Jan 15 16:44:30 2019 (r490387)
@@ -230,6 +230,7 @@
SUBDIR += p5-GRNOC-TL1
SUBDIR += p5-MRTG-Parse
SUBDIR += p5-Mon
+ SUBDIR += p5-Monitoring-Livestatus
SUBDIR += p5-Monitoring-Plugin
SUBDIR += p5-NSNMP
SUBDIR += p5-Nagios-Object
Added: head/net-mgmt/p5-Monitoring-Livestatus/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/p5-Monitoring-Livestatus/Makefile Tue Jan 15 16:44:30 2019 (r490387)
@@ -0,0 +1,51 @@
+# $FreeBSD$
+
+PORTNAME= Monitoring-Livestatus
+PORTVERSION= 0.80
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:NIERLEIN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= egypcio at FreeBSD.org
+COMMENT= Perl API for check_mk livestatus
+
+LICENSE= GPLv1+
+LICENSE_FILE= ${WRKSRC}/README
+
+RUN_DEPENDS= p5-Carp>=0:devel/p5-Carp \
+ p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS \
+ p5-Data-Dumper>=0:devel/p5-Data-Dumper \
+ p5-Digest-MD5>=0:security/p5-Digest-MD5 \
+ p5-Encode>=0:converters/p5-Encode \
+ p5-IO-Socket-IP>=0:net/p5-IO-Socket-IP \
+ p5-Socket>=0:net/p5-Socket \
+ p5-Storable>=0:devel/p5-Storable
+TEST_DEPENDS= p5-Test-More-UTF8>=0:devel/p5-Test-More-UTF8 \
+ p5-Test-Simple>=0:devel/p5-Test-Simple
+
+USES= perl5
+USE_PERL5= configure
+
+PORTDOCS= Changes README
+PORTEXAMPLES= dump.pl test.pl
+
+PLIST_FILES= ${SITE_PERL}/Monitoring/Livestatus.pm \
+ ${SITE_PERL}/Monitoring/Livestatus/INET.pm \
+ ${SITE_PERL}/Monitoring/Livestatus/UNIX.pm \
+ ${SITE_PERL}/man/man3/Monitoring::Livestatus.3.gz \
+ ${SITE_PERL}/man/man3/Monitoring::Livestatus::INET.3.gz \
+ ${SITE_PERL}/man/man3/Monitoring::Livestatus::UNIX.3.gz
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
+ ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
Added: head/net-mgmt/p5-Monitoring-Livestatus/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/p5-Monitoring-Livestatus/distinfo Tue Jan 15 16:44:30 2019 (r490387)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1545493950
+SHA256 (Monitoring-Livestatus-0.80.tar.gz) = 6dca4affe9004327e6fdc44da3da07766bab17f2d1e329f12e62764609a532a5
+SIZE (Monitoring-Livestatus-0.80.tar.gz) = 53670
Added: head/net-mgmt/p5-Monitoring-Livestatus/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/p5-Monitoring-Livestatus/pkg-descr Tue Jan 15 16:44:30 2019 (r490387)
@@ -0,0 +1,7 @@
+Perl API for check_mk livestatus to access runtime data from Nagios and Icinga
+
+This module connects via socket/tcp to the livestatus addon for Naemon, Nagios,
+Icinga and Shinken. You first have to install and activate the livestatus
+addon in your monitoring installation.
+
+WWW: https://metacpan.org/release/Monitoring-Livestatus
More information about the svn-ports-head
mailing list