rendered paste bodyproblem - i cant build APC debian package from PECL with dh-make-pecl from package dh-make-php
im running on debian etch stable
abaddon@abis:~/xx$ /usr/bin/dh-make-pecl --only 5 APC
downloading APC-3.0.14.tgz ... Starting to download APC-3.0.14.tgz (108,511 bytes) .........................done: 108,511 bytes File /home/abaddon/xx/APC-3.0.14.tgz downloaded
Creating debian source package: php--
Upstream is:
grep: /usr/include/php4/Zend/zend_modules.h: No such file or directory
Guessing Maintainer: abaddon <abaddon@abis.phi.group.za.org>
mv: cannot stat `-': No such file or directory
abaddon@abis:~/xx$ ls
APC-3.0.14 APC-3.0.14.tgz php-- php-_.orig.tar.gz
i dont think the zend not found error has to do with that, because i get the same problem for other packages which dont return not found error
name and version of package is not there, package.xml is inside the tgz
debug of script
abaddon@abis:~/xx$ rm -rf *
abaddon@abis:~/xx$ sh -x /usr/bin/dh-make-pecl --only 5 APC
+ PROGNAME=dh-make-pecl
+ PROGVERSION=0.2.0
+ PREFIX=/usr
+ DEBPACKAGEPREFIX=php
+ DEBTEMPDIR=/usr/share/dh-make-php/pecl.template
+ PACKAGEDOCFILES='README readme CREDITS TODO AUTHORS'
+ PACKAGEEXPFILES=examples
+ '[' -x /usr/bin/xmlstarlet ']'
+ XMLSTARLET=/usr/bin/xmlstarlet
+ DEBMAINTAINER=
+ DEPENDS=
+ BUILDDEPENDS=
+ DEPARCH=any
+ PHPVERSIONS='4 5'
+ . /usr/share/dh-make-php/dh-make-php.lib
+ '[' 3 = 0 ']'
+ case $1 in
+ PHPVERSIONS=5
+ shift
+ '[' 5 '!=' 4 ']'
+ '[' 5 '!=' 5 ']'
+ test 2 -gt 0
+ shift
+ case $1 in
+ PECLPACKAGENAME=APC
+ break
+ '[' -n APC ']'
+ '[' -f APC ']'
++ pecl download APC
+ TEMPMSG='downloading APC-3.0.14.tgz ...
Starting to download APC-3.0.14.tgz (108,511 bytes)
.........................done: 108,511 bytes
File /home/abaddon/xx/APC-3.0.14.tgz downloaded'
+ echo downloading APC-3.0.14.tgz ... Starting to download APC-3.0.14.tgz '(108,511' 'bytes)' .........................done: 108,511 bytes File /home/abaddon/xx/APC-3.0.14.tgz downloaded
downloading APC-3.0.14.tgz ... Starting to download APC-3.0.14.tgz (108,511 bytes) .........................done: 108,511 bytes File /home/abaddon/xx/APC-3.0.14.tgz downloaded
++ echo downloading APC-3.0.14.tgz ... Starting to download APC-3.0.14.tgz '(108,511' 'bytes)' .........................done: 108,511 bytes File /home/abaddon/xx/APC-3.0.14.tgz downloaded
++ awk -F ' ' '{print $2}'
+ PECLPACKAGENAME=APC-3.0.14.tgz
+ tar xzf APC-3.0.14.tgz
+ get_packageversion
++ /usr/bin/xmlstarlet sel -t -m /package -v @version package.xml
+ PACKAGEVERSION=
+ eval_package
+ '[' '' = 2.0 ']'
++ xsltproc --nonet --novalid --param Element /package/release/version /usr/share/dh-make-php/xslt/common.xsl package.xml
+ VERSION=
++ xsltproc --nonet --novalid --param Element /package/release/license /usr/share/dh-make-php/xslt/common.xsl package.xml
+ LICENSE=
++ xsltproc --nonet --novalid /usr/share/dh-make-php/xslt/maintainers.xsl package.xml
++ sed -e 's/; $//g'
+ UPSTREAM=
++ xsltproc --nonet --novalid --stringparam filetype doc /usr/share/dh-make-php/xslt/filelist.xsl package.xml
++ sed -e 's# examples/[^ ]*##g' -e 's#^examples/[^ ]*##g'
+ PACKAGEDOCFILES=
++ xsltproc --nonet --novalid --stringparam filetype test /usr/share/dh-make-php/xslt/filelist.xsl package.xml
+ PACKAGETESTFILES=
++ echo
++ awk '{print tolower($0)}'
++ sed 's/ /-/g'
+ LOWLICENSE=
+ '[' -f /usr/share/dh-make-php/licenses/ ']'
++ xsltproc --nonet --novalid --param Element /package/name /usr/share/dh-make-php/xslt/common.xsl package.xml
+ PHP_PKG_NAME=
++ echo
++ awk '{print tolower($0)}'
++ sed s/_/-/g
+ PHP_PKG_LOWNAME=
++ xsltproc --nonet --novalid --param Element /package/summary /usr/share/dh-make-php/xslt/common.xsl package.xml
+ SUMMARY=
++ xsltproc --nonet --novalid --param Element /package/description /usr/share/dh-make-php/xslt/common.xsl package.xml
++ fold -s -w60
+ DESCRIPTION=
+ '[' -n '' ']'
+ SRCPACKAGEDIR=php--
+ echo 'Creating debian source package: php--'
Creating debian source package: php--
+ echo 'Upstream is: '
Upstream is:
+ get_zendapi
++ egrep '#define ZEND_MODULE_API_NO' /usr/include/php4/Zend/zend_modules.h
++ sed 's/#define ZEND_MODULE_API_NO //'
grep: /usr/include/php4/Zend/zend_modules.h: No such file or directory
+ ZENDAPI=
+ get_maintainer
+ '[' -z '' ']'
+ echo -n 'Guessing Maintainer: '
Guessing Maintainer: + '[' -n '' ']'
+ '[' -n abaddon ']'
+ MYUSER=abaddon
+ '[' -n abaddon ']'
++ awk -F: '/^abaddon:/ { print $5 }' /etc/passwd
++ sed -e 's/,.*//g'
+ REALNAME=abaddon
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -f /etc/mailname ']'
++ cat /etc/mailname
+ DEBMAINTAINER='abaddon <abaddon@abis.phi.group.za.org>'
+ '[' -z 'abaddon <abaddon@abis.phi.group.za.org>' ']'
+ echo abaddon '<abaddon@abis.phi.group.za.org>'
abaddon <abaddon@abis.phi.group.za.org>
+ '[' -d php-- ']'
+ ln -s APC-3.0.14.tgz php-_.orig.tar.gz
+ mkdir php--
+ mv - php--
mv: cannot stat `-': No such file or directory
+ mv package.xml php--
+ mkdir -p php--/debian
+ cp /usr/share/dh-make-php/pecl.template/compat php--/debian
+ install_docfiles
+ install_expfiles
+ for i in '${PACKAGEEXPFILES}'
+ '[' -d php--/-/examples ']'
+ PACKAGEXML=php--/package.xml
++ LC_ALL=C
++ date -R
+ sed -e 's/##date##/Fri, 11 May 2007 22:10:34 +0300/g' -e 's/##maintainer##/abaddon <abaddon@abis.phi.group.za.org>/g' -e s/##upstream##//g -e s/##license##//g -e s/##peclpkgname##//g /usr/share/dh-make-php/pecl.template/copyright
+ '[' -n '' ']'
+ cp /usr/share/dh-make-php/xslt/changelog.xsl php--/debian/
+ BINARYTARGETS=
+ BUILDTARGETS=
+ CLEANTARGETS=
+ for PHPVER in '$PHPVERSIONS'
+ BINARYTARGETS='binary-arch-v5 '
+ BUILDTARGETS='build-v5 '
+ CLEANTARGETS='clean-v5 '
+ PHPDEVDEPENDS=', php5-dev '
+ sed -e s/##packagename##/php-/g -e s/##peclpackagerealname##//g -e s/##peclpackagename##//g -e s/##version##//g -e 's/##binarytargets##/binary-arch-v5 /g' -e 's/##buildtargets##/build-v5 /g' -e 's/##cleantargets##/clean-v5 /g' -e s/##packageprefix##/php/g /usr/share/dh-make-php/pecl.template/rules
+ chmod 755 php--/debian/rules
++ LC_ALL=C
++ date -R
+ sed -e s/##packagename##/php-/g -e 's/##date##/Fri, 11 May 2007 22:10:48 +0300/g' -e 's/##maintainer##/abaddon <abaddon@abis.phi.group.za.org>/g' -e s/##version##//g /usr/share/dh-make-php/pecl.template/changelog
++ LC_ALL=C
++ date -R
+ sed -e s/##packagename##/php-/g -e 's/##date##/Fri, 11 May 2007 22:10:48 +0300/g' -e 's/##maintainer##/abaddon <abaddon@abis.phi.group.za.org>/g' /usr/share/dh-make-php/pecl.template/README.Debian
+ sed -e s/##peclpackagename##//g /usr/share/dh-make-php/pecl.template/watch
+ sed -e 's/##phpdevdepends##/, php5-dev /g' /usr/share/dh-make-php/pecl.template/control
+ cp -r /usr/share/dh-make-php/pecl.template/po php--/debian/po
+ for PHPVERSION in '$PHPVERSIONS'
+ BINPREFIX=php5
+ BINPACKAGE=php5-
+ sed -e s/##peclpackagename##//g -e s/##phpversion##/5/g /usr/share/dh-make-php/pecl.template/postinst
+ chmod 755 php--/debian/php5-.postinst
+ sed -e s/##peclpackagename##//g -e s/##phpversion##/5/g /usr/share/dh-make-php/pecl.template/prerm
+ chmod 755 php--/debian/php5-.prerm
+ sed -e s/##phpversion##/5/g /usr/share/dh-make-php/pecl.template/dirs
+ sed -e s/##peclpackagename##//g -e s/##phpversion##/5/g /usr/share/dh-make-php/pecl.template/config
+ chmod 755 php--/debian/php5-.config
+ sed -e s/##phpversion##/5/g -e s/##lowpackage##//g -e s/##package##//g -e s/##binpackagename##/php5-/g /usr/share/dh-make-php/pecl.template/control-bin
+ /usr/bin/xmlstarlet sel -T -t -v /package/summary php--/package.xml
+ sed -e 's/^/ /g'
+ echo ''
+ echo ' .'
+ /usr/bin/xmlstarlet sel -T -t -v /package/description php--/package.xml
+ fold -s -w70
+ sed -e 's/^[[:space:]]*$/./g'
+ sed -e 's/^/ /g'
+ echo ''
+ echo ''
+ cp /usr/share/dh-make-php/pecl.template/templates php--/debian/php5-.templates
+ sed -e s/##packagename##/php-/g -e 's/##maintainer##/abaddon <abaddon@abis.phi.group.za.org>/g' -e s/##depends##//g -e s/##builddepends##//g -e s/##architecture##/any/g -i php--/debian/control
+ echo modules/.so
abaddon@abis:~/xx$ ls
APC-3.0.14 APC-3.0.14.tgz php-- php-_.orig.tar.gz
package.xml
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.4.9" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>APC</name>
<channel>pecl.php.net</channel>
<summary>Alternative PHP Cache</summary>
<description>APC is a free, open, and robust framework for caching and optimizing PHP intermediate code.</description>
<lead>
<name>Daniel Cowgill</name>
<user>dcowgill</user>
<email>dan@mail.communityconnect.com</email>
<active>no</active>
</lead>
<lead>
<name>George Schlossnagle</name>
<user>gschlossnagle</user>
<email>george@omniti.com</email>
<active>no</active>
</lead>
<lead>
<name>Rasmus Lerdorf</name>
<user>rasmus</user>
<email>rasmus@php.net</email>
<active>yes</active>
</lead>
<lead>
<name>Gopal Vijayaraghavan</name>
<user>gopalv</user>
<email>gopalv@php.net</email>
<active>yes</active>
</lead>
<developer>
<name>Edin Kadribasic</name>
<user>edink</user>
<email>edink@emini.dk</email>
<active>yes</active>
</developer>
<developer>
<name>Ilia Alshanetsky</name>
<user>iliaa</user>
<email>ilia@prohost.org</email>
<active>yes</active>
</developer>
<developer>
<name>Marcus Börger</name>
<user>helly</user>
<email>helly@php.net</email>
<active>yes</active>
</developer>
<developer>
<name>Sara Golemon</name>
<user>pollita</user>
<email>pollita@php.net</email>
<active>yes</active>
</developer>
<developer>
<name>Brian Shire</name>
<user>shire</user>
<email>shire@php.net</email>
<active>yes</active>
</developer>
<date>2007-04-02</date>
<time>16:05:30</time>
<version>
<release>3.0.14</release>
<api>3.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>* Build fix (Shire)
* Don't hook the upload hook if APC is disabled (Rasmus)
* Local shadow cache support (Gopal)
* Avoid uneccessary loops over op_arrays for "known" auto-globals (Gopal)
* Fix apc_add() to overwrite timed out user entries (Rasmus)
* Fix double inclusion of files with conditional classes in php4 (Gopal)
* Allocator fixes to reduce fragmentation (Gopal)</notes>
<contents>
<dir name="/">
<file md5sum="841596cff3b9bd83e79d01ccb591ff55" name="tests/apc_001.phpt" role="test" />
<file md5sum="cc1dba4e429ff93dce1ca7dea01c2899" name="tests/apc_002.phpt" role="test" />
<file md5sum="411fdc85b170ec696298d38f93132d6b" name="tests/apc_003.phpt" role="test" />
<file md5sum="6ecba4154b6bd6f8703000f5198710cc" name="tests/skipif.inc" role="test" />
<file md5sum="36a9e604471492d138d19f0111ce52a6" name="CHANGELOG" role="doc" />
<file md5sum="848f34a23a8889a38c0971c2b0fb4bb7" name="INSTALL" role="doc" />
<file md5sum="694f49a7e1f276ba75a3dd2c5acd580d" name="LICENSE" role="doc" />
<file md5sum="eea150699d3dffb2cdf7d243854189d7" name="NOTICE" role="doc" />
<file md5sum="efa40416571fc54aa59912203c0391e6" name="TODO" role="doc" />
<file md5sum="dd4af4555695dd0b6d745620845c48eb" name="TECHNOTES.txt" role="doc" />
<file md5sum="0be40d93a29f345ae62b1c174a686d3e" name="apc.c" role="src" />
<file md5sum="09a525ff9a3850e6de42eee2adf07463" name="apc.dsp" role="src" />
<file md5sum="109694ee417962096eb3e962d6bcce8a" name="apc.h" role="src" />
<file md5sum="8ca026169e728f73f6911026be745338" name="apc_cache.c" role="src" />
<file md5sum="9619383e79cf8bc183b8eec724eded20" name="apc_cache.h" role="src" />
<file md5sum="20fa5322ee13a83465c238c919fb0cc1" name="apc_compile.c" role="src" />
<file md5sum="a0eea1abcf4ec395ea9a195e98c2cc65" name="apc_compile.h" role="src" />
<file md5sum="64bbe1f8cf18261255ef5874039e76e9" name="apc_debug.c" role="src" />
<file md5sum="46d182a6122f3c29a1904f62af7cfb51" name="apc_debug.h" role="src" />
<file md5sum="3dbdb44d0fc2d45ae15719b4fc5746cd" name="apc_fcntl.c" role="src" />
<file md5sum="f4fc86769ce871d42ce0085fa7323d79" name="apc_fcntl.h" role="src" />
<file md5sum="9dffe726c9b6cfdd640e07782a0f409b" name="apc_futex.c" role="src" />
<file md5sum="ff999238a10bfb6b715e4e8f54ec8326" name="apc_futex.h" role="src" />
<file md5sum="35d143222905af8be3d87ddcf4599119" name="apc_globals.h" role="src" />
<file md5sum="3e6f98c635b18902aab221f29d8b70ec" name="apc_lock.h" role="src" />
<file md5sum="97ae9c008b8be204d43fd2ba0839507a" name="apc_main.c" role="src" />
<file md5sum="2e8f99d31b4d088eb14859c6e137544a" name="apc_main.h" role="src" />
<file md5sum="1e250cce03573d2978041d8c230d4091" name="apc_mmap.c" role="src" />
<file md5sum="a22df1256e20fef8160bbf9529723b50" name="apc_php.h" role="src" />
<file md5sum="42552bf0f8c6d1fde90ec48b91b1f9d3" name="apc_pthreadmutex.c" role="src" />
<file md5sum="e4e6943b0cfb31facd1148c2dbfc4c93" name="apc_pthreadmutex.h" role="src" />
<file md5sum="ea3822772adb45e0046faef855c32aba" name="apc_sem.c" role="src" />
<file md5sum="1a7fb689f8d5b01fad537b277c81d59f" name="apc_sem.h" role="src" />
<file md5sum="cb4aca66339bb0288ef366a75fa9ee6a" name="apc_shm.c" role="src" />
<file md5sum="fb27ce1ced289b124010dfb028fc9fa9" name="apc_shm.h" role="src" />
<file md5sum="b4f7e89f7aedcccae234caba04f25e68" name="apc_sma.c" role="src" />
<file md5sum="e560418f61df21d21a3064c3b7abf450" name="apc_sma.h" role="src" />
<file md5sum="ecd6cc1d56d99dbb7364d40c975fca5e" name="apc_spin.c" role="src" />
<file md5sum="c716852258453471a6927f95a617e30f" name="apc_spin.h" role="src" />
<file md5sum="17cceda297a61a9185bcafd7d897fad4" name="apc_stack.c" role="src" />
<file md5sum="db2f213a3e616313d7864222874197ea" name="apc_stack.h" role="src" />
<file md5sum="8cccb8ecfa2d5a893537b2c1a8b6b718" name="apc_zend.c" role="src" />
<file md5sum="2ee61624ec5d779d02746ba7254aed14" name="apc_zend.h" role="src" />
<file md5sum="e1a53374ba4b92ceef13f1ce9533148c" name="config.m4" role="src" />
<file md5sum="982077a0aa6ef1540a28d62b6571cbcf" name="php_apc.c" role="src" />
<file md5sum="8c092033ef0cd8a5d207acb4f6ecec11" name="php_apc.h" role="src" />
<file md5sum="76fe025ee14897783cee848dc1a77fa6" name="pgsql_s_lock.c" role="src" />
<file md5sum="b67725b96ecf0e6851eccce632bab289" name="pgsql_s_lock.h" role="src" />
<file md5sum="298e1c6721b21635ef46094c6a175af5" name="apc_fcntl_win32.c" role="src" />
<file md5sum="002979ab3017e0a17b4e31d44d4eac4a" name="apc_rfc1867.c" role="src" />
<file md5sum="ab701833593448bff03f4fc3536fe973" name="apc.php" role="php" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>4.3.0</min>
<exclude>5.0.0</exclude>
<exclude>5.0.1</exclude>
<exclude>5.0.2</exclude>
<exclude>5.0.3</exclude>
<exclude>5.0.4</exclude>
<exclude>5.0.5</exclude>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>apc</providesextension>
<extsrcrelease>
<configureoption default="yes" name="with-apxs" prompt="Use apxs to set compile flags (if using APC with Apache)?" />
</extsrcrelease>
<changelog>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>2.0.0</release>
<api>2.0.0</api>
</version>
<date>2003-07-01</date>
<notes>Complete rework.</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>2.0.1</release>
<api>2.0.0</api>
</version>
<date>2003-07-01</date>
<notes>Win32 support added.</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>2.0.2</release>
<api>2.0.0</api>
</version>
<date>2004-03-12</date>
<notes>Fixed non-existant class bug.</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.0</release>
<api>3.0.0</api>
</version>
<date>2005-07-05</date>
<notes>PHP-5.1 Support and numerous fixes</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.1</release>
<api>3.0.0</api>
</version>
<date>2005-07-05</date>
<notes>PHP4 build fix</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.2</release>
<api>3.0.0</api>
</version>
<date>2005-07-05</date>
<notes>Default to mmap and add a better error message for shmget failures</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.3</release>
<api>3.0.0</api>
</version>
<date>2005-07-07</date>
<notes>Fix compile problem against PHP 5.0.x</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.4</release>
<api>3.0.0</api>
</version>
<date>2005-07-18</date>
<notes>Add win32 support from Edin.
Add --with-apxs switch to work around problem when loading APC into Apache binary compiled with LFS switches
A couple of other minor fixes.</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.5</release>
<api>3.0.0</api>
</version>
<date>2005-07-27</date>
<notes>Make it easier for sapis that only populate file_handle->filename to use APC. (Rasmus)
Support extensions such as bcompiler that need to hook into compile_file. (Val)
Ralf Becker's apcgui code has now become the default apc.php status page. (Ralf, Rasmus, Ilia)
Segfault in cache cleanup code (Ilia, Rasmus)</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.6</release>
<api>3.0.0</api>
</version>
<date>2005-07-30</date>
<notes>Added apc.php to package.xml file.
Track per-entry memory usage. (Val)
Various apc.php fixes and enhancements. (Ralf, Ilia, Rasmus)
fcntl locking robustness fixes. (Rasmus)
Shared read-locks where possible. (Rasmus)
Added file_update_protection configuration parameter. (Rasmus)
Windows ZTS fixes (Frank)</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.7</release>
<api>3.0.0</api>
</version>
<date>2005-08-16</date>
<notes>Fix to apc.php to show final segment in frag chart. (Ilia)
A couple of win32 fixes. (Frank)
Add apc.enable_cli ini directive. (Rasmus)
Add test cases. (Marcus)
Fix apc_define_constants() bug - http://pecl.php.net/bugs/5084 (Rasmus)
Simplify user cache handling by removing the user_cache_stack (Rasmus)
Fix apc_fetch() memory corruption (Andrei,Rasmus)
Added apc.max_file_size INI setting that allows exclusion of large files from being cached. Default file size limit, 1 megabyte. (Ilia)</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.8</release>
<api>3.0.0</api>
</version>
<date>2005-08-24</date>
<notes>Fix invalid free in globals destructor introduced in 3.0.7 (Rasmus)
Cache corruption fix in cache-full cleanup code (Gopal)</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.9</release>
<api>3.0.0</api>
</version>
<date>2006-03-04</date>
<notes>Eliminate rand() call when slam_defense is not set (Rasmus)
Fix for __isset problem (Gopal)
Rewrite allocator from a "best fit" to a "next fit" algorithm (Rasmus)
Added a Cache Full counter so we have an idea how many times the segment has filled up causing an expunge (Rasmus)
Report back the correct number of available bytes in the segment instead of the allocated bytes. (Rasmus)
Add cache busy flag which is set when an expunge is underway (Rasmus)
Add automatic serialization of objects in apc_store() (Marcus)
64-bit .ini flag fix (Rasmus)
Static members fix (Gopal)
sma_cleanup() mem leak fix (Rasmus)
Fix for http://pecl.php.net/bugs/5311 (Rasmus)
Fix autoglobals JIT bug (Gopal)
Fix instance bug (Gopal)
Add a lock cleanup safety net to request shutdown (Rasmus)
Fix apc.slam_defense edge-case bug (Rasmus)
User entry memory usage tracking support (Ilia)
Allow keys used in apc_store/apc_fetch/apc_delete to be binary safe and prevent conflicts between keys that are found at the start of other keys. (Ilia)</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.10</release>
<api>3.0.0</api>
</version>
<date>2006-03-11</date>
<notes>* Add apc.stat ini flag which defaults to 1. If set to 0, the main script and any fullpath
includes will not be stat'ed for any changes. You will have to restart the server if you
change anything. This mode increases performance quite a bit, especially if you have a
lot of includes.
* Get rid of the lock safety net hack I added in 3.0.9. It seems to cause more problems
than it solves. I'll need to revisit locking and signal handling at some point soon.</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.11</release>
<api>3.0.0</api>
</version>
<date>2006-08-16</date>
<notes>* Made --enable-apc-mmap the default compile option (for real this time)
* Add an optional flag to apc_cache_info() and some apc.php tweaks to make it
only fetch header information to make it useful when you have tens of
thousands of entries. (Brian Shire)
* 64-bit fixes (George)
* Don't mix Full Path and Inode keys (George)
* Override ZEND_INCLUDE_OR_EVAL opcode (when possible) to speed up use of
require_once() and include_once() statements. (Sara)
* Add a non-blocking write_lock for cache inserts. This is a better approach
to prevent cache slams and deprecates the slam_defense setting. (Rasmus)
* A bit of work on the optimizer. (Sara)
* Various memory issues resolved. (Gopal)</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.12</release>
<api>3.0.0</api>
</version>
<date>2006-09-04</date>
<notes>* Fix stray debug message
* Work on the optimizer - still not stable (Gopal, Ilia, Sara)
* Performance boost - Replace multiple loops over the opcode
array with a single loop for copying, jump fixups and auto
global pre-fetches. (Gopal)
* Perform fetch_global checks only in php5 and only if
auto_globals_jit is enabled. (Gopal)
* Fix bug #8579 - scrub php4 classes' function_table and default
properties before inserting into cache. (Gopal)
* Fix bug #8606 - ZEND_FETCH_GLOBAL is not an opcode, but is a
op1->type. The opcodes applicable are ZEND_FETCH_R and
ZEND_FETCH_W. (Gopal)
* PHP 5.2 Compatibility (Gopal)
* Make the include_once override optional - default off (Sara)
* Fixed crash when apc run in CLI, but enable_cli is off. (Ilia)
* Ensure that the apc_globals->cache_stack is cleared before the
shm cache is destroyed. Fixes segfault for corner-case i.e request
shutdown (apc_deactivate) is not called before module shutdown
calls (php_apc_shutdown_globals) (Gopal)
* TSRM fixes (ensure ts_free_id before apc.so is dlclosed) (Gopal)
* Fix memory leak of apc_cache_info_t->deleted_list (Gopal)</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.12p1</release>
<api>3.0.0</api>
</version>
<date>2006-09-05</date>
<notes>* The only change here is a trivial PHP 4 build fix.</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.12p2</release>
<api>3.0.0</api>
</version>
<date>2006-09-05</date>
<notes>* Let's get the version number right. 3.0.12p2 now.</notes>
</release>
<release>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<version>
<release>3.0.13</release>
<api>3.0.0</api>
</version>
<date>2007-02-24</date>
<notes>* PHP 5.2 file upload progress tracking support (Rasmus)
* Pthread mutex and spin locks (Shire)
* Recursive zval support for apc_fetch/_store (Shire, Gopal)
* apc.stat_ctime flag for ctime checks (Rasmus)
* Multiple key fetches with apc_fetch (Shire)
* Canary checks for shm memory deallocation (Gopal)
* Add hooks for external optimizer (Shire)
* Obsolete and remove apc optimizer (Gopal)
* APC info changes - cache insert rate, hit and miss rates (Shire)
* Fix apc_load_constants (Gopal)
* Rewrite dump opcode code to use vld (Gopal)
* Use apc_[ewn]print functions for error reporting (Shire)
* Auto global fixes and refactoring (Gopal, Shire)
* Fix memory leaks in object serialization (Ilia)
* Memory cleanup code for destructor order (Gopal)
* Win32 build fixes (Ilia, Wez)
* ZTS and Php 4 build fixes (Bjori)
* Add apc_add() function (Rasmus)
* Add optional limited flag to apc_sma_info() (Rasmus)</notes>
</release>
</changelog>
</package>