Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 18:45:36 +0200 (CEST)
From:      Mathieu Arnold <m@absolight.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        m@absolight.net
Subject:   ports/54718: new port databases/Class-DBI-FromCGI
Message-ID:  <20030721164536.514937CDD@aragorn.reaumur.absolight.net>
Resent-Message-ID: <200307211650.h6LGoAs7049454@freefall.freebsd.org>

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

>Number:         54718
>Category:       ports
>Synopsis:       new port databases/Class-DBI-FromCGI
>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:50:10 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 databases/Class-DBI-FromCGI

Lots of times, Class::DBI is used in web-based applications. (In fact, coupled
with a templating system that allows you to pass objects, such as
Template::Toolkit, Class::DBI is very much your friend for these.) 

>How-To-Repeat:
>Fix:

requires ports/54716

make test will fail as it needs DBD::CSV.

--- p5-Class-DBI-FromCGI-0.92.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-Class-DBI-FromCGI
#	p5-Class-DBI-FromCGI/Makefile
#	p5-Class-DBI-FromCGI/distinfo
#	p5-Class-DBI-FromCGI/pkg-descr
#	p5-Class-DBI-FromCGI/pkg-plist
#
echo c - p5-Class-DBI-FromCGI
mkdir -p p5-Class-DBI-FromCGI > /dev/null 2>&1
echo x - p5-Class-DBI-FromCGI/Makefile
sed 's/^X//' >p5-Class-DBI-FromCGI/Makefile << 'END-of-p5-Class-DBI-FromCGI/Makefile'
X# New ports collection makefile for:	p5-Class-DBI-FromCGI
X# Date created:	   21 july 2003
X# Whom:		   Mathieu Arnold <m@absolight.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Class-DBI-FromCGI
XPORTVERSION=	0.92
XCATEGORIES=	databases www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Class
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	m@absolight.net
XCOMMENT=	Update Class::DBI data using CGI::Untaint
X
XRUN_DEPENDS=	${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
X		${SITE_PERL}/CGI/Untaint.pm:${PORTSDIR}/www/p5-CGI-Untaint
XBUILD_DEPENDS=	${RUN_DEPENDS} \
X		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Class::DBI::FromCGI.3
X
X.include <bsd.port.mk>
END-of-p5-Class-DBI-FromCGI/Makefile
echo x - p5-Class-DBI-FromCGI/distinfo
sed 's/^X//' >p5-Class-DBI-FromCGI/distinfo << 'END-of-p5-Class-DBI-FromCGI/distinfo'
XMD5 (Class-DBI-FromCGI-0.92.tar.gz) = 41d84b29490adc5400b0b417b2b799ab
END-of-p5-Class-DBI-FromCGI/distinfo
echo x - p5-Class-DBI-FromCGI/pkg-descr
sed 's/^X//' >p5-Class-DBI-FromCGI/pkg-descr << 'END-of-p5-Class-DBI-FromCGI/pkg-descr'
XLots of times, Class::DBI is used in web-based applications. (In fact, coupled
Xwith a templating system that allows you to pass objects, such as
XTemplate::Toolkit, Class::DBI is very much your friend for these.) 
X
XAnd, as we all know, one of the most irritating things about writing web-based
Xapplications is the monotony of writing much of the same stuff over and over
Xagain. And, where there's monotony there's a tendency to skip over stuff that
Xwe all know is really important, but is a pain to write - like Taint Checking
Xand sensible input validation. (Especially as we can still show a 'working'
Xapplication without it!). So, we now have CGI::Untaint to take care of a lot of
Xthat for us. 
X
XIt so happens that CGI::Untaint also plays well with Class::DBI. All you need
Xto do is to 'use Class::DBI::FromCGI' in your class (or in your local
XClass::DBI subclass that all your other classes inherit from. You do do that,
Xdon't you?). 
X
XWWW: http://search.cpan.org/dist/Class-DBI-FromCGI/
END-of-p5-Class-DBI-FromCGI/pkg-descr
echo x - p5-Class-DBI-FromCGI/pkg-plist
sed 's/^X//' >p5-Class-DBI-FromCGI/pkg-plist << 'END-of-p5-Class-DBI-FromCGI/pkg-plist'
X%%SITE_PERL%%/Class/DBI/FromCGI.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/FromCGI/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/FromCGI
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/Class/DBI 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true
END-of-p5-Class-DBI-FromCGI/pkg-plist
exit
--- p5-Class-DBI-FromCGI-0.92.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?20030721164536.514937CDD>