ports/118907: New Port: net-mgmt/p5-Nagios-Plugins-Memcached
Philip M. Gollucci
pgollucci at p6m7g8.com
Thu Dec 20 21:53:20 UTC 2007
>Number: 118907
>Category: ports
>Synopsis: New Port: net-mgmt/p5-Nagios-Plugins-Memcached
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 20 21:50:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Philip M. Gollucci
>Release: FreeBSD 7.0-BETA3
>Organization:
Riderway Inc.
>Environment:
FreeBSD magneto.rws 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Mon Nov 19 19:46:22 UTC 2007 pgollucci at elektra.rws:/usr/obj/usr/src/sys/MAGNETO amd64
>Description:
A nagios plugin for memcached. I actually wanted one in ruby, but it didn't exist. The perl one did.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# net-mgmt/p5-Nagios-Plugins-Memcached
# net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
# net-mgmt/p5-Nagios-Plugins-Memcached/distinfo
# net-mgmt/p5-Nagios-Plugins-Memcached/pkg-descr
# net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
# net-mgmt/p5-Nagios-Plugins-Memcached/files
# net-mgmt/p5-Nagios-Plugins-Memcached/files/patch-Makefile.PL
#
echo c - net-mgmt/p5-Nagios-Plugins-Memcached
mkdir -p net-mgmt/p5-Nagios-Plugins-Memcached > /dev/null 2>&1
echo x - net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
sed 's/^X//' >net-mgmt/p5-Nagios-Plugins-Memcached/Makefile << 'END-of-net-mgmt/p5-Nagios-Plugins-Memcached/Makefile'
X# New ports collection makefile for: p5-Nagios-Plugins-Memcached
X# Date created: 18 Dec 2007
X# Whom: Philp M. Gollucci <pgollucci at p6m7g8.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Nagios-Plugins-Memcached
XPORTVERSION= 0.02
XCATEGORIES= net-mgmt perl5
XMASTER_SITES= CPAN
XMASTER_SITE_SUBDIR= ../../authors/id/Z/ZI/ZIGOROU
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= pgollucci at p6m7g8.com
XCOMMENT= Module to check memcached via nagios.
X
XPERL_CONFIGURE= yes
X
XBUILD_DEPENDS+= ${SITE_PERL}/Nagios/Plugin.pm:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
X ${SITE_PERL}/Cache/Memcached.pm:${PORTSDIR}/databases/p5-Cache-Memcached \
X ${SITE_PERL}/Carp/Clan.pm:${PORTSDIR}/devel/p5-Carp-Clan
XRUN_DEPENDS+= ${BUILD_DEPENDS}
X
XMAN3= Nagios::Plugins::Memcached.3
X
X.if !defined(NOPORTDOCS)
XPORTDOCS= Changes README
X
Xpost-install:
X @${INSTALL} ${WRKSRC}/bin/check_memcached ${LOCALBASE}/libexec/nagios
X @${MKDIR} ${DOCSDIR}
X @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
X.endif
X
X.include <bsd.port.mk>
END-of-net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
echo x - net-mgmt/p5-Nagios-Plugins-Memcached/distinfo
sed 's/^X//' >net-mgmt/p5-Nagios-Plugins-Memcached/distinfo << 'END-of-net-mgmt/p5-Nagios-Plugins-Memcached/distinfo'
XMD5 (Nagios-Plugins-Memcached-0.02.tar.gz) = 99154aa60b099a2563f8773f95fd0646
XSHA256 (Nagios-Plugins-Memcached-0.02.tar.gz) = e0dc12870d1336686c509e2a5aff7437b741e1e294f51d06de0ad7d21bad091c
XSIZE (Nagios-Plugins-Memcached-0.02.tar.gz) = 42390
END-of-net-mgmt/p5-Nagios-Plugins-Memcached/distinfo
echo x - net-mgmt/p5-Nagios-Plugins-Memcached/pkg-descr
sed 's/^X//' >net-mgmt/p5-Nagios-Plugins-Memcached/pkg-descr << 'END-of-net-mgmt/p5-Nagios-Plugins-Memcached/pkg-descr'
XNagios::Plugins::Memcached - Nagios plugin to observe memcached.
X
XWWW: http://search.cpan.org/dist/Nagios-Plugins-Memcached/
END-of-net-mgmt/p5-Nagios-Plugins-Memcached/pkg-descr
echo x - net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
sed 's/^X//' >net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist << 'END-of-net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist'
Xlibexec/nagios/check_memcached
X%%SITE_PERL%%/Nagios/Plugins/Memcached.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugins/Memcached/.packlist
X at dirrmtry %%SITE_PERL%%/Nagios/Plugins
X at dirrmtry %%SITE_PERL%%/Nagios
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugins
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
END-of-net-mgmt/p5-Nagios-Plugins-Memcached/pkg-plist
echo c - net-mgmt/p5-Nagios-Plugins-Memcached/files
mkdir -p net-mgmt/p5-Nagios-Plugins-Memcached/files > /dev/null 2>&1
echo x - net-mgmt/p5-Nagios-Plugins-Memcached/files/patch-Makefile.PL
sed 's/^X//' >net-mgmt/p5-Nagios-Plugins-Memcached/files/patch-Makefile.PL << 'END-of-net-mgmt/p5-Nagios-Plugins-Memcached/files/patch-Makefile.PL'
X--- ./Makefile.PL.orig 2007-12-20 21:29:34.000000000 +0000
X+++ ./Makefile.PL 2007-12-20 21:29:46.000000000 +0000
X@@ -12,8 +12,6 @@
X requires('Nagios::Plugin');
X requires('Time::HiRes');
X
X-install_script "bin/check_memcached";
X-
X use_test_base;
X
X auto_include;
END-of-net-mgmt/p5-Nagios-Plugins-Memcached/files/patch-Makefile.PL
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list