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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-CGI-Application-Plugin-Stream | 2.12 |
| NetBSD | wip/p5-CGI-Application-Plugin-Stream | 2.12 |
| DragonFly | www/p5-CGI-Application-Plugin-Stream | 2.12 |
| HardenedBSD | www/p5-CGI-Application-Plugin-Stream | 2.12 |
| GhostBSD | www/p5-CGI-Application-Plugin-Stream | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.12 | 2.12 | 2.12 | 2.12 | 2.12 |
| FreeBSD:14:quarterly | 2.12 | 2.12 | n/a | 2.12 | 2.12 |
| FreeBSD:15:latest | 2.12 | 2.12 | n/a | 2.12 | 2.12 |
| FreeBSD:15:quarterly | 2.12 | 2.12 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.12 | 2.12 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-CGI-Application>=0: www/p5-CGI-Applicationp5-File-MMagic>=0: devel/p5-File-MMagic
Runtime 2
p5-CGI-Application>=0: www/p5-CGI-Applicationp5-File-MMagic>=0: devel/p5-File-MMagic
The full lists below include those, and their dependencies in turn.
Build dependencies 18
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Class-ISA
- devel/p5-Clone
- devel/p5-File-MMagic
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/perl5.42
- net/p5-URI
- www/p5-CGI
- www/p5-CGI-Application
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTML-Template
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
Run dependencies 18
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Class-ISA
- devel/p5-Clone
- devel/p5-File-MMagic
- devel/p5-IO-HTML
- devel/p5-TimeDate
- lang/perl5.42
- net/p5-URI
- www/p5-CGI
- www/p5-CGI-Application
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTML-Template
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
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
| File | Size | SHA256 |
|---|---|---|
| CGI-Application-Plugin-Stream-2.12.tar.gz | 7488 | 2c1606dd044805dc403f245022992ca88600f833bee2ce834a9046b6b4b119b1 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.