diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2026-07-12 15:13:31 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2026-07-12 17:24:45 +0000 |
| commit | 29813da665082e61ce48082580c178110923c368 (patch) | |
| tree | 4209ba64ef35c01bff62758861f656e4e89ad7c3 | |
| parent | 376814557776218c4b1cccb9f030a7d7a0d2ecfe (diff) | |
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
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | www/Makefile | 2 | ||||
| -rw-r--r-- | www/pecl-http/distinfo | 3 | ||||
| -rw-r--r-- | www/pecl-http/pkg-descr | 8 | ||||
| -rw-r--r-- | www/php-http/Makefile (renamed from www/pecl-http/Makefile) | 13 | ||||
| -rw-r--r-- | www/php-http/distinfo | 3 | ||||
| -rw-r--r-- | www/php-http/pkg-descr | 6 |
7 files changed, 17 insertions, 19 deletions
@@ -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 diff --git a/www/Makefile b/www/Makefile index b568c37257c7..b8fbddc5d4a3 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/pecl-http/distinfo b/www/pecl-http/distinfo deleted file mode 100644 index 88fc0733678c..000000000000 --- a/www/pecl-http/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1760696466 -SHA256 (PECL/pecl_http-4.3.1.tgz) = 1512dc02fea2356c4df50113e00943b0b7fc99bb22d34d9f624b4662f1dad263 -SIZE (PECL/pecl_http-4.3.1.tgz) = 224532 diff --git a/www/pecl-http/pkg-descr b/www/pecl-http/pkg-descr deleted file mode 100644 index 225704c134d9..000000000000 --- a/www/pecl-http/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -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. diff --git a/www/pecl-http/Makefile b/www/php-http/Makefile index c896685a409c..996e6fad314c 100644 --- a/www/pecl-http/Makefile +++ b/www/php-http/Makefile @@ -1,19 +1,15 @@ 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 diff --git a/www/php-http/distinfo b/www/php-http/distinfo new file mode 100644 index 000000000000..f0d10e8d282f --- /dev/null +++ b/www/php-http/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783864131 +SHA256 (m6w6-ext-http-4.3.1_GH0.tar.gz) = 6666c8f6b83834ce4efc802666e1e5c58b2f7d02d5196aa92ffcc5c9172da923 +SIZE (m6w6-ext-http-4.3.1_GH0.tar.gz) = 224908 diff --git a/www/php-http/pkg-descr b/www/php-http/pkg-descr new file mode 100644 index 000000000000..4b22928f2332 --- /dev/null +++ b/www/php-http/pkg-descr @@ -0,0 +1,6 @@ +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. |
