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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.00_2 | 1.00_2 | 1.00_2 | 1.00_2 | 1.00_2 |
| FreeBSD:14:quarterly | 1.00_2 | 1.00_2 | n/a | 1.00_2 | 1.00_2 |
| FreeBSD:15:latest | 1.00_2 | 1.00_2 | n/a | 1.00_2 | 1.00_2 |
| FreeBSD:15:quarterly | 1.00_2 | 1.00_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.00_2 | 1.00_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Class-DBI>=0: databases/p5-Class-DBIp5-CGI-Untaint>=0: www/p5-CGI-Untaint
Runtime 2
p5-Class-DBI>=0: databases/p5-Class-DBIp5-CGI-Untaint>=0: www/p5-CGI-Untaint
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
| File | Size | SHA256 |
|---|---|---|
| Class-DBI-FromCGI-1.00.tar.gz | 6904 | 8af38ed90d69469f0a28c2e9f2f34fe2d03b00654c1819aa4cbc7af215d68390 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.