aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Proc-SafeExec/Makefile25
-rw-r--r--devel/p5-Proc-SafeExec/distinfo2
-rw-r--r--devel/p5-Proc-SafeExec/pkg-descr7
-rw-r--r--devel/p5-Proc-SafeExec/pkg-plist7
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7cb158cc0bef..d2df1bdaae77 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2282,6 +2282,7 @@
SUBDIR += p5-Proc-ProcessTable
SUBDIR += p5-Proc-Queue
SUBDIR += p5-Proc-Reliable
+ SUBDIR += p5-Proc-SafeExec
SUBDIR += p5-Proc-Simple
SUBDIR += p5-Proc-Wait3
SUBDIR += p5-Proc-WaitStat
diff --git a/devel/p5-Proc-SafeExec/Makefile b/devel/p5-Proc-SafeExec/Makefile
new file mode 100644
index 000000000000..88fc3d10faf2
--- /dev/null
+++ b/devel/p5-Proc-SafeExec/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Proc-SafeExec
+# Date created: 2012-02-13
+# Whom: Sergei Vyshenski <svysh@pn.sinp.msu.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Proc-SafeExec
+PORTVERSION= 1.4
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svysh@pn.sinp.msu.ru
+COMMENT= Convenient utility for executing external commands in various ways
+
+LICENSE= BSD GPLv1
+LICENSE_COMB= dual
+
+PERL_CONFIGURE= yes
+
+MAN3= Proc::SafeExec.3 \
+ Proc::SafeExec::Queue.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Proc-SafeExec/distinfo b/devel/p5-Proc-SafeExec/distinfo
new file mode 100644
index 000000000000..b89fdafedfac
--- /dev/null
+++ b/devel/p5-Proc-SafeExec/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Proc-SafeExec-1.4.tar.gz) = cbe23bef86d52d41f52e77583ce334b59a3708832cdc60ea93ab162946adcba1
+SIZE (Proc-SafeExec-1.4.tar.gz) = 11370
diff --git a/devel/p5-Proc-SafeExec/pkg-descr b/devel/p5-Proc-SafeExec/pkg-descr
new file mode 100644
index 000000000000..9c598bf54f5a
--- /dev/null
+++ b/devel/p5-Proc-SafeExec/pkg-descr
@@ -0,0 +1,7 @@
+Proc::SafeExec provides an easy, safe way to execute external programs. It
+replaces all of Perl's questionable ways of accomodating this, including
+system(), open() with a pipe, exec(), back-ticks, etc. This module will never
+automatically invoke /bin/sh. This module is easy enough to use that /bin/sh
+should be unnecessary, even for complex pipelines.
+
+WWW: http://search.cpan.org/dist/Proc-SafeExec/
diff --git a/devel/p5-Proc-SafeExec/pkg-plist b/devel/p5-Proc-SafeExec/pkg-plist
new file mode 100644
index 000000000000..be36baf781d4
--- /dev/null
+++ b/devel/p5-Proc-SafeExec/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Proc/SafeExec.pm
+%%SITE_PERL%%/Proc/SafeExec/Queue.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Proc/SafeExec/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Proc/SafeExec
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Proc
+@dirrm %%SITE_PERL%%/Proc/SafeExec
+@dirrmtry %%SITE_PERL%%/Proc