Date: Wed, 27 Sep 2017 04:06:15 +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: r450703 - in head/devel/pecl-swoole: . files Message-ID: <201709270406.v8R46FiT024878@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709270406.v8R46FiT024878>