From 620eb303b78f2faa1023ff52f19ccf3fd19f29b2 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Wed, 14 Dec 2005 09:03:19 +0000 Subject: Add net-mgmt/p5-NSNMP, a fast, flexible, low-level, pure-Perl SNMP library. --- net-mgmt/p5-NSNMP/Makefile | 29 +++++++++++++++++++++++++++++ net-mgmt/p5-NSNMP/distinfo | 3 +++ net-mgmt/p5-NSNMP/pkg-descr | 15 +++++++++++++++ net-mgmt/p5-NSNMP/pkg-plist | 7 +++++++ 4 files changed, 54 insertions(+) create mode 100644 net-mgmt/p5-NSNMP/Makefile create mode 100644 net-mgmt/p5-NSNMP/distinfo create mode 100644 net-mgmt/p5-NSNMP/pkg-descr create mode 100644 net-mgmt/p5-NSNMP/pkg-plist (limited to 'net-mgmt/p5-NSNMP') diff --git a/net-mgmt/p5-NSNMP/Makefile b/net-mgmt/p5-NSNMP/Makefile new file mode 100644 index 000000000000..bf7a9975636b --- /dev/null +++ b/net-mgmt/p5-NSNMP/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: net-mgmt/p5-NSNMP +# Date created: 14 December 2005 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= NSNMP +PORTVERSION= 0.5 +CATEGORIES= net-mgmt perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/K/KR/KRAGEN +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= NSNMP - fast, flexible, low-level, pure-Perl SNMP library + +PERL_CONFIGURE= yes + +MAN3= NSNMP.3 \ + NSNMP::Simple.3 + +.include + +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again +.endif + +.include diff --git a/net-mgmt/p5-NSNMP/distinfo b/net-mgmt/p5-NSNMP/distinfo new file mode 100644 index 000000000000..48f252afd172 --- /dev/null +++ b/net-mgmt/p5-NSNMP/distinfo @@ -0,0 +1,3 @@ +MD5 (NSNMP-0.5.tar.gz) = 2cd3b79f604a77c2f16e22e6aef83ac5 +SHA256 (NSNMP-0.5.tar.gz) = 46993fb44b2f3c1376e148aa5cef86f25104e03bda79e29d0b1a17b4884ad676 +SIZE (NSNMP-0.5.tar.gz) = 28590 diff --git a/net-mgmt/p5-NSNMP/pkg-descr b/net-mgmt/p5-NSNMP/pkg-descr new file mode 100644 index 000000000000..21463995f93d --- /dev/null +++ b/net-mgmt/p5-NSNMP/pkg-descr @@ -0,0 +1,15 @@ +This is an SNMP message encoding and decoding library, providing very +low-level facilities; you pretty much need to read the SNMP RFCs to use +it. It is, however, very fast (it's more than an order of magnitude +faster than Net::SNMP, and it can send a request and parse a response in +only slightly more time than the snmpd from net-snmp takes to parse the +request and send a response), and it's relatively complete --- the +interface is flexible enough that you can use it to write SNMP +management applications, SNMP agents, and test suites for SNMP +implementations. + +The package also includes NSNMP::Simple, which lets you get or set a +single OID via SNMP with a single line of code. It's easier to use, and +roughly an order of magnitude faster, than Net::SNMP. + +WWW: http://search.cpan.org/dist/NSNMP/ diff --git a/net-mgmt/p5-NSNMP/pkg-plist b/net-mgmt/p5-NSNMP/pkg-plist new file mode 100644 index 000000000000..35eaf7af1611 --- /dev/null +++ b/net-mgmt/p5-NSNMP/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/NSNMP.pm +%%SITE_PERL%%/NSNMP/Agent.pm +%%SITE_PERL%%/NSNMP/Mapper.pm +%%SITE_PERL%%/NSNMP/Simple.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/NSNMP/.packlist +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/NSNMP 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/NSNMP 2>/dev/null || true -- cgit v1.2.3