--- php-file-1.3.0.orig/debian/changelog +++ php-file-1.3.0/debian/changelog @@ -0,0 +1,20 @@ +php-file (1.3.0-1) unstable; urgency=low + + * New upstream release. (Closes: #409508) + * New maintainer. (Closes: #433243) + * Upgrade the packaging. (Closes: #294838) + * Improve copyright file and update license text. (Closes: #332609) + * Transition to PHP5 for Depends field. (Closes: #424820, #409506) + * Add php-pear in B-D-I field. + * Add watch file. + * Upgrade to last recommended Debhelper compatibility level. + * Add Homepage to control file. + * Upgrade Standards-Version to 3.7.2. + + -- Gregory Colpart (evolix) Mon, 23 Jul 2007 05:02:13 +0200 + +php-file (1.0.3-1) unstable; urgency=low + + * Initial Release. + + -- Chris Anderson Sun, 23 May 2004 22:50:13 -0400 --- php-file-1.3.0.orig/debian/examples +++ php-file-1.3.0/debian/examples @@ -0,0 +1 @@ +File-*/tests --- php-file-1.3.0.orig/debian/dirs +++ php-file-1.3.0/debian/dirs @@ -0,0 +1 @@ +usr/share/php --- php-file-1.3.0.orig/debian/watch +++ php-file-1.3.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pear.php.net/package/File/ http://download.pear.php.net/package/File-([\d.]+)\.tgz --- php-file-1.3.0.orig/debian/compat +++ php-file-1.3.0/debian/compat @@ -0,0 +1 @@ +5 --- php-file-1.3.0.orig/debian/control +++ php-file-1.3.0/debian/control @@ -0,0 +1,17 @@ +Source: php-file +Section: web +Priority: optional +Maintainer: Gregory Colpart (evolix) +Build-Depends-Indep: php-pear +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: php-file +Architecture: all +Depends: php-pear (>= 5.2.0-8) +Description: PHP Pear modules for common file and directory routines + Provides easy access to read/write to files along with + some common routines to deal with paths. Also provides + interface for handling CSV files. + . + Homepage: http://pear.php.net/package/File/ --- php-file-1.3.0.orig/debian/docs +++ php-file-1.3.0/debian/docs @@ -0,0 +1 @@ +package.xml --- php-file-1.3.0.orig/debian/rules +++ php-file-1.3.0/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +PEAR ?= /usr/bin/pear +pear_pkg = $(shell ls |grep File) +package = php-file + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + if [ -f $(pear_pkg)/package.xml ]; then \ + rm $(pear_pkg)/package.xml; \ + fi + dh_clean build-stamp configure-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/package. + cp package.xml $(pear_pkg)/package.xml; + $(PEAR) install -n -R debian/$(package) $(pear_pkg)/package.xml; + rm -f debian/$(package)/usr/share/php/.filemap; + rm -f debian/$(package)/usr/share/php/.lock; + rm -rf debian/$(package)/usr/share/php/.channels; + rm -rf debian/$(package)/usr/share/php/.depdblock; + rm -rf debian/$(package)/usr/share/php/.depdb; + rm -rf debian/$(package)/usr/share/php/.registry/.channel.pecl.php.net; + rm -rf debian/$(package)/usr/share/php/.registry/.channel.__uri; + + # remove duplicated files, these files are in /usr/share/doc/package + rm -rf debian/$(package)/usr/share/php/tests; + + # remove created tmp dir + rm -rf debian/$(package)/tmp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installchangelogs + 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 configure + --- php-file-1.3.0.orig/debian/copyright +++ php-file-1.3.0/debian/copyright @@ -0,0 +1,90 @@ +This package was debianized by Chris Anderson on +Sun, 23 May 2004 22:50:13 -0400 and is currently maintained by +Gregory Colpart . + +It was downloaded from http://pear.php.net/package/File/download + +Upstream Author: Richard Heyes , Tal Peer , Michael Wallner , Tomas V.V.Cox , Helgi Žormar + +File.php: +Copyright (c) 2002-2005 Richard Heyes , Tal Peer , Michael Wallner + +File/CSV.php: +Copyright (c) 2004-2005 Tomas V.V.Cox , Helgi Žormar + +File/Util.php +Copyright (c) 2004-2005 Michael Wallner + + +Licence: The PEAR File module is licenced under the PHP License +version 3.01 reproduced below. + +-------------------------------------------------------------------- + The PHP License, version 3.01 +Copyright (c) 1999 - 2006 The PHP Group. All rights reserved. +-------------------------------------------------------------------- + +Redistribution and use in source and binary forms, with or without +modification, is permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP software, freely available from + ". + +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +-------------------------------------------------------------------- + +This software consists of voluntary contributions made by many +individuals on behalf of the PHP Group. + +The PHP Group can be contacted via Email at group@php.net. + +For more information on the PHP Group and the PHP project, +please see . + +PHP includes the Zend Engine, freely available at +. +