diff options
author | edwin <edwin@FreeBSD.org> | 2003-12-28 08:56:37 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-12-28 08:56:37 +0000 |
commit | 7cc07272755834d36574a5c78c6b05858e222bee (patch) | |
tree | ccc1c7f49ea690c94353ab6c726217250561d05e /www/pear-HTTP_Upload | |
parent | fd8e7c4005674211cd048d3fd401859717bfd17d (diff) | |
download | FreeBSD-ports-7cc07272755834d36574a5c78c6b05858e222bee.zip FreeBSD-ports-7cc07272755834d36574a5c78c6b05858e222bee.tar.gz |
New port: pear-HTTP_Upload: Easy and secure managment of files submitted via HTML Forms
This class provides an advanced file uploader system for
file uploads made from html forms. Features:
* Can handle from one file to multiple files.
* Safe file copying from tmp dir.
* Easy detecting mechanism of valid upload, missing upload or error.
* Gives extensive information about the uploaded file.
* Rename uploaded files in different ways: as it is, safe or unique
* Validate allowed file extensions
* Multiple languages error messages support (es, en, de, fr, nl)
WWW: http://pear.php.net/package-info.php?package=HTTP_Upload
PR: ports/60196
Submitted by: Alex Miller <asm@asm.kiev.ua>
Diffstat (limited to 'www/pear-HTTP_Upload')
-rw-r--r-- | www/pear-HTTP_Upload/Makefile | 31 | ||||
-rw-r--r-- | www/pear-HTTP_Upload/distinfo | 1 | ||||
-rw-r--r-- | www/pear-HTTP_Upload/pkg-descr | 11 | ||||
-rw-r--r-- | www/pear-HTTP_Upload/pkg-plist | 5 |
4 files changed, 48 insertions, 0 deletions
diff --git a/www/pear-HTTP_Upload/Makefile b/www/pear-HTTP_Upload/Makefile new file mode 100644 index 0000000..bb76d45 --- /dev/null +++ b/www/pear-HTTP_Upload/Makefile @@ -0,0 +1,31 @@ +# Ports collection makefile for: pear-HTTP_Upload +# Date created: 13 December 2003 +# Whom: Alex Miller (<asm@asm.kiev.ua>) +# +# $FreeBSD$ +# + +PORTNAME= HTTP_Upload +PORTVERSION= 0.8.1 +CATEGORIES= www devel pear + +MAINTAINER= ports@FreeBSD.org +COMMENT= Easy and secure managment of files submitted via HTML Forms + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +.include <bsd.port.pre.mk> +.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/upload_example.php ${DOCSDIR} + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +do-install: + @${CP} ${WRKSRC}/Upload.php ${PEARDIR} + @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Upload.php + +.include <bsd.port.post.mk> diff --git a/www/pear-HTTP_Upload/distinfo b/www/pear-HTTP_Upload/distinfo new file mode 100644 index 0000000..7ccf613 --- /dev/null +++ b/www/pear-HTTP_Upload/distinfo @@ -0,0 +1 @@ +MD5 (PEAR/HTTP_Upload-0.8.1.tgz) = 142a87c46988276247a425cf41e6302b diff --git a/www/pear-HTTP_Upload/pkg-descr b/www/pear-HTTP_Upload/pkg-descr new file mode 100644 index 0000000..6ce8f3d --- /dev/null +++ b/www/pear-HTTP_Upload/pkg-descr @@ -0,0 +1,11 @@ +This class provides an advanced file uploader system for file uploads made +from html forms. Features: + * Can handle from one file to multiple files. + * Safe file copying from tmp dir. + * Easy detecting mechanism of valid upload, missing upload or error. + * Gives extensive information about the uploaded file. + * Rename uploaded files in different ways: as it is, safe or unique + * Validate allowed file extensions + * Multiple languages error messages support (es, en, de, fr, nl) + +WWW: http://pear.php.net/package-info.php?package=HTTP_Upload diff --git a/www/pear-HTTP_Upload/pkg-plist b/www/pear-HTTP_Upload/pkg-plist new file mode 100644 index 0000000..eb5a7bc --- /dev/null +++ b/www/pear-HTTP_Upload/pkg-plist @@ -0,0 +1,5 @@ +%%PEARDIR%%/Upload.php +%%PKGREGDIR%%/package.xml +%%PORTDOCS%%%%DOCSDIR%%/upload_example.php +@dirrm %%PKGREGDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |