summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO6
-rw-r--r--REFLECTION70
-rw-r--r--php-pecl-ev.spec44
3 files changed, 57 insertions, 63 deletions
diff --git a/PHPINFO b/PHPINFO
new file mode 100644
index 0000000..0c5a51b
--- /dev/null
+++ b/PHPINFO
@@ -0,0 +1,6 @@
+
+ev
+
+Ev support => enabled
+Debug support => disabled
+Version => 1.0.6
diff --git a/REFLECTION b/REFLECTION
index da7f736..788bf5a 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #84 ev version 1.0.4 ] {
+Extension [ <persistent> extension #93 ev version 1.0.6 ] {
- Dependencies {
Dependency [ sockets (Optional) ]
@@ -8,40 +8,40 @@ Extension [ <persistent> extension #84 ev version 1.0.4 ] {
Class [ <internal:ev> final class Ev ] {
- Constants [34] {
- Constant [ integer FLAG_AUTO ] { 0 }
- Constant [ integer FLAG_NOENV ] { 16777216 }
- Constant [ integer FLAG_FORKCHECK ] { 33554432 }
- Constant [ integer FLAG_NOINOTIFY ] { 1048576 }
- Constant [ integer FLAG_SIGNALFD ] { 2097152 }
- Constant [ integer FLAG_NOSIGMASK ] { 4194304 }
- Constant [ integer RUN_NOWAIT ] { 1 }
- Constant [ integer RUN_ONCE ] { 2 }
- Constant [ integer BREAK_CANCEL ] { 0 }
- Constant [ integer BREAK_ONE ] { 1 }
- Constant [ integer BREAK_ALL ] { 2 }
- Constant [ integer MINPRI ] { -2 }
- Constant [ integer MAXPRI ] { 2 }
- Constant [ integer READ ] { 1 }
- Constant [ integer WRITE ] { 2 }
- Constant [ integer TIMER ] { 256 }
- Constant [ integer PERIODIC ] { 512 }
- Constant [ integer SIGNAL ] { 1024 }
- Constant [ integer CHILD ] { 2048 }
- Constant [ integer STAT ] { 4096 }
- Constant [ integer IDLE ] { 8192 }
- Constant [ integer PREPARE ] { 16384 }
- Constant [ integer CHECK ] { 32768 }
- Constant [ integer EMBED ] { 65536 }
- Constant [ integer CUSTOM ] { 16777216 }
- Constant [ integer ERROR ] { -2147483648 }
- Constant [ integer BACKEND_SELECT ] { 1 }
- Constant [ integer BACKEND_POLL ] { 2 }
- Constant [ integer BACKEND_EPOLL ] { 4 }
- Constant [ integer BACKEND_KQUEUE ] { 8 }
- Constant [ integer BACKEND_DEVPOLL ] { 16 }
- Constant [ integer BACKEND_PORT ] { 32 }
- Constant [ integer BACKEND_ALL ] { 63 }
- Constant [ integer BACKEND_MASK ] { 65535 }
+ Constant [ public integer FLAG_AUTO ] { 0 }
+ Constant [ public integer FLAG_NOENV ] { 16777216 }
+ Constant [ public integer FLAG_FORKCHECK ] { 33554432 }
+ Constant [ public integer FLAG_NOINOTIFY ] { 1048576 }
+ Constant [ public integer FLAG_SIGNALFD ] { 2097152 }
+ Constant [ public integer FLAG_NOSIGMASK ] { 4194304 }
+ Constant [ public integer RUN_NOWAIT ] { 1 }
+ Constant [ public integer RUN_ONCE ] { 2 }
+ Constant [ public integer BREAK_CANCEL ] { 0 }
+ Constant [ public integer BREAK_ONE ] { 1 }
+ Constant [ public integer BREAK_ALL ] { 2 }
+ Constant [ public integer MINPRI ] { -2 }
+ Constant [ public integer MAXPRI ] { 2 }
+ Constant [ public integer READ ] { 1 }
+ Constant [ public integer WRITE ] { 2 }
+ Constant [ public integer TIMER ] { 256 }
+ Constant [ public integer PERIODIC ] { 512 }
+ Constant [ public integer SIGNAL ] { 1024 }
+ Constant [ public integer CHILD ] { 2048 }
+ Constant [ public integer STAT ] { 4096 }
+ Constant [ public integer IDLE ] { 8192 }
+ Constant [ public integer PREPARE ] { 16384 }
+ Constant [ public integer CHECK ] { 32768 }
+ Constant [ public integer EMBED ] { 65536 }
+ Constant [ public integer CUSTOM ] { 16777216 }
+ Constant [ public integer ERROR ] { -2147483648 }
+ Constant [ public integer BACKEND_SELECT ] { 1 }
+ Constant [ public integer BACKEND_POLL ] { 2 }
+ Constant [ public integer BACKEND_EPOLL ] { 4 }
+ Constant [ public integer BACKEND_KQUEUE ] { 8 }
+ Constant [ public integer BACKEND_DEVPOLL ] { 16 }
+ Constant [ public integer BACKEND_PORT ] { 32 }
+ Constant [ public integer BACKEND_ALL ] { 63 }
+ Constant [ public integer BACKEND_MASK ] { 65535 }
}
- Static properties [0] {
diff --git a/php-pecl-ev.spec b/php-pecl-ev.spec
index 24732b4..1f76a47 100644
--- a/php-pecl-ev.spec
+++ b/php-pecl-ev.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-ev
#
-# Copyright (c) 2013-2017 Remi Collet
+# Copyright (c) 2013-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -27,14 +27,12 @@
Summary: Provides interface to libev library
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.0.4
+Version: 1.0.6
Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP
-Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel > 5.4
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-sockets
@@ -57,22 +55,6 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%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}
-%endif
-%if "%{php_version}" > "7.0"
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "7.1"
Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
@@ -81,6 +63,14 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
+%endif
+%if "%{php_version}" > "7.4"
+Obsoletes: php74-pecl-%{pecl_name} <= %{version}
+Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -107,6 +97,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+sed -e s/1.0.5/1.0.6/ -i php5/php_ev.h
+
# Sanity check, really often broken
extver=$(sed -n '/define PHP_EV_VERSION/{s/.* "//;s/".*$//;p}' php%(%{__php} -r 'echo PHP_MAJOR_VERSION;')/php_ev.h)
if test "x${extver}" != "x%{version}%{?prever}"; then
@@ -148,8 +140,6 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make -C NTS install INSTALL_ROOT=%{buildroot}
# install config file - z-eio.ini to ensure load order (after sockets)
@@ -171,7 +161,7 @@ do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
-%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
@@ -229,12 +219,7 @@ REPORT_EXIT_STATUS=1 \
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -249,6 +234,9 @@ rm -rf %{buildroot}
%changelog
+* Mon May 27 2019 Remi Collet <remi@remirepo.net> - 1.0.6-1
+- update to 1.0.6
+
* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 1.0.4-2
- rebuild for PHP 7.2.0beta1 new API