FreeBSD Ports

databases/p5-Class-DBI-FromCGI 1.00_2

Update Class::DBI data using CGI::Untaint

Repository
FreeBSD ports
Maintainer
[email protected]
Categories
databases, www, perl5
Package size
7.5 KiB, 11.6 KiB installed

Description

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.)

And, as we all know, one of the most irritating things about writing web-based applications is the monotony of writing much of the same stuff over and over again. And, where there's monotony there's a tendency to skip over stuff that we all know is really important, but is a pain to write - like Taint Checking and sensible input validation. (Especially as we can still show a 'working' application without it!). So, we now have CGI::Untaint to take care of a lot of that for us.

It so happens that CGI::Untaint also plays well with Class::DBI. All you need to do is to 'use Class::DBI::FromCGI' in your class (or in your local Class::DBI subclass that all your other classes inherit from. You do do that, don't you?).

Install

As a binary package — by origin, or by package name:

pkg install databases/p5-Class-DBI-FromCGI
pkg install p5-Class-DBI-FromCGI

From the ports tree:

cd /usr/ports/databases/p5-Class-DBI-FromCGI/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Class-DBI-FromCGI>0:databases/p5-Class-DBI-FromCGI

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.00_21.00_21.00_21.00_21.00_2
FreeBSD:14:quarterly1.00_21.00_2n/a1.00_21.00_2
FreeBSD:15:latest1.00_21.00_2n/a1.00_21.00_2
FreeBSD:15:quarterly1.00_21.00_2n/an/an/a
FreeBSD:16:latest1.00_21.00_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

All build dependencies 13
All run dependencies 13

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Class/DBI/FromCGI.pm
  • %%PERL5_MAN3%%/Class::DBI::FromCGI.3.gz
distinfo 1
FileSizeSHA256
Class-DBI-FromCGI-1.00.tar.gz69048af38ed90d69469f0a28c2e9f2f34fe2d03b00654c1819aa4cbc7af215d68390
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.