aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-02-15 05:03:41 +0800
committerswills <swills@FreeBSD.org>2014-02-15 05:03:41 +0800
commit3ccd0a0460711b44671c37e42497a9d488b40c14 (patch)
tree017c8307d55b23f67507b2a7e12967daea2bef1d /net-mgmt
parentaa1027bee5b913b0d1374c6672e7b4f62966f472 (diff)
downloadfreebsd-ports-gnome-3ccd0a0460711b44671c37e42497a9d488b40c14.tar.gz
freebsd-ports-gnome-3ccd0a0460711b44671c37e42497a9d488b40c14.tar.zst
freebsd-ports-gnome-3ccd0a0460711b44671c37e42497a9d488b40c14.zip
Nagios::Plugin::Beanstalk - Nagios plugin to observe Beanstalkd queue server.
WWW: http://search.cpan.org/dist/Nagios-Plugin-Beanstalk/ PR: ports/171762 Submitted by: Andrew Thompson <thompsa@freebsd.org>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/Makefile26
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/distinfo2
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/files/patch-Makefile.PL10
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-descr3
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-plist10
6 files changed, 52 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 2d3700d28eaf..454089d986a9 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -210,6 +210,7 @@
SUBDIR += p5-NSNMP
SUBDIR += p5-Nagios-Object
SUBDIR += p5-Nagios-Plugin
+ SUBDIR += p5-Nagios-Plugin-Beanstalk
SUBDIR += p5-Nagios-Plugin-LDAP
SUBDIR += p5-Nagios-Plugins-Memcached
SUBDIR += p5-Net-ACL
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/Makefile b/net-mgmt/p5-Nagios-Plugin-Beanstalk/Makefile
new file mode 100644
index 000000000000..0328d1fce4ec
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/Makefile
@@ -0,0 +1,26 @@
+# Created by: Andrew Thompson <thompsa@freebsd.org>
+# $FreeBSD$
+
+PORTNAME= Nagios-Plugin-Beanstalk
+PORTVERSION= 0.04
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:GBARR
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Module to check beanstalkd via nagios
+
+BUILD_DEPENDS= p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
+ p5-Beanstalk-Client>=0:${PORTSDIR}/net/p5-Beanstalk-Client
+
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
+ ${INSTALL} ${WRKSRC}/check_beanstalkd ${STAGEDIR}${PREFIX}/libexec/nagios/check_beanstalkd
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/distinfo b/net-mgmt/p5-Nagios-Plugin-Beanstalk/distinfo
new file mode 100644
index 000000000000..1b2d7b8cd422
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Nagios-Plugin-Beanstalk-0.04.tar.gz) = 9df45969b9b4ca10779a6cdd72c18347060a90a61f12eecd8918c4609a2466a1
+SIZE (Nagios-Plugin-Beanstalk-0.04.tar.gz) = 4792
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/files/patch-Makefile.PL b/net-mgmt/p5-Nagios-Plugin-Beanstalk/files/patch-Makefile.PL
new file mode 100644
index 000000000000..11672ec49087
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/files/patch-Makefile.PL
@@ -0,0 +1,10 @@
+--- Makefile.PL.orig 2012-09-19 11:01:40.247410095 +1200
++++ Makefile.PL 2012-09-19 11:01:53.134452220 +1200
+@@ -8,7 +8,6 @@
+ VERSION_FROM => 'lib/Nagios/Plugin/Beanstalk.pm',
+ ABSTRACT_FROM => 'lib/Nagios/Plugin/Beanstalk.pm',
+ PL_FILES => {},
+- EXE_FILES => ['check_beanstalkd'],
+ PREREQ_PM => {
+ 'Nagios::Plugin' => 0,
+ 'Beanstalk::Client' => 0,
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-descr b/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-descr
new file mode 100644
index 000000000000..c1b28a3ca479
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-descr
@@ -0,0 +1,3 @@
+Nagios::Plugin::Beanstalk - Nagios plugin to observe Beanstalkd queue server.
+
+WWW: http://search.cpan.org/dist/Nagios-Plugin-Beanstalk/
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-plist b/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-plist
new file mode 100644
index 000000000000..a6413d6269f8
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-plist
@@ -0,0 +1,10 @@
+libexec/nagios/check_beanstalkd
+%%SITE_PERL%%/Nagios/Plugin/Beanstalk.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin/Beanstalk/.packlist
+%%PERL5_MAN3%%/Nagios::Plugin::Beanstalk.3.gz
+@dirrmtry libexec/nagios
+@dirrmtry %%SITE_PERL%%/Nagios/Plugin
+@dirrmtry %%SITE_PERL%%/Nagios
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin/Beanstalk
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios