From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 20 19:00:42 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35B5E16A56A for ; Thu, 20 Jul 2006 19:00:42 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E97A43D73 for ; Thu, 20 Jul 2006 19:00:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6KJ0Wam029650 for ; Thu, 20 Jul 2006 19:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6KJ0W5e029649; Thu, 20 Jul 2006 19:00:32 GMT (envelope-from gnats) Resent-Date: Thu, 20 Jul 2006 19:00:32 GMT Resent-Message-Id: <200607201900.k6KJ0W5e029649@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0FDF16A4DF for ; Thu, 20 Jul 2006 18:53:31 +0000 (UTC) (envelope-from gslin@vega.csie.NCTU.edu.tw) Received: from vega.csie.NCTU.edu.tw (Deer.csie.nctu.edu.tw [140.113.17.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C19343D7F for ; Thu, 20 Jul 2006 18:53:30 +0000 (GMT) (envelope-from gslin@vega.csie.NCTU.edu.tw) Received: from vega.csie.NCTU.edu.tw (gslin@localhost [127.0.0.1]) by vega.csie.NCTU.edu.tw (8.13.6/8.13.6) with ESMTP id k6KIrTF7065492; Fri, 21 Jul 2006 02:53:29 +0800 (CST) (envelope-from gslin@vega.csie.NCTU.edu.tw) Received: (from gslin@localhost) by vega.csie.NCTU.edu.tw (8.13.6/8.13.6/Submit) id k6KIrSl5065491; Fri, 21 Jul 2006 02:53:28 +0800 (CST) (envelope-from gslin) Message-Id: <200607201853.k6KIrSl5065491@vega.csie.NCTU.edu.tw> Date: Fri, 21 Jul 2006 02:53:28 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gslin@gslin.org Subject: ports/100627: [NEW PORT] devel/p5-IPC-Open3-Simple: A simple alternative to IPC::Open3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 19:00:42 -0000 >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 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@gslin.org XCOMMENT= A simple alternative to IPC::Open3 X XPERL_CONFIGURE= yes X XMAN3= IPC::Open3::Simple.3 X X.include 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 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@comment $FreeBSD$ X%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3/Simple/.packlist X%%SITE_PERL%%/IPC/Open3/Simple.pm X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3/Simple X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3 X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC X@dirrmtry %%SITE_PERL%%/IPC/Open3 X@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: