devel/p5-File-Policy 1.005_2 FreeBSD
Simple policy for file I/O functions
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, perl5
- Package size
- 10.6 KiB, 16.3 KiB installed
Description
This defines the policy for file I/O with modules such as File::Slurp::WithinPolicy. The purpose is to allow systems administrators to define locations and restrictions for applications' file I/O and give app developers a policy to follow. Note that the module doesn't ENFORCE the policy - application developers can choose to ignore it (and systems administrators can choose not to install their applications if they do!).
You may control which policy gets applied by creating a File::Policy::Config module with an IMPLEMENTATION constant. You may write your own policy as a module within the File::Policy:: namespace.
By default (if no File::Policy::Config is present), the File::Policy::Default policy gets applied which doesn't impose any restrictions and provides reasonable default locations for temporary and log files.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-File-Policy | 1.005_2 |
| NetBSD | devel/p5-File-Policy | 1.005nb18 |
| DragonFly | devel/p5-File-Policy | 1.005_2 |
Install
Binary package:
pkg install p5-File-Policy
From the ports tree:
cd /usr/ports/devel/p5-File-Policy/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-File-Policy>0:devel/p5-File-Policy
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.005_2 | 1.005_2 | 1.005_2 | 1.005_2 | 1.005_2 |
| FreeBSD:14:quarterly | 1.005_2 | 1.005_2 | n/a | 1.005_2 | 1.005_2 |
| FreeBSD:15:latest | 1.005_2 | 1.005_2 | n/a | 1.005_2 | 1.005_2 |
| FreeBSD:15:quarterly | 1.005_2 | 1.005_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.005_2 | 1.005_2 | 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-Log-Trace>0: devel/p5-Log-Tracep5-File-Slurp>0: devel/p5-File-Slurp
Runtime 2
p5-Log-Trace>0: devel/p5-Log-Tracep5-File-Slurp>0: devel/p5-File-Slurp
Test 1
p5-Test-Assertions>0: devel/p5-Test-Assertions
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Run dependencies 3
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 6
- %%PERL5_MAN3%%/File::Policy.3.gz
- %%PERL5_MAN3%%/File::Policy::Default.3.gz
- %%PERL5_MAN3%%/File::Slurp::WithinPolicy.3.gz
- %%SITE_PERL%%/File/Policy.pm
- %%SITE_PERL%%/File/Policy/Default.pm
- %%SITE_PERL%%/File/Slurp/WithinPolicy.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| File-Policy-1.005.tar.gz | 14254 | 56be77e527a708c4403212ffefd9ee280aef2aa8794bac625ce8035dc854f7b9 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.