Commit 29813da6 authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

www/{pecl|php}-http: Convert port

ext-http extension aims to provide a convenient and powerful set of
functionality for one of PHPs major applications. It eases handling of
HTTP URLs, dates, redirects, headers and messages, provides means for
negotiation of clients preferred language and charset, as well as a
convenient way to send any arbitrary data with caching and resuming
capabilities. It provides powerful request functionality too.

Please note that pecl infrastructure is being deprecated so create a
different port which is not dependent on pecl infrastructure.

This commit also removes pecl-http ports in lieu of this port.

WWW:		https://github.com/m6w6/ext-http
parent 37681455
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5497,3 +5497,4 @@ devel/pecl-raphf2|devel/php-raphf|2026-07-12|Converted to standard extension fro
devel/pecl-grpc|devel/php-grpc|2026-07-12|Converted to standard extension from pecl extension
devel/pecl-swoole|devel/php-swoole|2026-07-12|Converted to standard extension from pecl extension
graphics/pecl-qrencode|graphics/php-qrencode|2026-07-12|Converted to standard extension from pecl extension
www/pecl-http|www/php-http|2026-07-12|Converted to standard extension from pecl extension
+1 −1
Original line number Diff line number Diff line
@@ -1443,7 +1443,6 @@
    SUBDIR += pear-UDDI
    SUBDIR += pear-XML_GRDDL
    SUBDIR += pear-twig
    SUBDIR += pecl-http
    SUBDIR += pecl-solr
    SUBDIR += pecl-yaf
    SUBDIR += pecl-yar
@@ -1453,6 +1452,7 @@
    SUBDIR += pglogd
    SUBDIR += phalcon
    SUBDIR += php-google-api-php-client
    SUBDIR += php-http
    SUBDIR += php82-opcache
    SUBDIR += php82-session
    SUBDIR += php82-tidy

www/pecl-http/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1760696466
SHA256 (PECL/pecl_http-4.3.1.tgz) = 1512dc02fea2356c4df50113e00943b0b7fc99bb22d34d9f624b4662f1dad263
SIZE (PECL/pecl_http-4.3.1.tgz) = 224532

www/pecl-http/pkg-descr

deleted100644 → 0
+0 −8
Original line number Diff line number Diff line
pecl-http extension aims to provide a convenient and
powerful set of functionality for one of PHPs major
applications. It eases handling of HTTP URLs, dates,
redirects, headers and messages, provides means for
negotiation of clients preferred language and charset,
as well as a convenient way to send any arbitrary data
with caching and resuming capabilities. It provides
powerful request functionality too.
+6 −7
Original line number Diff line number Diff line
PORTNAME=	http
DISTVERSION=	4.3.1
PORTREVISION=	2
CATEGORIES=	www
DISTNAME=	pecl_${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Extended HTTP Support
WWW=		https://pecl.php.net/package/pecl_http
WWW=		https://github.com/m6w6/ext-http

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

DEPRECATED=		pecl infrastructure is being deprecated and no consumers for this port
EXPIRAION_DATE=	2026-09-30

BUILD_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/php-raphf@${PHP_FLAVOR} \
		re2c:devel/re2c \
		bash>0:shells/bash
@@ -22,7 +18,10 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
		libicudata.so:devel/icu
RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/php-raphf@${PHP_FLAVOR}

USES=		php:build,pecl
USES=		php:ext
USE_GITHUB=	yes
GH_ACCOUNT=	m6w6
GH_PROJECT=	ext-${PORTNAME}
USE_PHP=	iconv:build zlib:build
IGNORE_WITH_PHP=	86

Loading