BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-File-Policy1.005_2
NetBSDdevel/p5-File-Policy1.005nb18
DragonFlydevel/p5-File-Policy1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.005_21.005_21.005_21.005_21.005_2
FreeBSD:14:quarterly1.005_21.005_2n/a1.005_21.005_2
FreeBSD:15:latest1.005_21.005_2n/a1.005_21.005_2
FreeBSD:15:quarterly1.005_21.005_2n/an/an/a
FreeBSD:16:latest1.005_21.005_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

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
FileSizeSHA256
File-Policy-1.005.tar.gz1425456be77e527a708c4403212ffefd9ee280aef2aa8794bac625ce8035dc854f7b9
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.