Date: Mon, 18 Sep 2006 20:46:00 -0700 (PDT) From: George Hartzell <hartzell@alerce.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: George Hartzell <hartzell@alerce.com> Subject: ports/103387: New port: www/p5-CGI-Application-Plugin-Stream Message-ID: <200609190346.k8J3k0Ix002161@blue.alerce.com> Resent-Message-ID: <200609190350.k8J3oObk041187@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <hartzell@alerce.com> 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 <bsd.port.pre.mk> X.if ${PERL_LEVEL} < 500800 XIGNORE= requires Perl 5.8 or newer. Install lang/perl5.8, and try again X.endif X.include <bsd.port.post.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609190346.k8J3k0Ix002161>