mail/php7[2-4]-imap: change client from cclient to panda-cclient

There are some reports about PHP crashes, when using php-imap
(especially with OpenSSL and TSL 1.3). All this problems went away,
when using the panda-cclient instead of the old cclient.

Therefore we make the panda-cclient the new default,
but still allow cclient in order to allow backwards compatibility.

Special thanks to bofh for figuring out the complex details and
the solution!

Special thanks to Jason for being patience and
helpful about so many months!

Reported by:	Jason de Cordoba <jason@aventia.pw>
Reviewed by:	bofh
Sponsored by:	Bounce Experts
This commit is contained in:
Torsten Zuehlsdorff
2020-07-13 13:32:27 +00:00
parent c6062b5c47
commit 6d23d80a69
7 changed files with 27 additions and 3 deletions

View File

@@ -146,7 +146,10 @@ USES+= iconv:translit
.if ${PHP_MODNAME} == "imap"
PHP_MOD_PRIO= 30
OPTIONS_DEFINE= PANDA
OPTIONS_RADIO= CLIENT
OPTIONS_RADIO_CLIENT= CCLIENT PANDA
OPTIONS_DEFAULT=PANDA
CCLIENT_DESC= Uses the original but unmaintained cclient
PANDA_DESC= Uses the forked panda-cclient instead of the original cclient
CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \