aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-12 20:18:09 +0800
committerarved <arved@FreeBSD.org>2004-08-12 20:18:09 +0800
commit66ae5d686464ae521998ca805813db7988ff7dfa (patch)
tree2f997ea41386f3cc5a2021dd964d37e5a6650d35 /net-mgmt
parent263307ea82fb7490505b68e46c7d2023a96cb800 (diff)
downloadfreebsd-ports-gnome-66ae5d686464ae521998ca805813db7988ff7dfa.tar.gz
freebsd-ports-gnome-66ae5d686464ae521998ca805813db7988ff7dfa.tar.zst
freebsd-ports-gnome-66ae5d686464ae521998ca805813db7988ff7dfa.zip
Add SNMP::Info, an object oriented perl5 interface to Network devices and
various common MIBs
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/p5-SNMP-Info/Makefile33
-rw-r--r--net-mgmt/p5-SNMP-Info/distinfo2
-rw-r--r--net-mgmt/p5-SNMP-Info/pkg-descr14
-rw-r--r--net-mgmt/p5-SNMP-Info/pkg-plist32
5 files changed, 82 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index e71d8402539e..dfa35138756f 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -110,6 +110,7 @@
SUBDIR += p5-Net-SNMP3
SUBDIR += p5-NetAddr-IP
SUBDIR += p5-SNMP
+ SUBDIR += p5-SNMP-Info
SUBDIR += p5-SNMP-MIB-Compiler
SUBDIR += p5-SNMP-Util
SUBDIR += p5-SNMP_Session
diff --git a/net-mgmt/p5-SNMP-Info/Makefile b/net-mgmt/p5-SNMP-Info/Makefile
new file mode 100644
index 000000000000..e063fb60f5b7
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Info/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: p5-SNMP-Info
+# Date created: 2003-09-18
+# Whom: arved
+#
+# $FreeBSD$
+
+PORTNAME= SNMP-Info
+PORTVERSION= 0.8
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= snmp-info
+
+MAINTAINER= arved@FreeBSD.org
+COMMENT= A perl5 module for gathering information from network devices
+
+LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
+
+PERL_CONFIGURE= yes
+
+MAN3= SNMP::Info::CiscoVTP.3 SNMP::Info::MAU.3 SNMP::Info::Layer2::C2900.3 \
+ SNMP::Info::Layer3::Aironet.3 SNMP::Info::Layer2::Catalyst.3 \
+ SNMP::Info::Bridge.3 SNMP::Info::Layer2::Bay.3 \
+ SNMP::Info::EtherLike.3 SNMP::Info::Layer2::ZyXEL_DSLAM.3 \
+ SNMP::Info::Layer3::C6500.3 SNMP::Info::Layer1::Asante.3 \
+ SNMP::Info::CiscoStats.3 SNMP::Info::Layer3::C3550.3 \
+ SNMP::Info::Layer1.3 SNMP::Info::Layer3::Foundry.3 \
+ SNMP::Info::Layer2::Aironet.3 SNMP::Info::Layer2.3 \
+ SNMP::Info.3 SNMP::Info::Layer1::Allied.3 \
+ SNMP::Info::Layer2::C1900.3 SNMP::Info::Layer3.3 \
+ SNMP::Info::CiscoStack.3 SNMP::Info::Layer2::HP.3 SNMP::Info::CDP.3 \
+ SNMP::Info::Entity.3
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-SNMP-Info/distinfo b/net-mgmt/p5-SNMP-Info/distinfo
new file mode 100644
index 000000000000..7499adf85cd4
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Info/distinfo
@@ -0,0 +1,2 @@
+MD5 (SNMP-Info-0.8.tar.gz) = 4a802c44a863c1b362d9ae165236651d
+SIZE (SNMP-Info-0.8.tar.gz) = 75711
diff --git a/net-mgmt/p5-SNMP-Info/pkg-descr b/net-mgmt/p5-SNMP-Info/pkg-descr
new file mode 100644
index 000000000000..2ceed48d33f4
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Info/pkg-descr
@@ -0,0 +1,14 @@
+SNMP::Info gives an object oriented interface to information
+obtained through SNMP. This module is geared towards network devices.
+Subclasses exist for a number of network devices and common MIBs.
+The information may be coming from any number of MIB files and is very
+vendor specific. SNMP::Info provides you a common method for all
+supported devices.
+Adding support for your own device is easy, and takes little much SNMP
+knowledge.
+The module is not limited to network devices. Any MIB or device can be
+given an objected oriented front-end by making a module that consists of a
+couple hashes. See EXTENDING SNMP::INFO.
+
+WWW: http://snmp-info.sourceforge.net/
+Author: Max Baker
diff --git a/net-mgmt/p5-SNMP-Info/pkg-plist b/net-mgmt/p5-SNMP-Info/pkg-plist
new file mode 100644
index 000000000000..2ebe2554ade6
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Info/pkg-plist
@@ -0,0 +1,32 @@
+%%SITE_PERL%%/SNMP/Info.pm
+%%SITE_PERL%%/SNMP/Info/CiscoVTP.pm
+%%SITE_PERL%%/SNMP/Info/MAU.pm
+%%SITE_PERL%%/SNMP/Info/Bridge.pm
+%%SITE_PERL%%/SNMP/Info/EtherLike.pm
+%%SITE_PERL%%/SNMP/Info/CiscoStats.pm
+%%SITE_PERL%%/SNMP/Info/Layer1.pm
+%%SITE_PERL%%/SNMP/Info/Layer2.pm
+%%SITE_PERL%%/SNMP/Info/Layer3.pm
+%%SITE_PERL%%/SNMP/Info/CiscoStack.pm
+%%SITE_PERL%%/SNMP/Info/CDP.pm
+%%SITE_PERL%%/SNMP/Info/Entity.pm
+%%SITE_PERL%%/SNMP/Info/Layer1/Asante.pm
+%%SITE_PERL%%/SNMP/Info/Layer1/Allied.pm
+%%SITE_PERL%%/SNMP/Info/Layer3/Aironet.pm
+%%SITE_PERL%%/SNMP/Info/Layer3/C6500.pm
+%%SITE_PERL%%/SNMP/Info/Layer3/C3550.pm
+%%SITE_PERL%%/SNMP/Info/Layer3/Foundry.pm
+%%SITE_PERL%%/SNMP/Info/Layer2/C2900.pm
+%%SITE_PERL%%/SNMP/Info/Layer2/Catalyst.pm
+%%SITE_PERL%%/SNMP/Info/Layer2/Bay.pm
+%%SITE_PERL%%/SNMP/Info/Layer2/ZyXEL_DSLAM.pm
+%%SITE_PERL%%/SNMP/Info/Layer2/Aironet.pm
+%%SITE_PERL%%/SNMP/Info/Layer2/C1900.pm
+%%SITE_PERL%%/SNMP/Info/Layer2/HP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/Info/.packlist
+@dirrm %%SITE_PERL%%/SNMP/Info/Layer3
+@dirrm %%SITE_PERL%%/SNMP/Info/Layer2
+@dirrm %%SITE_PERL%%/SNMP/Info/Layer1
+@dirrm %%SITE_PERL%%/SNMP/Info
+@dirrm %%SITE_PERL%%/SNMP
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/Info