diff options
author | erwin <erwin@FreeBSD.org> | 2003-06-21 08:26:58 +0000 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-06-21 08:26:58 +0000 |
commit | 9c911a2a2a48deec817754d18a2410e9c651cad3 (patch) | |
tree | 8b9a550733abd12b035fa279f3c9d45a694f42c5 /www/p5-CGI-Upload | |
parent | ffe440d60d4c20de1ead59362c7b9c2778b648d5 (diff) | |
download | FreeBSD-ports-9c911a2a2a48deec817754d18a2410e9c651cad3.zip FreeBSD-ports-9c911a2a2a48deec817754d18a2410e9c651cad3.tar.gz |
Add p5-CGI-Upload 1.05, cGI class for handling browser file uploads.
PR: 53574
Submitted by: Daniel B. Hemmerich
Diffstat (limited to 'www/p5-CGI-Upload')
-rw-r--r-- | www/p5-CGI-Upload/Makefile | 26 | ||||
-rw-r--r-- | www/p5-CGI-Upload/distinfo | 1 | ||||
-rw-r--r-- | www/p5-CGI-Upload/pkg-descr | 15 | ||||
-rw-r--r-- | www/p5-CGI-Upload/pkg-plist | 5 |
4 files changed, 47 insertions, 0 deletions
diff --git a/www/p5-CGI-Upload/Makefile b/www/p5-CGI-Upload/Makefile new file mode 100644 index 0000000..64bcefe --- /dev/null +++ b/www/p5-CGI-Upload/Makefile @@ -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> diff --git a/www/p5-CGI-Upload/distinfo b/www/p5-CGI-Upload/distinfo new file mode 100644 index 0000000..dc6a723 --- /dev/null +++ b/www/p5-CGI-Upload/distinfo @@ -0,0 +1 @@ +MD5 (CGI-Upload-1.05.tar.gz) = 30ae6bb548d9806b74ff3e2fde8fcdfc diff --git a/www/p5-CGI-Upload/pkg-descr b/www/p5-CGI-Upload/pkg-descr new file mode 100644 index 0000000..5ef193d --- /dev/null +++ b/www/p5-CGI-Upload/pkg-descr @@ -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 diff --git a/www/p5-CGI-Upload/pkg-plist b/www/p5-CGI-Upload/pkg-plist new file mode 100644 index 0000000..c819cef --- /dev/null +++ b/www/p5-CGI-Upload/pkg-plist @@ -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 |