Commit graph

16 commits

Author SHA1 Message Date
taca
51767306df Revert php-apc to 3.1.13 since version 3.1.14 disappeared from official
pecl.php.net
2013-03-17 10:46:45 +00:00
taca
4f4df5a58a Update php-apc to 3.1.14.
3.1.14

- When include_once_override is on, use the cached realpath. See rev. 328172
  for a full explanation (Rasmus)
- Fixed bug #63852 (apc 3.1.13 fails to build if __APC_SMA_DEBUG__ is set)
  (Laruence)
- Fixed bug #63434 (Segfault if apc.shm_strings_buffer excceed apc.shm_size)
  (Laruence)
- Fixed bug #63070 (apc.include_once_override bug) (Laruence)
- Fixed bug #62151 (Stat files only require read access only, windows). (Pierre)
- fix num. segfaults by revert rev. 326820 and issue reported in bug #62972
- Fixed bug #63491 file_md5 value was wrong when use apc_bin_load function
  (Anatoliy)
- Fixed PHP 5.5 compatibility (related to VM variables access fix) (Anatoliy)
- Added tests for bugs #63224, #63545, #63669 (Anatoliy)
2013-03-16 04:16:48 +00:00
taca
eacd97bd09 Update php-apc to 3.1.13.
- fix num. segfaults by revert rev. 326820 and issue reported in bug #69972
2012-09-04 16:03:56 +00:00
taca
3ecc127d03 Update php-apc to 3.1.12.
- Fixed bug (apc_bin_dump doesn't swizzle bucket arKey in HashTable)
  (Laruence)
- Fixed bug #62825 (php carshed OR return PHP Fatal error when used
  apc_bin_dump after apc_store) (Laruence)
- Fixed bug due to Conditional "jump or move depends on uninitialised
  value(s)" in apc_op_ZEND_INCLUDE_OR_EVAL and apc_bin_dump (Laruence)
- Fixed bug #62802 (Crash when use apc_bin_dump/load) (Laruence)
- Fixed bug #62757 (php-fpm carshed when used apc_bin_dumpfile with
  apc.serializer) (Laruence)
- Fixed bug #62765 (apc_bin_dumpfile report Fatal error when there is "goto"
  in function) (Laruence)
- Fixed bug #61133 (segfault in tests/apc_bin_002.phpt) (Laruence)
- Fixed handling of userspace stream wrappers simulating file
  inclusion/requiring (Anatoliy, Rasmus)
- Fixed bug #62699 trait aliases and precedences handling (Anatoliy)
- Added cli built-in server tests (Anatoliy)
- Fixed filter regex freeing on request shutdown (Anatoliy)
- Fixed interned strings storage freeing on module shutdown (Anatoily)
- Fixed bug #61742 preload_path does not work due to incorrect string length
  (Anatoliy)
- Fixed several memory leaks it APCIterator (Anatoliy)
- Fixed potential overflows in bin dumps (Anatoliy)
2012-08-17 15:39:17 +00:00
taca
7b801e5ec5 Update www/php-apc to 3.1.11.
- In cli mode with stat=0 and canonicalize=1 make sure cwd is searched
- Fixed bug #62302 apc.include_once_override=1 made everything crash
- Fixed bug #59829 APC should not try to canonicalize file URLs
- Fixed bug #62398 stat=0 replaces an include/require filename with empty string
- Fixed bug #61799 Typo in 'SEARCH' regex of apc.php
- Fixed bugs #61824,61912,61956,62190,62230 ext/DOM memory corruption (cschneid)
2012-07-23 15:13:42 +00:00
taca
9b13382108 Update php-apc package to 3.1.10.
- Add PHP 5.4 support (Dmitry, Anatoliy, Pierre)
- Fixed bug #22679: Fix apc_bin_dump for constants. Use IS_CONSTANT_TYPE_MASK
  to handle all the constants, including the unqalified ones (instead of
  ~IS_CONSTANT_INDEX check)
- Fixed bug #23822, php crashes on apache restart
2012-04-29 16:38:14 +00:00
taca
1922d1f3a1 Apply two fix from repository.
- Fix pollution of the slots table with unoccupied slots (r311376)
- Fix fcntl lock error from repository (r311339).  It was reported
  by PR pkg/45082 from Peter Avalos.

