Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2018 23:12:20 +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: r485628 - in head/devel/pecl-swoole: . files
Message-ID:  <201811222312.wAMNCK4J090649@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Nov 22 23:12:20 2018
New Revision: 485628
URL: https://svnweb.freebsd.org/changeset/ports/485628

Log:
  Update to 4.2.8, remove REDIS option.

Added:
  head/devel/pecl-swoole/files/patch-thirdparty_hiredis_test.c   (contents, props changed)
Modified:
  head/devel/pecl-swoole/Makefile
  head/devel/pecl-swoole/distinfo
  head/devel/pecl-swoole/files/patch-config.m4

Modified: head/devel/pecl-swoole/Makefile
==============================================================================
--- head/devel/pecl-swoole/Makefile	Thu Nov 22 22:34:49 2018	(r485627)
+++ head/devel/pecl-swoole/Makefile	Thu Nov 22 23:12:20 2018	(r485628)
@@ -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

Modified: head/devel/pecl-swoole/distinfo
==============================================================================
--- head/devel/pecl-swoole/distinfo	Thu Nov 22 22:34:49 2018	(r485627)
+++ head/devel/pecl-swoole/distinfo	Thu Nov 22 23:12:20 2018	(r485628)
@@ -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

Modified: head/devel/pecl-swoole/files/patch-config.m4
==============================================================================
--- head/devel/pecl-swoole/files/patch-config.m4	Thu Nov 22 22:34:49 2018	(r485627)
+++ head/devel/pecl-swoole/files/patch-config.m4	Thu Nov 22 23:12:20 2018	(r485628)
@@ -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()

Added: head/devel/pecl-swoole/files/patch-thirdparty_hiredis_test.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-swoole/files/patch-thirdparty_hiredis_test.c	Thu Nov 22 23:12:20 2018	(r485628)
@@ -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>



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