mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Update to 4.2.8, remove REDIS option.
This commit is contained in:
parent
a81807a190
commit
6fc7f79df3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485628
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= swoole
|
||||
PORTVERSION= 4.2.5
|
||||
PORTVERSION= 4.2.8
|
||||
CATEGORIES= devel net
|
||||
|
||||
MAINTAINER= vanilla@FreeBSD.org
|
||||
@ -17,11 +17,9 @@ USE_PHP= hash:build pcre
|
||||
IGNORE_WITH_PHP= 56
|
||||
CONFIGURE_ARGS+= --enable-mysqlnd
|
||||
|
||||
OPTIONS_DEFINE= HTTP2 REDIS SOCKETS PGSQL
|
||||
OPTIONS_DEFINE= HTTP2 SOCKETS PGSQL
|
||||
HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2
|
||||
HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl
|
||||
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
|
||||
REDIS_CONFIGURE_ON= --enable-async-redis
|
||||
SOCKETS_USE= PHP=sockets:build
|
||||
SOCKETS_DESC= Use native php sockets extension
|
||||
SOCKETS_CONFIGURE_ON= --enable-sockets
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1541064923
|
||||
SHA256 (PECL/swoole-4.2.5.tgz) = d1ec03bd493c9058e547b401acdd1ea6ad1a8b4ee57884add711974bc01567ac
|
||||
SIZE (PECL/swoole-4.2.5.tgz) = 1134918
|
||||
TIMESTAMP = 1542879493
|
||||
SHA256 (PECL/swoole-4.2.8.tgz) = d84d7c1ea75f7a10e7779b46a0d4bb32087ebbbd74a14779add7b645dea3093c
|
||||
SIZE (PECL/swoole-4.2.8.tgz) = 7229611
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- config.m4.orig 2018-09-19 03:39:15 UTC
|
||||
--- config.m4.orig 2018-11-19 09:43:54 UTC
|
||||
+++ config.m4
|
||||
@@ -388,7 +388,7 @@ if test "$PHP_SWOOLE" != "no"; then
|
||||
@@ -372,7 +372,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]))
|
||||
@ -9,7 +9,7 @@
|
||||
AC_CHECK_LIB(c, daemon, AC_DEFINE(HAVE_DAEMON, 1, [have daemon]))
|
||||
AC_CHECK_LIB(c, mkostemp, AC_DEFINE(HAVE_MKOSTEMP, 1, [have mkostemp]))
|
||||
AC_CHECK_LIB(c, inotify_init, AC_DEFINE(HAVE_INOTIFY, 1, [have inotify]))
|
||||
@@ -607,7 +607,7 @@ if test "$PHP_SWOOLE" != "no"; then
|
||||
@@ -608,7 +608,7 @@ if test "$PHP_SWOOLE" != "no"; then
|
||||
PHP_INSTALL_HEADERS([ext/swoole], [*.h config.h include/*.h])
|
||||
|
||||
PHP_REQUIRE_CXX()
|
||||
|
10
devel/pecl-swoole/files/patch-thirdparty_hiredis_test.c
Normal file
10
devel/pecl-swoole/files/patch-thirdparty_hiredis_test.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- thirdparty/hiredis/test.c.orig 2018-11-22 23:09:25 UTC
|
||||
+++ thirdparty/hiredis/test.c
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <sys/time.h>
|
||||
+#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
Loading…
Reference in New Issue
Block a user