Bug 295953 - devel/pecl-msgpack: update to 3.0.1, clarify APCu/opcache confusion
Summary: devel/pecl-msgpack: update to 3.0.1, clarify APCu/opcache confusion
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL: https://github.com/msgpack/msgpack-ph...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-06-09 01:54 UTC by Paavo-Einari Kaipila
Modified: 2026-07-06 18:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments
0001-devel-pecl-msgpack-update-3.0.0-3.0.1.patch (3.81 KB, patch)
2026-06-09 01:54 UTC, Paavo-Einari Kaipila
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paavo-Einari Kaipila 2026-06-09 01:54:27 UTC
Created attachment 271639 [details]
0001-devel-pecl-msgpack-update-3.0.0-3.0.1.patch

APCu in an in-memory key-value store. Msgpack can be used as an alternative serializer for APCu.
https://github.com/krakjoe/apcu

Opcache is completely another thing, it caches compiled PHP code. Msgpack has no relation to opcache.
https://www.php.net/manual/en/book.opcache.php

APC (without u) had both of these functionalities, but that's ancient history.

Also patched config.m4 to always honor APCu setting, original idea from vvd (bug #295867).
Comment 1 Paavo-Einari Kaipila 2026-07-05 02:35:16 UTC
timeout, this also fixes php86 compatibility

bug #296524 has a fix for apcu
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-07-06 08:06:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e430a808563a9045cbde3acc1647758c9575a4a7

commit e430a808563a9045cbde3acc1647758c9575a4a7
Author:     Paavo-Einari Kaipila <pkaipila@gmail.com>
AuthorDate: 2026-07-06 08:02:48 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-07-06 08:02:48 +0000

    devel/pecl-msgpack: update to 3.0.1 release (+)

    Rename OPCAHE option to APCU and remove useless opcache dependency
    Patch config.m4 to always honor APCU setting
    Add LICENSE_FILE

    Changes:
    * Fix PHP-8.6v compatibility
    * Fix enum support

    Release notes:  https://github.com/msgpack/msgpack-php/releases/tag/v3.0.1
    Commit log:     https://github.com/msgpack/msgpack-php/compare/msgpack-3.0.0...v3.0.1
    PR:             295953

 devel/pecl-msgpack/Makefile                    | 15 ++++++------
 devel/pecl-msgpack/distinfo                    |  6 ++---
 devel/pecl-msgpack/files/patch-config.m4 (new) | 32 ++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 11 deletions(-)