From owner-freebsd-www@FreeBSD.ORG Fri Dec 12 15:40:34 2003 Return-Path: Delivered-To: freebsd-www@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB56D16A4CE for ; Fri, 12 Dec 2003 15:40:34 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D76643D48 for ; Fri, 12 Dec 2003 15:40:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBCNeJFR030767 for ; Fri, 12 Dec 2003 15:40:19 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBCNeJLY030766; Fri, 12 Dec 2003 15:40:19 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 12 Dec 2003 15:40:19 -0800 (PST) Resent-Message-Id: <200312122340.hBCNeJLY030766@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Miller Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4DFD16A4CE for ; Fri, 12 Dec 2003 15:38:02 -0800 (PST) Received: from piggy.asa.org.ua (asa.org.ua [213.130.25.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8065943D32 for ; Fri, 12 Dec 2003 15:38:01 -0800 (PST) (envelope-from asm@asa.org.ua) Received: from asm by piggy.asa.org.ua with local id 1AUwrA-000KZf-Eb for FreeBSD-gnats-submit@freebsd.org; Sat, 13 Dec 2003 01:38:00 +0200 Message-Id: Date: Sat, 13 Dec 2003 01:38:00 +0200 From: Alex Miller To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: www/60196: New port: pear-HTTP_Upload: Easy and secure managment of files submitted via HTML Forms X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 23:40:34 -0000 >Number: 60196 >Category: www >Synopsis: New port: pear-HTTP_Upload: Easy and secure managment of files submitted via HTML Forms >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Dec 12 15:40:19 PST 2003 >Closed-Date: >Last-Modified: >Originator: Alex Miller >Release: FreeBSD 5.1-RELEASE-p10 i386 >Organization: Home Sweet Home, Inc. >Environment: System: FreeBSD 5.1-RELEASE-p10 #5: Sat Oct 4 15:01:03 EEST 2003 asm@piggy.asa.org.ua:PIGGY i386 >Description: 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 >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # www/pear-HTTP_Upload/ # www/pear-HTTP_Upload/Makefile # www/pear-HTTP_Upload/distinfo # www/pear-HTTP_Upload/pkg-descr # www/pear-HTTP_Upload/pkg-plist # echo c - www/pear-HTTP_Upload/ mkdir -p www/pear-HTTP_Upload/ > /dev/null 2>&1 echo x - www/pear-HTTP_Upload/Makefile sed 's/^X//' >www/pear-HTTP_Upload/Makefile << 'END-of-www/pear-HTTP_Upload/Makefile' X# Ports collection makefile for: pear-HTTP_Upload X# Date created: 13 December 2003 X# Whom: Alex Miller () X# X# $FreeBSD$ X# X XPORTNAME= HTTP_Upload XPORTVERSION= 0.8.1 XCATEGORIES= devel www pear X XMAINTAINER= ports@FreeBSD.org XCOMMENT= Easy and secure managment of files submitted via HTML Forms X XBUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR XRUN_DEPENDS= ${BUILD_DEPENDS} X X.include X.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" X X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/docs/upload_example.php ${DOCSDIR} X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." X.endif X Xdo-install: X @${CP} ${WRKSRC}/Upload.php ${PEARDIR} X @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Upload.php X X.include END-of-www/pear-HTTP_Upload/Makefile echo x - www/pear-HTTP_Upload/distinfo sed 's/^X//' >www/pear-HTTP_Upload/distinfo << 'END-of-www/pear-HTTP_Upload/distinfo' XMD5 (PEAR/HTTP_Upload-0.8.1.tgz) = 142a87c46988276247a425cf41e6302b END-of-www/pear-HTTP_Upload/distinfo echo x - www/pear-HTTP_Upload/pkg-descr sed 's/^X//' >www/pear-HTTP_Upload/pkg-descr << 'END-of-www/pear-HTTP_Upload/pkg-descr' XThis class provides an advanced file uploader system for file uploads made Xfrom html forms. Features: X * Can handle from one file to multiple files. X * Safe file copying from tmp dir. X * Easy detecting mechanism of valid upload, missing upload or error. X * Gives extensive information about the uploaded file. X * Rename uploaded files in different ways: as it is, safe or unique X * Validate allowed file extensions X * Multiple languages error messages support (es, en, de, fr, nl) X XWWW: http://pear.php.net/package-info.php?package=HTTP_Upload END-of-www/pear-HTTP_Upload/pkg-descr echo x - www/pear-HTTP_Upload/pkg-plist sed 's/^X//' >www/pear-HTTP_Upload/pkg-plist << 'END-of-www/pear-HTTP_Upload/pkg-plist' X%%PEARDIR%%/Upload.php X%%PKGREGDIR%%/package.xml X%%PORTDOCS%%%%DOCSDIR%%/upload_example.php X@dirrm %%PEARDIR%% X@dirrm %%PKGREGDIR%% X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-www/pear-HTTP_Upload/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: