This module implements an alternative "event dispatcher" for Net::SNMP, using

AnyEvent as a backend.

It integrates Net::SNMP into AnyEvent: You can make non-blocking Net::SNMP
calls and as long as other parts of your program also use AnyEvent (or some
event loop supported by AnyEvent) and they will run in parallel.

WWW:	http://search.cpan.org/dist/AnyEvent-SNMP/
This commit is contained in:
Steven Kreuzer 2011-06-24 15:30:08 +00:00
parent dbed0a1894
commit 5365e2b64f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276196
5 changed files with 40 additions and 0 deletions

View file

@ -183,6 +183,7 @@
SUBDIR += openvmps
SUBDIR += ourmon
SUBDIR += p0f
SUBDIR += p5-AnyEvent-SNMP
SUBDIR += p5-Cflow
SUBDIR += p5-Cisco-Reconfig
SUBDIR += p5-Data-Validate-IP

View file

@ -0,0 +1,24 @@
# New ports collection makefile for: p5-AnyEvent-SNMP
# Date created: 2011-06-24
# Whom: Steven Kreuzer <skreuzer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= AnyEvent-SNMP
PORTVERSION= 1.0
CATEGORIES= net-mgmt perl5
MASTER_SITES= CPAN
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Adaptor to integrate Net::SNMP into AnyEvent
RUN_DEPENDS= p5-AnyEvent>=4.15:${PORTSDIR}/devel/p5-AnyEvent \
p5-Net-SNMP>=6.0.1:${PORTSDIR}/net-mgmt/p5-Net-SNMP
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= YES
MAN3= AnyEvent::SNMP.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (AnyEvent-SNMP-1.0.tar.gz) = 8684bc503ad825b236313145ad83c960a6709002a4d38c0a5e1e04a9ced58324
SIZE (AnyEvent-SNMP-1.0.tar.gz) = 5892

View file

@ -0,0 +1,8 @@
This module implements an alternative "event dispatcher" for Net::SNMP, using
AnyEvent as a backend.
It integrates Net::SNMP into AnyEvent: You can make non-blocking Net::SNMP
calls and as long as other parts of your program also use AnyEvent (or some
event loop supported by AnyEvent) and they will run in parallel.
WWW: http://search.cpan.org/dist/AnyEvent-SNMP/

View file

@ -0,0 +1,5 @@
@comment $FreeBSD$
%%SITE_PERL%%/AnyEvent/SNMP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/SNMP/.packlist
@dirrmtry %%SITE_PERL%%/AnyEvent
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/SNMP