[Midnightbsd-cvs] [MidnightBSD/mports] 1640ce: mail/pecl-imap: add PHP 8.4+ IMAP extension (#706)
Lucas Holt
noreply at github.com
Fri Aug 7 23:37:43 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 1640ce668559625f352f0a5ff50047df439d6e8f
https://github.com/MidnightBSD/mports/commit/1640ce668559625f352f0a5ff50047df439d6e8f
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-07 (Fri, 07 Aug 2026)
Changed paths:
M Mk/extensions/php.mk
M mail/Makefile
A mail/pecl-imap/Makefile
A mail/pecl-imap/distinfo
A mail/pecl-imap/pkg-descr
Log Message:
-----------
mail/pecl-imap: add PHP 8.4+ IMAP extension (#706)
## Summary
- import PECL IMAP 1.0.3 from current FreeBSD Ports
- route `USE_PHP=imap` to `mail/pecl-imap` for PHP 8.4 and newer
- retain the bundled `mail/php82-imap` and `mail/php83-imap` providers
for older PHP releases
- fix Magus run 646 dependency failures for
`mail/pear-Horde_Imap_Client` and `mail/phplist`
## Validation
- `bmake makesum`
- `bmake patch` for the php84 flavor
- `bmake check-license`
- `INDEXING=yes PACKAGE_BUILDING=yes bmake describe` for both affected
consumers and PHP 8.4/8.5
- `portlint -C` (0 fatal errors; provider ABI/style warnings only)
- `git diff --check`
A full extension build was not run locally because this host has PHP 8.3
installed and mports intentionally prevents parallel installation of a
different PHP ABI. Magus/CI can build the PHP 8.4 and 8.5 flavors in
clean workers.
## Summary by Sourcery
Introduce a dedicated pecl-imap port and update PHP IMAP extension
dependency wiring so IMAP consumers work correctly across supported PHP
versions.
New Features:
- Add a new mail/pecl-imap port providing the IMAP PHP extension for
newer PHP ABIs.
- Route USE_PHP=imap to the pecl-imap provider for PHP 8.4 and later
while retaining existing php82/php83 providers.
Bug Fixes:
- Resolve dependency failures for mail/pear-Horde_Imap_Client and
mail/phplist on PHP 8.4+ by ensuring an IMAP extension provider is
available.
Enhancements:
- Align PHP extension dependency mapping so IMAP consumers transparently
use the appropriate provider based on PHP version.
---------
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list