From owner-svn-ports-head@FreeBSD.ORG Sun Nov 3 05:00:54 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BCAE4B67; Sun, 3 Nov 2013 05:00:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A5702CA1; Sun, 3 Nov 2013 05:00:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA350sqd007213; Sun, 3 Nov 2013 05:00:54 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA350rGa007204; Sun, 3 Nov 2013 05:00:53 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201311030500.rA350rGa007204@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 3 Nov 2013 05:00:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332586 - in head/devel: . p5-IPC-ShellCmd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 05:00:54 -0000 Author: sunpoet Date: Sun Nov 3 05:00:53 2013 New Revision: 332586 URL: http://svnweb.freebsd.org/changeset/ports/332586 Log: - Add p5-IPC-ShellCmd 0.005 IPC::ShellCmd comes from the nth time I've had to implement a select loop and wanted appropriate sudo/su privilege magic, environment variables that are set in the child, working directories set etc. It aims to provide a reasonable interface for setting up command execution environment (working directory, environment variables, stdin, stdout and stderr redirection if necessary), but allowing for ssh and sudo and magicking in the appropriate shell quoting. It tries to be flexible about how you might want to capture output, exit status and other such, but in such a way as it's hopefully easy to understand and make it work. Setup method calls are chain-able in a File::Find::Rule kind of a way. WWW: http://search.cpan.org/dist/IPC-ShellCmd/ Added: head/devel/p5-IPC-ShellCmd/ head/devel/p5-IPC-ShellCmd/Makefile (contents, props changed) head/devel/p5-IPC-ShellCmd/distinfo (contents, props changed) head/devel/p5-IPC-ShellCmd/pkg-descr (contents, props changed) head/devel/p5-IPC-ShellCmd/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Nov 3 04:59:20 2013 (r332585) +++ head/devel/Makefile Sun Nov 3 05:00:53 2013 (r332586) @@ -2150,6 +2150,7 @@ SUBDIR += p5-IPC-ShareLite SUBDIR += p5-IPC-Shareable SUBDIR += p5-IPC-SharedCache + SUBDIR += p5-IPC-ShellCmd SUBDIR += p5-IPC-Signal SUBDIR += p5-IPC-System-Simple SUBDIR += p5-Import-Into Added: head/devel/p5-IPC-ShellCmd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-IPC-ShellCmd/Makefile Sun Nov 3 05:00:53 2013 (r332586) @@ -0,0 +1,24 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= IPC-ShellCmd +PORTVERSION= 0.005 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:ANDREWF +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Run a command with a given environment and capture output + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo \ + p5-String-ShellQuote>=0:${PORTSDIR}/textproc/p5-String-ShellQuote +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 + +.include Added: head/devel/p5-IPC-ShellCmd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-IPC-ShellCmd/distinfo Sun Nov 3 05:00:53 2013 (r332586) @@ -0,0 +1,2 @@ +SHA256 (IPC-ShellCmd-0.005.tar.gz) = 78f78d0b6c37038a2584db9daa07b19686a2f70d1cbf9363ef9c606e49c2f552 +SIZE (IPC-ShellCmd-0.005.tar.gz) = 40152 Added: head/devel/p5-IPC-ShellCmd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-IPC-ShellCmd/pkg-descr Sun Nov 3 05:00:53 2013 (r332586) @@ -0,0 +1,16 @@ +IPC::ShellCmd comes from the nth time I've had to implement a select loop and +wanted appropriate sudo/su privilege magic, environment variables that are set +in the child, working directories set etc. + +It aims to provide a reasonable interface for setting up command execution +environment (working directory, environment variables, stdin, stdout and stderr +redirection if necessary), but allowing for ssh and sudo and magicking in the +appropriate shell quoting. + +It tries to be flexible about how you might want to capture output, exit status +and other such, but in such a way as it's hopefully easy to understand and make +it work. + +Setup method calls are chain-able in a File::Find::Rule kind of a way. + +WWW: http://search.cpan.org/dist/IPC-ShellCmd/ Added: head/devel/p5-IPC-ShellCmd/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-IPC-ShellCmd/pkg-plist Sun Nov 3 05:00:53 2013 (r332586) @@ -0,0 +1,15 @@ +%%SITE_PERL%%/IPC/ShellCmd.pm +%%SITE_PERL%%/IPC/ShellCmd/Generic.pm +%%SITE_PERL%%/IPC/ShellCmd/SSH.pm +%%SITE_PERL%%/IPC/ShellCmd/ShBase.pm +%%SITE_PERL%%/IPC/ShellCmd/Sudo.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/ShellCmd/.packlist +%%PERL5_MAN3%%/IPC::ShellCmd.3.gz +%%PERL5_MAN3%%/IPC::ShellCmd::Generic.3.gz +%%PERL5_MAN3%%/IPC::ShellCmd::SSH.3.gz +%%PERL5_MAN3%%/IPC::ShellCmd::ShBase.3.gz +%%PERL5_MAN3%%/IPC::ShellCmd::Sudo.3.gz +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/ShellCmd +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC +@dirrm %%SITE_PERL%%/IPC/ShellCmd +@dirrmtry %%SITE_PERL%%/IPC