ports/100627: [NEW PORT] devel/p5-IPC-Open3-Simple: A simple alternative to IPC::Open3
Gea-Suan Lin
gslin at gslin.org
Thu Jul 20 19:00:42 UTC 2006
>Number: 100627
>Category: ports
>Synopsis: [NEW PORT] devel/p5-IPC-Open3-Simple: A simple alternative to IPC::Open3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 20 19:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Netflow.csie.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 22 16:22:37 CST 2006
>Description:
IPC::Open3::Simple aims at making it very easy to start a shell
command, eventually feed its stdin with some data, then retrieve its
stdout and stderr separately.
When you want to run a shell command and parse its stdout/stderr or
feed its stdin, you often end up using IPC::Run, IPC::Cmd or
IPC::Open3 with your own parsing code, and end up writing more code
than you intended. IPC::Open3::Simple is about removing this overhead
and making IPC::Open3 easier to use.
IPC::Open3::Simple calls IPC::Open3 and redirects stdin, stdout and
stderr to some function references passed in argument to the
constructor. It does a select on the input/output filehandles returned
by IPC::Open3 and dispatches their content to and from those functions.
WWW: http://search.cpan.org/dist/IPC-Open3-Simple/
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-IPC-Open3-Simple-0.04.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-IPC-Open3-Simple
# p5-IPC-Open3-Simple/pkg-descr
# p5-IPC-Open3-Simple/Makefile
# p5-IPC-Open3-Simple/pkg-plist
# p5-IPC-Open3-Simple/distinfo
#
echo c - p5-IPC-Open3-Simple
mkdir -p p5-IPC-Open3-Simple > /dev/null 2>&1
echo x - p5-IPC-Open3-Simple/pkg-descr
sed 's/^X//' >p5-IPC-Open3-Simple/pkg-descr << 'END-of-p5-IPC-Open3-Simple/pkg-descr'
XIPC::Open3::Simple aims at making it very easy to start a shell
Xcommand, eventually feed its stdin with some data, then retrieve its
Xstdout and stderr separately.
X
XWhen you want to run a shell command and parse its stdout/stderr or
Xfeed its stdin, you often end up using IPC::Run, IPC::Cmd or
XIPC::Open3 with your own parsing code, and end up writing more code
Xthan you intended. IPC::Open3::Simple is about removing this overhead
Xand making IPC::Open3 easier to use.
X
XIPC::Open3::Simple calls IPC::Open3 and redirects stdin, stdout and
Xstderr to some function references passed in argument to the
Xconstructor. It does a select on the input/output filehandles returned
Xby IPC::Open3 and dispatches their content to and from those functions.
X
XWWW: http://search.cpan.org/dist/IPC-Open3-Simple/
END-of-p5-IPC-Open3-Simple/pkg-descr
echo x - p5-IPC-Open3-Simple/Makefile
sed 's/^X//' >p5-IPC-Open3-Simple/Makefile << 'END-of-p5-IPC-Open3-Simple/Makefile'
X# New ports collection makefile for: p5-IPC-Open3-Simple
X# Date created: 2006-07-21
X# Whom: Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= IPC-Open3-Simple
XPORTVERSION= 0.04
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= IPC
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= gslin at gslin.org
XCOMMENT= A simple alternative to IPC::Open3
X
XPERL_CONFIGURE= yes
X
XMAN3= IPC::Open3::Simple.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-IPC-Open3-Simple/Makefile
echo x - p5-IPC-Open3-Simple/pkg-plist
sed 's/^X//' >p5-IPC-Open3-Simple/pkg-plist << 'END-of-p5-IPC-Open3-Simple/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3/Simple/.packlist
X%%SITE_PERL%%/IPC/Open3/Simple.pm
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3/Simple
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC
X at dirrmtry %%SITE_PERL%%/IPC/Open3
X at dirrmtry %%SITE_PERL%%/IPC
END-of-p5-IPC-Open3-Simple/pkg-plist
echo x - p5-IPC-Open3-Simple/distinfo
sed 's/^X//' >p5-IPC-Open3-Simple/distinfo << 'END-of-p5-IPC-Open3-Simple/distinfo'
XMD5 (IPC-Open3-Simple-0.04.tar.gz) = 2a84220426f2ccba6466befab0e02b05
XSHA256 (IPC-Open3-Simple-0.04.tar.gz) = 4bc64f64e157579fbd86be5910f5c71c0b93dece72ec672bc76c8f30d75ea381
XSIZE (IPC-Open3-Simple-0.04.tar.gz) = 5037
END-of-p5-IPC-Open3-Simple/distinfo
exit
--- p5-IPC-Open3-Simple-0.04.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list