diff options
author | Mike Doty <kingtaco@gentoo.org> | 2006-03-23 19:21:54 +0000 |
---|---|---|
committer | Mike Doty <kingtaco@gentoo.org> | 2006-03-23 19:21:54 +0000 |
commit | 78ac12cf09addd692683b77742a83a1a850e6ac6 (patch) | |
tree | 6ec9f8eecbcffe4228656ecd2c2503c04ac9f11d /net-analyzer | |
parent | dev-perl/CDDB_get stable on ppc. (diff) | |
download | gentoo-2-78ac12cf09addd692683b77742a83a1a850e6ac6.tar.gz gentoo-2-78ac12cf09addd692683b77742a83a1a850e6ac6.tar.bz2 gentoo-2-78ac12cf09addd692683b77742a83a1a850e6ac6.zip |
Initial import, contributed by Jason Huebel
(Portage version: 2.1_pre6-r4)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/sysmon/ChangeLog | 13 | ||||
-rw-r--r-- | net-analyzer/sysmon/Manifest | 18 | ||||
-rw-r--r-- | net-analyzer/sysmon/files/digest-sysmon-0.92.2 | 3 | ||||
-rw-r--r-- | net-analyzer/sysmon/files/sysmon-0.92.2.patch | 34 | ||||
-rw-r--r-- | net-analyzer/sysmon/files/sysmond | 35 | ||||
-rw-r--r-- | net-analyzer/sysmon/metadata.xml | 9 | ||||
-rw-r--r-- | net-analyzer/sysmon/sysmon-0.92.2.ebuild | 25 |
7 files changed, 137 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..32bba4250030 --- /dev/null +++ b/net-analyzer/sysmon/Manifest @@ -0,0 +1,18 @@ +MD5 493e7caabf67898ce35317c27e74832b ChangeLog 397 +RMD160 27de5bae34037c8d55431f8894913c495017b88a ChangeLog 397 +SHA256 bf39dd77587e29b5ce611c0862499339cac34743489a2c9ee4968a58065d68e2 ChangeLog 397 +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 e46ecc6a9ae3911203f6d5d27c4fccee files/sysmond 753 +RMD160 457ab06c6912075cbe931c7d2467cdac06b52fcd files/sysmond 753 +SHA256 bfbdb204f35b77e3d9c066d49a17187af0c7c2d3fdf1962389f7738ac3579398 files/sysmond 753 +MD5 0a11b731e13fc75e241817f28a794996 metadata.xml 290 +RMD160 ea9fe98744da3002916e2c1f4080406b9933494c metadata.xml 290 +SHA256 bb5ed5338d7a210f421c585648ce93dd46b125455a540296e7e8a0433fb34a0b metadata.xml 290 +MD5 4d8f3f514a80a2f83a4fbf774845f03e sysmon-0.92.2.ebuild 492 +RMD160 1ff098195a27a47eff53d46a1efb2ae1572f2527 sysmon-0.92.2.ebuild 492 +SHA256 03d1cddcee52b34f414b20aaacd0afef6b7a62a96f08b3552fdb220524e5cb2a sysmon-0.92.2.ebuild 492 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/* +} |