pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Taint Initial import of p5-Test-Taint-1.04:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/831501cbc4fe
branches:  trunk
changeset: 489289:831501cbc4fe
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Feb 19 17:53:55 2005 +0000

description:
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:

 devel/p5-Test-Taint/DESCR    |   9 +++++++++
 devel/p5-Test-Taint/Makefile |  20 ++++++++++++++++++++
 devel/p5-Test-Taint/PLIST    |   1 +
 devel/p5-Test-Taint/distinfo |   4 ++++
 4 files changed, 34 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r 1d6a100d97cb -r 831501cbc4fe devel/p5-Test-Taint/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Taint/DESCR Sat Feb 19 17:53:55 2005 +0000
@@ -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 -r 1d6a100d97cb -r 831501cbc4fe devel/p5-Test-Taint/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Taint/Makefile      Sat Feb 19 17:53:55 2005 +0000
@@ -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@localhost
+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 -r 1d6a100d97cb -r 831501cbc4fe devel/p5-Test-Taint/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Taint/PLIST Sat Feb 19 17:53:55 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/19 17:53:55 wiz Exp $
diff -r 1d6a100d97cb -r 831501cbc4fe devel/p5-Test-Taint/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Taint/distinfo      Sat Feb 19 17:53:55 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index