summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO1
-rw-r--r--REFLECTION22
-rw-r--r--php-pecl-pinpoint.spec15
3 files changed, 32 insertions, 6 deletions
diff --git a/PHPINFO b/PHPINFO
index 94f77df..b80c3be 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,6 +2,7 @@
pinpoint_php
pinpoint_php support => enabled
+pinpoint_php extension version => 0.6.0
Directive => Local Value => Master Value
pinpoint_php.SendSpanTimeOutMs => 0 => 0
diff --git a/REFLECTION b/REFLECTION
index 90f74ae..06f584d 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #110 pinpoint_php version 0.5.4 ] {
+Extension [ <persistent> extension #125 pinpoint_php version 0.6.0 ] {
- INI {
Entry [ pinpoint_php.SendSpanTimeOutMs <ALL> ]
@@ -31,6 +31,12 @@ Extension [ <persistent> extension #110 pinpoint_php version 0.5.4 ] {
Parameter #0 [ <optional> $nodeid = <default> ]
}
}
+ Function [ <internal:pinpoint_php> function _pinpoint_get_trace_depth ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $nodeid = <default> ]
+ }
+ }
Function [ <internal:pinpoint_php> function _pinpoint_unique_id ] {
- Parameters [0] {
@@ -120,6 +126,20 @@ Extension [ <persistent> extension #110 pinpoint_php version 0.5.4 ] {
Parameter #3 [ <required> $onException ]
}
}
+ Function [ <internal:pinpoint_php> function _pinpoint_get_sequence_id ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $nodeid ]
+ }
+ }
+ Function [ <internal:pinpoint_php> function _pinpoint_set_async_ctx ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $async_node ]
+ Parameter #1 [ <required> $sequence ]
+ Parameter #2 [ <required> $nodeid ]
+ }
+ }
}
}
diff --git a/php-pecl-pinpoint.spec b/php-pecl-pinpoint.spec
index 9f2d699..3080ad3 100644
--- a/php-pecl-pinpoint.spec
+++ b/php-pecl-pinpoint.spec
@@ -12,7 +12,7 @@
%global pecl_name pinpoint_php
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 0.5.4
+%global upstream_version 0.6.0
#global upstream_prever RC2
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
@@ -91,6 +91,8 @@ EOF
cd %{sources}
%{__phpize}
+[ -f Makefile.global ] && GLOBAL=Makefile.global || GLOBAL=build/Makefile.global
+sed -e 's/INSTALL_ROOT/DESTDIR/' -i $GLOBAL
cd ../NTS
%configure \
@@ -98,7 +100,7 @@ cd ../NTS
--with-libdir=%{_lib} \
--with-php-config=%{__phpconfig}
-make %{?_smp_mflags}
+%make_build
%if %{with_zts}
cd ../ZTS
@@ -107,14 +109,14 @@ cd ../ZTS
--with-libdir=%{_lib} \
--with-php-config=%{__ztsphpconfig}
-make %{?_smp_mflags}
+%make_build
%endif
%install
%{?dtsenable}
-make -C NTS install INSTALL_ROOT=%{buildroot}
+%make_install -C NTS
# install config file
install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
@@ -123,7 +125,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
%if %{with_zts}
-make -C ZTS install INSTALL_ROOT=%{buildroot}
+%make_install -C ZTS
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
@@ -165,6 +167,9 @@ cd ../ZTS
%changelog
+* Mon Oct 21 2024 Remi Collet <remi@remirepo.net> - 0.6.0-1
+- update to 0.6.0 (alpha)
+
* Wed Aug 7 2024 Remi Collet <remi@remirepo.net> - 0.5.4-1
- update to 0.5.4 (stable)