svn commit: r422016 - head/devel/pecl-swoole

Vanilla I. Shu vanilla at FreeBSD.org
Tue Sep 13 15:28:16 UTC 2016


Author: vanilla
Date: Tue Sep 13 15:28:14 2016
New Revision: 422016
URL: https://svnweb.freebsd.org/changeset/ports/422016

Log:
  Update to 1.8.11, and add HTTP2 & REDIS options.

Modified:
  head/devel/pecl-swoole/Makefile
  head/devel/pecl-swoole/distinfo

Modified: head/devel/pecl-swoole/Makefile
==============================================================================
--- head/devel/pecl-swoole/Makefile	Tue Sep 13 15:23:02 2016	(r422015)
+++ head/devel/pecl-swoole/Makefile	Tue Sep 13 15:28:14 2016	(r422016)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	swoole
-PORTVERSION=	1.8.10
+PORTVERSION=	1.8.11
 CATEGORIES=	devel net
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -14,8 +14,15 @@ COMMENT=	Asynchronous & concurrent & dis
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		php:ext tar:tgz
+USES=		php:ext ssl tar:tgz
 CFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 USE_PHP=	pcre
 
+OPTIONS_DEFINE=	HTTP2 REDIS
+HTTP2_LIB_DEPENDS=	libnghttp2.so:www/nghttp2
+HTTP2_CONFIGURE_ON=	--enable-http2 --enable-openssl
+REDIS_LIB_DEPENDS=	libhiredis.so:databases/hiredis
+REDIS_CONFIGURE_ON=	--enable-async-redis --enable-coroutine
+
 .include <bsd.port.mk>

Modified: head/devel/pecl-swoole/distinfo
==============================================================================
--- head/devel/pecl-swoole/distinfo	Tue Sep 13 15:23:02 2016	(r422015)
+++ head/devel/pecl-swoole/distinfo	Tue Sep 13 15:28:14 2016	(r422016)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1472178735
-SHA256 (PECL/swoole-1.8.10.tgz) = 4162cb1296046bcbd2a7ea255bd45d4aca291d8f6dc1508726a4d6a15bd3410f
-SIZE (PECL/swoole-1.8.10.tgz) = 522440
+TIMESTAMP = 1473776770
+SHA256 (PECL/swoole-1.8.11.tgz) = 07302e592c53946ef02b40f067ad39af03a1a48231c9cfc011a52f7d396a502a
+SIZE (PECL/swoole-1.8.11.tgz) = 523334


More information about the svn-ports-all mailing list