Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2006 15:20:14 -0700 (MST)
From:      Brock Williams <brock@gringo.cotcomsol.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105837: New Port: argus-monitor
Message-ID:  <200611242220.kAOMKEaT059900@gringo.cotcomsol.com>
Resent-Message-ID: <200611242230.kAOMU6E4023991@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105837
>Category:       ports
>Synopsis:       New Port: argus-monitor
>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:   Fri Nov 24 22:30:06 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Brock Williams
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD gringo.cotcomsol.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Fri Nov 3 11:02:57 MST 2006 brock@gringo.cotcomsol.com:/usr/obj/usr/src/sys/GRINGOSMP i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

This is a new port of Argus - a network monitoring program.  There is already
a port named argus that is a different program.  I wasn't sure how to handle that
so I named this port argus-monitor to reflect it's use.
The program is from http://argus.tcp4me.com

	

--- argus_monitor_port.shar begins here ---
# 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:
#
#	/usr/ports/net-mgmt/argus-monitor/
#	/usr/ports/net-mgmt/argus-monitor/Makefile
#	/usr/ports/net-mgmt/argus-monitor/pkg-descr
#	/usr/ports/net-mgmt/argus-monitor/pkg-plist
#	/usr/ports/net-mgmt/argus-monitor/distinfo
#	/usr/ports/net-mgmt/argus-monitor/files
#	/usr/ports/net-mgmt/argus-monitor/files/argusd.in
#
echo c - /usr/ports/net-mgmt/argus-monitor/
mkdir -p /usr/ports/net-mgmt/argus-monitor/ > /dev/null 2>&1
echo x - /usr/ports/net-mgmt/argus-monitor/Makefile
sed 's/^X//' >/usr/ports/net-mgmt/argus-monitor/Makefile << 'END-of-/usr/ports/net-mgmt/argus-monitor/Makefile'
X# New ports collection makefile for:   argus-monitor
X# Date created:        18 November 2006
X# Whom:                brock@cotcomsol.com
X#
X# $FreeBSD$
X#
X
XPORTNAME=      argus-monitor
XPORTVERSION=   20060722
XCATEGORIES=    net-mgmt
XMASTER_SITES=  http://www.tcp4me.com/code/argus-archive/
XDISTNAME=	argus-dev-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=    brock@cotcomsol.com
XCOMMENT=       Argus - The All Seeing System and Network Monitoring Software
X
XWRKSRC=		${WRKDIR}/${DISTNAME}
XUSE_PERL5=	yes
XUSE_RC_SUBR=	argusd
XHAS_CONFIGURE=	yes
X
XOPTIONS=	QPAGE 	"qpage Support" Off\
X		FPING 	"fping support" Off\
X		GD	"GD graphics support" On
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_QPAGE)
XRUN_DEPENDS+=qpage:${PORTSDIR}/comms/qpage
XBUILD_DEPENDS+=qpage:${PORTSDIR}/comms/qpage
X.endif
X
X.if defined(WITH_FPING)
XRUN_DEPENDS+=fping:${PORTSDIR}/net/fping
XBUILD_DEPENDS+=fping:${PORTSDIR}/net/fping
X.endif
X
X.if defined(WITH_GD)
XBUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
XRUN_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
X.endif
X
XCONFIGURE_SCRIPT= Configure
XCONFIGURE_ARGS=	"--bin_dir=${PREFIX}/bin"
XCONFIGURE_ARGS+="--sbin_dir=${PREFIX}/sbin"
XCONFIGURE_ARGS+="--lib_dir=${PREFIX}/lib/argus-monitor"
XCONFIGURE_ARGS+="--data_dir=${PREFIX}/etc/argus-monitor"
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/net-mgmt/argus-monitor/Makefile
echo x - /usr/ports/net-mgmt/argus-monitor/pkg-descr
sed 's/^X//' >/usr/ports/net-mgmt/argus-monitor/pkg-descr << 'END-of-/usr/ports/net-mgmt/argus-monitor/pkg-descr'
X* Argus is a system and network monitoring application.
X* It will monitor nearly anything you ask it to monitor
X  (TCP + UDP applications, IP connectivity, SNMP OIDS, 
X  Programs, Databases, etc).
X* It presents a nice clean, easy to view web interface that 
X  will keep both the managers happy (Red Bad. Green Good.) 
X  and the techs happy ("Ah! that's what the problem is").
X* It can send alerts numerous ways (such as via pager) and 
X  can automatically escalate if someone falls asleep. 
END-of-/usr/ports/net-mgmt/argus-monitor/pkg-descr
echo x - /usr/ports/net-mgmt/argus-monitor/pkg-plist
sed 's/^X//' >/usr/ports/net-mgmt/argus-monitor/pkg-plist << 'END-of-/usr/ports/net-mgmt/argus-monitor/pkg-plist'
Xbin/argus-config
Xetc/argus-monitor/config.example
Xetc/argus-monitor/locale/de_DE
Xetc/argus-monitor/locale/el_gr
Xetc/argus-monitor/locale/eubonics
Xetc/argus-monitor/locale/fr_fr
Xetc/argus-monitor/locale/piglatin
Xetc/argus-monitor/locale/sp_ar
Xetc/argus-monitor/locale/template
Xetc/argus-monitor/log
Xetc/argus-monitor/notno
Xetc/argus-monitor/users.example
Xlib/argus-monitor/Alias.pm
Xlib/argus-monitor/Argus/Agent.pm
Xlib/argus-monitor/Argus/Asterisk.pm
Xlib/argus-monitor/Argus/BER.pm
Xlib/argus-monitor/Argus/Ctl.pm
Xlib/argus-monitor/Argus/Encode.pm
Xlib/argus-monitor/Argus/IP.pm
Xlib/argus-monitor/Argus/RPC.pm
Xlib/argus-monitor/Argus/RPC/TCP.pm
Xlib/argus-monitor/Argus/RPC/UDP.pm
Xlib/argus-monitor/Argus/SIP.pm
Xlib/argus-monitor/Argus/SIP/TCP.pm
Xlib/argus-monitor/Argus/SIP/UDP.pm
Xlib/argus-monitor/Artistic
Xlib/argus-monitor/BaseIO.pm
Xlib/argus-monitor/Chart/Strip.pm
Xlib/argus-monitor/Commands.pm
Xlib/argus-monitor/Conf.pm
Xlib/argus-monitor/Configable.pm
Xlib/argus-monitor/Control.pm
Xlib/argus-monitor/Cron.pm
Xlib/argus-monitor/DNS.pm
Xlib/argus-monitor/DNS/TCP.pm
Xlib/argus-monitor/DNS/UDP.pm
Xlib/argus-monitor/DataBase.pm
Xlib/argus-monitor/Doc.pm
Xlib/argus-monitor/Error.pm
Xlib/argus-monitor/Graph.pm
Xlib/argus-monitor/GraphData.pm
Xlib/argus-monitor/Group.pm
Xlib/argus-monitor/LICENSE
Xlib/argus-monitor/LOCATION
Xlib/argus-monitor/MonEl.pm
Xlib/argus-monitor/NotMe.pm
Xlib/argus-monitor/Notify.pm
Xlib/argus-monitor/NullConf.pm
Xlib/argus-monitor/NullCtl.pm
Xlib/argus-monitor/Override.pm
Xlib/argus-monitor/Ping.pm
Xlib/argus-monitor/Prog.pm
Xlib/argus-monitor/README
Xlib/argus-monitor/Resolv.pm
Xlib/argus-monitor/SNMP.pm
Xlib/argus-monitor/SSL.pm
Xlib/argus-monitor/Self.pm
Xlib/argus-monitor/Server.pm
Xlib/argus-monitor/Service.pm
Xlib/argus-monitor/Stats.pm
Xlib/argus-monitor/TCP.pm
Xlib/argus-monitor/TestPort.pm
Xlib/argus-monitor/UDP.pm
Xlib/argus-monitor/UserCron.pm
Xlib/argus-monitor/Web.pm
Xlib/argus-monitor/conf.pl
Xlib/argus-monitor/graphd
Xlib/argus-monitor/localization.pl
Xlib/argus-monitor/misc.pl
Xlib/argus-monitor/picasso
Xlib/argus-monitor/web_about.pl
Xlib/argus-monitor/web_acl.pl
Xlib/argus-monitor/web_auth_file.pl
Xlib/argus-monitor/web_graph.pl
Xlib/argus-monitor/web_login.pl
Xlib/argus-monitor/web_misc.pl
Xlib/argus-monitor/web_notify.pl
Xlib/argus-monitor/web_override.pl
Xlib/argus-monitor/web_page.pl
Xlib/argus-monitor/web_utils.pl
Xsbin/argus-agent
Xsbin/arguscgi
Xsbin/argusctl
Xsbin/argusd
Xsbin/argusvxml
X@dirrm share/nls/en_US.US-ASCII
X@dirrm share/nls/POSIX
X@dirrm lib/argus-monitor/DNS
X@dirrm lib/argus-monitor/Chart
X@dirrm lib/argus-monitor/Argus/SIP
X@dirrm lib/argus-monitor/Argus/RPC
X@dirrm lib/argus-monitor/Argus
X@dirrm lib/argus-monitor
X@dirrm etc/argus-monitor/stats
X@dirrm etc/argus-monitor/perl
X@dirrm etc/argus-monitor/notify
X@dirrm etc/argus-monitor/locale
X@dirrm etc/argus-monitor/html
X@dirrm etc/argus-monitor/gdata
X@dirrm etc/argus-monitor/gcache
X@dirrm etc/argus-monitor
END-of-/usr/ports/net-mgmt/argus-monitor/pkg-plist
echo x - /usr/ports/net-mgmt/argus-monitor/distinfo
sed 's/^X//' >/usr/ports/net-mgmt/argus-monitor/distinfo << 'END-of-/usr/ports/net-mgmt/argus-monitor/distinfo'
XMD5 (argus-dev-20060722.tgz) = 8118f8faebb5e54b7e76a842a0716a65
XSHA256 (argus-dev-20060722.tgz) = 9e380e1caa28da06489258952fefee74e92afa896c675013beea5510187c2ba1
XSIZE (argus-dev-20060722.tgz) = 306604
END-of-/usr/ports/net-mgmt/argus-monitor/distinfo
echo c - /usr/ports/net-mgmt/argus-monitor/files
mkdir -p /usr/ports/net-mgmt/argus-monitor/files > /dev/null 2>&1
echo x - /usr/ports/net-mgmt/argus-monitor/files/argusd.in
sed 's/^X//' >/usr/ports/net-mgmt/argus-monitor/files/argusd.in << 'END-of-/usr/ports/net-mgmt/argus-monitor/files/argusd.in'
X#!/bin/sh
X
X# PROVIDE: argusd
X#
X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
X# to enable this service:
X#
X# argusd_enable (bool):   Set to NO by default.
X#               Set it to YES to enable argusd
X#
X
X. %%RC_SUBR%%
X
Xname="argusd"
Xrcvar=${name}_enable
X
Xcommand=%%PREFIX%%/sbin/${name}
Xpidfile=/var/run/${name}.pid
X
Xload_rc_config $name
X
X: ${argusd_enable="NO"}
X
Xrun_rc_command "$1"
END-of-/usr/ports/net-mgmt/argus-monitor/files/argusd.in
exit
--- argus_monitor_port.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611242220.kAOMKEaT059900>