summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Taint-Util/Makefile21
-rw-r--r--devel/p5-Taint-Util/distinfo2
-rw-r--r--devel/p5-Taint-Util/pkg-descr6
-rw-r--r--devel/p5-Taint-Util/pkg-plist7
5 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 016a840ab4f4..a1d36094c3df 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2288,6 +2288,7 @@
SUBDIR += p5-TAP-Formatter-JUnit
SUBDIR += p5-TAP-Harness-JUnit
SUBDIR += p5-Taint-Runtime
+ SUBDIR += p5-Taint-Util
SUBDIR += p5-Task-Weaken
SUBDIR += p5-Tee
SUBDIR += p5-Template-Provider-Encode
diff --git a/devel/p5-Taint-Util/Makefile b/devel/p5-Taint-Util/Makefile
new file mode 100644
index 000000000000..9e3c6bf69705
--- /dev/null
+++ b/devel/p5-Taint-Util/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: p5-Taint-Util
+# Date created: 2011-07-21
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Taint-Util
+PORTVERSION= 0.08
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Test for and flip the taint flag without regex matches or eval
+
+PERL_CONFIGURE= yes
+
+MAN3= Taint::Util.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Taint-Util/distinfo b/devel/p5-Taint-Util/distinfo
new file mode 100644
index 000000000000..5a941132d03d
--- /dev/null
+++ b/devel/p5-Taint-Util/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Taint-Util-0.08.tar.gz) = 78047c65237ee4ca2451bd8b44936db09a34a3925003eccf4255bcd7fdd9768c
+SIZE (Taint-Util-0.08.tar.gz) = 14862
diff --git a/devel/p5-Taint-Util/pkg-descr b/devel/p5-Taint-Util/pkg-descr
new file mode 100644
index 000000000000..25c19e21fa50
--- /dev/null
+++ b/devel/p5-Taint-Util/pkg-descr
@@ -0,0 +1,6 @@
+Taint::Util wraps perl's internal routines for checking and setting the taint
+flag and thus does not rely on regular expressions for untainting or odd tricks
+involving eval and kill for checking whether data is tainted, instead it checks
+and flips a flag on the scalar in-place.
+
+WWW: http://search.cpan.org/dist/Taint-Util/
diff --git a/devel/p5-Taint-Util/pkg-plist b/devel/p5-Taint-Util/pkg-plist
new file mode 100644
index 000000000000..a1bbc20d52e7
--- /dev/null
+++ b/devel/p5-Taint-Util/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Taint/Util.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Taint/Util/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Taint/Util/Util.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Taint/Util/Util.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Taint/Util
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Taint
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Taint