BSD Ports

devel/p5-IPC-ShellCmd 0.005_1 FreeBSD

Run a command with a given environment and capture output

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
22.3 KiB, 54.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-IPC-ShellCmd0.005_1
DragonFlydevel/p5-IPC-ShellCmd0.005_1

Install

Binary package:

pkg install p5-IPC-ShellCmd

From the ports tree:

cd /usr/ports/devel/p5-IPC-ShellCmd/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-IPC-ShellCmd>0:devel/p5-IPC-ShellCmd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.005_10.005_10.005_10.005_10.005_1
FreeBSD:14:quarterly0.005_10.005_1n/a0.005_10.005_1
FreeBSD:15:latest0.005_10.005_1n/a0.005_10.005_1
FreeBSD:15:quarterly0.005_10.005_1n/an/an/a
FreeBSD:16:latest0.005_10.005_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 111

The first 100 are listed.

Run dependencies 111

The first 100 are listed.

Configuration

No options to configure.

USES
perl5 sudo
Service scripts
none

Files

pkg-plist 10
  • %%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
  • %%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
distinfo 1
FileSizeSHA256
IPC-ShellCmd-0.005.tar.gz4015278f78d0b6c37038a2584db9daa07b19686a2f70d1cbf9363ef9c606e49c2f552
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.