summaryrefslogtreecommitdiff
path: root/net/argus
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-07-07 17:22:30 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-07-07 17:22:30 +0000
commitbfdb96959c4b334963debbe243e288a058cf5efa (patch)
tree81a757d879f13f582eec545528fdba70a75d4987 /net/argus
parent8d01a3372f0ab83e0380aad54ddd2651d38cc720 (diff)
downloadpkgsrc-bfdb96959c4b334963debbe243e288a058cf5efa.tar.gz
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.
Diffstat (limited to 'net/argus')
-rw-r--r--net/argus/DESCR5
-rw-r--r--net/argus/Makefile42
-rw-r--r--net/argus/PLIST55
-rw-r--r--net/argus/distinfo4
-rw-r--r--net/argus/files/argusd.sh25
5 files changed, 131 insertions, 0 deletions
diff --git a/net/argus/DESCR b/net/argus/DESCR
new file mode 100644
index 00000000000..940b401cbad
--- /dev/null
+++ b/net/argus/DESCR
@@ -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.
diff --git a/net/argus/Makefile b/net/argus/Makefile
new file mode 100644
index 00000000000..0021a1d2ddf
--- /dev/null
+++ b/net/argus/Makefile
@@ -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"
diff --git a/net/argus/PLIST b/net/argus/PLIST
new file mode 100644
index 00000000000..20672699152
--- /dev/null
+++ b/net/argus/PLIST
@@ -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
diff --git a/net/argus/distinfo b/net/argus/distinfo
new file mode 100644
index 00000000000..d455fad9862
--- /dev/null
+++ b/net/argus/distinfo
@@ -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
diff --git a/net/argus/files/argusd.sh b/net/argus/files/argusd.sh
new file mode 100644
index 00000000000..a99f70d2ef5
--- /dev/null
+++ b/net/argus/files/argusd.sh
@@ -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