Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2021 15:20:30 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566967 - in head/devel/pecl-swoole: . files
Message-ID:  <202103021520.122FKU1w044323@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Mar  2 15:20:30 2021
New Revision: 566967
URL: https://svnweb.freebsd.org/changeset/ports/566967

Log:
  1: update to 4.6.3.
  2: add CURL & JSON options.

Modified:
  head/devel/pecl-swoole/Makefile
  head/devel/pecl-swoole/distinfo
  head/devel/pecl-swoole/files/patch-config.m4
  head/devel/pecl-swoole/files/patch-ext-src_php__swoole.h

Modified: head/devel/pecl-swoole/Makefile
==============================================================================
--- head/devel/pecl-swoole/Makefile	Tue Mar  2 15:17:24 2021	(r566966)
+++ head/devel/pecl-swoole/Makefile	Tue Mar  2 15:20:30 2021	(r566967)
@@ -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>

Modified: head/devel/pecl-swoole/distinfo
==============================================================================
--- head/devel/pecl-swoole/distinfo	Tue Mar  2 15:17:24 2021	(r566966)
+++ head/devel/pecl-swoole/distinfo	Tue Mar  2 15:20:30 2021	(r566967)
@@ -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

Modified: head/devel/pecl-swoole/files/patch-config.m4
==============================================================================
--- head/devel/pecl-swoole/files/patch-config.m4	Tue Mar  2 15:17:24 2021	(r566966)
+++ head/devel/pecl-swoole/files/patch-config.m4	Tue Mar  2 15:20:30 2021	(r566967)
@@ -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]))

Modified: head/devel/pecl-swoole/files/patch-ext-src_php__swoole.h
==============================================================================
--- head/devel/pecl-swoole/files/patch-ext-src_php__swoole.h	Tue Mar  2 15:17:24 2021	(r566966)
+++ head/devel/pecl-swoole/files/patch-ext-src_php__swoole.h	Tue Mar  2 15:20:30 2021	(r566967)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103021520.122FKU1w044323>