Initial import of argus-3.3 from pkgsrc-wip, contributed by

<drue at users.sourceforge.net>.

Argus is a system and network monitoring application. It will monitor
anything you ask it to monitor (TCP + UDP applications, IP connectivity,
SNMP OIDS, Programs, Databases, etc), presents a nice clean, easy to view
web interface, it can send alerts numerous ways (such as via pager) and
can automatically escalate if someone falls asleep.
This commit is contained in:
xtraeme 2004-07-07 17:22:30 +00:00
parent 8d01a3372f
commit bfdb96959c
5 changed files with 131 additions and 0 deletions

5
net/argus/DESCR Normal file
View file

@ -0,0 +1,5 @@
Argus is a system and network monitoring application. It will monitor
anything you ask it to monitor (TCP + UDP applications, IP connectivity,
SNMP OIDS, Programs, Databases, etc), presents a nice clean, easy to view
web interface, it can send alerts numerous ways (such as via pager) and
can automatically escalate if someone falls asleep.

42
net/argus/Makefile Normal file
View file

@ -0,0 +1,42 @@
# $NetBSD: Makefile,v 1.1.1.1 2004/07/07 17:22:30 xtraeme Exp $
#
DISTNAME= argus-3.3
CATEGORIES= net
MASTER_SITES= http://www.tcp4me.com/code/argus-archive/
EXTRACT_SUFX= .tgz
MAINTAINER= argus@tcp4me.com
HOMEPAGE= http://argus.tcp4me.com/
COMMENT= System and Network Monitoring Application
BUILD_DEPENDS+= fping>=2.4b2:../../net/fping
BUILD_DEPENDS+= p5-GD>=2.11:../../graphics/p5-GD
BUILD_DEPENDS+= p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay
BUILD_DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
BUILD_DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
BUILD_DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
USE_BUILDLINK3= yes
USE_PERL5= yes
USE_PKGINSTALL= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ${WRKSRC}/Configure
CONFIGURE_ARGS+= --bin_dir ${PREFIX}/bin
CONFIGURE_ARGS+= --sbin_dir ${PREFIX}/sbin
CONFIGURE_ARGS+= --lib_dir ${PREFIX}/lib/argus
CONFIGURE_ARGS+= --data_dir ${VARBASE}/argus
RCD_SCRIPTS= argusd
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
.if !empty(USE_INET6:M[Yy][Ee][Ss])
BUILD_DEPENDS+= fping6-[0-9]*:../../net/fping6
BUILD_DEPENDS+= p5-Socket6>=0.12:../../net/p5-Socket6
.endif
.include "../../mk/bsd.pkg.mk"

55
net/argus/PLIST Normal file
View file

@ -0,0 +1,55 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/07 17:22:30 xtraeme Exp $
bin/argus-config
lib/argus/Alias.pm
lib/argus/ArgusCtl.pm
lib/argus/ArgusEncode.pm
lib/argus/Artistic
lib/argus/BER.pm
lib/argus/BaseIO.pm
lib/argus/Commands.pm
lib/argus/Conf.pm
lib/argus/Configable.pm
lib/argus/Control.pm
lib/argus/Cron.pm
lib/argus/DNS.pm
lib/argus/DataBase.pm
lib/argus/Doc.pm
lib/argus/Error.pm
lib/argus/Graph.pm
lib/argus/GraphData.pm
lib/argus/Group.pm
lib/argus/Image.pm
lib/argus/LICENSE
lib/argus/LOCATION
lib/argus/MonEl.pm
lib/argus/NotMe.pm
lib/argus/Notify.pm
lib/argus/NullConf.pm
lib/argus/NullCtl.pm
lib/argus/Override.pm
lib/argus/Ping.pm
lib/argus/Prog.pm
lib/argus/README
lib/argus/SNMP.pm
lib/argus/SSL.pm
lib/argus/Self.pm
lib/argus/Server.pm
lib/argus/Service.pm
lib/argus/Stats.pm
lib/argus/TCP.pm
lib/argus/TestPort.pm
lib/argus/UDP.pm
lib/argus/UserCron.pm
lib/argus/Web.pm
lib/argus/conf.pl
lib/argus/graphd
lib/argus/localization.pl
lib/argus/misc.pl
lib/argus/picasso
lib/argus/web_acl.pl
lib/argus/web_auth_file.pl
lib/argus/web_misc.pl
sbin/arguscgi
sbin/argusctl
sbin/argusd
@dirrm lib/argus

4
net/argus/distinfo Normal file
View file

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2004/07/07 17:22:30 xtraeme Exp $
SHA1 (argus-3.3.tgz) = dea646de0e14aa16967f5e7949ae88adc185616e
Size (argus-3.3.tgz) = 268048 bytes

25
net/argus/files/argusd.sh Normal file
View file

@ -0,0 +1,25 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: argusd.sh,v 1.1.1.1 2004/07/07 17:22:30 xtraeme Exp $
#
# PROVIDE: argusd
# REQUIRE: DAEMON LOGIN
. /etc/rc.subr
name="argusd"
rcvar=$name
command="@PREFIX@/sbin/argusd"
ctl_command="@PREFIX@/sbin/argusctl"
start_cmd="${command}"
stop_cmd="${ctl_command} shutdown reason=\"argusd stop\""
if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
then
load_rc_config $name
run_rc_command "$1"
else
[ "$1" eq "start" ] && $start_cmd
[ "$1" eq "stop" ] && $stop_cmd
fi