Commit graph

13 commits

Author SHA1 Message Date
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
taca
14abdb6755 Remove PHP_VERSIONS_ACCEPTED since we don't have php4 package any more
and no need to specify PHP_VERSIONS_ACCEPTED explicitly now.

No functional change.
2010-03-15 16:45:59 +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
joerg
e031855e4a Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:00:14 +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
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +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
joerg
8572e2517c Fix CONFLICTS of php/pear packages, the asterix was missing (thanks tv).
While going through the tree, fix some more packages which had similiar
issues with too strict conflicts, bump the revisions of those.
2006-06-04 16:26:54 +00:00
joerg
337c6b1297 Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.

OK from jlam@ and adrianp@.
2006-06-02 18:27:54 +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