devel/{pecl|php}-raphf2?: Convert port
A facility to manage possibly persistent resources with a comprehensible API. Provides simliar functionality like the zend_list API, but with more flexiblity and freedom. 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-raphf2 ports in lieu of this port and updates reverse dependency. WWW: https://github.com/m6w6/ext-raphf/
This commit is contained in:
@@ -5493,3 +5493,4 @@ graphics/gimp-jxl-plugin||2026-07-03|Integrated into graphics/gimp-app
|
||||
textproc/pecl-pspell|textproc/php-pspell|2026-07-05|Converted to standard extension from pecl extension
|
||||
print/qpdfview@qt5||2026-07-10|Unflavorize, remove Qt5 flavor
|
||||
print/qpdfview@qt6|print/qpdfview|2026-07-10|Unflavorize
|
||||
devel/pecl-raphf2|devel/php-raphf|2026-07-12|Converted to standard extension from pecl extension
|
||||
|
||||
+1
-1
@@ -4289,7 +4289,6 @@
|
||||
SUBDIR += pecl-pcov
|
||||
SUBDIR += pecl-protobuf
|
||||
SUBDIR += pecl-psr
|
||||
SUBDIR += pecl-raphf2
|
||||
SUBDIR += pecl-runkit7
|
||||
SUBDIR += pecl-swoole
|
||||
SUBDIR += pecl-sync
|
||||
@@ -4318,6 +4317,7 @@
|
||||
SUBDIR += php-libawl
|
||||
SUBDIR += php-maxminddb
|
||||
SUBDIR += php-pie
|
||||
SUBDIR += php-raphf
|
||||
SUBDIR += php82-ffi
|
||||
SUBDIR += php82-gettext
|
||||
SUBDIR += php82-intl
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
PORTNAME= raphf
|
||||
DISTVERSION= 2.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Resource and persistent handles factory
|
||||
WWW= https://pecl.php.net/package/raphf
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= pecl infrastructure is being deprecated and no consumers for this port
|
||||
EXPIRAION_DATE= 2026-09-30
|
||||
|
||||
USES= gmake php:pecl
|
||||
IGNORE_WITH_PHP= 86
|
||||
|
||||
PORTSCOUT= limit:^2.*
|
||||
|
||||
CONFLICTS= pecl-raphf-1*
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1756637446
|
||||
SHA256 (PECL/raphf-2.0.2.tgz) = 7e782fbe7b7de2b5f1c43f49d9eb8c427649b547573564c78baaf2b8f8160ef4
|
||||
SIZE (PECL/raphf-2.0.2.tgz) = 16262
|
||||
@@ -1,3 +0,0 @@
|
||||
A facility to manage possibly persistent resources with a comprehensible API.
|
||||
Provides simliar functionality like the zend_list API, but with more flexiblity
|
||||
and freedom.
|
||||
@@ -0,0 +1,28 @@
|
||||
PORTNAME= raphf
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.0.2
|
||||
CATEGORIES= devel
|
||||
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Resource and persistent handles factory
|
||||
WWW= https://github.com/m6w6/ext-raphf
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= gmake php:ext
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= m6w6
|
||||
GH_PROJECT= ext-raphf
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${PHP_VER} >= 86
|
||||
@${REINPLACE_CMD} -e 's|ZEND_RESULT_CODE|zend_result|g' \
|
||||
${WRKSRC}/src/php_raphf_api.c \
|
||||
${WRKSRC}/src/php_raphf_api.h
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1783817409
|
||||
SHA256 (m6w6-ext-raphf-v2.0.2_GH0.tar.gz) = d4f23617e518ce3041c9fe1bbe4261ff9c307f7f88dda31d90a94e959136a2fb
|
||||
SIZE (m6w6-ext-raphf-v2.0.2_GH0.tar.gz) = 48201
|
||||
@@ -0,0 +1,3 @@
|
||||
A facility to manage possibly persistent resources with a comprehensible
|
||||
API. Provides simliar functionality like the zend_list API, but with
|
||||
more flexiblity and freedom.
|
||||
@@ -1,6 +1,6 @@
|
||||
PORTNAME= http
|
||||
DISTVERSION= 4.3.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www
|
||||
DISTNAME= pecl_${PORTNAME}-${PORTVERSION}
|
||||
|
||||
@@ -14,13 +14,13 @@ 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/pecl-raphf2@${PHP_FLAVOR} \
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/php-raphf@${PHP_FLAVOR} \
|
||||
re2c:devel/re2c \
|
||||
bash>0:shells/bash
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libevent.so:devel/libevent \
|
||||
libicudata.so:devel/icu
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PHP_FLAVOR}
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/php-raphf@${PHP_FLAVOR}
|
||||
|
||||
USES= php:build,pecl
|
||||
USE_PHP= iconv:build zlib:build
|
||||
|
||||
Reference in New Issue
Block a user