./www/php-apcu, APCu - APC User Cache

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.1.23nb2, Package name: php74-apcu-5.1.23nb2, Maintainer: pkgsrc-users

APCu is userland caching: APC stripped of opcode caching in preparation for
the deployment of Zend Optimizer+ as the primary solution to opcode caching
in future versions of PHP.

APCu has a revised and simplified codebase, by the time the PECL release is
available, every part of APCu being used will have received review and where
necessary or appropriate, changes.

Simplifying and documenting the API of APCu completely removes the barrier to
maintenance and development of APCu in the future, and additionally allows us
to make optimizations not possible previously because of APC's inherent
complexity.

APCu only supports userland caching (and dumping) of variables, providing an
upgrade path for the future. When O+ takes over, many will be tempted to use
3rd party solutions to userland caching, possibly even distributed solutions;
this would be a grave error. The tried and tested APC codebase provides far
superior support for local storage of PHP variables.

This package supports PHP 7.x and later. Install php-apcu4 if you are using
PHP 5.x.


Required to run:
[lang/php73]

Required to build:
[pkgtools/cwrappers] [devel/pcre2]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2023-12-06 02:05:13 by Greg Troxel | Files touched by this commit (1)
Log message:
www/php-apcu: Actually add patch
   2023-12-06 02:04:36 by Greg Troxel | Files touched by this commit (2)
Log message:
www/php-apcu: Patch more printf specifiers caught on earmv7hf-el

  - Cast time_t to intmax_t.
  - Upstream zend actually defines PRI macros for zend_long; use them.
  - Include upstream bug report URL.
   2023-12-04 02:43:51 by Greg Troxel | Files touched by this commit (1)
Log message:
www/php-apcu: Drop MESSAGE

It is announcing a withdrawal that if anywhere should be part of
upstream documentation, and is from 2016.
   2023-12-04 02:42:14 by Greg Troxel | Files touched by this commit (2)
Log message:
www/php-apcu: Note upstream bug report
   2023-12-04 02:34:54 by Greg Troxel | Files touched by this commit (3)
Log message:
www/php-apcu: Fix type error in printf

The code printed key_t with %d.  POSIX requires only an arithmetic
type, and on NetBSD, it's long.  Cast to intmax_t and use %jd to work
around.
   2023-11-30 17:31:21 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/php-apcu: update to 5.1.23

5.1.23 (2023-11-11)

* Revert use of monotonic clock for TTL (#451)
* Fix a crash when serializing packed arrays (e.g. lists) in PHP 8.2+ with
  `apc.serializer=default`.
* Reduce memory usage when serializing packed arrays (e.g. lists) in PHP
  8.2+ with `apc.serializer=default`.
* Speed up serializing arrays with `apc.serializer=default`.
* Reduce memory usage when unserializing instances of the empty array in
  PHP 7.3+.
* Removed no longer working apcue extension.
* Increased limit on maximum number of slots.
* Made tests compatible with PHP 8.3.
   2022-10-06 16:28:43 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/php-apcu: update to 5.1.22

pkgsrc change:

* Allow build with enabling PKG_OPTIONS: maintainer-zts.
* Remove trailing whitespace.

5.1.22 (2022-09-19)

- PHP 8.2 compatibility
- PHP 8.1 compatibility in apc.php
- Fix --enable-apcu-rwlocks configure option
- Enable transparent huge pages for mmap memory
- Use monotonic clock for TTL
   2021-12-12 16:25:53 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/php-apcu: update to 5.1.21

5.1.21 (2021-10-07)

- Fixed compatibility with PHP 8.1 by adding return types to APCUIterator.
- APCUIterator::current() and ::key() can no longer be called on an invalid
  iterator.