summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2005-02-19 17:53:55 +0000
committerwiz <wiz>2005-02-19 17:53:55 +0000
commit15f4099d0f70ab0424d6468cbd076a6f08e252c1 (patch)
tree11ce35995f66f387081adf86fdd0633241e32049 /devel
parent7c41fd2962430dd165bf75d27b3f943c4a204e81 (diff)
downloadpkgsrc-15f4099d0f70ab0424d6468cbd076a6f08e252c1.tar.gz
Initial import of p5-Test-Taint-1.04:
Tainted data is data that comes from an unsafe source, such as the command line, or, in the case of web apps, any GET or POST transactions. Read the perlsec man page for details on why tainted data is bad, and how to untaint the data. When you're writing unit tests for code that deals with tainted data, you'll want to have a way to provide tainted data for your routines to handle, and easy ways to check and report on the taintedness of your data, in standard Test::More style.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Test-Taint/DESCR9
-rw-r--r--devel/p5-Test-Taint/Makefile20
-rw-r--r--devel/p5-Test-Taint/PLIST1
-rw-r--r--devel/p5-Test-Taint/distinfo4
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/p5-Test-Taint/DESCR b/devel/p5-Test-Taint/DESCR
new file mode 100644
index 00000000000..80b4fdece6d
--- /dev/null
+++ b/devel/p5-Test-Taint/DESCR
@@ -0,0 +1,9 @@
+Tainted data is data that comes from an unsafe source, such as the
+command line, or, in the case of web apps, any GET or POST
+transactions. Read the perlsec man page for details on why tainted
+data is bad, and how to untaint the data.
+
+When you're writing unit tests for code that deals with tainted
+data, you'll want to have a way to provide tainted data for your
+routines to handle, and easy ways to check and report on the
+taintedness of your data, in standard Test::More style.
diff --git a/devel/p5-Test-Taint/Makefile b/devel/p5-Test-Taint/Makefile
new file mode 100644
index 00000000000..a9728f0f19b
--- /dev/null
+++ b/devel/p5-Test-Taint/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/19 17:53:55 wiz Exp $
+#
+
+DISTNAME= Test-Taint-1.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Test-Taint/
+COMMENT= Tools to test taintedness
+
+#DEPENDS+= p5-Array-Compare-[0-9]*:../../devel/p5-Array-Compare
+
+USE_BUILDLINK3= yes
+USE_LANGUAGES= c
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Test/Taint/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Test-Taint/PLIST b/devel/p5-Test-Taint/PLIST
new file mode 100644
index 00000000000..575f30b5a63
--- /dev/null
+++ b/devel/p5-Test-Taint/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/19 17:53:55 wiz Exp $
diff --git a/devel/p5-Test-Taint/distinfo b/devel/p5-Test-Taint/distinfo
new file mode 100644
index 00000000000..3fcb09acc7d
--- /dev/null
+++ b/devel/p5-Test-Taint/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/19 17:53:55 wiz Exp $
+
+SHA1 (Test-Taint-1.04.tar.gz) = a0b7f19be31fefb1a475466599903ee1e33f1191
+Size (Test-Taint-1.04.tar.gz) = 12404 bytes