aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-24 19:13:51 +0800
committermiwi <miwi@FreeBSD.org>2006-08-24 19:13:51 +0800
commit4cfcf56d22f0fcc74096c535f03c051a3e97f8dd (patch)
treebde3005e61af2c9643d8d6bdca4a22b86b54dfdc
parent0bb451e1ea07485d02d59ae60e5c1f4ffb34aa22 (diff)
downloadfreebsd-ports-gnome-4cfcf56d22f0fcc74096c535f03c051a3e97f8dd.tar.gz
freebsd-ports-gnome-4cfcf56d22f0fcc74096c535f03c051a3e97f8dd.tar.zst
freebsd-ports-gnome-4cfcf56d22f0fcc74096c535f03c051a3e97f8dd.zip
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)
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/p5-Nagios-Plugin/Makefile41
-rw-r--r--net-mgmt/p5-Nagios-Plugin/distinfo3
-rw-r--r--net-mgmt/p5-Nagios-Plugin/pkg-descr7
-rw-r--r--net-mgmt/p5-Nagios-Plugin/pkg-plist10
5 files changed, 62 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 2710697df829..bc700e679746 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -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
diff --git a/net-mgmt/p5-Nagios-Plugin/Makefile b/net-mgmt/p5-Nagios-Plugin/Makefile
new file mode 100644
index 000000000000..edb379a76964
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin/Makefile
@@ -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>
diff --git a/net-mgmt/p5-Nagios-Plugin/distinfo b/net-mgmt/p5-Nagios-Plugin/distinfo
new file mode 100644
index 000000000000..d2205aa58c99
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin/distinfo
@@ -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
diff --git a/net-mgmt/p5-Nagios-Plugin/pkg-descr b/net-mgmt/p5-Nagios-Plugin/pkg-descr
new file mode 100644
index 000000000000..82963bb59a1d
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin/pkg-descr
@@ -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/
diff --git a/net-mgmt/p5-Nagios-Plugin/pkg-plist b/net-mgmt/p5-Nagios-Plugin/pkg-plist
new file mode 100644
index 000000000000..dff2f097f187
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin/pkg-plist
@@ -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