1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

When building network applications, it is often helpful to have

a network accessible control and diagnostic interface. This module
provides such an interface for POE applications. By default, it
provides a fairly limited set of commands but is easily extended
to provide whatever command set you require.

WWW: http://search.cpan.org/dist/POE-Component-ControlPort

PR:		ports/92875
Submitted by:	Zach Thompson <hideo@lastamericanempire.com>
This commit is contained in:
Renato Botelho 2006-02-06 11:38:51 +00:00
parent c0184bdf7d
commit 40e15776d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155315
5 changed files with 62 additions and 0 deletions

View File

@ -438,6 +438,7 @@
SUBDIR += p5-OAI-Harvester
SUBDIR += p5-POE-Component-Client-Keepalive
SUBDIR += p5-POE-Component-Client-Ping
SUBDIR += p5-POE-Component-ControlPort
SUBDIR += p5-POE-Component-Jabber
SUBDIR += p5-POE-Component-Pcap
SUBDIR += p5-POE-Component-RRDTool

View File

@ -0,0 +1,44 @@
# New ports collection makefile for: net/p5-POE-Component-ControlPort
# Date created: 05 February 2006
# Whom: Zach Thompson <hideo@lastamericanempire.com>
#
# $FreeBSD$
#
PORTNAME= POE-Component-ControlPort
PORTVERSION= 0.01
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
PKGNAMEPREFIX= p5-
MAINTAINER= hideo@lastamericanempire.com
COMMENT= Network control port for POE applications
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/${PERL_ARCH}/Authen/Libwrap.pm:${PORTSDIR}/security/p5-Authen-Libwrap \
${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= POE::Component::ControlPort.3 \
POE::Component::ControlPort::Command.3 \
POE::Component::ControlPort::DefaultCommands.3
.include <bsd.port.pre.mk>
post-extract:
@${PERL} -0pi -e 's/my \$$prompt.+(my \$$ret = )(?-s).+/$${1}0;/so' ${WRKSRC}/Makefile.PL
.if ${PERL_LEVEL} < 500600
post-patch:
@${PERL} -pi -e 's/^our (\W\w+);/use vars q($$1);/o;' \
-e 's/^our\s+(\W\w+)(?!;)/use vars q($$1); $$1/o;' \
-e 'undef $$_ if /^\s*(no|use) warnings/o;' \
${WRKSRC}/lib/POE/Component/ControlPort.pm \
${WRKSRC}/lib/POE/Component/ControlPort/DefaultCommands.pm \
${WRKSRC}/lib/POE/Component/ControlPort/Command.pm
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (POE-Component-ControlPort-0.01.tar.gz) = 7dcbb514606af24e8453031110a6e763
SHA256 (POE-Component-ControlPort-0.01.tar.gz) = 652bd2b358ffac2d4e4fa729770397f646ce2730d829eef5220e9cab1edab1fb
SIZE (POE-Component-ControlPort-0.01.tar.gz) = 12182

View File

@ -0,0 +1,7 @@
When building network applications, it is often helpful to have
a network accessible control and diagnostic interface. This module
provides such an interface for POE applications. By default, it
provides a fairly limited set of commands but is easily extended
to provide whatever command set you require.
WWW: http://search.cpan.org/dist/POE-Component-ControlPort

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/POE/Component/ControlPort.pm
%%SITE_PERL%%/POE/Component/ControlPort/Command.pm
%%SITE_PERL%%/POE/Component/ControlPort/DefaultCommands.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/ControlPort/.packlist
@dirrm %%SITE_PERL%%/POE/Component/ControlPort
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/ControlPort
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component