1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add p5-POE-Component-Generic 0.09.05, provides non-blocking access to a

blocking object.

PR:		ports/102676
Submitted by:	Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>
This commit is contained in:
Cheng-Lung Sung 2006-10-02 01:05:33 +00:00
parent 1060cd5ded
commit 8075311d77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174274
5 changed files with 73 additions and 0 deletions

View File

@ -511,6 +511,7 @@
SUBDIR += p5-POE-Component-Client-Telnet
SUBDIR += p5-POE-Component-Client-Traceroute
SUBDIR += p5-POE-Component-ControlPort
SUBDIR += p5-POE-Component-Generic
SUBDIR += p5-POE-Component-Jabber
SUBDIR += p5-POE-Component-Pcap
SUBDIR += p5-POE-Component-RRDTool

View File

@ -0,0 +1,36 @@
# New ports collection makefile for: p5-POE-Component-Generic
# Date created: 2006-08-30
# Whom: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= POE-Component-Generic
PORTVERSION= 0.09.05
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-0.0905
MAINTAINER= tjs@cdpa.nsysu.edu.tw
COMMENT= Provides non-blocking access to a blocking object
RUN_DEPENDS= p5-POE>=0.31:${PORTSDIR}/devel/p5-POE \
${SITE_PERL}/Devel/Symdump.pm:${PORTSDIR}/devel/p5-Devel-Symdump
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= POE::Component::Generic.3 \
POE::Component::Generic::Child.3 \
POE::Component::Generic::Net::SSH2.3 \
POE::Component::Generic::Object.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500702
IGNORE= requires perl 5.7.2 or later. Install lang/perl5.8 then try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (POE-Component-Generic-0.0905.tar.gz) = 810aa2b7cac002b41891c942fbadd274
SHA256 (POE-Component-Generic-0.0905.tar.gz) = ec71ac91ddce82ed2f6b1ade4628a89b1c7c6119cba1b728cf50d734cd1f1919
SIZE (POE-Component-Generic-0.0905.tar.gz) = 31603

View File

@ -0,0 +1,20 @@
POE::Component::Generic is a POE component that provides a
non-blocking wrapper around any object. It works by forking
a child process with POE::Wheel::Run and creating the object
in the child process. Method calls are then serialised and
sent via STDIN to the child to be handled. Return values are
posted back to your session via STDOUT. This means that all
method arguments and return values must survive serialisation.
If you need to pass coderefs, use "callbacks", "postbacks" or
"factories".
Method calls are wrapped in eval in the child process so that
errors may be propagated back to your session. See "OUTPUT".
Output to STDERR in the child, that is from your object, is
shown only if debug or verbose is set.
STDOUT in the child, that is from your object, is redirected
to STDERR and will be shown in the same circomstances.
WWW: http://search.cpan.org/dist/POE-Component-Generic/

View File

@ -0,0 +1,13 @@
@comment $FreeBSD$
%%SITE_PERL%%/POE/Component/Generic/Object.pm
%%SITE_PERL%%/POE/Component/Generic/Net/SSH2.pm
%%SITE_PERL%%/POE/Component/Generic/Child.pm
%%SITE_PERL%%/POE/Component/Generic.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Generic/.packlist
@dirrmtry %%SITE_PERL%%/POE/Component/Generic/Net
@dirrmtry %%SITE_PERL%%/POE/Component/Generic
@dirrmtry %%SITE_PERL%%/POE/Component
@dirrmtry %%SITE_PERL%%/POE
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Generic
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE