diff options
-rw-r--r-- | PHPINFO | 7 | ||||
-rw-r--r-- | REFLECTION | 164 | ||||
-rw-r--r-- | php-pecl-couchbase4.spec | 50 |
3 files changed, 198 insertions, 23 deletions
@@ -2,9 +2,10 @@ couchbase couchbase => enabled -couchbase_extension_version => 4.2.1 -couchbase_extension_revision => 321e898b6a9e3bdabfc176d72940eb1a6ab47912 -couchbase_client_revision => 1b506b0eb2d88725f943aa62527ff604610ba680 +couchbase_extension_abi => unspecified +couchbase_extension_version => 4.3.0 +couchbase_extension_revision => 6f51edcd2012309407c0a8a079865a5249ab3e55 +couchbase_client_revision => adabadee55ba0626c5015bdcdf41bb5f78c46f5a Directive => Local Value => Master Value couchbase.max_persistent => -1 => -1 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #96 couchbase version 4.2.1 ] { +Extension [ <persistent> extension #127 couchbase version 4.3.0 ] { - Dependencies { Dependency [ json (Required) ] @@ -32,6 +32,11 @@ Extension [ <persistent> extension #96 couchbase version 4.2.1 ] { Parameter #0 [ <required> string $forkEvent ] } } + Function [ <internal:couchbase> function Couchbase\Extension\loadExceptionAliases ] { + + - Parameters [0] { + } + } Function [ <internal:couchbase> function Couchbase\Extension\version ] { - Parameters [0] { @@ -295,7 +300,7 @@ Extension [ <persistent> extension #96 couchbase version 4.2.1 ] { Parameter #4 [ <optional> array $scan_type = <default> ] Parameter #5 [ <optional> ?array $options = <default> ] } - - Return [ null ] + - Return [ mixed ] } Function [ <internal:couchbase> function Couchbase\Extension\documentScanNextItem ] { @@ -428,7 +433,7 @@ Extension [ <persistent> extension #96 couchbase version 4.2.1 ] { Parameter #0 [ <optional> $connection = <default> ] Parameter #1 [ <optional> ?array $configuration = <default> ] } - - Return [ null ] + - Return [ mixed ] } Function [ <internal:couchbase> function Couchbase\Extension\createTransactionContext ] { @@ -436,7 +441,7 @@ Extension [ <persistent> extension #96 couchbase version 4.2.1 ] { Parameter #0 [ <optional> $transactions = <default> ] Parameter #1 [ <optional> ?array $configuration = <default> ] } - - Return [ null ] + - Return [ mixed ] } Function [ <internal:couchbase> function Couchbase\Extension\transactionNewAttempt ] { @@ -466,23 +471,35 @@ Extension [ <persistent> extension #96 couchbase version 4.2.1 ] { Parameter #4 [ <required> string $id ] } } + Function [ <internal:couchbase> function Couchbase\Extension\transactionGetReplicaFromPreferredServerGroup ] { + + - Parameters [5] { + Parameter #0 [ <required> $transactions ] + Parameter #1 [ <required> string $bucketName ] + Parameter #2 [ <required> string $scopeName ] + Parameter #3 [ <required> string $collectionName ] + Parameter #4 [ <required> string $id ] + } + } Function [ <internal:couchbase> function Couchbase\Extension\transactionInsert ] { - - Parameters [6] { + - Parameters [7] { Parameter #0 [ <required> $transactions ] Parameter #1 [ <required> string $bucketName ] Parameter #2 [ <required> string $scopeName ] Parameter #3 [ <required> string $collectionName ] Parameter #4 [ <required> string $id ] Parameter #5 [ <required> string $value ] + Parameter #6 [ <required> int $flags ] } } Function [ <internal:couchbase> function Couchbase\Extension\transactionReplace ] { - - Parameters [3] { + - Parameters [4] { Parameter #0 [ <required> $transactions ] Parameter #1 [ <required> array $document ] Parameter #2 [ <required> string $value ] + Parameter #3 [ <required> int $flags ] } } Function [ <internal:couchbase> function Couchbase\Extension\transactionRemove ] { @@ -500,6 +517,22 @@ Extension [ <persistent> extension #96 couchbase version 4.2.1 ] { Parameter #2 [ <optional> ?array $options = <default> ] } } + Function [ <internal:couchbase> function Couchbase\Extension\transactionGetMulti ] { + + - Parameters [3] { + Parameter #0 [ <required> $transactions ] + Parameter #1 [ <required> array $entries ] + Parameter #2 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\transactionGetMultiReplicasFromPreferredServerGroup ] { + + - Parameters [3] { + Parameter #0 [ <required> $transactions ] + Parameter #1 [ <required> array $entries ] + Parameter #2 [ <optional> ?array $options = <default> ] + } + } Function [ <internal:couchbase> function Couchbase\Extension\searchIndexGet ] { - Parameters [3] { @@ -1022,6 +1055,125 @@ Extension [ <persistent> extension #96 couchbase version 4.2.1 ] { Parameter #4 [ <optional> ?array $options = <default> ] } } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsDataverseCreate ] { + + - Parameters [3] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> string $dataverseName ] + Parameter #2 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsDataverseDrop ] { + + - Parameters [3] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> string $dataverseName ] + Parameter #2 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsDatasetCreate ] { + + - Parameters [4] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> string $datasetName ] + Parameter #2 [ <required> string $bucketName ] + Parameter #3 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsDatasetDrop ] { + + - Parameters [3] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> string $datasetName ] + Parameter #2 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsDatasetGetAll ] { + + - Parameters [2] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsIndexCreate ] { + + - Parameters [5] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> string $datasetName ] + Parameter #2 [ <required> string $indexName ] + Parameter #3 [ <required> array $fields ] + Parameter #4 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsIndexDrop ] { + + - Parameters [4] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> string $datasetName ] + Parameter #2 [ <required> string $indexName ] + Parameter #3 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsIndexGetAll ] { + + - Parameters [2] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsLinkConnect ] { + + - Parameters [2] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsLinkDisconnect ] { + + - Parameters [2] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsPendingMutationsGet ] { + + - Parameters [2] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsLinkCreate ] { + + - Parameters [3] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> array $analyticsLink ] + Parameter #2 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsLinkReplace ] { + + - Parameters [3] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> array $analyticsLink ] + Parameter #2 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsLinkDrop ] { + + - Parameters [4] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <required> string $linkName ] + Parameter #2 [ <required> string $dataverseName ] + Parameter #3 [ <optional> ?array $options = <default> ] + } + } + Function [ <internal:couchbase> function Couchbase\Extension\analyticsLinkGetAll ] { + + - Parameters [2] { + Parameter #0 [ <required> $connection ] + Parameter #1 [ <optional> ?array $options = <default> ] + } + } } - Classes [75] { diff --git a/php-pecl-couchbase4.spec b/php-pecl-couchbase4.spec index 45b707a..efc3a36 100644 --- a/php-pecl-couchbase4.spec +++ b/php-pecl-couchbase4.spec @@ -1,20 +1,18 @@ # remirepo spec file for php-pecl-couchbase4 # -# Copyright (c) 2013-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2013-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -# NOTICE: el-7 is not supported (cmake 3.19) -# el-8 is not supported (cmake 3.20) -# el-9 is not supported (cmake 3.20) -# mock requires --enable-network +# NOTICE: mock requires: --enable-network +# may help: --cleanup-after -# 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} @@ -29,7 +27,7 @@ Summary: Couchbase Server PHP extension Name: %{?scl_prefix}php-pecl-couchbase4 -Version: 4.2.1 +Version: 4.3.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Apache-2.0 # src @@ -57,7 +55,7 @@ Source0: https://pecl.php.net/get/%{sources}.tgz BuildRequires: git BuildRequires: make -BuildRequires: cmake >= 3.27 +BuildRequires: cmake >= 3.19 BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?dtsprefix}gcc-c++ BuildRequires: %{?scl_prefix}php-devel >= 8.1 @@ -170,6 +168,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} @@ -186,12 +186,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 @@ -231,6 +231,28 @@ install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml %changelog +* Wed Jun 18 2025 Remi Collet <remi@remirepo.net> - 4.3.0-1 +- update to 4.3.0 + +* Wed Mar 19 2025 Remi Collet <remi@remirepo.net> - 4.2.7-1 +- update to 4.2.7 + +* Thu Jan 30 2025 Remi Collet <remi@remirepo.net> - 4.2.6-1 +- update to 4.2.6 +- re-license spec file to CECILL-2.1 + +* Mon Nov 25 2024 Remi Collet <remi@remirepo.net> - 4.2.5-1 +- update to 4.2.5 + +* Wed Oct 23 2024 Remi Collet <remi@remirepo.net> - 4.2.4-1 +- update to 4.2.4 + +* Wed Aug 28 2024 Remi Collet <remi@remirepo.net> - 4.2.3-1 +- update to 4.2.3 + +* Thu Jul 25 2024 Remi Collet <remi@remirepo.net> - 4.2.2-1 +- update to 4.2.2 + * Wed Apr 24 2024 Remi Collet <remi@remirepo.net> - 4.2.1-1 - update to 4.2.1 |