Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 18:12:01 +0200 (CEST)
From:      Mathieu Arnold <m@absolight.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        m@absolight.net
Subject:   ports/54716: new port www/p5-CGI-Untaint
Message-ID:  <20030721161201.50CB67D27@aragorn.reaumur.absolight.net>
Resent-Message-ID: <200307211620.h6LGKH9G048179@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54716
>Category:       ports
>Synopsis:       new port www/p5-CGI-Untaint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 21 09:20:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 10 13:45:07 CEST 2003 root@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386

>Description:
New port www/p5-CGI-Untaint

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.

>How-To-Repeat:
>Fix:

Some tests fails with 5.00503 because of some use of 'our' and because
File::Temp is not there, but these are just tests, and are not needed for it to
work.

--- p5-CGI-Untaint-0.90.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-CGI-Untaint
#	p5-CGI-Untaint/Makefile
#	p5-CGI-Untaint/distinfo
#	p5-CGI-Untaint/pkg-descr
#	p5-CGI-Untaint/pkg-plist
#
echo c - p5-CGI-Untaint
mkdir -p p5-CGI-Untaint > /dev/null 2>&1
echo x - p5-CGI-Untaint/Makefile
sed 's/^X//' >p5-CGI-Untaint/Makefile << 'END-of-p5-CGI-Untaint/Makefile'
X# New ports collection makefile for:	p5-CGI-Untaint
X# Date created:	   21 july 2003
X# Whom:		   Mathieu Arnold <m@absolight.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	CGI-Untaint
XPORTVERSION=	0.90
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	CGI
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	m@absolight.net
XCOMMENT=	Process CGI input parameters
X
XRUN_DEPENDS=	${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-exports \
X		${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
XBUILD_DEPENDS=	${RUN_DEPENDS} \
X		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
X
XPERL_CONFIGURE=	yes
X
XMAN3=		CGI::Untaint.3 CGI::Untaint::hex.3 CGI::Untaint::integer.3 \
X       		CGI::Untaint::object.3 CGI::Untaint::printable.3
X
X.include <bsd.port.mk>
END-of-p5-CGI-Untaint/Makefile
echo x - p5-CGI-Untaint/distinfo
sed 's/^X//' >p5-CGI-Untaint/distinfo << 'END-of-p5-CGI-Untaint/distinfo'
XMD5 (CGI-Untaint-0.90.tar.gz) = 8ef4a4b6533ffa110a178f97f59b503c
END-of-p5-CGI-Untaint/distinfo
echo x - p5-CGI-Untaint/pkg-descr
sed 's/^X//' >p5-CGI-Untaint/pkg-descr << 'END-of-p5-CGI-Untaint/pkg-descr'
XDealing with large web based applications with multiple forms is a minefield.
XIt's often hard enough to ensure you validate all your input at all, without
Xhaving to worry about doing it in a consistent manner. If any of the validation
Xrules change, you often have to alter them in many different places. And, if
Xyou want to operate taint-safe, then you're just adding even more headaches.
X
XWWW: http://search.cpan.org/dist/CGI-Untaint/
END-of-p5-CGI-Untaint/pkg-descr
echo x - p5-CGI-Untaint/pkg-plist
sed 's/^X//' >p5-CGI-Untaint/pkg-plist << 'END-of-p5-CGI-Untaint/pkg-plist'
X%%SITE_PERL%%/CGI/Untaint.pm
X%%SITE_PERL%%/CGI/Untaint/hex.pm
X%%SITE_PERL%%/CGI/Untaint/integer.pm
X%%SITE_PERL%%/CGI/Untaint/object.pm
X%%SITE_PERL%%/CGI/Untaint/printable.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Untaint/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Untaint
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true
X@dirrm %%SITE_PERL%%/CGI/Untaint
X@unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true
END-of-p5-CGI-Untaint/pkg-plist
exit
--- p5-CGI-Untaint-0.90.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030721161201.50CB67D27>