From owner-cvs-ports@FreeBSD.ORG Mon Aug 27 02:24:42 2007 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3A4E16A41B; Mon, 27 Aug 2007 02:24:42 +0000 (UTC) (envelope-from clsung@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A49F613C45E; Mon, 27 Aug 2007 02:24:42 +0000 (UTC) (envelope-from clsung@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7R2OgX2052448; Mon, 27 Aug 2007 02:24:42 GMT (envelope-from clsung@repoman.freebsd.org) Received: (from clsung@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7R2OgWn052447; Mon, 27 Aug 2007 02:24:42 GMT (envelope-from clsung) Message-Id: <200708270224.l7R2OgWn052447@repoman.freebsd.org> From: Cheng-Lung Sung Date: Mon, 27 Aug 2007 02:24:42 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/p5-File-Policy Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 02:24:42 -0000 clsung 2007-08-27 02:24:42 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/p5-File-Policy Makefile distinfo pkg-descr pkg-plist Log: 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. WWW: http://search.cpan.org/dist/File-Policy/ Revision Changes Path 1.2853 +1 -0 ports/devel/Makefile 1.1 +28 -0 ports/devel/p5-File-Policy/Makefile (new) 1.1 +3 -0 ports/devel/p5-File-Policy/distinfo (new) 1.1 +17 -0 ports/devel/p5-File-Policy/pkg-descr (new) 1.1 +9 -0 ports/devel/p5-File-Policy/pkg-plist (new)