Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2019 04:26:10 +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: r492190 - in head/devel/pecl-swoole: . files
Message-ID:  <201902050426.x154QBwR012429@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Feb  5 04:26:10 2019
New Revision: 492190
URL: https://svnweb.freebsd.org/changeset/ports/492190

Log:
  Update to 4.2.13, add CARES option.

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	Tue Feb  5 04:06:58 2019	(r492189)
+++ head/devel/pecl-swoole/Makefile	Tue Feb  5 04:26:10 2019	(r492190)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	swoole
-PORTVERSION=	4.2.8
-PORTREVISION=	1
+PORTVERSION=	4.2.13
 CATEGORIES=	devel net
 
 MAINTAINER=	vanilla@FreeBSD.org
@@ -17,7 +16,9 @@ USE_PHP=	hash:build pcre
 
 CONFIGURE_ARGS+=	--enable-mysqlnd
 
-OPTIONS_DEFINE=	HTTP2 SOCKETS PGSQL
+OPTIONS_DEFINE=	CARES HTTP2 SOCKETS PGSQL
+CARES_LIB_DEPENDS=	libcares.so:dns/c-ares
+CARES_CONFIGURE_ON=	--enable-cares
 HTTP2_LIB_DEPENDS=	libnghttp2.so:www/libnghttp2
 HTTP2_CONFIGURE_ON=	--enable-http2 --enable-openssl
 SOCKETS_USE=	PHP=sockets:build

Modified: head/devel/pecl-swoole/distinfo
==============================================================================
--- head/devel/pecl-swoole/distinfo	Tue Feb  5 04:06:58 2019	(r492189)
+++ head/devel/pecl-swoole/distinfo	Tue Feb  5 04:26:10 2019	(r492190)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1542879493
-SHA256 (PECL/swoole-4.2.8.tgz) = d84d7c1ea75f7a10e7779b46a0d4bb32087ebbbd74a14779add7b645dea3093c
-SIZE (PECL/swoole-4.2.8.tgz) = 7229611
+TIMESTAMP = 1549339628
+SHA256 (PECL/swoole-4.2.13.tgz) = 5af3eb209781d6e0d752745d33556947236d0bda25178e3a121e07735d0cc89a
+SIZE (PECL/swoole-4.2.13.tgz) = 1305634

Modified: head/devel/pecl-swoole/files/patch-config.m4
==============================================================================
--- head/devel/pecl-swoole/files/patch-config.m4	Tue Feb  5 04:06:58 2019	(r492189)
+++ head/devel/pecl-swoole/files/patch-config.m4	Tue Feb  5 04:26:10 2019	(r492190)
@@ -1,6 +1,6 @@
---- config.m4.orig	2018-11-19 09:43:54 UTC
+--- config.m4.orig	2019-02-02 14:04:33 UTC
 +++ config.m4
-@@ -372,7 +372,7 @@ if test "$PHP_SWOOLE" != "no"; then
+@@ -227,7 +227,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,12 +9,3 @@
      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]))
-@@ -608,7 +608,7 @@ if test "$PHP_SWOOLE" != "no"; then
-     PHP_INSTALL_HEADERS([ext/swoole], [*.h config.h include/*.h])
- 
-     PHP_REQUIRE_CXX()
--    PHP_ADD_LIBRARY(stdc++, 1, SWOOLE_SHARED_LIBADD)
-+    PHP_ADD_LIBRARY(c++, 1, SWOOLE_SHARED_LIBADD)
-     CXXFLAGS="$CXXFLAGS -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11"
- 
-     if test "$PHP_PICOHTTPPARSER" = "yes"; then



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