Date: Thu, 4 May 2006 16:44:10 +0400 (MSD) From: Denis Shaposhnikov <dsh@vlink.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dsh@neva.vlink.ru Subject: ports/96769: New port: net-mgmt/nagiosgraph (builds rrd graphs by perfdata) Message-ID: <200605041244.k44CiApH074796@neva.vlink.ru> Resent-Message-ID: <200605041250.k44CoJ5a057264@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96769 >Category: ports >Synopsis: New port: net-mgmt/nagiosgraph (builds rrd graphs by perfdata) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu May 04 12:50:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Denis Shaposhnikov >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD neva.vlink.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Mon Apr 3 09:27:04 MSD 2006 dsh@neva.vlink.ru:/var/FreeBSD/obj/var/FreeBSD/src/sys/MYNERIC i386 >Description: nagiosgraph is an application to collect performance data from nagios plugins, insert the data into rrdtool database, and generate webpages with rrdtool graphs of the performance data. nagiosgraph is easy to configure, and ready to use for many nagios plugins. WWW: http://nagiosgraph.sourceforge.net/ >How-To-Repeat: >Fix: # 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: # # nagiosgraph/ # nagiosgraph/Makefile # nagiosgraph/pkg-descr # nagiosgraph/distinfo # nagiosgraph/pkg-plist # echo c - nagiosgraph/ mkdir -p nagiosgraph/ > /dev/null 2>&1 echo x - nagiosgraph/Makefile sed 's/^X//' >nagiosgraph/Makefile << 'END-of-nagiosgraph/Makefile' X# New ports collection makefile for: nagiosgraph X# Date created: Wed May 3 17:26:19 MSD 2006 X# Whom: Denis Shaposhnikov <dsh@vlink.ru> X# X# $FreeBSD$ X# X XPORTNAME= nagiosgraph XPORTVERSION= 0.8.2 XCATEGORIES= net-mgmt XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= dsh@vlink.ru XCOMMENT= "Generate rrdtool\'s graphs by performance data from nagios plugins." X XRUN_DEPENDS= ${LOCALBASE}/bin/nagios:${PORTSDIR}/net-mgmt/nagios \ X ${SITE_PERL}/${PERL_ARCH}/RRDs.pm:${PORTSDIR}/net/rrdtool X XUSE_PERL5_RUN= yes XNO_BUILD= yes X XPORTDOCS= CHANGELOG INSTALL README README.map X XPLIST_SUB= NAGIOSWWWDIR=${NAGIOSWWWDIR} X XNAGIOSWWWDIR?= www/nagios X Xpost-patch: X.for i in insert.pl show.cgi testcolor.cgi testentry.pl X ${REINPLACE_CMD} -e 's!/usr/bin/perl!${PERL}!g' -e 's!/usr/local!${PREFIX}!g' -e 's!nagiosgraph\.conf!nagios/nagiosgraph/nagiosgraph.conf!g' ${WRKSRC}/$i X.endfor X Xdo-install: X ${MKDIR} ${PREFIX}/etc/nagios/nagiosgraph X.for i in map nagiosgraph.conf X ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/etc/nagios/nagiosgraph/${i}.example X.endfor X X ${MKDIR} ${PREFIX}/libexec/${PORTNAME} X ${INSTALL_SCRIPT} ${WRKSRC}/insert.pl ${PREFIX}/libexec/${PORTNAME} X X ${MKDIR} ${PREFIX}/${NAGIOSWWWDIR}/cgi-bin/nagiosgraph X.for i in show.cgi testcolor.cgi X ${INSTALL_SCRIPT} ${WRKSRC}/$i ${PREFIX}/${NAGIOSWWWDIR}/cgi-bin/nagiosgraph X.endfor X X ${MKDIR} ${PREFIX}/${NAGIOSWWWDIR}/stylesheets X ${INSTALL_DATA} ${WRKSRC}/nagiosgraph.css ${PREFIX}/${NAGIOSWWWDIR}/stylesheets X X ${MKDIR} ${EXAMPLESDIR} X ${INSTALL_SCRIPT} ${WRKSRC}/testentry.pl ${EXAMPLESDIR} X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X. for i in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} X. endfor X.endif X X.include <bsd.port.mk> END-of-nagiosgraph/Makefile echo x - nagiosgraph/pkg-descr sed 's/^X//' >nagiosgraph/pkg-descr << 'END-of-nagiosgraph/pkg-descr' Xnagiosgraph is an application to collect performance data from nagios Xplugins, insert the data into rrdtool database, and generate webpages Xwith rrdtool graphs of the performance data. nagiosgraph is easy to Xconfigure, and ready to use for many nagios plugins. X XWWW: http://nagiosgraph.sourceforge.net/ END-of-nagiosgraph/pkg-descr echo x - nagiosgraph/distinfo sed 's/^X//' >nagiosgraph/distinfo << 'END-of-nagiosgraph/distinfo' XMD5 (nagiosgraph-0.8.2.tar.gz) = 7e756b4e9190fceee89d60e3717786a5 XSHA256 (nagiosgraph-0.8.2.tar.gz) = 238bdb138c1060a4ae568ea7db2e5b65f96237a4d12745b674958e2b6bcb0d86 XSIZE (nagiosgraph-0.8.2.tar.gz) = 12407 END-of-nagiosgraph/distinfo echo x - nagiosgraph/pkg-plist sed 's/^X//' >nagiosgraph/pkg-plist << 'END-of-nagiosgraph/pkg-plist' Xetc/nagios/nagiosgraph/map.example Xetc/nagios/nagiosgraph/nagiosgraph.conf.example Xlibexec/nagiosgraph/insert.pl X%%EXAMPLESDIR%%/testentry.pl X%%NAGIOSWWWDIR%%/cgi-bin/nagiosgraph/show.cgi X%%NAGIOSWWWDIR%%/cgi-bin/nagiosgraph/testcolor.cgi X%%NAGIOSWWWDIR%%/stylesheets/nagiosgraph.css X@dirrm etc/nagios/nagiosgraph X@dirrmtry etc/nagios X@dirrm libexec/nagiosgraph X@dirrm %%EXAMPLESDIR%% X@dirrm %%NAGIOSWWWDIR%%/cgi-bin/nagiosgraph X@dirrmtry %%NAGIOSWWWDIR%%/cgi-bin X@dirrmtry %%NAGIOSWWWDIR%%/stylesheets X@dirrmtry %%NAGIOSWWWDIR%% END-of-nagiosgraph/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605041244.k44CiApH074796>