summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-04-23 10:15:49 +0200
committerRemi Collet <remi@remirepo.net>2018-04-23 10:15:49 +0200
commit35606a471018949cc0a130a0e39a0ec484d5d454 (patch)
tree52a7d7efd4ef0b39d5bf3aa2f5ebc67f227ccf04
parent892a56db77fc0c1b93f49fe15e54a78e2fc73fe2 (diff)
v2.4.0RC1
-rw-r--r--.gitignore9
-rw-r--r--REFLECTION405
-rw-r--r--package.xml1071
-rw-r--r--php-pecl-event.spec48
4 files changed, 312 insertions, 1221 deletions
diff --git a/.gitignore b/.gitignore
index 0597944..6f69818 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,9 @@
-event-*.tgz
+clog
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.bz2
+*.tar.xz
+*.tar.xz.asc
*.src.rpm
+*/*rpm
diff --git a/REFLECTION b/REFLECTION
index 9166b43..cf598a4 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,19 +1,23 @@
-Extension [ <persistent> extension #94 event version 2.3.0 ] {
+Extension [ <persistent> extension #196 event version 2.4.0RC1 ] {
- Dependencies {
Dependency [ sockets (Required) ]
}
- - Classes [12] {
+ - Constants [1] {
+ Constant [ string EVENT_NS ] { }
+ }
+
+ - Classes [13] {
Class [ <internal:event> final class Event ] {
- Constants [6] {
- Constant [ integer ET ] { 32 }
- Constant [ integer PERSIST ] { 16 }
- Constant [ integer READ ] { 2 }
- Constant [ integer WRITE ] { 4 }
- Constant [ integer SIGNAL ] { 8 }
- Constant [ integer TIMEOUT ] { 1 }
+ Constant [ public integer ET ] { 32 }
+ Constant [ public integer PERSIST ] { 16 }
+ Constant [ public integer READ ] { 2 }
+ Constant [ public integer WRITE ] { 4 }
+ Constant [ public integer SIGNAL ] { 8 }
+ Constant [ public integer TIMEOUT ] { 1 }
}
- Static properties [0] {
@@ -147,12 +151,12 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Class [ <internal:event> final class EventBase ] {
- Constants [6] {
- Constant [ integer LOOP_ONCE ] { 1 }
- Constant [ integer LOOP_NONBLOCK ] { 2 }
- Constant [ integer NOLOCK ] { 1 }
- Constant [ integer STARTUP_IOCP ] { 4 }
- Constant [ integer NO_CACHE_TIME ] { 8 }
- Constant [ integer EPOLL_USE_CHANGELIST ] { 16 }
+ Constant [ public integer LOOP_ONCE ] { 1 }
+ Constant [ public integer LOOP_NONBLOCK ] { 2 }
+ Constant [ public integer NOLOCK ] { 1 }
+ Constant [ public integer STARTUP_IOCP ] { 4 }
+ Constant [ public integer NO_CACHE_TIME ] { 8 }
+ Constant [ public integer EPOLL_USE_CHANGELIST ] { 16 }
}
- Static properties [0] {
@@ -164,7 +168,7 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
- Properties [0] {
}
- - Methods [13] {
+ - Methods [15] {
Method [ <internal:event, ctor> public method __construct ] {
- Parameters [1] {
@@ -172,6 +176,20 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
}
}
+ Method [ <internal:event> final public method __sleep ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $cfg ]
+ }
+ }
+
+ Method [ <internal:event> final public method __wakeup ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $cfg ]
+ }
+ }
+
Method [ <internal:event> public method getMethod ] {
- Parameters [1] {
@@ -253,9 +271,9 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Class [ <internal:event> final class EventConfig ] {
- Constants [3] {
- Constant [ integer FEATURE_ET ] { 1 }
- Constant [ integer FEATURE_O1 ] { 2 }
- Constant [ integer FEATURE_FDS ] { 4 }
+ Constant [ public integer FEATURE_ET ] { 1 }
+ Constant [ public integer FEATURE_O1 ] { 2 }
+ Constant [ public integer FEATURE_FDS ] { 4 }
}
- Static properties [0] {
@@ -267,13 +285,25 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
- Properties [0] {
}
- - Methods [3] {
+ - Methods [5] {
Method [ <internal:event, ctor> public method __construct ] {
- Parameters [0] {
}
}
+ Method [ <internal:event> final public method __sleep ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:event> final public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:event> public method avoidMethod ] {
- Parameters [1] {
@@ -293,19 +323,19 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Class [ <internal:event> final class EventBufferEvent ] {
- Constants [13] {
- Constant [ integer READING ] { 1 }
- Constant [ integer WRITING ] { 2 }
- Constant [ integer EOF ] { 16 }
- Constant [ integer ERROR ] { 32 }
- Constant [ integer TIMEOUT ] { 64 }
- Constant [ integer CONNECTED ] { 128 }
- Constant [ integer OPT_CLOSE_ON_FREE ] { 1 }
- Constant [ integer OPT_THREADSAFE ] { 2 }
- Constant [ integer OPT_DEFER_CALLBACKS ] { 4 }
- Constant [ integer OPT_UNLOCK_CALLBACKS ] { 8 }
- Constant [ integer SSL_OPEN ] { 0 }
- Constant [ integer SSL_CONNECTING ] { 1 }
- Constant [ integer SSL_ACCEPTING ] { 2 }
+ Constant [ public integer READING ] { 1 }
+ Constant [ public integer WRITING ] { 2 }
+ Constant [ public integer EOF ] { 16 }
+ Constant [ public integer ERROR ] { 32 }
+ Constant [ public integer TIMEOUT ] { 64 }
+ Constant [ public integer CONNECTED ] { 128 }
+ Constant [ public integer OPT_CLOSE_ON_FREE ] { 1 }
+ Constant [ public integer OPT_THREADSAFE ] { 2 }
+ Constant [ public integer OPT_DEFER_CALLBACKS ] { 4 }
+ Constant [ public integer OPT_UNLOCK_CALLBACKS ] { 8 }
+ Constant [ public integer SSL_OPEN ] { 0 }
+ Constant [ public integer SSL_CONNECTING ] { 1 }
+ Constant [ public integer SSL_ACCEPTING ] { 2 }
}
- Static properties [0] {
@@ -543,12 +573,12 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Class [ <internal:event> class EventBuffer ] {
- Constants [6] {
- Constant [ integer EOL_ANY ] { 0 }
- Constant [ integer EOL_CRLF ] { 1 }
- Constant [ integer EOL_CRLF_STRICT ] { 2 }
- Constant [ integer EOL_LF ] { 3 }
- Constant [ integer PTR_SET ] { 0 }
- Constant [ integer PTR_ADD ] { 1 }
+ Constant [ public integer EOL_ANY ] { 0 }
+ Constant [ public integer EOL_CRLF ] { 1 }
+ Constant [ public integer EOL_CRLF_STRICT ] { 2 }
+ Constant [ public integer EOL_LF ] { 3 }
+ Constant [ public integer PTR_SET ] { 0 }
+ Constant [ public integer PTR_ADD ] { 1 }
}
- Static properties [0] {
@@ -726,11 +756,11 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Class [ <internal:event> final class EventDnsBase ] {
- Constants [5] {
- Constant [ integer OPTION_SEARCH ] { 1 }
- Constant [ integer OPTION_NAMESERVERS ] { 2 }
- Constant [ integer OPTION_MISC ] { 4 }
- Constant [ integer OPTION_HOSTSFILE ] { 8 }
- Constant [ integer OPTIONS_ALL ] { 15 }
+ Constant [ public integer OPTION_SEARCH ] { 1 }
+ Constant [ public integer OPTION_NAMESERVERS ] { 2 }
+ Constant [ public integer OPTION_MISC ] { 4 }
+ Constant [ public integer OPTION_HOSTSFILE ] { 8 }
+ Constant [ public integer OPTIONS_ALL ] { 15 }
}
- Static properties [0] {
@@ -812,11 +842,11 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Class [ <internal:event> final class EventListener ] {
- Constants [5] {
- Constant [ integer OPT_LEAVE_SOCKETS_BLOCKING ] { 1 }
- Constant [ integer OPT_CLOSE_ON_FREE ] { 2 }
- Constant [ integer OPT_CLOSE_ON_EXEC ] { 4 }
- Constant [ integer OPT_REUSEABLE ] { 8 }
- Constant [ integer OPT_THREADSAFE ] { 16 }
+ Constant [ public integer OPT_LEAVE_SOCKETS_BLOCKING ] { 1 }
+ Constant [ public integer OPT_CLOSE_ON_FREE ] { 2 }
+ Constant [ public integer OPT_CLOSE_ON_EXEC ] { 4 }
+ Constant [ public integer OPT_REUSEABLE ] { 8 }
+ Constant [ public integer OPT_THREADSAFE ] { 16 }
}
- Static properties [0] {
@@ -829,7 +859,7 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Property [ <default> public $fd ]
}
- - Methods [8] {
+ - Methods [10] {
Method [ <internal:event, ctor> public method __construct ] {
- Parameters [6] {
@@ -842,6 +872,18 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
}
}
+ Method [ <internal:event> final public method __sleep ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:event> final public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:event> public method free ] {
- Parameters [0] {
@@ -905,7 +947,7 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
- Properties [0] {
}
- - Methods [11] {
+ - Methods [13] {
Method [ <internal:event, ctor> public method __construct ] {
- Parameters [5] {
@@ -917,6 +959,18 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
}
}
+ Method [ <internal:event> final public method __sleep ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:event> final public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:event> public method getBase ] {
- Parameters [0] {
@@ -1006,7 +1060,7 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
- Properties [0] {
}
- - Methods [11] {
+ - Methods [13] {
Method [ <internal:event, ctor> public method __construct ] {
- Parameters [2] {
@@ -1015,6 +1069,18 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
}
}
+ Method [ <internal:event> final public method __sleep ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:event> final public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:event> public method accept ] {
- Parameters [1] {
@@ -1094,17 +1160,17 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Class [ <internal:event> final class EventHttpRequest ] {
- Constants [11] {
- Constant [ integer CMD_GET ] { 1 }
- Constant [ integer CMD_POST ] { 2 }
- Constant [ integer CMD_HEAD ] { 4 }
- Constant [ integer CMD_PUT ] { 8 }
- Constant [ integer CMD_DELETE ] { 16 }
- Constant [ integer CMD_OPTIONS ] { 32 }
- Constant [ integer CMD_TRACE ] { 64 }
- Constant [ integer CMD_CONNECT ] { 128 }
- Constant [ integer CMD_PATCH ] { 256 }
- Constant [ integer INPUT_HEADER ] { 1 }
- Constant [ integer OUTPUT_HEADER ] { 2 }
+ Constant [ public integer CMD_GET ] { 1 }
+ Constant [ public integer CMD_POST ] { 2 }
+ Constant [ public integer CMD_HEAD ] { 4 }
+ Constant [ public integer CMD_PUT ] { 8 }
+ Constant [ public integer CMD_DELETE ] { 16 }
+ Constant [ public integer CMD_OPTIONS ] { 32 }
+ Constant [ public integer CMD_TRACE ] { 64 }
+ Constant [ public integer CMD_CONNECT ] { 128 }
+ Constant [ public integer CMD_PATCH ] { 256 }
+ Constant [ public integer INPUT_HEADER ] { 1 }
+ Constant [ public integer OUTPUT_HEADER ] { 2 }
}
- Static properties [0] {
@@ -1116,7 +1182,7 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
- Properties [0] {
}
- - Methods [23] {
+ - Methods [25] {
Method [ <internal:event, ctor> public method __construct ] {
- Parameters [2] {
@@ -1125,6 +1191,19 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
}
}
+ Method [ <internal:event> final public method __sleep ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:event> final public method __wakeup ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $cfg ]
+ }
+ }
+
Method [ <internal:event> public method free ] {
- Parameters [0] {
@@ -1274,35 +1353,36 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
}
}
- Class [ <internal:event> abstract final class EventUtil ] {
-
- - Constants [26] {
- Constant [ integer AF_INET ] { 2 }
- Constant [ integer AF_INET6 ] { 10 }
- Constant [ integer AF_UNIX ] { 1 }
- Constant [ integer AF_UNSPEC ] { 0 }
- Constant [ integer SO_DEBUG ] { 1 }
- Constant [ integer SO_REUSEADDR ] { 2 }
- Constant [ integer SO_KEEPALIVE ] { 9 }
- Constant [ integer SO_DONTROUTE ] { 5 }
- Constant [ integer SO_LINGER ] { 13 }
- Constant [ integer SO_BROADCAST ] { 6 }
- Constant [ integer SO_OOBINLINE ] { 10 }
- Constant [ integer SO_SNDBUF ] { 7 }
- Constant [ integer SO_RCVBUF ] { 8 }
- Constant [ integer SO_SNDLOWAT ] { 19 }
- Constant [ integer SO_RCVLOWAT ] { 18 }
- Constant [ integer SO_SNDTIMEO ] { 21 }
- Constant [ integer SO_RCVTIMEO ] { 20 }
- Constant [ integer SO_TYPE ] { 3 }
- Constant [ integer SO_ERROR ] { 4 }
- Constant [ integer SOL_SOCKET ] { 1 }
- Constant [ integer SOL_TCP ] { 6 }
- Constant [ integer SOL_UDP ] { 17 }
- Constant [ integer SOCK_RAW ] { 3 }
- Constant [ integer IPPROTO_IP ] { 0 }
- Constant [ integer IPPROTO_IPV6 ] { 41 }
- Constant [ integer LIBEVENT_VERSION_NUMBER ] { 33560064 }
+ Class [ <internal:event> final class EventUtil ] {
+
+ - Constants [27] {
+ Constant [ public integer AF_INET ] { 2 }
+ Constant [ public integer AF_INET6 ] { 10 }
+ Constant [ public integer AF_UNIX ] { 1 }
+ Constant [ public integer AF_UNSPEC ] { 0 }
+ Constant [ public integer SO_DEBUG ] { 1 }
+ Constant [ public integer SO_REUSEADDR ] { 2 }
+ Constant [ public integer SO_KEEPALIVE ] { 9 }
+ Constant [ public integer SO_DONTROUTE ] { 5 }
+ Constant [ public integer SO_LINGER ] { 13 }
+ Constant [ public integer SO_BROADCAST ] { 6 }
+ Constant [ public integer SO_OOBINLINE ] { 10 }
+ Constant [ public integer SO_SNDBUF ] { 7 }
+ Constant [ public integer SO_RCVBUF ] { 8 }
+ Constant [ public integer SO_SNDLOWAT ] { 19 }
+ Constant [ public integer SO_RCVLOWAT ] { 18 }
+ Constant [ public integer SO_SNDTIMEO ] { 21 }
+ Constant [ public integer SO_RCVTIMEO ] { 20 }
+ Constant [ public integer SO_TYPE ] { 3 }
+ Constant [ public integer SO_ERROR ] { 4 }
+ Constant [ public integer TCP_NODELAY ] { 1 }
+ Constant [ public integer SOL_SOCKET ] { 1 }
+ Constant [ public integer SOL_TCP ] { 6 }
+ Constant [ public integer SOL_UDP ] { 17 }
+ Constant [ public integer SOCK_RAW ] { 3 }
+ Constant [ public integer IPPROTO_IP ] { 0 }
+ Constant [ public integer IPPROTO_IPV6 ] { 41 }
+ Constant [ public integer LIBEVENT_VERSION_NUMBER ] { 33560064 }
}
- Static properties [0] {
@@ -1367,41 +1447,50 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
}
- Methods [1] {
- Method [ <internal:event, ctor> abstract public method __construct ] {
+ Method [ <internal:event, ctor> private method __construct ] {
+
+ - Parameters [0] {
+ }
}
}
}
Class [ <internal:event> final class EventSslContext ] {
- - Constants [27] {
- Constant [ integer SSLv3_CLIENT_METHOD ] { 2 }
- Constant [ integer SSLv3_SERVER_METHOD ] { 6 }
- Constant [ integer TLS_CLIENT_METHOD ] { 4 }
- Constant [ integer TLS_SERVER_METHOD ] { 8 }
- Constant [ integer TLSv11_CLIENT_METHOD ] { 9 }
- Constant [ integer TLSv11_SERVER_METHOD ] { 10 }
- Constant [ integer TLSv12_CLIENT_METHOD ] { 11 }
- Constant [ integer TLSv12_SERVER_METHOD ] { 12 }
- Constant [ integer OPT_LOCAL_CERT ] { 1 }
- Constant [ integer OPT_LOCAL_PK ] { 2 }
- Constant [ integer OPT_PASSPHRASE ] { 3 }
- Constant [ integer OPT_CA_FILE ] { 4 }
- Constant [ integer OPT_CA_PATH ] { 5 }
- Constant [ integer OPT_ALLOW_SELF_SIGNED ] { 6 }
- Constant [ integer OPT_VERIFY_PEER ] { 7 }
- Constant [ integer OPT_VERIFY_DEPTH ] { 8 }
- Constant [ integer OPT_CIPHERS ] { 9 }
- Constant [ integer OPT_NO_SSLv2 ] { 10 }
- Constant [ integer OPT_NO_SSLv3 ] { 11 }
- Constant [ integer OPT_NO_TLSv1 ] { 12 }
- Constant [ integer OPT_NO_TLSv1_1 ] { 13 }
- Constant [ integer OPT_NO_TLSv1_2 ] { 14 }
- Constant [ integer OPT_CIPHER_SERVER_PREFERENCE ] { 15 }
- Constant [ integer OPT_REQUIRE_CLIENT_CERT ] { 16 }
- Constant [ integer OPT_VERIFY_CLIENT_ONCE ] { 17 }
- Constant [ string OPENSSL_VERSION_TEXT ] { OpenSSL 1.0.2k-fips 26 Jan 2017 }
- Constant [ integer OPENSSL_VERSION_NUMBER ] { 268443839 }
+ - Constants [33] {
+ Constant [ public integer SSLv3_CLIENT_METHOD ] { 2 }
+ Constant [ public integer SSLv3_SERVER_METHOD ] { 6 }
+ Constant [ public integer TLS_CLIENT_METHOD ] { 4 }
+ Constant [ public integer TLS_SERVER_METHOD ] { 8 }
+ Constant [ public integer TLSv11_CLIENT_METHOD ] { 9 }
+ Constant [ public integer TLSv11_SERVER_METHOD ] { 10 }
+ Constant [ public integer TLSv12_CLIENT_METHOD ] { 11 }
+ Constant [ public integer TLSv12_SERVER_METHOD ] { 12 }
+ Constant [ public integer OPT_LOCAL_CERT ] { 1 }
+ Constant [ public integer OPT_LOCAL_PK ] { 2 }
+ Constant [ public integer OPT_PASSPHRASE ] { 3 }
+ Constant [ public integer OPT_CA_FILE ] { 4 }
+ Constant [ public integer OPT_CA_PATH ] { 5 }
+ Constant [ public integer OPT_ALLOW_SELF_SIGNED ] { 6 }
+ Constant [ public integer OPT_VERIFY_PEER ] { 7 }
+ Constant [ public integer OPT_VERIFY_DEPTH ] { 8 }
+ Constant [ public integer OPT_CIPHERS ] { 9 }
+ Constant [ public integer OPT_NO_SSLv2 ] { 10 }
+ Constant [ public integer OPT_NO_SSLv3 ] { 11 }
+ Constant [ public integer OPT_NO_TLSv1 ] { 12 }
+ Constant [ public integer OPT_NO_TLSv1_1 ] { 13 }
+ Constant [ public integer OPT_NO_TLSv1_2 ] { 14 }
+ Constant [ public integer OPT_CIPHER_SERVER_PREFERENCE ] { 15 }
+ Constant [ public integer OPT_REQUIRE_CLIENT_CERT ] { 16 }
+ Constant [ public integer OPT_VERIFY_CLIENT_ONCE ] { 17 }
+ Constant [ public string OPENSSL_VERSION_TEXT ] { OpenSSL 1.1.0h-fips 27 Mar 2018 }
+ Constant [ public integer OPENSSL_VERSION_NUMBER ] { 269484175 }
+ Constant [ public integer SSL3_VERSION ] { 768 }
+ Constant [ public integer TLS1_VERSION ] { 769 }
+ Constant [ public integer TLS1_1_VERSION ] { 770 }
+ Constant [ public integer TLS1_2_VERSION ] { 771 }
+ Constant [ public integer DTLS1_VERSION ] { 65279 }
+ Constant [ public integer DTLS1_2_VERSION ] { 65277 }
}
- Static properties [0] {
@@ -1415,7 +1504,7 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Property [ <default> public $local_pk ]
}
- - Methods [1] {
+ - Methods [3] {
Method [ <internal:event, ctor> public method __construct ] {
- Parameters [2] {
@@ -1423,6 +1512,78 @@ Extension [ <persistent> extension #94 event version 2.3.0 ] {
Parameter #1 [ <required> $options ]
}
}
+
+ Method [ <internal:event> public method setMinProtoVersion ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $proto ]
+ }
+ }
+
+ Method [ <internal:event> public method setMaxProtoVersion ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $proto ]
+ }
+ }
+ }
+ }
+
+ Class [ <internal:event> class EventException extends RuntimeException implements Throwable ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [5] {
+ Property [ <default> protected $message ]
+ Property [ <default> protected $code ]
+ Property [ <default> protected $file ]
+ Property [ <default> protected $line ]
+ Property [ <default> public $errorInfo ]
+ }
+
+ - Methods [10] {
+ Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <optional> $message ]
+ Parameter #1 [ <optional> $code ]
+ Parameter #2 [ <optional> $previous ]
+ }
+ }
+
+ Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+ }
+
+ Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ }
}
}
}
diff --git a/package.xml b/package.xml
deleted file mode 100644
index c87c63a..0000000
--- a/package.xml
+++ /dev/null
@@ -1,1071 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<package packagerversion="1.10.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
- <name>event</name>
- <channel>pecl.php.net</channel>
- <summary>Provides interface to libevent library</summary>
- <description>This is an extension to efficiently schedule I/O, time and signal based
- events using the best I/O notification mechanism available for specific platform.
- This is a port of libevent to the PHP infrastructure.
-
- Version 1.0.0 introduces:
- * new OO API breaking backwards compatibility
- * support of libevent 2+ including HTTP, DNS, OpenSSL and the event listener.
-
- Note, event-1.0.0 and greater is not compatible with previous versions.</description>
- <lead>
- <name>Ruslan Osmanov</name>
- <user>osmanov</user>
- <email>osmanov@php.net</email>
- <active>yes</active>
- </lead>
- <developer>
- <name>Anatol Belski</name>
- <user>ab</user>
- <email>ab@php.net</email>
- <active>yes</active>
- </developer>
- <contributor>
- <name>Remi Collet</name>
- <user>remi</user>
- <email>remi@php.net</email>
- <active>yes</active>
- </contributor>
- <date>2017-03-26</date>
- <time>09:22:54</time>
- <version>
- <release>2.3.0</release>
- <api>2.3.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fixed build errors with LibreSSL
- </notes>
- <contents>
- <dir name="/">
- <file md5sum="2919a42387ccad471ed53157ef7d8d99" name="php5/classes/base.c" role="src" />
- <file md5sum="8a9bcca7b5e98a7dd61116e3621a7326" name="php5/classes/buffer.c" role="src" />
- <file md5sum="a204dd3d9dec69843cf8515e61725fd4" name="php5/classes/buffer_event.c" role="src" />
- <file md5sum="d926a25cc4d11af1bb2ddaed3873506c" name="php5/classes/dns.c" role="src" />
- <file md5sum="71a6d0b5782b09026d44742f8499bbab" name="php5/classes/event.c" role="src" />
- <file md5sum="fb243fe360d0994c03be04f94e0c65de" name="php5/classes/event_config.c" role="src" />
- <file md5sum="06a364c6fbdccc5254f2bdc74a4f9ab3" name="php5/classes/event_util.c" role="src" />
- <file md5sum="5c0dd5ba57b971c10d446b47bbf69720" name="php5/classes/http.c" role="src" />
- <file md5sum="37db9e9944e3cbb47844bfae1ce745a7" name="php5/classes/http.h" role="src" />
- <file md5sum="ac45f8ee5f37af4136769c30f48bd600" name="php5/classes/http_connection.c" role="src" />
- <file md5sum="395ac3de9421757729926b6ec6d0f7d3" name="php5/classes/http_request.c" role="src" />
- <file md5sum="02c98d91aec3fbfeab9cb7d5040d9270" name="php5/classes/listener.c" role="src" />
- <file md5sum="3e79405a0810bde1db0363184e9cce46" name="php5/classes/ssl_context.h" role="src" />
- <file md5sum="e8491642a5df5ea1ac87ac31a7c0f90b" name="php5/classes/ssl_context.c" role="src" />
- <file md5sum="00ebe5c2b557ba870aa37eebe70d998e" name="php5/src/common.h" role="src" />
- <file md5sum="10d39cdedf18fee5f10ee3758232a69b" name="php5/src/fe.c" role="src" />
- <file md5sum="ace58245cb2d2f2981fad6991ccd555b" name="php5/src/fe.h" role="src" />
- <file md5sum="b037a0b8ec1afedfda3a6e900acc6554" name="php5/src/pe.c" role="src" />
- <file md5sum="bfc99b4f116e6b00541bb4aea2401cc4" name="php5/src/priv.h" role="src" />
- <file md5sum="334894c9de1c465783dbfed2aeab89e4" name="php5/src/structs.h" role="src" />
- <file md5sum="33cbd8869b955a59ebd3ef166b48a5f7" name="php5/src/util.c" role="src" />
- <file md5sum="b199fb85e130cf88f4e6a7cd425737a8" name="php5/src/util.h" role="src" />
- <file md5sum="6152af4ebd8fe8cd87faa4289172e043" name="php5/php_event.c" role="src" />
- <file md5sum="4cd2adc249da62b829aa870a5dec668c" name="php5/php_event.h" role="src" />
- <file md5sum="9c378e8d19ac407040572fa70f4265df" name="php7/classes/base.c" role="src" />
- <file md5sum="808d5c7593d15902abe4a18ce482377d" name="php7/classes/buffer.c" role="src" />
- <file md5sum="1a15fe869861d6e4108f6def244553a3" name="php7/classes/buffer_event.c" role="src" />
- <file md5sum="679ee1cf2027944aea5a7633276ec76c" name="php7/classes/dns.c" role="src" />
- <file md5sum="df19600b7f44767563c42a0499c0731c" name="php7/classes/event.c" role="src" />
- <file md5sum="e7fb91cd9a53dfac67df35952d20f5f5" name="php7/classes/event_config.c" role="src" />
- <file md5sum="62ebf4db0573d904d08a4375efbd4dc7" name="php7/classes/event_util.c" role="src" />
- <file md5sum="f30f189b7b20d5fbde41e2e8d4661ff8" name="php7/classes/http.c" role="src" />
- <file md5sum="ed47fb7593dde9e5b692ff59b82fbb64" name="php7/classes/http.h" role="src" />
- <file md5sum="8821781849521421b6784e6809e50cd7" name="php7/classes/http_connection.c" role="src" />
- <file md5sum="219046cdb42b4a67691fb6c0b6c834be" name="php7/classes/http_request.c" role="src" />
- <file md5sum="b289fb32fb4f28003697b2d44f745653" name="php7/classes/listener.c" role="src" />
- <file md5sum="f6b081b8595f561a1ba60f3fdc50d09c" name="php7/classes/ssl_context.h" role="src" />
- <file md5sum="30917ae54dd904e646085dc56b27088d" name="php7/classes/ssl_context.c" role="src" />
- <file md5sum="01344b2ccb172afa7632c92a604dbbac" name="php7/src/common.h" role="src" />
- <file md5sum="73805bf1539e4a3d04d4a420d9dcb7dc" name="php7/src/fe.c" role="src" />
- <file md5sum="f604544e0b37fc1564a81b5e6ebfe0eb" name="php7/src/fe.h" role="src" />
- <file md5sum="cf3ef6a20c49e36c275ec8a8151024dd" name="php7/src/pe.c" role="src" />
- <file md5sum="e2dd890db9e06338cf79bba8e076403b" name="php7/src/priv.h" role="src" />
- <file md5sum="beed26c9b83d303ce421b16de2992537" name="php7/src/structs.h" role="src" />
- <file md5sum="16b51c4f59f419bb744bddf27daf9f11" name="php7/src/util.c" role="src" />
- <file md5sum="27f6ce800f1a1f247fd5880ad563d653" name="php7/src/util.h" role="src" />
- <file md5sum="3706a9b3bec934de06f07075e94b243f" name="php7/php_event.c" role="src" />
- <file md5sum="1dfa5dd91b4e30b1f060dbb2e68a9e02" name="php7/php_event.h" role="src" />
- <file md5sum="79909a9fe09676375b7890cf98801587" name="examples/ssl-echo-server/server.php" role="doc" />
- <file md5sum="a435ef897853e95d98eeeed1174c6972" name="examples/ssl-echo-server/client.php" role="doc" />
- <file md5sum="b520d8a3880aeb7c5087b478a4a7e8b7" name="examples/buffer_proxy.php" role="doc" />
- <file md5sum="e4c1e151fe9c4538abe37b9c89ae6208" name="examples/eio.php" role="doc" />
- <file md5sum="19447737e3359eebb4ad069974a70420" name="examples/fibonacci_buffer.php" role="doc" />
- <file md5sum="18e35fa593fe45b1e7a0175403f3f52b" name="examples/http.php" role="doc" />
- <file md5sum="8633ab8d69021bbbb409ea4fb8c6305e" name="examples/http_accept.php" role="doc" />
- <file md5sum="b48d2aac980ca9dadfd2c2b26836fa0e" name="examples/http_alias.php" role="doc" />
- <file md5sum="b1b12a51cfd6a08e57139aa2fdd2baee" name="examples/http_bind.php" role="doc" />
- <file md5sum="ab3ea54cc84562bc85bbce584c38ba9b" name="examples/http_closecb.php" role="doc" />
- <file md5sum="49ee512cef5ccd31f4c9f5ee0eec4f47" name="examples/http_request.php" role="doc" />
- <file md5sum="606a387e7fceb4e4032bca1f7ea0e50b" name="examples/httpv0client.php" role="doc" />
- <file md5sum="aa03d89c32c57f2620d9dcd9cef485e0" name="examples/httpv0client2.php" role="doc" />
- <file md5sum="2e1201889826e9a64658d83671b3d80b" name="examples/https.php" role="doc" />
- <file md5sum="00567210e63aec6e7bdd202905c6cc37" name="examples/listener.php" role="doc" />
- <file md5sum="00571702944b382cdf947b75fd13c37d" name="examples/misc.php" role="doc" />
- <file md5sum="64de83aea3d0bc48fa3aac7e804f18b5" name="examples/signal.php" role="doc" />
- <file md5sum="9c1154f9fcd429355e28530a5ca4fcc8" name="examples/sslfilter.php" role="doc" />
- <file md5sum="0f36ed84ae1aa72da2fff32f93d4b1e0" name="examples/ssl-connection.php" role="doc" />
- <file md5sum="62e8a329dd46d27fbceef03db8c831a2" name="examples/timer.php" role="doc" />
- <file md5sum="097555adaa59f1cf9beba6b2f3539c8a" name="examples/uppercase_proxy.php" role="doc" />
- <file md5sum="55908c601e52fbd6757972830518768f" name="tests/01-load.phpt" role="test" />
- <file md5sum="63ad957831746ad68761c9c00da69a5b" name="tests/02-features.phpt" role="test" />
- <file md5sum="ccb994290b4465533adb11b09e8cefb4" name="tests/03-event-del.phpt" role="test" />
- <file md5sum="67aa54abd3a795f6e3bb14aad72425eb" name="tests/04-bevent-socket.phpt" role="test" />
- <file md5sum="5291aba0d473cee9a3eb7eee462cce73" name="tests/05-buffer-pos.phpt" role="test" />
- <file md5sum="8ae3fc538a7a5fd758411f91e2924fee" name="tests/06-timer.phpt" role="test" />
- <file md5sum="5bd624f0b5a8f40af16ef738a2bb598f" name="tests/07-listener-error-win32.phpt" role="test" />
- <file md5sum="da9e1e2d4c81f6a4a4c6050290a05bee" name="tests/07-listener-error.phpt" role="test" />
- <file md5sum="a3eed4099c699fe517f009c47de14795" name="tests/08-buffer.phpt" role="test" />
- <file md5sum="293bf81db2a026188de202325ee1b2e8" name="tests/09-gc-cycles.phpt" role="test" />
- <file md5sum="996e9aa00aaea434bbb34592a19bf6c6" name="tests/10-event-data-dtor.phpt" role="test" />
- <file md5sum="89a163f9a2aa056b926a0289a88c1425" name="tests/11-gc-cycles.phpt" role="test" />
- <file md5sum="4f7ffa0821f5f9a586d76bb005bc5cd2" name="tests/12-serialization.phpt" role="test" />
- <file md5sum="11d55bc08c39f3f78e5d79277895514a" name="tests/13-bevent-pair.phpt" role="test" />
- <file md5sum="d2edca5a1aef9d27500f654d81e21c4c" name="tests/14-php5-httpconn-error.phpt" role="test" />
- <file md5sum="6ee2b1beeb424083b4727b8256c57b33" name="tests/15-php5-dnsbase-error.phpt" role="test" />
- <file md5sum="03ea0423e34fa856887fb98c4c7f0888" name="tests/16-php5-http-error.phpt" role="test" />
- <file md5sum="cf5051d1a97074cff67e96a6268b894b" name="tests/17-event-settimer-error.phpt" role="test" />
- <file md5sum="2beebbbd9b3f8e25e132e6cf026c9454" name="tests/18-timer-error.phpt" role="test" />
- <file md5sum="76a8f569fe0369761508b14844d8c4a8" name="tests/19-event-signal-error.phpt" role="test" />
- <file md5sum="36915e8a1f733d13a8d0477cd0ee315e" name="tests/20-bevent-error.phpt" role="test" />
- <file md5sum="daef32e9ee1e75c50943c396ba953863" name="tests/21-bevent-sslfilter.phpt" role="test" />
- <file md5sum="e60fbb5bebae4a504c07ba6c9b1bbd4c" name="tests/21-bevent-sslsocket.phpt" role="test" />
- <file md5sum="0fa3f22de3a27d1b2e1743dfb05dc723" name="tests/22-php5-bevent-pair-error.phpt" role="test" />
- <file md5sum="1558e2e7accb7dc7ffe3420a37dfcebd" name="tests/23-php5-listener-error.phpt" role="test" />
- <file md5sum="46b177e670da5b554c6866ef83782fea" name="tests/24-php5-bevent-sslfilter-error.phpt" role="test" />
- <file md5sum="1d27127e9aea7a93610a65adfdf066db" name="tests/25-php5-bevent-sslsocket-error.phpt" role="test" />
- <file md5sum="bc73931c26623acdf35969816f59ed36" name="tests/26-http-debug-info.phpt" role="test" />
- <file md5sum="94a37b4b0201fcf2969e5aa40802e414" name="tests/27-event-util-create-socket.phpt" role="test" />
- <file md5sum="aa8205ee927e3bd5f382569044cc7f49" name="tests/28-bevent-ssl.phpt" role="test" />
- <file md5sum="eb0b55f2f08649afe9b64503b083ad19" name="tests/28-bevent-ssl1.1.0.phpt" role="test" />
- <file md5sum="dffc1753b2f552d87f04f99f81a6c91c" name="tests/29-buffer-pullup.phpt" role="test" />
- <file md5sum="de43b20d4afd378d5fd00e4bd6ac07c4" name="tests/30-listener-free.phpt" role="test" />
- <file md5sum="6b88069440828c69ec79b12d2b18013d" name="CREDITS" role="doc" />
- <file md5sum="c9452b7b4c9308c73d8c3bc39f43561e" name="INSTALL.md" role="doc" />
- <file md5sum="b602636d46a61c0ac0432bbf5c078fe4" name="LICENSE" role="doc" />
- <file md5sum="c6db377bc05f5bac1500d9c800e4b200" name="README.md" role="doc" />
- <file md5sum="349f4b2e20076251782d7a108dbdf287" name="config.m4" role="src" />
- <file md5sum="1cc305a4ce5102d74f4d68b0d9d88148" name="config.w32" role="src" />
- </dir>
- </contents>
- <dependencies>
- <required>
- <php>
- <min>5.4.0</min>
- </php>
- <pearinstaller>
- <min>1.4.0a1</min>
- </pearinstaller>
- <package>
- <name>libevent</name>
- <channel>pecl.php.net</channel>
- <min>0.0.2</min>
- <conflicts />
- <providesextension>libevent</providesextension>
- </package>
- <extension>
- <name>libevent</name>
- <conflicts />
- </extension>
- </required>
- </dependencies>
- <providesextension>event</providesextension>
- <extsrcrelease>
- <configureoption default="no" name="enable-event-debug" prompt="Enable internal debugging in Event" />
- <configureoption default="yes" name="enable-event-sockets" prompt="Enable sockets support in Event" />
- <configureoption default="/usr" name="with-event-libevent-dir" prompt="libevent installation prefix" />
- <configureoption default="no" name="with-event-pthreads" prompt="Include libevent&apos;s pthreads library and enable thread safety support in Event" />
- <configureoption default="yes" name="with-event-extra" prompt="Include libevent protocol-specific functionality support including HTTP, DNS, and RPC" />
- <configureoption default="yes" name="with-event-openssl" prompt="Include libevent OpenSSL support" />
- <configureoption default="no" name="with-openssl-dir" prompt="openssl installation prefix" />
- </extsrcrelease>
- <changelog>
- <release>
- <version>
- <release>2.3.0</release>
- <api>2.3.0</api>
- </version>
- <stability>
- <release>beta</release>
- <api>beta</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fixed build errors with LibreSSL
- </notes>
- </release>
- <release>
- <version>
- <release>2.3.0RC1</release>
- <api>2.3.0RC1</api>
- </version>
- <stability>
- <release>beta</release>
- <api>beta</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Add: EventSslContext methods: setMinProtoVersion and setMaxProtoVersion for OpenSSL &gt;= 1.1.0.
-Add: EventSslContext constants: OPENSSL_VERSION_NUMBER and OPENSSL_VERSION_TEXT.
-Fix: compilation warnings regarding OpenSSL features deprecated in version 1.0.0 and newer.
-Deprecated: EventSslContext protocol version options are deprecated for OpenSSL &gt;= 1.1.0.
- Use the new setMinProtoVersion and setMaxProtoVersion methods instead.
-Fix: build failed with custom openssl setup (non-standard --with-openssl-dir)
- </notes>
- </release>
- <release>
- <version>
- <release>2.2.1</release>
- <api>2.2.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: issue #31 where numeric file descriptor caused segmentation fault
- </notes>
- </release>
- <release>
- <version>
- <release>2.2.0</release>
- <api>2.2.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Add: EventUtil::createSocket method(PHP5)
-Add: EventListener::free method
-Fix: issue #30 where building without SSL3 failed
-Fix: the class property names were wrapped in double quotes
- </notes>
- </release>
- <release>
- <version>
- <release>2.1.0</release>
- <api>2.1.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Add: EventUtil::SOCK_RAW constant
-Add: EventSslContext option constants: OPT_REQUIRE_CLIENT_CERT and OPT_VERIFY_CLIENT_ONCE
-Fix: EventBufferEvent::createPair caused segmentation fault in PHP7
-SSL Fixes:
-- chained self-signed certificate failed to pass with EventSslContext::OPT_ALLOW_SELF_SIGNED = TRUE
-- the server didn&apos;t set the list of CAs to be sent to the client when requesting a client certificate for underlying SSL structure
-- EventSslContext::OPT_ALLOW_SELF_SIGNED = TRUE accepted any self-signed certificate without regard to OPT_CA_FILE/OPT_CA_PATH
-Fix: PHP 7.1.0alpha1 build errors
- </notes>
- </release>
- <release>
- <version>
- <release>2.0.4</release>
- <api>2.0.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Issue #28: event-2.0.3 Windows build fails
- </notes>
- </release>
- <release>
- <version>
- <release>2.0.3</release>
- <api>2.0.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Issue #27: PHP &gt; 7.0.6RC1 build fails
- </notes>
- </release>
- <release>
- <version>
- <release>2.0.2</release>
- <api>2.0.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-PHP7: fixed random EDOM errors in EventUtil::setSocketOption
- </notes>
- </release>
- <release>
- <version>
- <release>2.0.1</release>
- <api>2.0.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-PHP7: Protected user callbacks from destruction within libevent callbacks
- </notes>
- </release>
- <release>
- <version>
- <release>2.0.0</release>
- <api>2.0.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fixed some memory issues in PHP7
-- SSL leaks
-- Possibility of implicit destruction of user vars
-- Unclean SSL bufferevent shutdown
-- EventBufferEvent::free() within a callback damaged zvals bound to corresponding bufferevent thereby causing SEGFAULT
-
-Fixed PHP5/PHP7 memory issue: string returned by EventBuffer::pullup() was not zero-terminated
- </notes>
- </release>
- <release>
- <version>
- <release>2.0.0RC2</release>
- <api>2.0.0</api>
- </version>
- <stability>
- <release>beta</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fixed Mac OS X build errors
- </notes>
- </release>
- <release>
- <version>
- <release>2.0.0RC1</release>
- <api>2.0.0</api>
- </version>
- <stability>
- <release>beta</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-PHP7 support added.
-
-Fixes:
- - issue #23: memory leak in EventHttpConnection close callback + memory leaks in HTTP callbacks.
- - Libevent &apos;unrecoverable&apos; fatal errors(fixed by stopping the loop in EventBase free-storage handler).
-
-API changes:
- - EventUtil::createSocket method added(PHP7)
- - removed the first(EventBase) argument of EventBufferEvent::sslFilter method, since the internal EventBase object must match EventBase object within the underlying EventBufferEvent
- </notes>
- </release>
- <release>
- <version>
- <release>1.11.3</release>
- <api>1.10.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Issue #20: SSL_GET_PREV_SESSION:session id context uninitialized
- </notes>
- </release>
- <release>
- <version>
- <release>1.11.2</release>
- <api>1.10.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Issue #6: memory leaks in EventHttp callbacks
-EventBufferEvent object returned by EventHttpRequest::getBufferEvent() should be freed explicitly,
-if the method is called from a userspace callback.
- </notes>
- </release>
- <release>
- <version>
- <release>1.11.1</release>
- <api>1.10.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fixed build with old openssl (RHEL-5) (thanks to Remi Collet)
- </notes>
- </release>
- <release>
- <version>
- <release>1.11.0</release>
- <api>1.10.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: exceptions thrown from EventHttp and EventBufferEvent userspace callbacks were not passed through back to user.
-Now the event loop will break and re-throw the exception.
-Add: EventBase::free method
-Add: EventBufferEvent methods:
- - close
- - sslGetCipherInfo
- - sslGetCipherName
- - sslGetCipherVersion
- - sslGetProtocol
-Add: EventSslContext options:
- - OPT_NO_SSLv2
- - OPT_NO_SSLv3
- - OPT_NO_TLSv1
- - OPT_NO_TLSv1_1
- - OPT_NO_TLSv1_2
- - OPT_CIPHER_SERVER_PREFERENCE
- - TLSv11_CLIENT_METHOD
- - TLSv11_SERVER_METHOD
- - TLSv12_CLIENT_METHOD
- - TLSv12_SERVER_METHOD
-(Thanks to Mathieu CARBONNEAUX @ bitbucket.org)
-Issue #13: EventBufferEvent::__construct failed to accept a persistent
-socket client(STREAM_CLIENT_PERSISTENT)
- </notes>
- </release>
- <release>
- <version>
- <release>1.10.4</release>
- <api>1.9.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: exceptions thrown from EventHttp and EventBufferEvent userspace callbacks were not passed through back to user.
-Now the event loop will break and re-throw the exception.
- </notes>
- </release>
- <release>
- <version>
- <release>1.10.3</release>
- <api>1.9.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Issue #8: pecl install failed due to the REST API issues with Unicode
- </notes>
- </release>
- <release>
- <version>
- <release>1.10.2</release>
- <api>1.9.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: EventBufferEvent::read() accepted negative values
-Fix: TSRM context was not set in EventHttp::__construct (J. Fekete)
-Fix: refcounter in EventHttp&apos;s default callback (J. Fekete)
- </notes>
- </release>
- <release>
- <version>
- <release>1.10.1</release>
- <api>1.9.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Deleted a troublesome phpt test
- </notes>
- </release>
- <release>
- <version>
- <release>1.10.0</release>
- <api>1.9.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Issue #3: Segmentation fault on EventHttpRequest-&gt;free() (Bitbucket&apos;s tracker).
-Add: EventHttpConnection::__construct() now optionally accepts EventSslContext argument (Issue #5).
-Add: EventHttp::__construct() now accepts EventSslContext object as argument.
- </notes>
- </release>
- <release>
- <version>
- <release>1.9.1</release>
- <api>1.8.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: return value of EventBase::reInit() was inverted
-issue #7: PHP_EVENT_REQUIRE_BASE_BY_REF() didn&apos;t work in 5.6.0-dev (fixed by Remi Collet)
- </notes>
- </release>
- <release>
- <version>
- <release>1.9.0</release>
- <api>1.8.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Windows support introduced(thanks to Anatol Belski &lt;ab@php.net&gt;)
-
-LIBEVENT_VERSION is now reported in phpinfo(Remi &lt;remi@php.net&gt;)
-
- Forced passing EventBase argument by reference. A method accepting EventBase
- will generate fatal error in case if corresponding argument is not passed by
- reference.
-
- EventBufferEvent::createPair method made static.
- </notes>
- </release>
- <release>
- <version>
- <release>1.8.1</release>
- <api>1.8.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: Bug #65847 Issue with old libevent2 where evhttp_connection_get_bufferevent function was not available with libevent version &lt; 2.0.17 (thanks to Remi &lt;remi@php.net&gt;)
- </notes>
- </release>
- <release>
- <version>
- <release>1.8.0</release>
- <api>1.8.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Add: EventHttpRequest methods: getBufferEvent, getConnection, closeConnection(thanks to rickysu at Bitbucket)
-Add: EventHttpConnection::setCloseCallback method
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.8</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: build error on Solaris
-Introduced negative dependencies: libevent extension, windows OS
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.7</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: incorrect handling of sockets extension dependency
-(a hack for distros installing sockets separately)
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.6</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Change: sockets extension is now required(see bug #65597). The user can still
-turn off this requirement off explicitly with --disable-event-sockets configure
-option
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.5</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: build error with custom libevent installation prefixes like /lib(John Wamer)
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.4</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: Segmentation fault caused by direct access to the zend object properties&apos; hash table
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.3</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: in php_event.c write_property function was non-static
-Fix: absence of get_gc property handler caused segfaults with gc_collect_cycles()
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.2</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: bug #65320 where we got build errors in attempts to compile event statically(thanks to florin)
-Fix: bug #65319 where config.m4 used &lt;php_version.h&gt; to detect current PHP version
-Fix: config.m4 included -levent_pthreads into LDFLAGS even --without-event-pthreads configuration
-Fix: evthread_use_pthreads() call skept due to a &quot;macro magic&quot;(PHP_EVENT_ASSERT)
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.1</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: segmentation fault on gc_collect_cycles() after calling Event::free(), 5lava @ Bitbucket reported
-Fix: assignment reference to &quot;data&quot; property caused &apos;Fatal error: Cannot assign by reference to overloaded object&apos;
-Fix: evnt object dtors sometimes didn&apos;t free the &apos;data&apos; member until the script shutdown phase
- </notes>
- </release>
- <release>
- <version>
- <release>1.7.0</release>
- <api>1.7.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Merged in 5lava/pecl-event (pull request #1) @bitbucket:
-Fix: EventBufferEvent::setTimeouts() didn&apos;t work with double values
-Fix: EventBuffer::copyout() didn&apos;t work in some cases
-Add: EventBuffer::readFrom() method (corresponds to evbuffer_read())
-Add: EventUtil::getSocketFD() method
- </notes>
- </release>
- <release>
- <version>
- <release>1.6.2</release>
- <api>1.6.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: bug #64678 where Fedora Packaging Guidlines required LICENSE file
-Fix: bug #64680 where we should check for SKIP_ONLINE_TESTS environment variable
-Fix: bug #64679 where we had buffer overflow caused by struct sockaddr_storage * pointer
- </notes>
- </release>
- <release>
- <version>
- <release>1.6.1</release>
- <api>1.6.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: bug #64652 where Event::__construct returned valid object, however, with
-uninitialized internal struct which caused segmentation faults in further
-method calls
- </notes>
- </release>
- <release>
- <version>
- <release>1.6.0</release>
- <api>1.6.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: bug #64551 with build failed on Mac OS X
-Fix: address argument of the listener accept callback contained garbage in case of a client connected via UNIX domain socket
-Add: EventBuffer::write, EventUtil::setSocketOption methods and some constants
-Refact: automatically set the upper bound of EventBuffer::search to the buffer length, if it is greater then the length
-Fix: make the code compatible with PHP 5.5.0 .. 5.6.0-dev
-Fix: build error with zts PHP setup
-Fix: build error with libevent_extra disabled
-Add: EventListener fd readonly property for numeric file descriptor of the socket associated with the listener
-Add: EventBuffer::substr method
-
-INCOMPATIBLE CHANGES!
-Renamed EventBuffer::remove to EventBuffer::read, EventBuffer::read now takes only max_bytes argument and returns string.
-Renamed EventBuffer::removeBuffer to EventBuffer::appendFrom
-EventBuffer::read now takes single argument &apos;size&apos; and returns the string read
- </notes>
- </release>
- <release>
- <version>
- <release>1.5.1</release>
- <api>1.5.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: EventBuffer::removeBuffer returned boolean instead of the number of bytes read
-Add: EventBuffer::fd property
-Change: EventBuffer class is not final any more
- </notes>
- </release>
- <release>
- <version>
- <release>1.5.0</release>
- <api>1.5.0</api>
- </version>
- <stability>
- <release>stable</release>
- <api>stable</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: uninitialized socket caused segmentation fault in EventBufferEvent methods
-Del: EventBufferPosition class removed, EventBuffer::search now accepts and returns integers
-Add: EventBuffer::searchEol method
-Add: EventUtil::getSocketName method
-Add: EventListener::getSocketName method
-Fix: memory leak due to lack of zend_hash_destroy on the ssl context options
-Add: support of UNIX domain sockets in EventListener::__construct, EventBufferEvent::connect methods
- </notes>
- </release>
- <release>
- <version>
- <release>1.4.0</release>
- <api>1.4.0</api>
- </version>
- <stability>
- <release>beta</release>
- <api>beta</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Add: HTTP server support:
- * EventHttp methods: setMaxBodySize, setMaxHeadersSize, setTimeout,
- addServerAlias, removeServerAlias setCallback, setDefaultCallback,
- setAllowedMethods, setMaxBodySize, setMaxHeadersSize, setTimeout,
- addServerAlias, removeServerAlias;
- * EventHttpRequest class, callback and custom data can be bound to the
- request for future use with EventHttpConnection
- * New EventHttpConnection::makeRequest method allows to make custom HTTP
- requests by means of EventHttpRequest class
-Change: make EventDnsBase parameter optional in EventHttpConnection::__construct
-Fix: classes/buffer_event.c: possible memory access violation in bufferevent callback
-Fix: turn off buggy libevent thread lock debugging when built with --enable-event-debug
- </notes>
- </release>
- <release>
- <version>
- <release>1.3.0</release>
- <api>1.3.1</api>
- </version>
- <stability>
- <release>beta</release>
- <api>beta</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: possible memory access violations in EventBufferEvent input/output property handlers
-Change: Event::$timer_pending property removed; generic Event::$pending property added
-Fix: With OPT_LEAVE_SOCKETS_BLOCKING flag EventListener::__construct turned fd to non-blocking mode
-Fix: property and class HashTable&apos;s were not free&apos;d in MSHUTDOWN
-Add: Event::$data property
-Fix: Event::__construct failed with Event::TIMEOUT flag
-Fix: memory leak in EventBuffer::readLine
-Add: --with-event-pthreads configure option
-Fix: EventBase::reInit method&apos;s arginfo
- </notes>
- </release>
- <release>
- <version>
- <release>1.2.6</release>
- <api>1.3.0</api>
- </version>
- <stability>
- <release>beta</release>
- <api>beta</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: with OpenSSL turned off got error: undefined symbol: zim_EventUtil_sslRandPoll
-Add: implemented get_properties property handler(is called when one casts an object to array)
-Refact: removed memory alloc for empty property hashtables
-Fix: heap corruption caused by EventBufferEvent callbacks(thanks to Marco Schuster)
-Fix: continuous calls to EventBufferEvent::setCallbacks didn&apos;t free old fci/fcc(thanks to Marco Schuster)
-Fix: possible heap corruption in EventListener&apos;s callback
-Add: EventBase::resume method
- </notes>
- </release>
- <release>
- <version>
- <release>1.2.3</release>
- <api>1.2.0</api>
- </version>
- <stability>
- <release>alpha</release>
- <api>alpha</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: build errors
-Fix: undefined symbol SSLv2_*_method when SL_OP_NO_SSLv2 defined
- </notes>
- </release>
- <release>
- <version>
- <release>1.2.0</release>
- <api>1.2.0</api>
- </version>
- <stability>
- <release>alpha</release>
- <api>alpha</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: non-static zend_always_inline function failed to compile with some (non-zts) php setups
-Change: static EventBuffer::addBuffer made non-static with one argument
-Add: EventBuffer expand, prepend, prependBuffer, drain, copyout, readLine, search,
-setPosition methods
-Add: EventBufferPosition class
-Fix: configure error in FreeBSD
-Add: OpenSSL support: EventBufferEvent methods: sslFilter, sslSocket, sslError, sslRenegotiate; EventSslContext class
-Add: EventBuffer::pullup method
- </notes>
- </release>
- <release>
- <version>
- <release>1.1.1</release>
- <api>1.1.0</api>
- </version>
- <stability>
- <release>devel</release>
- <api>devel</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: the installer failed to determine location of src/common.h
- </notes>
- </release>
- <release>
- <version>
- <release>1.1.0</release>
- <api>1.1.0</api>
- </version>
- <stability>
- <release>devel</release>
- <api>devel</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Procedural API converted to OOP API
- </notes>
- </release>
- <release>
- <version>
- <release>1.0.1</release>
- <api>1.0.0</api>
- </version>
- <stability>
- <release>devel</release>
- <api>devel</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Fix: crash due to destruction of the internal bufferevent buffers (synced with oop branch)
-Fix: extra memory consumption caused by continuous calls to bufferevent_get_input/_output
-Fix: memory violation while parsing event_config_set_max_dispatch_interval parameters
- </notes>
- </release>
- <release>
- <date>2013-01-19</date>
- <version>
- <release>1.0.0</release>
- <api>1.0.0</api>
- </version>
- <stability>
- <release>devel</release>
- <api>devel</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Libevent 2+ support added
- </notes>
- </release>
- <release>
- <date>2004-12-16</date>
- <lead>
- <name>Wez Furlong</name>
- <user>wez</user>
- <email>wez@php.net</email>
- <active>yes</active>
- </lead>
- <version>
- <release>0.9.1</release>
- <api>0.9.1</api>
- </version>
- <stability>
- <release>beta</release>
- <api>beta</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>
-Added event_timeout() function for easily scheduling a callback after a certain
-period of time. The timeout may be persistent to make the callback a recurrent
-event.
-
-Fixed an issue with timercmp() on windows that caused a busy wait when the
-scheduler could have performed a sleep.
-
-Windows scheduling engine now also processes the message queue while
-waiting; useful for COM/GUI based scripts.
-
-Fixed build for threaded systems with real signals.
-
-Supports epoll(4), poll(2) and select(2) IO notification engines.
-Support for /dev/poll and kqueue is pending.
-
-On Windows, currently only sockets can participate in the IO notification engine.
- </notes>
- <deps>
- <dep rel="ge" type="php" version="4.3.0" />
- </deps>
- </release>
- <version>
- <release>1.2.5</release>
- <api>1.2.1</api>
- </version>
- <version>
- <release>1.2.4</release>
- <api>1.2.1</api>
- </version>
- <stability>
- <release>alpha</release>
- <api>alpha</api>
- </stability>
- <stability>
- <release>alpha</release>
- <api>alpha</api>
- </stability>
- <license uri="http://www.php.net/license">PHP</license>
- <license uri="http://www.php.net/license">PHP</license>
- <notes>Fix: unneeded Z_ADDREF_P() calls in EventListener, EventBufferEvent constructors and factory methods
-Fix: EventListener cached file descriptor for all connections
-Change: EventBufferEvent enable/disable methods return bool now
-Change: instead of stream pass numeric file descriptor to EventListener&apos;s accept-connection callback
-Add: callbacks and the callback arg are now passed to EventBufferEvent::__construct as optional arguments</notes>
- <notes>Fix: deleted redundant len argument of EventBuffer::readLine
-Fix: EventBuffer::readLine returned non-dup&apos;d string. Caused bugs with pointers.</notes>
- </changelog>
-</package>
diff --git a/php-pecl-event.spec b/php-pecl-event.spec
index f3e775a..0de0c05 100644
--- a/php-pecl-event.spec
+++ b/php-pecl-event.spec
@@ -3,12 +3,16 @@
#
# Fedora spec file for php-pecl-event
#
-# Copyright (c) 2013-2017 Remi Collet
+# Copyright (c) 2013-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
+
+# we don't want -z defs linker flag
+%undefine _strict_symbol_defs_build
+
%if 0%{?scl:1}
%global sub_prefix %{scl_prefix}
%scl_package php-pecl-event
@@ -26,19 +30,19 @@
# After 20-sockets.so
%global ini_name 40-%{pecl_name}.ini
%endif
-#global prever RC1
+%global upstream_version 2.4.0
+%global upstream_prever RC1
Summary: Provides interface to libevent library
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 2.3.0
-Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+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
-Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: %{?scl_prefix}php-devel > 5.4
+BuildRequires: %{?dtsprefix}gcc
+BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: pkgconfig(libevent) >= 2
@@ -62,15 +66,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{relea
%endif
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-# Other third party repo stuff
-Obsoletes: php53-pecl-%{pecl_name} <= %{version}
-Obsoletes: php53u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php54-pecl-%{pecl_name} <= %{version}
-Obsoletes: php54w-pecl-%{pecl_name} <= %{version}
-%if "%{php_version}" > "5.5"
-Obsoletes: php55u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php55w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "5.6"
Obsoletes: php56u-pecl-%{pecl_name} <= %{version}
Obsoletes: php56w-pecl-%{pecl_name} <= %{version}
@@ -118,15 +113,15 @@ sed -e 's/role="test"/role="src"/' \
%{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
-i package.xml
-mv %{pecl_name}-%{version}%{?prever} NTS
+mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS
cd NTS
# Sanity check, really often broken
DIR=$(%{__php} -r 'echo "php" . PHP_MAJOR_VERSION;')
extver=$(sed -n '/#define PHP_EVENT_VERSION/{s/.* "//;s/".*$//;p}' $DIR/php_event.h)
-if test "x${extver}" != "x%{version}%{?prever}"; then
- : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}.
+if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
+ : Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}.
exit 1
fi
cd ..
@@ -173,7 +168,6 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
%{?dtsenable}
# use z-event.ini to ensure event.so load "after" sockets.so
@@ -214,6 +208,8 @@ fi
%endif
%if %{with_tests}
+sed -e 's/SSLv3_SERVER_METHOD/TLS_SERVER_METHOD/' -i ?TS/tests/12-serialization.phpt
+
cd NTS
: Upstream test suite for NTS extension
SKIP_ONLINE_TESTS=1 \
@@ -240,7 +236,7 @@ REPORT_EXIT_STATUS=1 \
%endif
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -260,12 +256,7 @@ fi
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -280,6 +271,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Apr 23 2018 Remi Collet <remi@remirepo.net> - 2.4.0~RC1-1
+- update to 2.4.0RC1
+
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 2.3.0-4
- rebuild for PHP 7.2.0beta1 new API