From owner-svn-ports-head@freebsd.org Wed Sep 27 04:06:16 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1095E2A018; Wed, 27 Sep 2017 04:06:16 +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 mx1.freebsd.org (Postfix) with ESMTPS id 3E092214A; Wed, 27 Sep 2017 04:06:16 +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 v8R46FVv024882; Wed, 27 Sep 2017 04:06:15 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8R46FiT024878; Wed, 27 Sep 2017 04:06:15 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201709270406.v8R46FiT024878@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Wed, 27 Sep 2017 04:06:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450703 - 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: 450703 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 04:06:16 -0000 Author: vanilla Date: Wed Sep 27 04:06:14 2017 New Revision: 450703 URL: https://svnweb.freebsd.org/changeset/ports/450703 Log: 1: Update to 1.9.21 2: add a patch for libressl. Added: head/devel/pecl-swoole/files/patch-src_protocol_SSL.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 Tue Sep 26 23:37:19 2017 (r450702) +++ head/devel/pecl-swoole/Makefile Wed Sep 27 04:06:14 2017 (r450703) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= swoole -PORTVERSION= 1.9.16 +PORTVERSION= 1.9.21 CATEGORIES= devel net MAINTAINER= vanilla@FreeBSD.org @@ -18,13 +18,11 @@ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_PHP= pcre -OPTIONS_DEFINE= HTTP2 REDIS RING_BUFFER SOCKETS +OPTIONS_DEFINE= HTTP2 REDIS SOCKETS 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 -RING_BUFFER_DESC= Use ring buffer pool -RING_BUFFER_CONFIGURE_ON= --enable-ringbuffer 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 Tue Sep 26 23:37:19 2017 (r450702) +++ head/devel/pecl-swoole/distinfo Wed Sep 27 04:06:14 2017 (r450703) @@ -1,3 +1,3 @@ -TIMESTAMP = 1500129219 -SHA256 (PECL/swoole-1.9.16.tgz) = bd7a13b2ab5663cb28af24945246b2bcf280b667686548e1314778a72dcabab2 -SIZE (PECL/swoole-1.9.16.tgz) = 689633 +TIMESTAMP = 1506483954 +SHA256 (PECL/swoole-1.9.21.tgz) = 4e8dbd491693c2cc34e8af657f759ca661db3a25860f96242f6c62db8008b70b +SIZE (PECL/swoole-1.9.21.tgz) = 707603 Modified: head/devel/pecl-swoole/files/patch-config.m4 ============================================================================== --- head/devel/pecl-swoole/files/patch-config.m4 Tue Sep 26 23:37:19 2017 (r450702) +++ head/devel/pecl-swoole/files/patch-config.m4 Wed Sep 27 04:06:14 2017 (r450703) @@ -1,6 +1,6 @@ ---- config.m4.orig 2017-04-18 09:30:04 UTC +--- config.m4.orig 2017-09-26 08:30:45 UTC +++ config.m4 -@@ -250,7 +250,7 @@ if test "$PHP_SWOOLE" != "no"; then +@@ -255,7 +255,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])) Added: head/devel/pecl-swoole/files/patch-src_protocol_SSL.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pecl-swoole/files/patch-src_protocol_SSL.c Wed Sep 27 04:06:14 2017 (r450703) @@ -0,0 +1,11 @@ +--- src/protocol/SSL.c.orig 2017-09-27 04:04:44 UTC ++++ src/protocol/SSL.c +@@ -98,7 +98,7 @@ static const SSL_METHOD *swSSL_get_metho + + void swSSL_init(void) + { +-#if OPENSSL_VERSION_NUMBER >= 0x10100003L && !defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER >= 0x10100003L + OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL); + #else + OPENSSL_config(NULL);