From dsh@vlink.ru  Thu May  4 12:44:24 2006
Return-Path: <dsh@vlink.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D6A6516A407
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 May 2006 12:44:24 +0000 (UTC)
	(envelope-from dsh@vlink.ru)
Received: from deliver.smtp.vlink.ru (rigel.internal.vlink.ru [85.172.168.9])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0CFEB43D5E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 May 2006 12:44:13 +0000 (GMT)
	(envelope-from dsh@vlink.ru)
Received: from smtp.smtp.vlink.ru (clamav.smtp.vlink.ru [192.168.4.1])
	by deliver.smtp.vlink.ru (Postfix) with ESMTP id 7E439FED3FD
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 May 2006 16:44:11 +0400 (MSD)
Received: from neva.vlink.ru (neva.vlink.ru [85.172.168.66])
	by smtp.smtp.vlink.ru (Postfix) with ESMTP id 550CA1009B6E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 May 2006 16:44:11 +0400 (MSD)
Received: from neva.vlink.ru (localhost [127.0.0.1])
	by neva.vlink.ru (8.13.6/8.13.6) with ESMTP id k44CiBe9074800;
	Thu, 4 May 2006 16:44:11 +0400 (MSD)
	(envelope-from dsh@neva.vlink.ru)
Received: (from dsh@localhost)
	by neva.vlink.ru (8.13.6/8.13.6/Submit) id k44CiApH074796;
	Thu, 4 May 2006 16:44:10 +0400 (MSD)
	(envelope-from dsh)
Message-Id: <200605041244.k44CiApH074796@neva.vlink.ru>
Date: Thu, 4 May 2006 16:44:10 +0400 (MSD)
From: Denis Shaposhnikov <dsh@vlink.ru>
Reply-To: Denis Shaposhnikov <dsh@vlink.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dsh@neva.vlink.ru
Subject: New port: net-mgmt/nagiosgraph (builds rrd graphs by perfdata)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 04 12:50:18 GMT 2006
>Closed-Date:    Sun May 07 12:12:43 GMT 2006
>Last-Modified:  Sun May 07 12:12:43 GMT 2006
>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:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Thu May 4 12:52:24 UTC 2006 
Class-Changed-Why:  
Fix category (new ports should be change-requests) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96769 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun May 7 12:12:34 UTC 2006 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96769 
>Unformatted:
