diff options
author | bouyer <bouyer@pkgsrc.org> | 2005-06-08 16:17:46 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2005-06-08 16:17:46 +0000 |
commit | a1c643c206e1e599f3bc6f0b68517fabb0fb923f (patch) | |
tree | a796ce5916b0978c94aaf5fb0a7b6df5f5d59620 /net | |
parent | f11a1c7b02fcbb3790bfe3fa0f022ef1235973bd (diff) | |
download | pkgsrc-a1c643c206e1e599f3bc6f0b68517fabb0fb923f.tar.gz |
Add the Cisco 2940 family to the SNMP::Info::Layer2::C2900 class (will
feed back to author). Bump pkgrevision.
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-SNMP-Info/Makefile | 5 | ||||
-rw-r--r-- | net/p5-SNMP-Info/distinfo | 3 | ||||
-rw-r--r-- | net/p5-SNMP-Info/patches/patch-aa | 32 |
3 files changed, 37 insertions, 3 deletions
diff --git a/net/p5-SNMP-Info/Makefile b/net/p5-SNMP-Info/Makefile index da9d9907713..b9deaff1dad 100644 --- a/net/p5-SNMP-Info/Makefile +++ b/net/p5-SNMP-Info/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2005/05/25 16:59:02 bouyer Exp $ +# $NetBSD: Makefile,v 1.2 2005/06/08 16:17:46 bouyer Exp $ # DISTNAME= SNMP-Info-0.9.0 PKGNAME= p5-SNMP-Info-0.9 +PKGREVISION= 1 SVR4_PKGNAME= p5sni CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SNMP/} @@ -13,7 +14,7 @@ COMMENT= Perl5 object oriented interface to SNMP informations DEPENDS+= net-snmp>=5.1.2:../../net/net-snmp -WRKSRC= ${WRKDIR}/${PKGNAME:S/p5-//} +WRKSRC= ${WRKDIR}/${DISTNAME:S/.0//} PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SNMP/Info/.packlist .include "../../lang/perl5/module.mk" diff --git a/net/p5-SNMP-Info/distinfo b/net/p5-SNMP-Info/distinfo index cd0c5f5dac1..ac3b928bd0f 100644 --- a/net/p5-SNMP-Info/distinfo +++ b/net/p5-SNMP-Info/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/05/25 16:59:02 bouyer Exp $ +$NetBSD: distinfo,v 1.2 2005/06/08 16:17:46 bouyer Exp $ SHA1 (SNMP-Info-0.9.0.tar.gz) = 00492ec7946a029522ef8c15eb22e93c58533bdf RMD160 (SNMP-Info-0.9.0.tar.gz) = da752d0436c224d41973db4a7fc4c4a27a2a8ca2 Size (SNMP-Info-0.9.0.tar.gz) = 112325 bytes +SHA1 (patch-aa) = 9f9ab4e8850e5dad418a10fc20e53c38c7387bc1 diff --git a/net/p5-SNMP-Info/patches/patch-aa b/net/p5-SNMP-Info/patches/patch-aa new file mode 100644 index 00000000000..a34135ee936 --- /dev/null +++ b/net/p5-SNMP-Info/patches/patch-aa @@ -0,0 +1,32 @@ +$NetBSD: patch-aa,v 1.1 2005/06/08 16:17:46 bouyer Exp $ + +--- Info.pm.orig 2005-06-08 18:00:15.000000000 +0200 ++++ Info.pm 2005-06-08 18:01:54.000000000 +0200 +@@ -384,7 +384,8 @@ + + =item SNMP::Info::Layer2::C2900 + +-Subclass for Cisco Catalyst 2900, 2950, 3500XL, and 3548 devices running IOS. ++Subclass for Cisco Catalyst 2900, 2940, 2950, 3500XL, and 3548 devices ++running IOS. + + =item SNMP::Info::Layer2::Catalyst + +@@ -714,7 +715,7 @@ + Elsif Layer2 (no Layer3) -> SNMP::Info::Layer2 + Aironet - IOS Devices -> SNMP::Info::Layer2::Aironet + Catalyst 1900 -> SNMP::Info::Layer2::C1900 +- Catalyst 2900XL,2950,3500XL -> SNMP::Info::Layer2::C2900 ++ Catalyst 2900XL,2940,2950,3500XL -> SNMP::Info::Layer2::C2900 + Catalyst 2970 -> SNMP::Info::Layer3::C6500 + Catalyst 3550/3548 -> SNMP::Info::Layer3::C3550 + Catalyst WS-C 2926,5xxx -> SNMP::Info::Layer2::Catalyst +@@ -790,7 +791,7 @@ + $objtype = 'SNMP::Info::Layer2::C1900' if ($desc =~ /catalyst/i and $desc =~ /\D19\d{2}/); + + # Catalyst 2900 and 3500XL (IOS) series override +- $objtype = 'SNMP::Info::Layer2::C2900' if ($desc =~ /(C2900XL|C2950|C3500XL)/i ); ++ $objtype = 'SNMP::Info::Layer2::C2900' if ($desc =~ /(C2900XL|C2940|C2950|C3500XL)/i ); + + # Catalyst WS-C series override 2926,4k,5k,6k in Hybrid + $objtype = 'SNMP::Info::Layer2::Catalyst' if ($desc =~ /WS-C\d{4}/); |