--- libfile-policy-perl-1.005.orig/debian/control +++ libfile-policy-perl-1.005/debian/control @@ -0,0 +1,37 @@ +Source: libfile-policy-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.6.10-12),libtest-pod-perl, libtest-pod-coverage-perl, libtest-assertions-perl, liblog-trace-perl, libfile-slurp-perl +Maintainer: Debian Perl Group +Uploaders: AGOSTINI Yves +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/File-Policy/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libfile-policy-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libfile-policy-perl/ + +Package: libfile-policy-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libtest-assertions-perl, liblog-trace-perl, libfile-slurp-perl +Description: Simple policy for file I/O functions + 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. + . + The motivation behind this module was a standard, flexible approach to allow + a site wide file policy to be defined. This will be most useful in large + environments where a few sysadmins are responsible for code written by many + other people. Simply ensuring that submitted code calls check_safe() ensures + file access is sane, reducing the amount of effort required to do a security + audit. --- libfile-policy-perl-1.005.orig/debian/copyright +++ libfile-policy-perl-1.005/debian/copyright @@ -0,0 +1,21 @@ +This is the debian package for the File-Policy module. + +It was downloaded from http://search.cpan.org/dist/File-Policy/ + +The upstream author is: + +John Alden + +Upstream author of examples/lib/File/Policy/Simple.pm is +Murray Walker + +All files are Copyright, BBC 2005. This program is free software; you can +redistribute it and/or modify it under the GNU GPL version 2. + +The full text of the GPL version 2 is available on Debian systems in +/usr/share/common-licenses/GPL-2 + + +The Debian packaging is (C) 2008, Debian Perl Group + and +is licensed under the same terms as the software itself (see above). --- libfile-policy-perl-1.005.orig/debian/rules +++ libfile-policy-perl-1.005/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples samples/lib/File/Policy/* + dh_installchangelogs Changes + dh_installdocs + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libfile-policy-perl-1.005.orig/debian/changelog +++ libfile-policy-perl-1.005/debian/changelog @@ -0,0 +1,5 @@ +libfile-policy-perl (1.005-1) unstable; urgency=low + + * Initial Release (Closes: #476966) + + -- AGOSTINI Yves Sun, 20 Apr 2008 14:53:16 +0200 --- libfile-policy-perl-1.005.orig/debian/compat +++ libfile-policy-perl-1.005/debian/compat @@ -0,0 +1 @@ +5 --- libfile-policy-perl-1.005.orig/debian/watch +++ libfile-policy-perl-1.005/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/File-Policy/ .*/File-Policy-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$