summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/pecl-swoole/Makefile7
-rw-r--r--devel/pecl-swoole/distinfo6
-rw-r--r--devel/pecl-swoole/files/patch-config.m44
-rw-r--r--devel/pecl-swoole/files/patch-ext-src_php__swoole.h6
4 files changed, 12 insertions, 11 deletions
diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile
index e54bd3de403f..339003e59bee 100644
--- a/devel/pecl-swoole/Makefile
+++ b/devel/pecl-swoole/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= swoole
-PORTVERSION= 4.5.11
+PORTVERSION= 4.6.3
CATEGORIES= devel net
MAINTAINER= vanilla@FreeBSD.org
@@ -16,11 +16,12 @@ USE_PHP= hash:build pcre
CONFIGURE_ARGS+= --enable-mysqlnd
-OPTIONS_DEFINE= HTTP2 SOCKETS
-HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2
+OPTIONS_DEFINE= HTTP2 SOCKETS JSON CURL
HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl
SOCKETS_USE= PHP=sockets:build
SOCKETS_DESC= Use native php sockets extension
SOCKETS_CONFIGURE_ON= --enable-sockets
+CURL_CONFIGURE_ON= --enable-swoole-curl
+JSON_CONFIGURE_ON= --enable-swoole-json
.include <bsd.port.mk>
diff --git a/devel/pecl-swoole/distinfo b/devel/pecl-swoole/distinfo
index b62c23c0c3cc..51de0f6d3fe7 100644
--- a/devel/pecl-swoole/distinfo
+++ b/devel/pecl-swoole/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611034080
-SHA256 (PECL/swoole-4.5.11.tgz) = 2d85752ee2b0944399c2901bb22832f196ba3f7ba4262c239d12ed494e2460dd
-SIZE (PECL/swoole-4.5.11.tgz) = 1554142
+TIMESTAMP = 1614695925
+SHA256 (PECL/swoole-4.6.3.tgz) = aa301d7f6c6c75e98e8512bcc080be250895dab1477541cc444ab47f5fdf9d9d
+SIZE (PECL/swoole-4.6.3.tgz) = 1613183
diff --git a/devel/pecl-swoole/files/patch-config.m4 b/devel/pecl-swoole/files/patch-config.m4
index 502002342711..1e7cba9deedb 100644
--- a/devel/pecl-swoole/files/patch-config.m4
+++ b/devel/pecl-swoole/files/patch-config.m4
@@ -1,6 +1,6 @@
---- config.m4.orig 2020-11-20 11:01:53 UTC
+--- config.m4.orig 2021-02-09 10:27:52 UTC
+++ config.m4
-@@ -287,7 +287,7 @@ if test "$PHP_SWOOLE" != "no"; then
+@@ -294,7 +294,7 @@ if test "$PHP_SWOOLE" != "no"; then
AC_CHECK_LIB(c, poll, AC_DEFINE(HAVE_POLL, 1, [have poll]))
AC_CHECK_LIB(c, sendfile, AC_DEFINE(HAVE_SENDFILE, 1, [have sendfile]))
AC_CHECK_LIB(c, kqueue, AC_DEFINE(HAVE_KQUEUE, 1, [have kqueue]))
diff --git a/devel/pecl-swoole/files/patch-ext-src_php__swoole.h b/devel/pecl-swoole/files/patch-ext-src_php__swoole.h
index cc6c5bb8d6b3..bc8975af8edc 100644
--- a/devel/pecl-swoole/files/patch-ext-src_php__swoole.h
+++ b/devel/pecl-swoole/files/patch-ext-src_php__swoole.h
@@ -1,6 +1,6 @@
---- ext-src/php_swoole.h.orig 2020-11-27 11:02:33.000000000 +0800
-+++ ext-src/php_swoole.h 2020-11-30 16:16:31.186209000 +0800
-@@ -912,7 +912,7 @@ static sw_inline zend_bool sw_zend_is_callable_at_fram
+--- ext-src/php_swoole.h.orig 2021-02-09 10:27:52 UTC
++++ ext-src/php_swoole.h
+@@ -948,7 +948,7 @@ static sw_inline zend_bool sw_zend_is_callable_at_fram
{
zend_string *name;
zend_bool ret;