debian/ 0000755 0000000 0000000 00000000000 12260422641 007165 5 ustar debian/TODO 0000644 0000000 0000000 00000000072 12260417435 007661 0 ustar #
# TODO
#
* Use DEP-5 format in debian/copyright file
debian/examples/ 0000755 0000000 0000000 00000000000 12260417435 011010 5 ustar debian/examples/cache-sample.php 0000644 0000000 0000000 00000000776 12260417435 014055 0 ustar 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.examples 0000644 0000000 0000000 00000000022 12260417435 012554 0 ustar debian/examples/*
debian/source/ 0000755 0000000 0000000 00000000000 12260417435 010472 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 12260417435 011700 0 ustar 3.0 (quilt)
debian/watch 0000644 0000000 0000000 00000000307 12260417435 010223 0 ustar 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/control 0000644 0000000 0000000 00000001350 12260417777 010605 0 ustar 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/rules 0000755 0000000 0000000 00000000130 12260420132 010230 0 ustar #!/usr/bin/make -f
#export DH_VERBOSE=1
%:
dh $@ --buildsystem=phppear --with phppear
debian/compat 0000644 0000000 0000000 00000000002 12260420206 010356 0 ustar 9
debian/changelog 0000644 0000000 0000000 00000004603 12260422634 011044 0 ustar 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/copyright 0000644 0000000 0000000 00000007573 12260422206 011131 0 ustar 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'.