1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add p5-CGI-Untaint 0.90, process CGI input parameters.

PR:		54716
Submitted by:	Mathieu Arnold <m@absolight.net>
This commit is contained in:
Daichi GOTO 2003-07-30 06:53:22 +00:00
parent 23cbcaeccc
commit c5a1f2b8ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85896
5 changed files with 47 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (CGI-Untaint-0.90.tar.gz) = 8ef4a4b6533ffa110a178f97f59b503c

View File

@ -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/

View File

@ -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