1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Add p5-CGI-Thin 0.52

This module is a very lightweight parser of CGI forms. And it has a special
feature that it will return an array if the same key is used twice in the
form.  You can force an array even if only one value returned to avoid
complications.

The hash %cgi_data will have all the form data from either a POST or GET form
and will also work for "multipart/form-data" forms necessary for uploading
files.

WWW: http://search.cpan.org/dist/CGI-Thin/

PR:		ports/152115
Submitted by:	Phil Phillips <pphillips@experts-exchange.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2010-11-22 18:01:07 +00:00
parent fcf38f31a6
commit 3af4b3a482
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264932
5 changed files with 42 additions and 0 deletions

View File

@ -760,6 +760,7 @@
SUBDIR += p5-CGI-Session-ExpireSessions
SUBDIR += p5-CGI-Simple
SUBDIR += p5-CGI-SpeedyCGI
SUBDIR += p5-CGI-Thin
SUBDIR += p5-CGI-Untaint
SUBDIR += p5-CGI-Untaint-date
SUBDIR += p5-CGI-Untaint-email

22
www/p5-CGI-Thin/Makefile Normal file
View File

@ -0,0 +1,22 @@
# New ports collection makefile for: p5-CGI-Thin
# Date created: 2010-11-09
# Whom: Phil Phillips
#
# $FreeBSD$
#
PORTNAME= CGI-Thin
PORTVERSION= 0.52
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= pphillips@experts-exchange.com
COMMENT= A very lightweight Parser for CGI Forms
PERL_CONFIGURE= yes
MAN3= CGI::Thin.3 \
CGI::Thin::Cookies.3
.include <bsd.port.mk>

2
www/p5-CGI-Thin/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (CGI-Thin-0.52.tar.gz) = a512adecf1e42b7cae77eb113d77edbf61c84ce8ff5ed67e142e169b460bc7d7
SIZE (CGI-Thin-0.52.tar.gz) = 6360

10
www/p5-CGI-Thin/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
This module is a very lightweight parser of CGI forms. And it has a special
feature that it will return an array if the same key is used twice in the
form. You can force an array even if only one value returned to avoid
complications.
The hash %cgi_data will have all the form data from either a POST or GET form
and will also work for "multipart/form-data" forms necessary for uploading
files.
WWW: http://search.cpan.org/dist/CGI-Thin/

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/CGI/Thin.pm
%%SITE_PERL%%/CGI/Thin/Cookies.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Thin/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Thin
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI
@dirrm %%SITE_PERL%%/CGI/Thin
@dirrmtry %%SITE_PERL%%/CGI