BSD Ports

devel/p5-File-Policy 1.005_2 DragonFly

Simple policy for file I/O functions

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, perl5
Package size
10.8 KiB, 17.0 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

SystemPortVersion
DragonFlydevel/p5-File-Policy1.005_2
FreeBSDdevel/p5-File-Policy1.005_2
NetBSDdevel/p5-File-Policy1.005nb18
HardenedBSDdevel/p5-File-Policy1.005_2
GhostBSDdevel/p5-File-Policy1.005_2

Install

Binary package:

pkg install p5-File-Policy

From DPorts:

cd /usr/dports/devel/p5-File-Policy && make install clean

Dependencies

Run dependencies 3