From 13a9e2f34d0c6e89404d22aba82e6d4763b0e84d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Oct 2024 12:51:29 +0200 Subject: update to 4.2.4 --- PHPINFO | 6 +-- REFLECTION | 127 +++++++++++++++++++++++++++++++++++++++++++++-- php-pecl-couchbase4.spec | 17 ++++--- 3 files changed, 137 insertions(+), 13 deletions(-) diff --git a/PHPINFO b/PHPINFO index 21c84da..5e1b1fe 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,9 +2,9 @@ couchbase couchbase => enabled -couchbase_extension_version => 4.2.3 -couchbase_extension_revision => e603525167b2f3cec1a810d3670ff31038747380 -couchbase_client_revision => 58d46d79578c8e4ca88e934c3ae8982abaa89ff9 +couchbase_extension_version => 4.2.4 +couchbase_extension_revision => 763e1dc8877e67522a10a82f1d245af0b8df73dd +couchbase_client_revision => b7086c059659d3f1e03a8d9bff266fad0c6c9b89 Directive => Local Value => Master Value couchbase.max_persistent => -1 => -1 diff --git a/REFLECTION b/REFLECTION index 95b8bcf..43ed841 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #105 couchbase version 4.2.3 ] { +Extension [ extension #115 couchbase version 4.2.4 ] { - Dependencies { Dependency [ json (Required) ] @@ -295,7 +295,7 @@ Extension [ extension #105 couchbase version 4.2.3 ] { Parameter #4 [ array $scan_type = ] Parameter #5 [ ?array $options = ] } - - Return [ null ] + - Return [ mixed ] } Function [ function Couchbase\Extension\documentScanNextItem ] { @@ -428,7 +428,7 @@ Extension [ extension #105 couchbase version 4.2.3 ] { Parameter #0 [ $connection = ] Parameter #1 [ ?array $configuration = ] } - - Return [ null ] + - Return [ mixed ] } Function [ function Couchbase\Extension\createTransactionContext ] { @@ -436,7 +436,7 @@ Extension [ extension #105 couchbase version 4.2.3 ] { Parameter #0 [ $transactions = ] Parameter #1 [ ?array $configuration = ] } - - Return [ null ] + - Return [ mixed ] } Function [ function Couchbase\Extension\transactionNewAttempt ] { @@ -1022,6 +1022,125 @@ Extension [ extension #105 couchbase version 4.2.3 ] { Parameter #4 [ ?array $options = ] } } + Function [ function Couchbase\Extension\analyticsDataverseCreate ] { + + - Parameters [3] { + Parameter #0 [ $connection ] + Parameter #1 [ string $dataverseName ] + Parameter #2 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsDataverseDrop ] { + + - Parameters [3] { + Parameter #0 [ $connection ] + Parameter #1 [ string $dataverseName ] + Parameter #2 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsDatasetCreate ] { + + - Parameters [4] { + Parameter #0 [ $connection ] + Parameter #1 [ string $datasetName ] + Parameter #2 [ string $bucketName ] + Parameter #3 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsDatasetDrop ] { + + - Parameters [3] { + Parameter #0 [ $connection ] + Parameter #1 [ string $datasetName ] + Parameter #2 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsDatasetGetAll ] { + + - Parameters [2] { + Parameter #0 [ $connection ] + Parameter #1 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsIndexCreate ] { + + - Parameters [5] { + Parameter #0 [ $connection ] + Parameter #1 [ string $datasetName ] + Parameter #2 [ string $indexName ] + Parameter #3 [ array $fields ] + Parameter #4 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsIndexDrop ] { + + - Parameters [4] { + Parameter #0 [ $connection ] + Parameter #1 [ string $datasetName ] + Parameter #2 [ string $indexName ] + Parameter #3 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsIndexGetAll ] { + + - Parameters [2] { + Parameter #0 [ $connection ] + Parameter #1 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsLinkConnect ] { + + - Parameters [2] { + Parameter #0 [ $connection ] + Parameter #1 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsLinkDisconnect ] { + + - Parameters [2] { + Parameter #0 [ $connection ] + Parameter #1 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsPendingMutationsGet ] { + + - Parameters [2] { + Parameter #0 [ $connection ] + Parameter #1 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsLinkCreate ] { + + - Parameters [3] { + Parameter #0 [ $connection ] + Parameter #1 [ array $analyticsLink ] + Parameter #2 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsLinkReplace ] { + + - Parameters [3] { + Parameter #0 [ $connection ] + Parameter #1 [ array $analyticsLink ] + Parameter #2 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsLinkDrop ] { + + - Parameters [4] { + Parameter #0 [ $connection ] + Parameter #1 [ string $linkName ] + Parameter #2 [ string $dataverseName ] + Parameter #3 [ ?array $options = ] + } + } + Function [ function Couchbase\Extension\analyticsLinkGetAll ] { + + - Parameters [2] { + Parameter #0 [ $connection ] + Parameter #1 [ ?array $options = ] + } + } } - Classes [75] { diff --git a/php-pecl-couchbase4.spec b/php-pecl-couchbase4.spec index 35bd3dd..16cda4b 100644 --- a/php-pecl-couchbase4.spec +++ b/php-pecl-couchbase4.spec @@ -9,9 +9,9 @@ # NOTICE: mock requires --enable-network -# Disable RPATH check -%global __arch_install_post /bin/true -%global __brp_check_rpaths /bin/true +# Disable RPATH check (no more needed) +#global __arch_install_post /bin/true +#global __brp_check_rpaths /bin/true %{?scl:%scl_package php-pecl-couchbase4} @@ -26,7 +26,7 @@ Summary: Couchbase Server PHP extension Name: %{?scl_prefix}php-pecl-couchbase4 -Version: 4.2.3 +Version: 4.2.4 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Apache-2.0 # src @@ -167,6 +167,8 @@ mkdir ZTS cd %{sources} %{__phpize} +# fix for make_install, notice make_build is broken +sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global cd ../NTS %configure --with-php-config=%{__phpconfig} @@ -183,12 +185,12 @@ make %{?_smp_mflags} %{?dtsenable} # Install the NTS stuff -make install -C NTS INSTALL_ROOT=%{buildroot} +%make_install -C NTS install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} # Install the ZTS stuff %if %{with_zts} -make install -C ZTS INSTALL_ROOT=%{buildroot} +%make_install -C ZTS install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif @@ -228,6 +230,9 @@ install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %changelog +* Wed Oct 23 2024 Remi Collet - 4.2.4-1 +- update to 4.2.4 + * Wed Aug 28 2024 Remi Collet - 4.2.3-1 - update to 4.2.3 -- cgit