aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-30 06:53:22 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-30 06:53:22 +0000
commitc5a1f2b8caedd2d39ac964392a31c3a1c2764c25 (patch)
treec0f15a48bdaf75b92d8edd87afdc06bfaf9991db
parent23cbcaeccce81cf47a53efb6bc7bce5de77a5fbf (diff)
downloadports-c5a1f2b8caedd2d39ac964392a31c3a1c2764c25.tar.gz
ports-c5a1f2b8caedd2d39ac964392a31c3a1c2764c25.zip
Add p5-CGI-Untaint 0.90, process CGI input parameters.
PR: 54716 Submitted by: Mathieu Arnold <m@absolight.net>
Notes
Notes: svn path=/head/; revision=85896
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-CGI-Untaint/Makefile28
-rw-r--r--www/p5-CGI-Untaint/distinfo1
-rw-r--r--www/p5-CGI-Untaint/pkg-descr7
-rw-r--r--www/p5-CGI-Untaint/pkg-plist10
5 files changed, 47 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 37c98547d824..28e1285c6629 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -328,6 +328,7 @@
SUBDIR += p5-CGI-Minimal
SUBDIR += p5-CGI-Session
SUBDIR += p5-CGI-SpeedyCGI
+ SUBDIR += p5-CGI-Untaint
SUBDIR += p5-CGI-Upload
SUBDIR += p5-CGI-XMLApplication
SUBDIR += p5-CGI-modules
diff --git a/www/p5-CGI-Untaint/Makefile b/www/p5-CGI-Untaint/Makefile
new file mode 100644
index 000000000000..b91e460735c4
--- /dev/null
+++ b/www/p5-CGI-Untaint/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-CGI-Untaint
+# Date created: 21 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CGI-Untaint
+PORTVERSION= 0.90
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= CGI
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Process CGI input parameters
+
+RUN_DEPENDS= ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-exports \
+ ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+
+PERL_CONFIGURE= yes
+
+MAN3= CGI::Untaint.3 CGI::Untaint::hex.3 CGI::Untaint::integer.3 \
+ CGI::Untaint::object.3 CGI::Untaint::printable.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-CGI-Untaint/distinfo b/www/p5-CGI-Untaint/distinfo
new file mode 100644
index 000000000000..2f004d82faa6
--- /dev/null
+++ b/www/p5-CGI-Untaint/distinfo
@@ -0,0 +1 @@
+MD5 (CGI-Untaint-0.90.tar.gz) = 8ef4a4b6533ffa110a178f97f59b503c
diff --git a/www/p5-CGI-Untaint/pkg-descr b/www/p5-CGI-Untaint/pkg-descr
new file mode 100644
index 000000000000..b0c12858b64b
--- /dev/null
+++ b/www/p5-CGI-Untaint/pkg-descr
@@ -0,0 +1,7 @@
+Dealing with large web based applications with multiple forms is a minefield.
+It's often hard enough to ensure you validate all your input at all, without
+having to worry about doing it in a consistent manner. If any of the validation
+rules change, you often have to alter them in many different places. And, if
+you want to operate taint-safe, then you're just adding even more headaches.
+
+WWW: http://search.cpan.org/dist/CGI-Untaint/
diff --git a/www/p5-CGI-Untaint/pkg-plist b/www/p5-CGI-Untaint/pkg-plist
new file mode 100644
index 000000000000..83ca11d3a2cd
--- /dev/null
+++ b/www/p5-CGI-Untaint/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/CGI/Untaint.pm
+%%SITE_PERL%%/CGI/Untaint/hex.pm
+%%SITE_PERL%%/CGI/Untaint/integer.pm
+%%SITE_PERL%%/CGI/Untaint/object.pm
+%%SITE_PERL%%/CGI/Untaint/printable.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Untaint/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Untaint
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true
+@dirrm %%SITE_PERL%%/CGI/Untaint
+@unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true