BSD Ports

www/p5-CGI-Application-Plugin-Stream 2.12 FreeBSD

Plugin that adds file streaming support to CGI::Application

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
www, perl5
Package size
8.9 KiB, 14.6 KiB installed

Description

This plugin provides a way to stream a file back to the user.

This is useful if you are creating a PDF or Spreadsheet document dynamically to deliver to the user.

The file is read and printed in small chunks to keep memory consumption down.

This plugin is a consumer, as in your runmode shouldn't try to do any output or anything afterwards. This plugin affects the HTTP response headers, so anything you do afterwards will probably not work. If you pass along a filehandle, we'll make sure to close it for you.

It's recommended that you increment $| (or set it to 1), which will autoflush the buffer as your application is streaming out the file.

In the other systems

SystemPortVersion
FreeBSDwww/p5-CGI-Application-Plugin-Stream2.12
NetBSDwip/p5-CGI-Application-Plugin-Stream2.12
DragonFlywww/p5-CGI-Application-Plugin-Stream2.12
HardenedBSDwww/p5-CGI-Application-Plugin-Stream2.12
GhostBSDwww/p5-CGI-Application-Plugin-Stream2.12

Install

Binary package:

pkg install p5-CGI-Application-Plugin-Stream

From the ports tree:

cd /usr/ports/www/p5-CGI-Application-Plugin-Stream/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-CGI-Application-Plugin-Stream>0:www/p5-CGI-Application-Plugin-Stream

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.122.122.122.122.12
FreeBSD:14:quarterly2.122.12n/a2.122.12
FreeBSD:15:latest2.122.12n/a2.122.12
FreeBSD:15:quarterly2.122.12n/an/an/a
FreeBSD:16:latest2.122.12n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 18
Run dependencies 18

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/CGI::Application::Plugin::Stream.3.gz
  • %%SITE_PERL%%/CGI/Application/Plugin/Stream.pm
distinfo 1
FileSizeSHA256
CGI-Application-Plugin-Stream-2.12.tar.gz74882c1606dd044805dc403f245022992ca88600f833bee2ce834a9046b6b4b119b1
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.