www/p5-MasonX-Interp-WithCallbacks 1.20 FreeBSD
Mason callback support via Params::CallbackRequest
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- www, perl5
- Package size
- 23.2 KiB, 50.4 KiB installed
Description
MasonX::Interp::WithCallbacks subclasses HTML::Mason::Interp in order to provide a Mason callback system built on Params::CallbackRequest. Callbacks may be either code references provided to the C<new()> constructor, or methods defined in subclasses of Params::Callback. Callbacks are triggered either for every request or by specially named keys in the Mason request arguments, and all callbacks are executed at the beginning of a request, just before Mason creates and executes the request component stack.
This module brings support for a sort of plugin architecture based on Params::CallbackRequest to Mason. Mason then executes code before executing any components. This approach allows you to carry out logical processing of data submitted from a form, to affect the contents of the Mason request arguments (and thus the %ARGS hash in components), and even to redirect or abort the request before Mason handles it.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-MasonX-Interp-WithCallbacks | 1.20 |
| OpenBSD | www/p5-MasonX-Interp-WithCallbacks | 1.20 |
| DragonFly | www/p5-MasonX-Interp-WithCallbacks | 1.20 |
| HardenedBSD | www/p5-MasonX-Interp-WithCallbacks | 1.20 |
| GhostBSD | www/p5-MasonX-Interp-WithCallbacks | 1.20 |
Install
Binary package:
pkg install p5-MasonX-Interp-WithCallbacks
From the ports tree:
cd /usr/ports/www/p5-MasonX-Interp-WithCallbacks/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-MasonX-Interp-WithCallbacks>0:www/p5-MasonX-Interp-WithCallbacks
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 | 1.20 | 1.20 | 1.19_1 | 1.20 | 1.20 |
| FreeBSD:14:quarterly | 1.20 | 1.20 | n/a | 1.20 | 1.20 |
| FreeBSD:15:latest | 1.20 | 1.20 | n/a | 1.20 | 1.20 |
| FreeBSD:15:quarterly | 1.20 | 1.20 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.20 | 1.20 | 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 3
p5-Class-Container>=0.09: devel/p5-Class-Containerp5-HTML-Mason>=1.23: www/p5-HTML-Masonp5-Params-CallbackRequest>=1.15: devel/p5-Params-CallbackRequest
Runtime 3
p5-Class-Container>=0.09: devel/p5-Class-Containerp5-HTML-Mason>=1.23: www/p5-HTML-Masonp5-Params-CallbackRequest>=1.15: devel/p5-Params-CallbackRequest
The full lists below include those, and their dependencies in turn.
Build dependencies 34
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Cache
- devel/p5-Cache-Cache
- devel/p5-Class-Container
- devel/p5-Class-Data-Inheritable
- devel/p5-Class-ISA
- devel/p5-Clone
- devel/p5-Devel-StackTrace
- devel/p5-Exception-Class
- devel/p5-File-NFSLock
- devel/p5-Heap
- devel/p5-IO-HTML
- devel/p5-IO-String
- devel/p5-IPC-ShareLite
- devel/p5-Log-Any
- devel/p5-Module-Build
- devel/p5-Module-Implementation
- devel/p5-Module-Runtime
- devel/p5-Params-CallbackRequest
- devel/p5-Params-Validate
- devel/p5-TimeDate
- lang/p5-Error
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-URI
- security/p5-Digest-SHA1
- www/p5-HTML-Mason
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-LWP-MediaTypes
Run dependencies 33
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Cache
- devel/p5-Cache-Cache
- devel/p5-Class-Container
- devel/p5-Class-Data-Inheritable
- devel/p5-Class-ISA
- devel/p5-Clone
- devel/p5-Devel-StackTrace
- devel/p5-Exception-Class
- devel/p5-File-NFSLock
- devel/p5-Heap
- devel/p5-IO-HTML
- devel/p5-IO-String
- devel/p5-IPC-ShareLite
- devel/p5-Log-Any
- devel/p5-Module-Implementation
- devel/p5-Module-Runtime
- devel/p5-Params-CallbackRequest
- devel/p5-Params-Validate
- devel/p5-TimeDate
- lang/p5-Error
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-URI
- security/p5-Digest-SHA1
- www/p5-HTML-Mason
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- 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
- %%SITE_PERL%%/MasonX/Interp/WithCallbacks.pm
- %%PERL5_MAN3%%/MasonX::Interp::WithCallbacks.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| MasonX-Interp-WithCallbacks-1.20.tar.gz | 32791 | 8bd7cf1c4ee6952ce8e31c081d184f6de340a481b1ec90db3da88bad194f54ac |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.