mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Object oriented helper routines for your Nagios plugin:
This is the place for common routines when writing Nagios plugins. The idea is to make it as easy as possible for developers to conform to the plugin guidelines (http://nagiosplug.sourceforge.net/developer-guidelines.html). WWW: http://search.cpan.org/dist/Nagios-Plugins/ PR: ports/102391 Submitted by: Gerrit Beine <gerrit.beine(at)gmx.de> Approved by: krion (mentor)
This commit is contained in:
parent
3161ba348e
commit
c9bbdd6bef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171316
5 changed files with 62 additions and 0 deletions
|
@ -130,6 +130,7 @@
|
|||
SUBDIR += p5-Cflow
|
||||
SUBDIR += p5-Mon
|
||||
SUBDIR += p5-NSNMP
|
||||
SUBDIR += p5-Nagios-Plugin
|
||||
SUBDIR += p5-Net-CIDR
|
||||
SUBDIR += p5-Net-IP
|
||||
SUBDIR += p5-Net-IP-Match-Regexp
|
||||
|
|
41
net-mgmt/p5-Nagios-Plugin/Makefile
Normal file
41
net-mgmt/p5-Nagios-Plugin/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# New ports collection makefile for: p5-Nagios-Plugin
|
||||
# Date created: 13 08 2006
|
||||
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Nagios-Plugin
|
||||
PORTVERSION= 0.12
|
||||
CATEGORIES= net-mgmt perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= ../../authors/id/T/TO/TONVOON
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= gerrit.beine@gmx.de
|
||||
COMMENT= Object oriented helper routines for Nagios plugin
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Nagios::Plugin.3 \
|
||||
Nagios::Plugin::Base.3 \
|
||||
Nagios::Plugin::Performance.3 \
|
||||
Nagios::Plugin::Range.3 \
|
||||
Nagios::Plugin::Threshold.3 \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= This port requires FreeBSD 5-STABLE.
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= Changes README
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
net-mgmt/p5-Nagios-Plugin/distinfo
Normal file
3
net-mgmt/p5-Nagios-Plugin/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (Nagios-Plugin-0.12.tar.gz) = 332c25b428ccd50963ac49a24eae9fcf
|
||||
SHA256 (Nagios-Plugin-0.12.tar.gz) = bea17584abf8f051efa44a83fef1fe65031fd9c5706a1582abfdae9258a7d91f
|
||||
SIZE (Nagios-Plugin-0.12.tar.gz) = 7778
|
7
net-mgmt/p5-Nagios-Plugin/pkg-descr
Normal file
7
net-mgmt/p5-Nagios-Plugin/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
Object oriented helper routines for your Nagios plugin:
|
||||
|
||||
This is the place for common routines when writing Nagios plugins. The idea is
|
||||
to make it as easy as possible for developers to conform to the plugin
|
||||
guidelines (http://nagiosplug.sourceforge.net/developer-guidelines.html).
|
||||
|
||||
WWW: http://search.cpan.org/dist/Nagios-Plugins/
|
10
net-mgmt/p5-Nagios-Plugin/pkg-plist
Normal file
10
net-mgmt/p5-Nagios-Plugin/pkg-plist
Normal file
|
@ -0,0 +1,10 @@
|
|||
%%SITE_PERL%%/Nagios/Plugin.pm
|
||||
%%SITE_PERL%%/Nagios/Plugin/Base.pm
|
||||
%%SITE_PERL%%/Nagios/Plugin/Performance.pm
|
||||
%%SITE_PERL%%/Nagios/Plugin/Range.pm
|
||||
%%SITE_PERL%%/Nagios/Plugin/Threshold.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios
|
||||
@dirrm %%SITE_PERL%%/Nagios/Plugin
|
||||
@dirrmtry %%SITE_PERL%%/Nagios
|
Loading…
Add table
Reference in a new issue