Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2020 13:32:28 +0000 (UTC)
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542132 - in head: . lang/php72 lang/php73 lang/php74 mail/php72-imap mail/php73-imap mail/php74-imap
Message-ID:  <202007131332.06DDWSPR045637@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tz
Date: Mon Jul 13 13:32:27 2020
New Revision: 542132
URL: https://svnweb.freebsd.org/changeset/ports/542132

Log:
  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

Modified:
  head/UPDATING
  head/lang/php72/Makefile.ext
  head/lang/php73/Makefile.ext
  head/lang/php74/Makefile.ext
  head/mail/php72-imap/Makefile
  head/mail/php73-imap/Makefile
  head/mail/php74-imap/Makefile

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Mon Jul 13 12:56:03 2020	(r542131)
+++ head/UPDATING	Mon Jul 13 13:32:27 2020	(r542132)
@@ -6,6 +6,18 @@ You should get into the habit of checking this file fo
 you update your ports collection, before attempting any port upgrades.
 
 
+20200713:
+  AFFECTS: users of mail/php7[2-4]-imap
+  AUTHOR: tz@FreeBSD.org
+
+  The imap module of PHP was compiled against cclient till now. But this lib is
+  unmaintained for over 7 years. When combined with modern OpenSSL there are
+  various crashes reported.
+
+  Switching to the fork panda-cclient fixes these issues. Therefore we make the
+  usage of Panda cclient the new default. If you want to use the old cclient,
+  you need to enable it now!
+  
 20200616:
   AFFECTS: users of www/baikal
   AUTHOR: gahr@FreeBSD.org

Modified: head/lang/php72/Makefile.ext
==============================================================================
--- head/lang/php72/Makefile.ext	Mon Jul 13 12:56:03 2020	(r542131)
+++ head/lang/php72/Makefile.ext	Mon Jul 13 13:32:27 2020	(r542132)
@@ -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} \

Modified: head/lang/php73/Makefile.ext
==============================================================================
--- head/lang/php73/Makefile.ext	Mon Jul 13 12:56:03 2020	(r542131)
+++ head/lang/php73/Makefile.ext	Mon Jul 13 13:32:27 2020	(r542132)
@@ -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} \

Modified: head/lang/php74/Makefile.ext
==============================================================================
--- head/lang/php74/Makefile.ext	Mon Jul 13 12:56:03 2020	(r542131)
+++ head/lang/php74/Makefile.ext	Mon Jul 13 13:32:27 2020	(r542132)
@@ -144,7 +144,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} \

Modified: head/mail/php72-imap/Makefile
==============================================================================
--- head/mail/php72-imap/Makefile	Mon Jul 13 12:56:03 2020	(r542131)
+++ head/mail/php72-imap/Makefile	Mon Jul 13 13:32:27 2020	(r542132)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PORTREVISION=	1
 CATEGORIES=	mail
 
 MASTERDIR=	${.CURDIR}/../../lang/php72

Modified: head/mail/php73-imap/Makefile
==============================================================================
--- head/mail/php73-imap/Makefile	Mon Jul 13 12:56:03 2020	(r542131)
+++ head/mail/php73-imap/Makefile	Mon Jul 13 13:32:27 2020	(r542132)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PORTREVISION=	1
 CATEGORIES=	mail
 
 MASTERDIR=	${.CURDIR}/../../lang/php73

Modified: head/mail/php74-imap/Makefile
==============================================================================
--- head/mail/php74-imap/Makefile	Mon Jul 13 12:56:03 2020	(r542131)
+++ head/mail/php74-imap/Makefile	Mon Jul 13 13:32:27 2020	(r542132)
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PORTREVISION=	1
 CATEGORIES=	mail
 
 MASTERDIR=	${.CURDIR}/../../lang/php74



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007131332.06DDWSPR045637>