Bump PKGREVISION.
2011-06-20 15:09:51 +00:00
taca
0c81711ae4 Update php-apc pacakge to 3.1.9.
3.1.9 (stable)
- Fix regression introduced in 3.1.8 (#22687)

3.1.8 (stable)
- Windows read-write locks support on Windows XP or later and Windows
  Win7 or later (use php_apc-xp.dll or php_apc-win7.dll)
- Fix variable type check in user cache update
- Make warnings that user cannot do anything about debug messages
- Fixed bug #21400 (Minor memory leak in MINFO)
- Fixed bug #18890: Ensure that --enable-apc-debug=no disables debug mode.
- Fixed bug #19459: check for expiry while looping through the iterator slots

3.1.7 (beta)
- pthread read-write locks support
- apc.serializer hooks, export apc_serializer.h as an API
- Fix regression bug #20529: Look up files in CWD
- Pool allocator fixes for large allocations
- trunk compat fixes (Kalle)
- ZTS fixes (Pierre, Hirokawa)
- Readability and warning fixes (Pierre, Kalle)
2011-05-16 13:10:56 +00:00
taca
b3d373ba61 Update php-apc package to 3.1.6.
3.1.6		2010-11-30

- make slam_defense a little more optimistic, allow a thread/process to write
  to cache in a loop
- ensure realpaths hit the realpath_cache, in no-stat mode
- prevent memory starvation, nuke all caches when expunging just one doesn't
  work
- fix uploadprogress keylength issues (NUL is part of keylen, pecl bug #20016)

3.1.5		2010-11-02

- Reduce usage of CG(open_files) (mkoppanen at php dot net)
- Add support for php-trunk, new op code, new internals string format,
  etc. (Dmitry)
- apc_debug are not compiler-valid NOPs for non-debug builds

- Fixed relative paths resolution when ./foo/a.php or ../foo/a.php (or similar
  path) are used. 'foo/a.php' path behaviors remain unchanged
- Fixed a possible memory corruption, when partial path cannot be resolved by
  expand_filepath()
- Fixed notices in apc.php (Tomasz Krawczyk)

- Fixed Bug #17978: standardize user keys to include NULs in
  identifier_len. Z_STRLEN_P() doesn't, so add to it.
- Fixed bug #16966, apc produces tons of warnings "Unable to allocate memory
  for pool".

- Added --enable-apc-debug configuration argument to enable debugging (Kalle)
- Added support for internal debugging on Windows (Kalle)
- ZTS optimizations (Kalle)

3.1.4		2010-08-05

- Windows builds may now have filehits and memory protection if enabled
  (Kalle)
- Renamed the memory protection configure option to --enable-apc-memprotect
  (Kalle, Shire)
- ZTS fixes and optimizations (Kalle, Felipe)
- Win32 stat support (Pierre, Kalle)
- Added support for interned strings, run-time caches and Zend Engine 2.4
  (Dmitry)
- Added apc_exists() (Rasmus)
- Fixed potential XSS in apc.php (Pierre, Matt Chapman)
- Fixed pecl bug #17597 (keys with embedded NUL) (Gopal)
- Fixed pecl bug #17650 (Fix goto jump offsets) (Gopal)
- Fixed pecl bug #17527 (Standardized error reporting) (Gopal, Paul Dragoonis)
- Fixed pecl bug #17089 (Scrub the constant table of all inherited members
  before caching) (Gopal)
- Fixed pecl bug #16860 (files can be included more than once even when
  include/require_once are used) (Pierre)
- Fixed pecl bug #16717 (apc_fetch dies after 1 hour, regardless of ttl
  settings) (Kalle)
- Fixed pecl bug #17597 (apc user cache keys with embedded NULs) (Gopal)
- Fixed pecl bug #13583 (apc upload progress fixes) (Gopal)
2010-12-19 03:02:25 +00:00
taca
45cd422e62 Update php-apc package to 3.1.3p1.
* Several pkgsrc clean up.


3.1.3p1
	- fix pecl build / package.xml (Gopal)

3.1.3
	- 5.3 support + test-cases (Gopal)
	- Lazy loading support (Shire)
	- Fix PCRE module init order issues (Shire)
	- APCIterator fixes (Shire)
	- Cache slam checks (Gopal)
	- ZEND_JMP_SET support (Shire)
	- apc.use_request_time option (shire)
	- apc.php hostname fixes (Shire)
	- memprotect framework (Gopal)
	- Win32 build-fixes (Kalle)
2010-03-16 13:57:27 +00:00
jdolecek
f1f746e482 Update www/php-apc to latest 3.1.2
Changes in 3.1.2:
- pecl package.xml/build fixes (bjori)

Changes in 3.1.1:
- PHP4 compatibilty break
- apc_pool allocator (Gopal)
- doubly-linked sma allocator (Shire)
- php 5.3 gc compatibility (Gopal)
- APCIterator for easy access (Shire)
- apc_delete_file (Shire)
- apc_inc/apc_dec/apc_cas functions (Shire)
- apc.canonicalize (Gopal)
- apc.preload_path (Gopal)
- apc.rfc1867_ttl (Shire)
- apc.file_md5 (Shire)
- consolidate locking macros (Shire)
- remove futex/TSRM locks (Shire)
- non-blocking semaphore locks (Shire)
- zval* object rework (Gopal)

Mark this package PHP5-only
2009-07-10 19:48:32 +00:00
tonnerre
1b15f661c0 Upgrade PHP PECL alternative PHP cache extension (apc) to version 3.0.19
to fix arbitrary code execution problems (CVE-2008-1488).

Changes since 3.0.16:
 * Fix for CVE-2008-1488.
 * Fix apc_add() cache expunge bug.
 * Added parameter to apc_fetch to determine success/failure when fetching
   booleans.
 * Fix for bug 13504.
 * Move expunge callback groundwork to 3.1 (Rasmus)
 * Fix fd-leak.
 * Fix double-free on builtin functions.
 * Initial PHP 5.3 support.
2008-09-28 13:55:44 +00:00
jklos
2c72be4dca Bring APC to 3.0.16. This fixes a number of issues:
3.0.16
* Fix for longstanding cache-full crash (Christian Seiler)
	http://news.php.net/php.pecl.dev/4951 for the details
* Added optional shm unmap on a fatal signal feature (Lucas Nealan)
* Added PTHREAD_MUTEX_ADAPTIVE_NP option pthread locks (Paul Saab)
* Minor cleanups (Lucas Nealan)
* Added configure option to enable apc_cache_info('filehits') (Shire)

3.0.15
* Eliminate a per-request time() syscall (Rasmus)
* Added rfc1867 prefix, name, and freq ini options (Shire)
* Allow deletion of individual user cache entries via apc.php (Sara)
* Fix overzealous cleanup during RSHUTDOWN (Gopal)
* Fix memory alignment and locking issues (Gopal)
* Make apc_compile insert/replace entries (Shire)
* Make mixed inheritance recompile & cache afresh (Gopal)
* Make nostat mode search include_path for canonicalization (Gopal)
* ZTS & other compile fixes (Gopal, Edin, Shire)
2008-03-21 00:09:11 +00:00
jdolecek
24eef2716f Update do APC 3.0.14. Changes since 3.0.12 are miscellaneous bugfixes.
New in 3.0.14:
* 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)

New in 3.0.13:
* 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)

Also fixes:
PR: 33424 by FUKAUMI Naoki
2007-09-04 22:45:56 +00:00
jdolecek
d41766c15a Update php-apc to 3.0.12p2 - changes are several fixes and PHP 5.2
compatibility
2006-11-06 21:11:46 +00:00
tv
8b23448af7 PHP module "apc" -- Alternative PHP Cache 3.0.10. From DESCR:
APC is the Alternative PHP Cache, which provides a way of boosting the
performance of PHP on heavily-loaded sites by allowing scripts to be cached
in a compiled state, so that the overhead of parsing and compiling can be
almost completely eliminated.
2006-05-03 14:02:30 +00:00