summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Doty <kingtaco@gentoo.org>2006-03-23 19:21:54 +0000
committerMike Doty <kingtaco@gentoo.org>2006-03-23 19:21:54 +0000
commite44f4860eb9f262a0f69f5f84a586408d10116e5 (patch)
tree28e2bf3cd3736a5c963cd7877b25cb1a54c21257 /net-analyzer/sysmon
parentdev-perl/CDDB_get stable on ppc. (diff)
downloadhistorical-e44f4860eb9f262a0f69f5f84a586408d10116e5.tar.gz
historical-e44f4860eb9f262a0f69f5f84a586408d10116e5.tar.bz2
historical-e44f4860eb9f262a0f69f5f84a586408d10116e5.zip
Initial import, contributed by Jason Huebel
Package-Manager: portage-2.1_pre6-r4
Diffstat (limited to 'net-analyzer/sysmon')
-rw-r--r--net-analyzer/sysmon/ChangeLog13
-rw-r--r--net-analyzer/sysmon/Manifest28
-rw-r--r--net-analyzer/sysmon/files/digest-sysmon-0.92.23
-rw-r--r--net-analyzer/sysmon/files/sysmon-0.92.2.patch34
-rw-r--r--net-analyzer/sysmon/files/sysmond35
-rw-r--r--net-analyzer/sysmon/metadata.xml9
-rw-r--r--net-analyzer/sysmon/sysmon-0.92.2.ebuild25
7 files changed, 147 insertions, 0 deletions
diff --git a/net-analyzer/sysmon/ChangeLog b/net-analyzer/sysmon/ChangeLog
new file mode 100644
index 000000000000..2ac292ad35e1
--- /dev/null
+++ b/net-analyzer/sysmon/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for net-analyzer/sysmon
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sysmon/ChangeLog,v 1.1 2006/03/23 19:21:54 kingtaco Exp $
+
+*sysmon-0.92.2 (23 Mar 2006)
+
+ 23 Mar 2006; Mike Doty <kingtaco@gentoo.org> +files/sysmon-0.92.2.patch,
+ +files/sysmond, +metadata.xml, +sysmon-0.92.2.ebuild:
+ Initial import, contributed by Jason Huebel
+
+ 25 May 2005; Jason Huebel <jhuebel@gentoo.org> :
+ initial ebuild
+
diff --git a/net-analyzer/sysmon/Manifest b/net-analyzer/sysmon/Manifest
new file mode 100644
index 000000000000..0f396e01217e
--- /dev/null
+++ b/net-analyzer/sysmon/Manifest
@@ -0,0 +1,28 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 4851c468e068edec7026565cc09ba7d5 ChangeLog 490
+RMD160 9baadac9d6cf6460d29eb3cb43deec47ca780be6 ChangeLog 490
+SHA256 6b95f6e147c3398dc5e781a54d05512ae6f1b941cd026b0aa1ad8f39c80cfa2d ChangeLog 490
+MD5 75d5ec1148029acba066e66d3baaa456 files/digest-sysmon-0.92.2 241
+RMD160 46183d5b3ffaf40c419c1c98de1467caab877c85 files/digest-sysmon-0.92.2 241
+SHA256 6450fea4617974309abca0328e21fa646df7386ec1ecb977272abd4a6a55adee files/digest-sysmon-0.92.2 241
+MD5 18223eb44a23d2834dd7811f9ca517c4 files/sysmon-0.92.2.patch 1146
+RMD160 ba2c3d9f948a798a78032af0b9473bc4a393c27b files/sysmon-0.92.2.patch 1146
+SHA256 2f4d3b4f68318b432b4b2b0a8d783d29cfb30fe6c616310c36e54e2603afd8dc files/sysmon-0.92.2.patch 1146
+MD5 99ca23d4d97c6292f9a4c931319967fe files/sysmond 750
+RMD160 b36df44f22365bcf8e8ea9d88e3ddd2d04a5344b files/sysmond 750
+SHA256 622165d51ec31e99fd62ba4929850eec75a2eba6e015e096d2edd9a824971013 files/sysmond 750
+MD5 0a11b731e13fc75e241817f28a794996 metadata.xml 290
+RMD160 ea9fe98744da3002916e2c1f4080406b9933494c metadata.xml 290
+SHA256 bb5ed5338d7a210f421c585648ce93dd46b125455a540296e7e8a0433fb34a0b metadata.xml 290
+MD5 3313bc3732e38f12b6a8e2eff276eff8 sysmon-0.92.2.ebuild 598
+RMD160 045f559dbc8344d04609e965e913aad0e0534dd5 sysmon-0.92.2.ebuild 598
+SHA256 aa2476d9f64c5e6517e47f687990af79164678d1d183c039e08406ad73f98dfd sysmon-0.92.2.ebuild 598
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEIvVr0K3RJaeXx6cRApNiAJ9yynLRRiK/igQq+B9vt2YM5k5trQCdEAi7
+D6fmNW3CpmSqcf57DsMc4CQ=
+=iw95
+-----END PGP SIGNATURE-----
diff --git a/net-analyzer/sysmon/files/digest-sysmon-0.92.2 b/net-analyzer/sysmon/files/digest-sysmon-0.92.2
new file mode 100644
index 000000000000..006dc277348f
--- /dev/null
+++ b/net-analyzer/sysmon/files/digest-sysmon-0.92.2
@@ -0,0 +1,3 @@
+MD5 be9304964bfd131be6098c4b7b502cd1 sysmon-0.92.2.tar.gz 495714
+RMD160 7408bfa9a20482e2f0e86dee2566b175b8ecad59 sysmon-0.92.2.tar.gz 495714
+SHA256 3e271ee3a089f597b9aa72c93eed9a371bb97ac952011de793335ccfafa57438 sysmon-0.92.2.tar.gz 495714
diff --git a/net-analyzer/sysmon/files/sysmon-0.92.2.patch b/net-analyzer/sysmon/files/sysmon-0.92.2.patch
new file mode 100644
index 000000000000..4f21781bf9eb
--- /dev/null
+++ b/net-analyzer/sysmon/files/sysmon-0.92.2.patch
@@ -0,0 +1,34 @@
+diff -ur sysmon-0.92.old/autoconf/Makefile.in sysmon-0.92/autoconf/Makefile.in
+--- sysmon-0.92.old/autoconf/Makefile.in 2003-11-05 21:41:31.000000000 -0600
++++ sysmon-0.92/autoconf/Makefile.in 2005-05-25 14:54:09.000000000 -0500
+@@ -56,11 +56,7 @@
+ install: all
+ @echo "installing into @bindir@"
+ -mkdir -p @bindir@
+- -mv @bindir@/sysmond @bindir@/sysmond.old
+- -mv @bindir@/sysmon @bindir@/sysmon.old
+- cp sysmon sysmond @bindir@
+- @echo "creating directory @sysconfdir@"
+- -mkdir -p @sysconfdir@
++ cp sysmon sysmond ${DESTDIR}/@bindir@
+
+ strip:
+ -strip @PROGS@
+diff -ur sysmon-0.92.old/src/snmp.c sysmon-0.92/src/snmp.c
+--- sysmon-0.92.old/src/snmp.c 2003-12-16 11:33:44.000000000 -0600
++++ sysmon-0.92/src/snmp.c 2005-05-25 13:29:40.000000000 -0500
+@@ -5,6 +5,8 @@
+ /* SNMP specific includes */
+ #ifdef ENABLE_SNMP
+
++#define NETSNMP_NO_INLINE
++
+ #ifdef HAVE_UCD_SNMP_VERSION_H
+ #include <ucd-snmp/ucd-snmp-config.h>
+ #include <ucd-snmp/ucd-snmp-includes.h>
+@@ -13,7 +15,6 @@
+ #ifdef HAVE_NET_SNMP_VERSION_H
+ #include <net-snmp/net-snmp-config.h>
+ #include <net-snmp/net-snmp-includes.h>
+-#include <net-snmp/library/snmp_client.h>
+ #endif
diff --git a/net-analyzer/sysmon/files/sysmond b/net-analyzer/sysmon/files/sysmond
new file mode 100644
index 000000000000..48e26fda6a76
--- /dev/null
+++ b/net-analyzer/sysmon/files/sysmond
@@ -0,0 +1,35 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sysmon/files/sysmond,v 1.1 2006/03/23 19:21:54 kingtaco Exp $
+
+opts="${opts} reload"
+
+checkconfig() {
+ if [ ! -f "/etc/sysmon.conf" ] ; then
+ eerror "You should setup your /etc/sysmon.conf file!"
+ eerror "See the sysmon.conf(5) manpage."
+ return 1
+ fi
+ return 0
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting SysMon daemon"
+ /usr/bin/sysmond -q &>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping SysMon daemon"
+ /usr/bin/sysmond -q stop &>/dev/null
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading SysMon configuration"
+ /usr/bin/sysmond -q reload &>/dev/null
+ eend $?
+}
diff --git a/net-analyzer/sysmon/metadata.xml b/net-analyzer/sysmon/metadata.xml
new file mode 100644
index 000000000000..3398f5f2e848
--- /dev/null
+++ b/net-analyzer/sysmon/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>kingtaco@gentoo.org</email>
+</maintainer>
+<longdescription>Simple network monitoring tool</longdescription>
+</pkgmetadata>
diff --git a/net-analyzer/sysmon/sysmon-0.92.2.ebuild b/net-analyzer/sysmon/sysmon-0.92.2.ebuild
new file mode 100644
index 000000000000..d070e70a258a
--- /dev/null
+++ b/net-analyzer/sysmon/sysmon-0.92.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sysmon/sysmon-0.92.2.ebuild,v 1.1 2006/03/23 19:21:54 kingtaco Exp $
+
+inherit eutils
+
+DESCRIPTION="Sysmon - Simple network monitoring tool"
+HOMEPAGE="http://www.sysmon.org/"
+SRC_URI="ftp://puck.nether.net/pub/jared/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses
+ net-analyzer/net-snmp"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ cd ${S}
+ einstall || die
+
+ doinitd ${FILESDIR}/sysmond
+ dodoc docs/*
+}