git: 475599a41990 - main - www/pecl-http: Update version 3.2.4=>4.2.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 01 Feb 2022 09:47:11 UTC
The branch main has been updated by bofh:

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

commit 475599a41990a6d46342f61c3ed9b10829550e24
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-02-01 09:45:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-02-01 09:47:02 +0000

    www/pecl-http: Update version 3.2.4=>4.2.0
    
    - UNBREAK for php 80 and 81 while BREAK for php 74
    
    PR:             261635
    Relnotes: https://pecl.php.net/package-info.php?package=pecl_http&version=4.2.0
---
 www/pecl-http/Makefile | 18 ++++++++----------
 www/pecl-http/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/www/pecl-http/Makefile b/www/pecl-http/Makefile
index afd5771b2b65..74777539809c 100644
--- a/www/pecl-http/Makefile
+++ b/www/pecl-http/Makefile
@@ -1,8 +1,7 @@
 # Created by: Wen Heping <wenheping@gmail.com>
 
 PORTNAME=	http
-PORTVERSION=	3.2.4
-PORTREVISION=	2
+PORTVERSION=	4.2.0
 CATEGORIES=	www
 DISTNAME=	pecl_${PORTNAME}-${PORTVERSION}
 
@@ -12,20 +11,19 @@ COMMENT=	Extended HTTP Support
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_mips=	fails to compile: pecl_http-3.1.0/src/php_http_etag.c:63:20: \#if with no expression
-BROKEN_mips64=	fails to compile: pecl_http-3.1.0/src/php_http_etag.c:63:20: \#if with no expression
+# For now UNBREAK for mips while being updated.
+#BROKEN_mips=	fails to compile: pecl_http-3.1.0/src/php_http_etag.c:63:20: \#if with no expression
+#BROKEN_mips64=	fails to compile: pecl_http-3.1.0/src/php_http_etag.c:63:20: \#if with no expression
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/propro.so:devel/pecl-propro2@${PHP_FLAVOR} \
-		${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PHP_FLAVOR} \
+BUILD_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PHP_FLAVOR} \
 		re2c:devel/re2c
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libevent.so:devel/libevent \
 		libicudata.so:devel/icu
-RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/propro.so:devel/pecl-propro2@${PHP_FLAVOR} \
-		${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PHP_FLAVOR}
+RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PHP_FLAVOR}
 
 USES=		php:pecl
-USE_PHP=	zlib:build
-IGNORE_WITH_PHP=	80 81
+USE_PHP=	hash:build iconv:build zlib:build
+IGNORE_WITH_PHP=	74
 
 .include <bsd.port.mk>
diff --git a/www/pecl-http/distinfo b/www/pecl-http/distinfo
index a23e9970c98a..04bbbec9db88 100644
--- a/www/pecl-http/distinfo
+++ b/www/pecl-http/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611696814
-SHA256 (PECL/pecl_http-3.2.4.tgz) = 37354ff7680b9b9839da8b908fff88227af7f6746c2611c873493af41d54f033
-SIZE (PECL/pecl_http-3.2.4.tgz) = 220631
+TIMESTAMP = 1643707842
+SHA256 (PECL/pecl_http-4.2.0.tgz) = 9898c2e2b2c78ce11fca1cb3a151ff201ce957afb8b8c1985a52dd5eae35812e
+SIZE (PECL/pecl_http-4.2.0.tgz) = 221621