From owner-svn-ports-all@freebsd.org Thu Oct 11 13:21:29 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D97EC10BACC2; Thu, 11 Oct 2018 13:21:28 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9033597EF7; Thu, 11 Oct 2018 13:21:28 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8AFEA10FFD; Thu, 11 Oct 2018 13:21:28 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9BDLSQs084333; Thu, 11 Oct 2018 13:21:28 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9BDLSID084330; Thu, 11 Oct 2018 13:21:28 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201810111321.w9BDLSID084330@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Thu, 11 Oct 2018 13:21:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481822 - in head/devel/pecl-swoole: . files X-SVN-Group: ports-head X-SVN-Commit-Author: vanilla X-SVN-Commit-Paths: in head/devel/pecl-swoole: . files X-SVN-Commit-Revision: 481822 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2018 13:21:29 -0000 Author: vanilla Date: Thu Oct 11 13:21:27 2018 New Revision: 481822 URL: https://svnweb.freebsd.org/changeset/ports/481822 Log: Update to 4.2.1, and ignore php56. Deleted: head/devel/pecl-swoole/files/patch-php7__wrapper.h head/devel/pecl-swoole/files/patch-swoole__serialize.c 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 Oct 11 12:50:35 2018 (r481821) +++ head/devel/pecl-swoole/Makefile Thu Oct 11 13:21:27 2018 (r481822) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= swoole -PORTVERSION= 1.10.5 -PORTREVISION= 2 +PORTVERSION= 4.2.1 CATEGORIES= devel net MAINTAINER= vanilla@FreeBSD.org @@ -13,9 +12,12 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 localbase:ldflags php:pecl ssl -USE_PHP= pcre +USE_PHP= hash:build pcre -OPTIONS_DEFINE= HTTP2 REDIS SOCKETS +IGNORE_WITH_PHP= 56 +CONFIGURE_ARGS+= --enable-mysqlnd + +OPTIONS_DEFINE= HTTP2 REDIS SOCKETS PGSQL HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis @@ -23,5 +25,7 @@ REDIS_CONFIGURE_ON= --enable-async-redis SOCKETS_USE= PHP=sockets:build SOCKETS_DESC= Use native php sockets extension SOCKETS_CONFIGURE_ON= --enable-sockets +PGSQL_USES= pgsql +PGSQL_CONFIGURE_ON= --enable-coroutine-postgresql .include Modified: head/devel/pecl-swoole/distinfo ============================================================================== --- head/devel/pecl-swoole/distinfo Thu Oct 11 12:50:35 2018 (r481821) +++ head/devel/pecl-swoole/distinfo Thu Oct 11 13:21:27 2018 (r481822) @@ -1,3 +1,3 @@ -TIMESTAMP = 1526396311 -SHA256 (PECL/swoole-1.10.5.tgz) = 5c1dc0b82772ca1c352de4ddf20deeb35f06e4c5a01beba5a446d78a1f747bd2 -SIZE (PECL/swoole-1.10.5.tgz) = 730797 +TIMESTAMP = 1539261659 +SHA256 (PECL/swoole-4.2.1.tgz) = b17e919bcb738f1de4c043694e49c3e7bd65645c30d40ded942636c32831e265 +SIZE (PECL/swoole-4.2.1.tgz) = 1007982 Modified: head/devel/pecl-swoole/files/patch-config.m4 ============================================================================== --- head/devel/pecl-swoole/files/patch-config.m4 Thu Oct 11 12:50:35 2018 (r481821) +++ head/devel/pecl-swoole/files/patch-config.m4 Thu Oct 11 13:21:27 2018 (r481822) @@ -1,6 +1,6 @@ ---- config.m4.orig 2018-05-14 10:43:31 UTC +--- config.m4.orig 2018-09-19 03:39:15 UTC +++ config.m4 -@@ -278,7 +278,7 @@ if test "$PHP_SWOOLE" != "no"; then +@@ -388,7 +388,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,3 +9,12 @@ 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 + 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