debian/0000755000000000000000000000000012260422641007165 5ustar debian/TODO0000644000000000000000000000007212260417435007661 0ustar # # TODO # * Use DEP-5 format in debian/copyright file debian/examples/0000755000000000000000000000000012260417435011010 5ustar debian/examples/cache-sample.php0000644000000000000000000000077612260417435014055 0ustar getcwd() . "/cache"); $cache = new cache($store_as, $options); $cached_id = $cache->generateID($_SERVER["PHP_SELF"]); if ($content = $cache->get($cached_id)) echo $content; else { ob_start(); // ...PHP script which results in output goes here. $content = ob_get_contents(); ob_end_clean(); $cache->save($cached_id, $content, 3600); echo $contents; } print "See the result\n"; ?> debian/php-cache.examples0000644000000000000000000000002212260417435012554 0ustar debian/examples/* debian/source/0000755000000000000000000000000012260417435010472 5ustar debian/source/format0000644000000000000000000000001412260417435011700 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000030712260417435010223 0ustar version=3 #http://pear.php.net/package/Cache/ http://download.pear.php.net/package/Cache-(.*)\.tgz http://pear.php.net/package/Cache/download/ \ http://download.pear.php.net/package/Cache-(.*)\.tgz debian/control0000644000000000000000000000135012260417777010605 0ustar Source: php-cache Section: php Priority: optional Maintainer: Dario Minnucci Build-Depends: debhelper (>= 9), pkg-php-tools Standards-Version: 3.9.5 Homepage: http://pear.php.net/package/Cache Vcs-Git: git://anonscm.debian.org/collab-maint/php-cache.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/php-cache.git Package: php-cache Architecture: all Depends: ${misc:Depends}, ${phppear:Debian-Depends} Recommends: ${phppear:Debian-Recommends} Breaks: ${phppear:Debian-Breaks} Suggests: php5-cli Description: framework for caching of arbitrary data With the PEAR Cache you can cache the result of certain function calls, as well as the output of a whole script run or share data between applications. . debian/rules0000755000000000000000000000013012260420132010230 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ --buildsystem=phppear --with phppear debian/compat0000644000000000000000000000000212260420206010356 0ustar 9 debian/changelog0000644000000000000000000000460312260422634011044 0ustar php-cache (1.5.6-2) unstable; urgency=low * Package migrated to use pkg-php-tools. (Closes: #728897) * debian/control: - Change package section from 'web' to 'php'. - Update debhelper to >=9. - Use canonical name in Vcs-Git and Vcs-Browser fields. - Bump Standards-Version to 3.9.5 (no changes). * debian/copyright: - Migrated to DEP5 format. -- Dario Minnucci Tue, 31 Dec 2013 03:02:02 +0100 php-cache (1.5.6-1) unstable; urgency=low * Adopting php-cache package. * New upstream release 1.5.6: - The problem reported when 'handling errors in container' was fixed in and committed to upstream's CVS repository long ago but wasn't marked as solved. Is considered fixed in this version. For details see: http://pear.php.net/bugs/bug.php?id=6782 (Closes: #512329) * debian/control: - Added Vcs-Git and Vcs-Browser fields - Set myself as maintainer - Add dependency on ${misc:Depends} - Update debhelper to >= 8 - Bump Standards-Version: 3.9.2: - Added debian/source/format file * debian/rules: - Get rid of lintian I: php-cache: package-contains-empty-directory usr/share/php/.registry/.channel.doc.php.net/ * debian/watch: Fixed. * Added usage example -- Dario Minnucci Fri, 18 Nov 2011 06:12:59 +0100 php-cache (1.5.5RC4-5) unstable; urgency=low * Package maintainer set to Debian QA Group . -- Ola Lundqvist Sat, 05 Nov 2011 16:52:57 +0100 php-cache (1.5.5RC4-4) unstable; urgency=low * debian/control: - Bump Standards-Version: 3.7.3. - Added Homepage header. - Added dh-make-php (>= 0.2.3), cdbs Build-Dependencies. * debian/rules: - Reorganized to use cdbs. -- Jose Carlos Medeiros Wed, 26 Mar 2008 00:51:01 -0300 php-cache (1.5.5RC4-3) unstable; urgency=low * Updated debian/watch file. -- Jose Carlos Medeiros Thu, 09 Aug 2007 10:47:23 -0300 php-cache (1.5.5RC4-2) unstable; urgency=low * Updated debian/watch to version 3. * Bump Standards-Version: 3.7.2. * Sugests php5-cli instead of php-cli. -- Jose Carlos Medeiros Thu, 17 May 2007 19:11:16 -0300 php-cache (1.5.5RC4-1) unstable; urgency=low * Initial Release. (closes: #318311) -- Jose Carlos Medeiros Mon, 20 Mar 2006 12:21:08 -0300 debian/copyright0000644000000000000000000000757312260422206011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Cache Upstream-Contact: Ulf Wendel Sebastian Bergmann Upstream-Source: http://pear.php.net/package/Cache Files: * Copyright: 1997-2010, Seamus Venasse 2010, Ken Guest License: PHP-3.01 -------------------------------------------------------------------- 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 . Files: debian/* Copyright: 2006-2008, Jose Carlos Medeiros 2011, Ola Lundqvist 2011-2013, Dario Minnucci License: GPL-2 The Debian packaging is copyright 2010, Dario Minnucci and is licensed under the GPL-2, see `/usr/share/common-licenses/GPL-2'.