mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
devel/pecl-swoole: update to 4.7.0, also add CARES option.
This commit is contained in:
parent
f24b11ec1e
commit
321f3162b9
@ -1,7 +1,7 @@
|
||||
# Created by: vanilla@
|
||||
|
||||
PORTNAME= swoole
|
||||
PORTVERSION= 4.6.7
|
||||
PORTVERSION= 4.7.0
|
||||
CATEGORIES= devel net
|
||||
|
||||
MAINTAINER= vanilla@FreeBSD.org
|
||||
@ -15,13 +15,16 @@ USE_PHP= hash:build pcre
|
||||
|
||||
CONFIGURE_ARGS+= --enable-mysqlnd
|
||||
|
||||
OPTIONS_DEFINE= HTTP2 SOCKETS JSON CURL
|
||||
OPTIONS_DEFINE= CARES HTTP2 SOCKETS JSON CURL
|
||||
CARES_LIB_DEPENDS= libcares.so:dns/c-ares
|
||||
CARES_CONFIGURE_ON= --enable-cares
|
||||
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_LIB_DEPENDS= libcurl.so:ftp/curl
|
||||
CURL_CONFIGURE_ON= --enable-swoole-curl
|
||||
CURL_USE= PHP=curl
|
||||
JSON_CONFIGURE_ON= --enable-swoole-json
|
||||
JSON_USE= PHP=json:build
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1621425782
|
||||
SHA256 (PECL/swoole-4.6.7.tgz) = c5842d3209d1db49a1a6102fb1892a1d73e3bddf8088ca329e53a33f00b9fc80
|
||||
SIZE (PECL/swoole-4.6.7.tgz) = 1649407
|
||||
TIMESTAMP = 1626746854
|
||||
SHA256 (PECL/swoole-4.7.0.tgz) = 690bc9d4d4877e0a7d26e9a18b61ea7b2352caab5022a37d87b4cf7c776d4051
|
||||
SIZE (PECL/swoole-4.7.0.tgz) = 1667209
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- config.m4.orig 2021-04-22 09:33:36 UTC
|
||||
--- config.m4.orig 2021-07-16 07:18:11 UTC
|
||||
+++ config.m4
|
||||
@@ -337,7 +337,7 @@ if test "$PHP_SWOOLE" != "no"; then
|
||||
@@ -340,7 +340,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]))
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- ext-src/php_swoole_private.h.orig 2021-04-23 05:47:52 UTC
|
||||
--- ext-src/php_swoole_private.h.orig 2021-07-16 07:18:11 UTC
|
||||
+++ ext-src/php_swoole_private.h
|
||||
@@ -894,7 +894,7 @@ static sw_inline zend_bool sw_zend_is_callable_at_fram
|
||||
@@ -890,7 +890,7 @@ static sw_inline zend_bool sw_zend_is_callable_at_fram
|
||||
char **error) {
|
||||
zend_string *name;
|
||||
zend_bool ret;
|
||||
|
10
devel/pecl-swoole/files/patch-include_swoole__socket.h
Normal file
10
devel/pecl-swoole/files/patch-include_swoole__socket.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- include/swoole_socket.h.orig 2021-07-16 07:18:11 UTC
|
||||
+++ include/swoole_socket.h
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <sys/uio.h>
|
Loading…
Reference in New Issue
Block a user