From nobody@FreeBSD.org  Tue Jun 24 18:42:01 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CDE09106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Jun 2008 18:42:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C86A08FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Jun 2008 18:42:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5OIg1Gp062334
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Jun 2008 18:42:01 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m5OIg1gY062333;
	Tue, 24 Jun 2008 18:42:01 GMT
	(envelope-from nobody)
Message-Id: <200806241842.m5OIg1gY062333@www.freebsd.org>
Date: Tue, 24 Jun 2008 18:42:01 GMT
From: Ryan Steinmetz <rpsfa@rit.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port net-mgmt/snmp4nagios
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         124954
>Category:       ports
>Synopsis:       New port net-mgmt/snmp4nagios
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 24 18:50:08 UTC 2008
>Closed-Date:    Sat Jun 28 22:36:06 UTC 2008
>Last-Modified:  Sat Jun 28 22:40:05 UTC 2008
>Originator:     Ryan Steinmetz
>Release:        6.3-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
FreeBSD host.rit.edu 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #2: Mon Jun  2 13:48:56 EDT 2008     rpsfa@rit.edu:/usr/obj/usr/src/sys/host  i386
>Description:
New port net-mgmt/snmp4nagios
>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:
#
#	snmp4nagios
#	snmp4nagios/pkg-plist
#	snmp4nagios/pkg-descr
#	snmp4nagios/distinfo
#	snmp4nagios/Makefile
#	snmp4nagios/pkg-message
#
echo c - snmp4nagios
mkdir -p snmp4nagios > /dev/null 2>&1
echo x - snmp4nagios/pkg-plist
sed 's/^X//' >snmp4nagios/pkg-plist << 'END-of-snmp4nagios/pkg-plist'
Xlibexec/nagios/check_brocade_fan
Xlibexec/nagios/check_brocade_overall
Xlibexec/nagios/check_brocade_port
Xlibexec/nagios/check_brocade_psu
Xlibexec/nagios/check_brocade_temp
Xlibexec/nagios/check_cisco_cpuusage
Xlibexec/nagios/check_cisco_fan
Xlibexec/nagios/check_cisco_if_load
Xlibexec/nagios/check_cisco_mem
Xlibexec/nagios/check_cisco_pix_conns
Xlibexec/nagios/check_cisco_psu
Xlibexec/nagios/check_cisco_temp
Xlibexec/nagios/check_cisco_voltage
Xlibexec/nagios/check_cisco_vpn_conns
Xlibexec/nagios/check_cisco_vpn_cpuusage
Xlibexec/nagios/check_cisco_vpn_fan
Xlibexec/nagios/check_cisco_vpn_temp
Xlibexec/nagios/check_cisco_vpn_thru
Xlibexec/nagios/check_cisco_vpn_voltage
Xlibexec/nagios/check_cpq_fan
Xlibexec/nagios/check_cpq_fcaaccel
Xlibexec/nagios/check_cpq_fcaeac
Xlibexec/nagios/check_cpq_fcahctrl
Xlibexec/nagios/check_cpq_fcalogdrv
Xlibexec/nagios/check_cpq_fcaphydrv
Xlibexec/nagios/check_cpq_fcaspare
Xlibexec/nagios/check_cpq_ida
Xlibexec/nagios/check_cpq_phydrv
Xlibexec/nagios/check_cpq_temp
Xlibexec/nagios/check_cpq_thermal
Xlibexec/nagios/check_if_by_snmp
Xlibexec/nagios/check_mail_server
Xlibexec/nagios/check_netapp_battery
Xlibexec/nagios/check_netapp_du
Xlibexec/nagios/check_netapp_fans
Xlibexec/nagios/check_netapp_ops
Xlibexec/nagios/check_netapp_overall
Xlibexec/nagios/check_netapp_psus
Xlibexec/nagios/check_netapp_raiddrv
Xlibexec/nagios/check_netapp_spare
Xlibexec/nagios/check_netapp_temp
Xlibexec/nagios/check_netapp_vol
Xlibexec/nagios/check_storage_by_snmp
Xlibexec/nagios/check_ucd_lms_fan
Xlibexec/nagios/check_ucd_lms_temp
Xlibexec/nagios/check_ucd_lms_voltage
Xlibexec/nagios/check_ucd_snmp_cpu
Xlibexec/nagios/check_ucd_snmp_load
Xlibexec/nagios/check_ucd_snmp_mem
Xlibexec/nagios/check_ups_alarms
Xlibexec/nagios/check_ups_battery
Xlibexec/nagios/check_ups_bypass
Xlibexec/nagios/check_ups_input
Xlibexec/nagios/check_ups_output
Xlibexec/nagios/check_ups_outputs
Xlibexec/nagios/check_winf_cpuusage
Xlibexec/nagios/check_winf_mem
X@dirrmtry libexec/nagios
END-of-snmp4nagios/pkg-plist
echo x - snmp4nagios/pkg-descr
sed 's/^X//' >snmp4nagios/pkg-descr << 'END-of-snmp4nagios/pkg-descr'
XThis is a plugin package for Nagios.  Quoting from the
Xsnmp4nagios home page:
X
XSNMP4Nagios is a package of Nagios plugins which use SNMP 
Xto query hosts. While some of the plugins use standard MIBs,
Xmost are designed for vendor specific agents.
X
XUnlike other Nagios plugins, they are able to scan hosts for
Xobjects which can be monitored. They also can keep performance
Xlogs and draw plots of these using Tobias Oetiker's RRDTool.
X
XCurrently devices by Brocade, Cisco, Compaq/HP and Network Appliance
Xas well as computers running Microsoft Windows or Net-SNMP
Xand uninterruptable power supplies are supported. 
X
XWWW: http://snmp4nagios.sourceforge.net/
END-of-snmp4nagios/pkg-descr
echo x - snmp4nagios/distinfo
sed 's/^X//' >snmp4nagios/distinfo << 'END-of-snmp4nagios/distinfo'
XMD5 (SNMP4Nagios-0.4.tar.gz) = 4e98f0f26f80136861dcc17ec7dba519
XSHA256 (SNMP4Nagios-0.4.tar.gz) = 6c2e91ede8a4dc1cdb79c38e80092fb9d2bc6fed5a2a8c899d0bcf0431ce0f04
XSIZE (SNMP4Nagios-0.4.tar.gz) = 235167
END-of-snmp4nagios/distinfo
echo x - snmp4nagios/Makefile
sed 's/^X//' >snmp4nagios/Makefile << 'END-of-snmp4nagios/Makefile'
X# New ports collection makefile for:   snmp4nagios
X# Date created:        22 June 2008
X# Whom:                Ryan Steinmetz
X#
X# $FreeBSD$
X#
X
XPORTNAME=	SNMP4Nagios
XPORTVERSION=	0.4
XCATEGORIES=	net-mgmt
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	snmp4nagios
XDISTNAME=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	rpsfa@rit.edu
XCOMMENT=	Vendor specific SNMP plugins for Nagios
X
XBUILD_DEPENDS=	snmpcheck:${PORTSDIR}/net-mgmt/net-snmp
XRUN_DEPENDS=	snmpcheck:${PORTSDIR}/net-mgmt/net-snmp
X
XGNU_CONFIGURE=	yes
X
XNAGIOSWWWDIR?=	www/nagios
XNAGIOSDIR?=	/var/spool/nagios
X
XOPTIONS=	RRDTOOL "Build with rrdtool support" OFF
X
XCONFIGURE_ARGS=	--sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
X		--bindir=${PREFIX}/libexec/nagios \
X		--libexecdir=${PREFIX}/libexec/nagios \
X		--datadir=${PREFIX}/share \
X		--sysconfdir=${PREFIX}/etc/nagios \
X		--localstatedir=${NAGIOSDIR} \
X		--with-rrddir=${NAGIOSDIR}/snmp4nagios/rrd \
X		--with-pngdir=${NAGIOSDIR}/snmp4nagios/png \
X		--prefix=${PREFIX}
X
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" \
X		CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
X		LDFLAGS="${LDFLAGS}" \
X		LIBS="-L${LOCALBASE}/lib"
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_RRDTOOL)
XLIB_DEPENDS+=	rrd:${PORTSDIR}/databases/rrdtool
XCONFIGURE_ARGS+=--with-rrd
XPLIST_SUB+=	RRD=""
X.else
XCONFIGURE_ARGS+=--with-rrd=no
XPLIST_SUB+=	RRD="@comment "
X.endif
X
X.include <bsd.port.post.mk>
END-of-snmp4nagios/Makefile
echo x - snmp4nagios/pkg-message
sed 's/^X//' >snmp4nagios/pkg-message << 'END-of-snmp4nagios/pkg-message'
XIf this port is no longer being used, you may clean up
X/var/spool/nagios/snmp4nagios/ manually.
END-of-snmp4nagios/pkg-message
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Tue Jun 24 21:15:53 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124954 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jun 28 22:36:05 UTC 2008 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124954 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/124954: commit references a PR
Date: Sat, 28 Jun 2008 22:36:22 +0000 (UTC)

 miwi        2008-06-28 22:36:14 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt             Makefile 
   Added files:
     net-mgmt/snmp4nagios Makefile distinfo pkg-descr pkg-message 
                          pkg-plist 
   Log:
   This is a plugin package for Nagios.  Quoting from the
   snmp4nagios home page:
   
   SNMP4Nagios is a package of Nagios plugins which use SNMP
   to query hosts. While some of the plugins use standard MIBs,
   most are designed for vendor specific agents.
   
   Unlike other Nagios plugins, they are able to scan hosts for
   objects which can be monitored. They also can keep performance
   logs and draw plots of these using Tobias Oetiker's RRDTool.
   
   Currently devices by Brocade, Cisco, Compaq/HP and Network Appliance
   as well as computers running Microsoft Windows or Net-SNMP
   and uninterruptable power supplies are supported.
   
   WWW: http://snmp4nagios.sourceforge.net/
   
   PR:             ports/124954
   Submitted by:   Ryan Steinmetz
   
   Revision  Changes    Path
   1.161     +1 -0      ports/net-mgmt/Makefile
   1.1       +53 -0     ports/net-mgmt/snmp4nagios/Makefile (new)
   1.1       +3 -0      ports/net-mgmt/snmp4nagios/distinfo (new)
   1.1       +16 -0     ports/net-mgmt/snmp4nagios/pkg-descr (new)
   1.1       +2 -0      ports/net-mgmt/snmp4nagios/pkg-message (new)
   1.1       +58 -0     ports/net-mgmt/snmp4nagios/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
