summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-07 15:29:32 +0200
committerRemi Collet <remi@php.net>2026-04-07 15:29:32 +0200
commit89991d7b7b7441c37f32da921b0b99b1cdddd520 (patch)
tree142ce368ea57b69debd8080e82216cf16c4c14ae
parentc7ff51bf25ec1475695eb51edbd85fbd751f785c (diff)
update to 2.0.12HEADmaster
add pie virtual provides
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION2
-rw-r--r--composer.json23
-rw-r--r--php-pecl-oauth.spec26
4 files changed, 44 insertions, 9 deletions
diff --git a/PHPINFO b/PHPINFO
index 86b24b1..43436cd 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -6,4 +6,4 @@ PLAINTEXT support => enabled
RSA-SHA1 support => enabled
HMAC-SHA1 support => enabled
Request engine support => php_streams, curl
-version => 2.0.10
+version => 2.0.12
diff --git a/REFLECTION b/REFLECTION
index 0bd9286..097de1f 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #105 OAuth version 2.0.10 ] {
+Extension [ <persistent> extension #104 OAuth version 2.0.12 ] {
- Constants [32] {
Constant [ <persistent> string OAUTH_SIG_METHOD_HMACSHA1 ] { HMAC-SHA1 }
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..fa2e8bf
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,23 @@
+{
+ "name": "pecl/oauth",
+ "type": "php-ext",
+ "description": "OAuth 1.0 consumer and provider extension",
+ "license": "BSD-3-Clause",
+ "require": {
+ "php": ">=7.1.0",
+ "ext-hash": "*"
+ },
+ "php-ext": {
+ "extension-name": "oauth",
+ "configure-options": [
+ {
+ "name": "enable-oauth",
+ "description": "Include oauth support"
+ },
+ {
+ "name": "without-curl",
+ "description": "Ignore presence of cURL and disable it"
+ }
+ ]
+ }
+}
diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec
index 40560b1..4a880e6 100644
--- a/php-pecl-oauth.spec
+++ b/php-pecl-oauth.spec
@@ -14,6 +14,8 @@
%{?scl:%scl_package php-pecl-oauth}
%global pecl_name oauth
+%global pie_vend pecl
+%global pie_proj %{pecl_name}
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
%global sources %{gh_proj}-%{version}
@@ -28,8 +30,8 @@
Name: %{?scl_prefix}php-pecl-oauth
Summary: PHP OAuth consumer extension
License: BSD-3-Clause
-Version: 2.0.10
-Release: 2%{?dist}
+Version: 2.0.12
+Release: 1%{?dist}
%forgemeta
URL: %{forgeurl}
Source0: %{forgesource}
@@ -44,12 +46,14 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
# Extension
-Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
# PECL
-Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-# No PIE for now
+Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# PIE
+Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
+Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -159,6 +163,14 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Apr 7 2026 Remi Collet <remi@remirepo.net> - 2.0.12-1
+- update to 2.0.12
+- add pie virtual provides
+
+* Tue Apr 7 2026 Remi Collet <remi@remirepo.net> - 2.0.11-1
+- update to 2.0.11
+- open https://github.com/php/pecl-web_services-oauth/issues/41 Please drop .gitattributes
+
* Thu Mar 26 2026 Remi Collet <remi@remirepo.net> - 2.0.10-2
- drop pear/pecl dependency
- sources from github