Date: Sun, 3 Nov 2013 05:00:53 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 Message-ID: <201311030500.rA350rGa007204@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311030500.rA350rGa007204>