From a5d64fa85d3bfb4a949b11a35acc2abe2adee033 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 10 Nov 2016 18:36:17 +0100 Subject: php-pecl-event: 2.2.1 --- REFLECTION | 65 +++++++++++++++++++++++++++++++---------------------- php-pecl-event.spec | 25 +++++++++++++-------- 2 files changed, 54 insertions(+), 36 deletions(-) diff --git a/REFLECTION b/REFLECTION index 469de5a..a78581c 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #213 event version 2.1.0 ] { +Extension [ extension #157 event version 2.2.1 ] { - Dependencies { Dependency [ sockets (Required) ] @@ -29,7 +29,7 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ static public method timer ] { - Parameters [3] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $cb ] Parameter #2 [ $arg ] } @@ -38,7 +38,7 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ static public method signal ] { - Parameters [4] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $signum ] Parameter #2 [ $cb ] Parameter #3 [ $arg ] @@ -55,7 +55,7 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ public method __construct ] { - Parameters [5] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $fd ] Parameter #2 [ $what ] Parameter #3 [ $cb ] @@ -72,7 +72,7 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ public method set ] { - Parameters [5] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $fd ] Parameter #2 [ $what ] Parameter #3 [ $cb ] @@ -110,7 +110,7 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ public method setTimer ] { - Parameters [3] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $cb ] Parameter #2 [ $arg ] } @@ -315,7 +315,7 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ static public method createPair ] { - Parameters [2] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $options ] } } @@ -324,8 +324,8 @@ Extension [ extension #213 event version 2.1.0 ] { - Parameters [5] { Parameter #0 [ $unused ] - Parameter #1 [ $underlying ] - Parameter #2 [ $ctx ] + Parameter #1 [ EventBufferEvent $underlying ] + Parameter #2 [ EventSslContext $ctx ] Parameter #3 [ $state ] Parameter #4 [ $options ] } @@ -334,8 +334,8 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ static public method createSslFilter ] { - Parameters [4] { - Parameter #0 [ $underlying ] - Parameter #1 [ $ctx ] + Parameter #0 [ EventBufferEvent $underlying ] + Parameter #1 [ EventSslContext $ctx ] Parameter #2 [ $state ] Parameter #3 [ $options ] } @@ -344,9 +344,9 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ static public method sslSocket ] { - Parameters [5] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $socket ] - Parameter #2 [ $ctx ] + Parameter #2 [ EventSslContext $ctx ] Parameter #3 [ $state ] Parameter #4 [ $options ] } @@ -364,7 +364,7 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ public method __construct ] { - Parameters [6] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $socket ] Parameter #2 [ $options ] Parameter #3 [ $readcb ] @@ -746,7 +746,7 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ public method __construct ] { - Parameters [2] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $initialize ] } } @@ -829,11 +829,11 @@ Extension [ extension #213 event version 2.1.0 ] { Property [ public $fd ] } - - Methods [7] { + - Methods [8] { Method [ public method __construct ] { - Parameters [6] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $cb ] Parameter #2 [ $data ] Parameter #3 [ $flags ] @@ -842,6 +842,12 @@ Extension [ extension #213 event version 2.1.0 ] { } } + Method [ public method free ] { + + - Parameters [0] { + } + } + Method [ public method enable ] { - Parameters [0] { @@ -903,11 +909,11 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ public method __construct ] { - Parameters [5] { - Parameter #0 [ &$base ] + Parameter #0 [ EventBase $base ] Parameter #1 [ $dns_base ] Parameter #2 [ $address ] Parameter #3 [ $port ] - Parameter #4 [ $ctx ] + Parameter #4 [ EventSslContext $ctx ] } } @@ -1004,8 +1010,8 @@ Extension [ extension #213 event version 2.1.0 ] { Method [ public method __construct ] { - Parameters [2] { - Parameter #0 [ &$base ] - Parameter #1 [ $ctx ] + Parameter #0 [ EventBase $base ] + Parameter #1 [ EventSslContext $ctx ] } } @@ -1293,16 +1299,16 @@ Extension [ extension #213 event version 2.1.0 ] { Constant [ integer SOL_SOCKET ] { 1 } Constant [ integer SOL_TCP ] { 6 } Constant [ integer SOL_UDP ] { 17 } - Constant [ integer IPPROTO_IP ] { 0 } Constant [ integer SOCK_RAW ] { 3 } + Constant [ integer IPPROTO_IP ] { 0 } Constant [ integer IPPROTO_IPV6 ] { 41 } - Constant [ integer LIBEVENT_VERSION_NUMBER ] { 33559808 } + Constant [ integer LIBEVENT_VERSION_NUMBER ] { 33560064 } } - Static properties [0] { } - - Static methods [6] { + - Static methods [7] { Method [ static public method getLastSocketErrno ] { - Parameters [1] { @@ -1348,6 +1354,13 @@ Extension [ extension #213 event version 2.1.0 ] { Parameter #3 [ $optval ] } } + + Method [ static public method createSocket ] { + + - Parameters [1] { + Parameter #0 [ $fd ] + } + } } - Properties [0] { @@ -1361,12 +1374,10 @@ Extension [ extension #213 event version 2.1.0 ] { Class [ final class EventSslContext ] { - - Constants [29] { - Constant [ integer SSLv2_CLIENT_METHOD ] { 1 } + - Constants [27] { Constant [ integer SSLv3_CLIENT_METHOD ] { 2 } Constant [ integer SSLv23_CLIENT_METHOD ] { 3 } Constant [ integer TLS_CLIENT_METHOD ] { 4 } - Constant [ integer SSLv2_SERVER_METHOD ] { 5 } Constant [ integer SSLv3_SERVER_METHOD ] { 6 } Constant [ integer SSLv23_SERVER_METHOD ] { 7 } Constant [ integer TLS_SERVER_METHOD ] { 8 } diff --git a/php-pecl-event.spec b/php-pecl-event.spec index 73b5e65..3473134 100644 --- a/php-pecl-event.spec +++ b/php-pecl-event.spec @@ -34,8 +34,8 @@ Summary: Provides interface to libevent library Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 2.1.0 -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 2.2.1 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: http://pecl.php.net/package/event @@ -65,13 +65,13 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api} Requires: %{?scl_prefix}php-sockets%{?_isa} %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} -Provides: %{?scl_prefix}php-%{pecl_name} = %{version} -Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} -Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} +Provides: %{?scl_prefix}php-%{pecl_name} = %{version} +Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} +Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} %if "%{?scl_prefix}" != "%{?sub_prefix}" -Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} -Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} +Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} %endif %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} @@ -229,17 +229,21 @@ TEST_PHP_EXECUTABLE=%{__php} \ TEST_PHP_ARGS="-n $OPTS -d extension=$PWD/modules/%{pecl_name}.so" \ NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__php} -n run-tests.php +%{__php} -n run-tests.php --show-diff %if %{with_zts} cd ../ZTS +%if 0%{?rhel} == 6 +rm tests/27-event-util-create-socket.phpt +%endif + : Upstream test suite for ZTS extension SKIP_ONLINE_TESTS=1 \ TEST_PHP_EXECUTABLE=%{__ztsphp} \ TEST_PHP_ARGS="-n $OPTS -d extension=$PWD/modules/%{pecl_name}.so" \ NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ -%{__ztsphp} -n run-tests.php +%{__ztsphp} -n run-tests.php --show-diff %endif %endif @@ -284,6 +288,9 @@ rm -rf %{buildroot} %changelog +* Thu Nov 10 2016 Remi Collet - 2.2.1-1 +- Update to 2.2.1 (php 5 and 7, stable) + * Wed Sep 14 2016 Remi Collet - 2.1.0-2 - rebuild for PHP 7.1 new API version -- cgit