From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 19 03:50:39 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A840C16A47B for ; Tue, 19 Sep 2006 03:50:39 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E46CD43D5C for ; Tue, 19 Sep 2006 03:50:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8J3oOWp041189 for ; Tue, 19 Sep 2006 03:50:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8J3oObk041187; Tue, 19 Sep 2006 03:50:24 GMT (envelope-from gnats) Resent-Date: Tue, 19 Sep 2006 03:50:24 GMT Resent-Message-Id: <200609190350.k8J3oObk041187@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, George Hartzell Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E4F516A415 for ; Tue, 19 Sep 2006 03:42:37 +0000 (UTC) (envelope-from hartzell@blue.alerce.com) Received: from blue.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04D3843D45 for ; Tue, 19 Sep 2006 03:42:32 +0000 (GMT) (envelope-from hartzell@blue.alerce.com) Received: from blue.alerce.com (localhost [127.0.0.1]) by blue.alerce.com (8.13.6/8.13.6) with ESMTP id k8J3k0jW002162; Mon, 18 Sep 2006 20:46:00 -0700 (PDT) (envelope-from hartzell@blue.alerce.com) Received: (from hartzell@localhost) by blue.alerce.com (8.13.6/8.13.6/Submit) id k8J3k0Ix002161; Mon, 18 Sep 2006 20:46:00 -0700 (PDT) (envelope-from hartzell) Message-Id: <200609190346.k8J3k0Ix002161@blue.alerce.com> Date: Mon, 18 Sep 2006 20:46:00 -0700 (PDT) From: George Hartzell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: George Hartzell Subject: ports/103387: New port: www/p5-CGI-Application-Plugin-Stream X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: George Hartzell List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 03:50:39 -0000 >Number: 103387 >Category: ports >Synopsis: New port: www/p5-CGI-Application-Plugin-Stream >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Sep 19 03:50:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: George Hartzell >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD blue.alerce.com 6.1-STABLE FreeBSD 6.1-STABLE #6: Wed May 31 13:03:07 PDT 2006 root@blue.alerce.com:/usr/obj/usr/src/sys/BLUE i386 >Description: >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: # # p5-CGI-Application-Plugin-Stream # p5-CGI-Application-Plugin-Stream/distinfo # p5-CGI-Application-Plugin-Stream/Makefile # p5-CGI-Application-Plugin-Stream/pkg-descr # p5-CGI-Application-Plugin-Stream/pkg-plist # echo c - p5-CGI-Application-Plugin-Stream mkdir -p p5-CGI-Application-Plugin-Stream > /dev/null 2>&1 echo x - p5-CGI-Application-Plugin-Stream/distinfo sed 's/^X//' >p5-CGI-Application-Plugin-Stream/distinfo << 'END-of-p5-CGI-Application-Plugin-Stream/distinfo' XMD5 (CGI-Application-Plugin-Stream-2.05.tar.gz) = 687a6be94eada6f499b3842596935231 XSHA256 (CGI-Application-Plugin-Stream-2.05.tar.gz) = 9c3554ea4df4d78bb28c263ef35fb1213a3cb33181c025e9f481eb9a7fc661a1 XSIZE (CGI-Application-Plugin-Stream-2.05.tar.gz) = 5523 END-of-p5-CGI-Application-Plugin-Stream/distinfo echo x - p5-CGI-Application-Plugin-Stream/Makefile sed 's/^X//' >p5-CGI-Application-Plugin-Stream/Makefile << 'END-of-p5-CGI-Application-Plugin-Stream/Makefile' X# New ports collection makefile for: www/p5-CGI-Application-Plugin-Stream X# Date created: 14 September 2005 X# Whom: George Hartzell X# X# $FreeBSD$ X# X XPORTNAME= CGI-Application-Plugin-Stream XPORTVERSION= 2.05 XCATEGORIES= www perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= CGI XPKGNAMEPREFIX= p5- X XMAINTAINER= hartzell@alerce.com XCOMMENT= Plugin that adds file streaming support to CGI::Application X XBUILD_DEPENDS= ${SITE_PERL}/CGI/Application.pm:${PORTSDIR}/www/p5-CGI-Application \ X ${SITE_PERL}/CGI/Application/Plugin/AutoRunmode.pm:${PORTSDIR}/www/p5-CGI-Application-Plugin-AutoRunmode \ X ${SITE_PERL}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_MODBUILD= yes X XMAN3= CGI::Application::Plugin::Stream.3 X X.include X.if ${PERL_LEVEL} < 500800 XIGNORE= requires Perl 5.8 or newer. Install lang/perl5.8, and try again X.endif X.include END-of-p5-CGI-Application-Plugin-Stream/Makefile echo x - p5-CGI-Application-Plugin-Stream/pkg-descr sed 's/^X//' >p5-CGI-Application-Plugin-Stream/pkg-descr << 'END-of-p5-CGI-Application-Plugin-Stream/pkg-descr' XThis plugin provides a way to stream a file back to the user. X XThis is useful if you are creating a PDF or Spreadsheet document Xdynamically to deliver to the user. X XThe file is read and printed in small chunks to keep memory Xconsumption down. X XThis plugin is a consumer, as in your runmode shouldn't try to do any Xoutput or anything afterwards. This plugin affects the HTTP response Xheaders, so anything you do afterwards will probably not work. If you Xpass along a filehandle, we'll make sure to close it for you. X XIt's recommended that you increment $| (or set it to 1), which will Xautoflush the buffer as your application is streaming out the file. END-of-p5-CGI-Application-Plugin-Stream/pkg-descr echo x - p5-CGI-Application-Plugin-Stream/pkg-plist sed 's/^X//' >p5-CGI-Application-Plugin-Stream/pkg-plist << 'END-of-p5-CGI-Application-Plugin-Stream/pkg-plist' X%%SITE_PERL%%/CGI/Application/Plugin/Stream.pm X@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin X@dirrmtry %%SITE_PERL%%/CGI/Application X@dirrmtry %%SITE_PERL%%/CGI END-of-p5-CGI-Application-Plugin-Stream/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: