Add p5-CGI-Upload 1.05, cGI class for handling browser file uploads.

PR:		53574
Submitted by:	Daniel B. Hemmerich
This commit is contained in:
Erwin Lansing 2003-06-21 08:26:58 +00:00
parent 3e79242e12
commit 9bbd52917d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83398
5 changed files with 48 additions and 0 deletions

View file

@ -324,6 +324,7 @@
SUBDIR += p5-CGI-Minimal
SUBDIR += p5-CGI-Session
SUBDIR += p5-CGI-SpeedyCGI
SUBDIR += p5-CGI-Upload
SUBDIR += p5-CGI-XMLApplication
SUBDIR += p5-CGI-modules
SUBDIR += p5-CGI.pm

View file

@ -0,0 +1,26 @@
# New ports collection makefile for: p5-CGI-Upload
# Date created: 21 June 2003
# Whom: Daniel B. Hemmerich
#
# $FreeBSD$
#
PORTNAME= CGI-Upload
PORTVERSION= 1.05
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX= p5-
MAINTAINER= ports-freebsd@FreeBSDsecurity.com
COMMENT= CGI class for handling browser file uploads
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTTP/BrowserDetect.pm:${PORTSDIR}/www/p5-HTTP-BrowserDetect \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic
PERL_CONFIGURE= yes
MAN3= CGI::Upload.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (CGI-Upload-1.05.tar.gz) = 30ae6bb548d9806b74ff3e2fde8fcdfc

View file

@ -0,0 +1,15 @@
This module has been written to provide a simple and secure
manner by which to handle files uploaded in multipart/form-data
requests through a web browser. The primary advantage which this
module offers over existing modules is the single interface
which it provides for the most often required information
regarding files uploaded in this manner.
This module builds upon primarily the CGI and File::MMagic
modules and offers some tidy and succinct methods for the
handling of files uploaded via multipart/form-data requests.
WWW: http://search.cpan.org/search?dist=CGI-Upload
- Daniel B. Hemmerich
ports-freebsd@FreeBSDsecurity.com

View file

@ -0,0 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI/Upload/.packlist
lib/perl5/site_perl/%%PERL_VER%%/CGI/Upload.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI/Upload
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/CGI 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true