[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2021-11-23 Thread Brian Evans
commit: c391c7c9dbf81984f3de7f5b096f9d59e89d681b
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Nov 23 15:18:19 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Nov 23 15:18:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c391c7c9

dev-php/pecl-oauth: Add 8.1 target; Drop 7.2 target

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild
index 775332d83c50..ff8cd5c97885 100644
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -6,7 +6,7 @@ PHP_EXT_NAME="oauth"
 PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 
-USE_PHP="php7-2 php7-3 php7-4 php8-0"
+USE_PHP="php7-3 php7-4 php8-0 php8-1"
 
 inherit php-ext-pecl-r3
 
@@ -20,7 +20,6 @@ IUSE="+curl examples"
 DEPEND="
dev-libs/libpcre:3=
curl? ( net-misc/curl:0= )
-   php_targets_php7-2? ( dev-lang/php:7.2[hash(-)] )
php_targets_php7-3? ( dev-lang/php:7.3[hash(-)] )
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2020-12-08 Thread Brian Evans
commit: 671c6fa0d444fca275cb16dc2a4c08da65d98883
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Dec  8 21:21:05 2020 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Dec  8 21:40:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=671c6fa0

dev-php/pecl-oauth: Simplify effective deps; Add 8.0 target

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild | 13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild
index 18221a56290..775332d83c5 100644
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild
@@ -6,7 +6,7 @@ PHP_EXT_NAME="oauth"
 PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 
-USE_PHP="php7-2 php7-3 php7-4"
+USE_PHP="php7-2 php7-3 php7-4 php8-0"
 
 inherit php-ext-pecl-r3
 
@@ -17,12 +17,11 @@ LICENSE="BSD"
 SLOT="7"
 IUSE="+curl examples"
 
-DEPEND="php_targets_php7-2? ( dev-lang/php:7.2[hash(-)]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-3? ( dev-lang/php:7.3[hash(-)]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-4? (
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+DEPEND="
+   dev-libs/libpcre:3=
+   curl? ( net-misc/curl:0= )
+   php_targets_php7-2? ( dev-lang/php:7.2[hash(-)] )
+   php_targets_php7-3? ( dev-lang/php:7.3[hash(-)] )
 "
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2020-09-30 Thread Thomas Deutschmann
commit: 642ebed71a483eb3142a72a251d2da0d4a6da8c7
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Sep 30 16:32:20 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Sep 30 18:03:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=642ebed7

dev-php/pecl-oauth: drop old

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/pecl-oauth/Manifest|  1 -
 dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild | 35 --
 2 files changed, 36 deletions(-)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index 5d1bf434453..ebdc02f0701 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1,2 +1 @@
-DIST oauth-2.0.5.tgz 49641 BLAKE2B 
eec258d8dc900c19bea19b0b1db3e1f5b103b65e1298cef0819741181811d98ab86812ab557a3457520bcb6ece48b2b0f081d23897ce06e12b715998cbc1ad2a
 SHA512 
847f8a07aba930d606038a78915ddd9c24aab241d27b844a766e0da3caabf419fd891573524a55b40559a827b1adc1261748efabac5ed1bee45fa770935379ee
 DIST oauth-2.0.7.tgz 78926 BLAKE2B 
2fbe8f9c6df19790b9f617af64a04ed2387e904c3775753ac23fcf3f796007891a546ad6d5fae9b04cab707905f5ff3e9cc56b5c0b4bd1d9bab8745428c683f8
 SHA512 
261bbe6d1c4299f44ce40030b3959e26f2535c70d01b7a4e870d14c84b0a01e68484e61907554d720667fa08a2ec00b7d43cf2f523800c832f02b093e7b6534a

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild
deleted file mode 100644
index 18221a56290..000
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PHP_EXT_NAME="oauth"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php7-2 php7-3 php7-4"
-
-inherit php-ext-pecl-r3
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
-LICENSE="BSD"
-SLOT="7"
-IUSE="+curl examples"
-
-DEPEND="php_targets_php7-2? ( dev-lang/php:7.2[hash(-)]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-3? ( dev-lang/php:7.3[hash(-)]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-4? (
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   local PHP_EXT_ECONF_ARGS=(
-   --enable-oauth
-   $(use_with curl)
-   )
-   php-ext-source-r3_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2020-09-30 Thread Thomas Deutschmann
commit: ff00d820697e94ba51f398fd9134463fa04dc45d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Sep 30 16:31:37 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Sep 30 18:03:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff00d820

dev-php/pecl-oauth: bump to v2.0.7

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/pecl-oauth/Manifest|  1 +
 dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild | 35 ++
 2 files changed, 36 insertions(+)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index 418f09077ac..5d1bf434453 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1 +1,2 @@
 DIST oauth-2.0.5.tgz 49641 BLAKE2B 
eec258d8dc900c19bea19b0b1db3e1f5b103b65e1298cef0819741181811d98ab86812ab557a3457520bcb6ece48b2b0f081d23897ce06e12b715998cbc1ad2a
 SHA512 
847f8a07aba930d606038a78915ddd9c24aab241d27b844a766e0da3caabf419fd891573524a55b40559a827b1adc1261748efabac5ed1bee45fa770935379ee
+DIST oauth-2.0.7.tgz 78926 BLAKE2B 
2fbe8f9c6df19790b9f617af64a04ed2387e904c3775753ac23fcf3f796007891a546ad6d5fae9b04cab707905f5ff3e9cc56b5c0b4bd1d9bab8745428c683f8
 SHA512 
261bbe6d1c4299f44ce40030b3959e26f2535c70d01b7a4e870d14c84b0a01e68484e61907554d720667fa08a2ec00b7d43cf2f523800c832f02b093e7b6534a

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild
new file mode 100644
index 000..18221a56290
--- /dev/null
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PHP_EXT_NAME="oauth"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php7-2 php7-3 php7-4"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
+LICENSE="BSD"
+SLOT="7"
+IUSE="+curl examples"
+
+DEPEND="php_targets_php7-2? ( dev-lang/php:7.2[hash(-)]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-3? ( dev-lang/php:7.3[hash(-)]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-4? (
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-oauth
+   $(use_with curl)
+   )
+   php-ext-source-r3_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2020-02-11 Thread Brian Evans
commit: 9aea4c71e2317ab57f489bd243fcac29d67be774
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Feb 11 18:48:02 2020 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Feb 11 18:50:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aea4c71

dev-php/pecl-oauth: Version bump for 2.0.5

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/pecl-oauth/Manifest|  1 +
 dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild | 35 ++
 2 files changed, 36 insertions(+)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index baeb7747bce..dd696e1ce5b 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1 +1,2 @@
 DIST oauth-2.0.4.tgz 49359 BLAKE2B 
d5fb23293fc03f40e2b3a5c5ad51bce1b06a6004e1f20d1563b3db7bb79a71f70bca467348d68b4f6d2393003b4ad23debbe5877192d9e189056e86f9fc00b3e
 SHA512 
269b579f87a9f3f229433c74937f74b9b6df453a6e05f7751ca12fa5f24c9ad62d1ebe5cdb370d33d774a0f2e244c1c685a53226dcb35c0005b5532a00c137d4
+DIST oauth-2.0.5.tgz 49641 BLAKE2B 
eec258d8dc900c19bea19b0b1db3e1f5b103b65e1298cef0819741181811d98ab86812ab557a3457520bcb6ece48b2b0f081d23897ce06e12b715998cbc1ad2a
 SHA512 
847f8a07aba930d606038a78915ddd9c24aab241d27b844a766e0da3caabf419fd891573524a55b40559a827b1adc1261748efabac5ed1bee45fa770935379ee

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild
new file mode 100644
index 000..18221a56290
--- /dev/null
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PHP_EXT_NAME="oauth"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php7-2 php7-3 php7-4"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
+LICENSE="BSD"
+SLOT="7"
+IUSE="+curl examples"
+
+DEPEND="php_targets_php7-2? ( dev-lang/php:7.2[hash(-)]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-3? ( dev-lang/php:7.3[hash(-)]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-4? (
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-oauth
+   $(use_with curl)
+   )
+   php-ext-source-r3_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2020-02-11 Thread Brian Evans
commit: 6acadb595b84788e3638100714a724e19ec58a0e
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Feb 11 18:49:06 2020 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Feb 11 18:50:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6acadb59

dev-php/pecl-oauth: Drop old 2.0.4

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/pecl-oauth/Manifest|  1 -
 dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild | 61 --
 2 files changed, 62 deletions(-)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index dd696e1ce5b..418f09077ac 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1,2 +1 @@
-DIST oauth-2.0.4.tgz 49359 BLAKE2B 
d5fb23293fc03f40e2b3a5c5ad51bce1b06a6004e1f20d1563b3db7bb79a71f70bca467348d68b4f6d2393003b4ad23debbe5877192d9e189056e86f9fc00b3e
 SHA512 
269b579f87a9f3f229433c74937f74b9b6df453a6e05f7751ca12fa5f24c9ad62d1ebe5cdb370d33d774a0f2e244c1c685a53226dcb35c0005b5532a00c137d4
 DIST oauth-2.0.5.tgz 49641 BLAKE2B 
eec258d8dc900c19bea19b0b1db3e1f5b103b65e1298cef0819741181811d98ab86812ab557a3457520bcb6ece48b2b0f081d23897ce06e12b715998cbc1ad2a
 SHA512 
847f8a07aba930d606038a78915ddd9c24aab241d27b844a766e0da3caabf419fd891573524a55b40559a827b1adc1261748efabac5ed1bee45fa770935379ee

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild
deleted file mode 100644
index 076b3f695e0..000
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PHP_EXT_NAME="oauth"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4"
-
-inherit php-ext-pecl-r3
-
-# Really only build for 7.0
-USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4"
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
-LICENSE="BSD"
-SLOT="7"
-IUSE="+curl examples"
-
-DEPEND="php_targets_php7-0? ( dev-lang/php:7.0[hash]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-1? ( dev-lang/php:7.1[hash]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-2? ( dev-lang/php:7.2[hash]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-3? ( dev-lang/php:7.3[hash]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-4? (
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-"
-RDEPEND="${DEPEND} php_targets_php5-6? ( 
${CATEGORY}/${PN}:0[php_targets_php5-6(-)?] )"
-
-src_prepare() {
-   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
-   # Disable tests that depend on header order
-   rm "${S}/tests/bug16946.phpt" "${S}/tests/overflow_redir.phpt" 
|| die
-   php-ext-source-r3_src_prepare
-   else
-   eapply_user
-   fi
-}
-
-src_configure() {
-   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
-   local PHP_EXT_ECONF_ARGS=(
-   --enable-oauth
-   $(use_with curl)
-   )
-
-   php-ext-source-r3_src_configure
-   fi
-}
-
-src_install() {
-   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
-   php-ext-pecl-r3_src_install
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/, dev-php/pecl-oauth/files/

2020-01-23 Thread Brian Evans
commit: c7403c3a563edf2d17dc1c3d1594df3fa60b69ab
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Jan 23 18:15:59 2020 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Jan 23 18:38:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7403c3a

dev-php/pecl-oauth: Drop old

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/pecl-oauth/Manifest|  2 -
 .../pecl-oauth/files/2.0.2-compare_segfault.patch  | 48 --
 dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild  | 56 
 dev-php/pecl-oauth/pecl-oauth-2.0.3.ebuild | 59 --
 4 files changed, 165 deletions(-)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index a674f719edc..baeb7747bce 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1,3 +1 @@
-DIST oauth-2.0.2.tgz 49115 BLAKE2B 
292c8c2d7fa3728aa6a73cdb65ee1c603f341cd24596d64b910f495ef649adb1f90ba4dfdab5ce1802dee9e8a0e3a6af502da340ed467de6e8c5d83df18abc7d
 SHA512 
b7aa9459542ec390a5420127d75607702ae6df6254f4e39acb62d35c6a39b8b7990499c279df07ce681081e455b55219c51df42fd516321f317465badf6d459d
-DIST oauth-2.0.3.tgz 49413 BLAKE2B 
581ba50a3add230364ed5c161b76073b1dd7c301eaf4cd048ed97039deb45fea73da56f0d0b69186d8f6fb20a55724ba5892d80bd7aae343b15534d3c82b6346
 SHA512 
3e0ce5ce01533bfd304c0c34465cc184fbd0af1a25f5192860e6394c86dc948688cc8d4b419b48676481cef3a685ba70ac612a8c516da26d0dfe9efdef7e98d9
 DIST oauth-2.0.4.tgz 49359 BLAKE2B 
d5fb23293fc03f40e2b3a5c5ad51bce1b06a6004e1f20d1563b3db7bb79a71f70bca467348d68b4f6d2393003b4ad23debbe5877192d9e189056e86f9fc00b3e
 SHA512 
269b579f87a9f3f229433c74937f74b9b6df453a6e05f7751ca12fa5f24c9ad62d1ebe5cdb370d33d774a0f2e244c1c685a53226dcb35c0005b5532a00c137d4

diff --git a/dev-php/pecl-oauth/files/2.0.2-compare_segfault.patch 
b/dev-php/pecl-oauth/files/2.0.2-compare_segfault.patch
deleted file mode 100644
index f0b8d7ae216..000
--- a/dev-php/pecl-oauth/files/2.0.2-compare_segfault.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From f1a5b6dea1982dab03c810edd321ca57907d41fe Mon Sep 17 00:00:00 2001
-From: Adam Saponara 
-Date: Fri, 24 Feb 2017 17:20:51 -0500
-Subject: [PATCH] Fix bug #74163: Segfault in oauth_compare_value
-
-Credit to @russpos for finding this bug

- oauth.c  | 4 ++--
- tests/oauth_sbs.phpt | 4 
- 2 files changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/oauth.c b/oauth.c
-index 62522bd..198e2cb 100644
 a/oauth.c
-+++ b/oauth.c
-@@ -374,8 +374,8 @@ static int oauth_strcmp(zval *first, zval *second)
- static int oauth_compare_value(const void *a, const void *b)
- {
-   Bucket *f, *s;
--  f = *(Bucket **)a;
--  s = *(Bucket **)b;
-+  f = (Bucket *)a;
-+  s = (Bucket *)b;
- 
-   return oauth_strcmp(&f->val, &s->val);
- }
-diff --git a/tests/oauth_sbs.phpt b/tests/oauth_sbs.phpt
-index a49d2b4..4e9269e 100644
 a/tests/oauth_sbs.phpt
-+++ b/tests/oauth_sbs.phpt
-@@ -21,6 +21,8 @@ echo "-- putting oauth_signature inside by mistake --\n";
- echo oauth_get_sbs('GET', 
'http://127.0.0.1:12342/',array('oauth_signature'=>'hello world')),"\n";
- echo "-- merging url query and extra params --\n";
- echo oauth_get_sbs('GET', 'http://127.0.0.1:12342/script?arg1=1',array('arg2' 
=> '2')),"\n";
-+echo "-- with array value --\n";
-+echo oauth_get_sbs('GET', 'http://127.0.0.1:12342/script',array('arg2' => [1, 
2, 3])),"\n";
- 
- ?>
- --EXPECTF--
-@@ -44,3 +46,5 @@ GET&http%3A%2F%2F127.0.0.1%3A12342%2F&test%3D
- GET&http%3A%2F%2F127.0.0.1%3A12342%2F&
- -- merging url query and extra params --
- GET&http%3A%2F%2F127.0.0.1%3A12342%2Fscript&arg1%3D1%26arg2%3D2
-+-- with array value --
-+GET&http%3A%2F%2F127.0.0.1%3A12342%2Fscript&arg2%3D1%26arg2%3D2%26arg2%3D3
--- 
-2.1.4
-

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild
deleted file mode 100644
index 987a87b85ee..000
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PHP_EXT_NAME="oauth"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php5-6 php7-0 php7-1 php7-2"
-
-inherit php-ext-pecl-r3
-
-# Really only build for 7.0
-USE_PHP="php7-0 php7-1 php7-2"
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
-LICENSE="BSD"
-SLOT="7"
-IUSE="+curl examples"
-
-DEPEND="php_targets_php7-0? ( dev-lang/php:7.0[hash]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-1? ( dev-lang/php:7.1[hash]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-   php_targets_php7-2? ( dev-lang/php:7.2[hash]
-   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
-"
-RDEPEND="${DEPEND} php_targets_php5-6? ( 
${CATEGORY}/${PN}:0[php_targets_php5-6(-)?] )"
-
-src_prepare() {
-   if use php_tar

[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2019-12-02 Thread Thomas Deutschmann
commit: fd91b9562a48b0f6d32f6bc76c755365ccc39ea1
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Dec  2 13:35:35 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Dec  2 13:39:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd91b956

dev-php/pecl-oauth: bump to v2.0.4

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/pecl-oauth/Manifest|  1 +
 dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index 89ade9ac0bc..0a3deb2daf7 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1,3 +1,4 @@
 DIST oauth-1.2.3.tgz 45531 BLAKE2B 
10fb5a3d1a46ee17fef7b129b3c29d67d565d296579aff63d8309f4efc5b881450249fb8e6d25703a33ad53e336775abc73f3d8e489f78c00c8988219b02ae1b
 SHA512 
ca61dbec8fa51679accb31eab90b8699c7780f2d60a83566ce05667148ee44b7dc70fd8235414d6a3a996b252ad4a236b3e8a549685fd7e890e0874029c455e1
 DIST oauth-2.0.2.tgz 49115 BLAKE2B 
292c8c2d7fa3728aa6a73cdb65ee1c603f341cd24596d64b910f495ef649adb1f90ba4dfdab5ce1802dee9e8a0e3a6af502da340ed467de6e8c5d83df18abc7d
 SHA512 
b7aa9459542ec390a5420127d75607702ae6df6254f4e39acb62d35c6a39b8b7990499c279df07ce681081e455b55219c51df42fd516321f317465badf6d459d
 DIST oauth-2.0.3.tgz 49413 BLAKE2B 
581ba50a3add230364ed5c161b76073b1dd7c301eaf4cd048ed97039deb45fea73da56f0d0b69186d8f6fb20a55724ba5892d80bd7aae343b15534d3c82b6346
 SHA512 
3e0ce5ce01533bfd304c0c34465cc184fbd0af1a25f5192860e6394c86dc948688cc8d4b419b48676481cef3a685ba70ac612a8c516da26d0dfe9efdef7e98d9
+DIST oauth-2.0.4.tgz 49359 BLAKE2B 
d5fb23293fc03f40e2b3a5c5ad51bce1b06a6004e1f20d1563b3db7bb79a71f70bca467348d68b4f6d2393003b4ad23debbe5877192d9e189056e86f9fc00b3e
 SHA512 
269b579f87a9f3f229433c74937f74b9b6df453a6e05f7751ca12fa5f24c9ad62d1ebe5cdb370d33d774a0f2e244c1c685a53226dcb35c0005b5532a00c137d4

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild
new file mode 100644
index 000..076b3f695e0
--- /dev/null
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PHP_EXT_NAME="oauth"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4"
+
+inherit php-ext-pecl-r3
+
+# Really only build for 7.0
+USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
+LICENSE="BSD"
+SLOT="7"
+IUSE="+curl examples"
+
+DEPEND="php_targets_php7-0? ( dev-lang/php:7.0[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-1? ( dev-lang/php:7.1[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-2? ( dev-lang/php:7.2[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-3? ( dev-lang/php:7.3[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-4? (
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+"
+RDEPEND="${DEPEND} php_targets_php5-6? ( 
${CATEGORY}/${PN}:0[php_targets_php5-6(-)?] )"
+
+src_prepare() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
+   # Disable tests that depend on header order
+   rm "${S}/tests/bug16946.phpt" "${S}/tests/overflow_redir.phpt" 
|| die
+   php-ext-source-r3_src_prepare
+   else
+   eapply_user
+   fi
+}
+
+src_configure() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-oauth
+   $(use_with curl)
+   )
+
+   php-ext-source-r3_src_configure
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
+   php-ext-pecl-r3_src_install
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2018-10-22 Thread Brian Evans
commit: 34b03678278a9cb50c15db0390607cbf913cf590
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Oct 22 20:24:11 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Oct 22 20:24:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34b03678

dev-php/pecl-oauth: Version bump for 2.0.3

Signed-off-by: Brian Evans  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-php/pecl-oauth/Manifest|  1 +
 dev-php/pecl-oauth/pecl-oauth-2.0.3.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index 69423bf64e1..89ade9ac0bc 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1,2 +1,3 @@
 DIST oauth-1.2.3.tgz 45531 BLAKE2B 
10fb5a3d1a46ee17fef7b129b3c29d67d565d296579aff63d8309f4efc5b881450249fb8e6d25703a33ad53e336775abc73f3d8e489f78c00c8988219b02ae1b
 SHA512 
ca61dbec8fa51679accb31eab90b8699c7780f2d60a83566ce05667148ee44b7dc70fd8235414d6a3a996b252ad4a236b3e8a549685fd7e890e0874029c455e1
 DIST oauth-2.0.2.tgz 49115 BLAKE2B 
292c8c2d7fa3728aa6a73cdb65ee1c603f341cd24596d64b910f495ef649adb1f90ba4dfdab5ce1802dee9e8a0e3a6af502da340ed467de6e8c5d83df18abc7d
 SHA512 
b7aa9459542ec390a5420127d75607702ae6df6254f4e39acb62d35c6a39b8b7990499c279df07ce681081e455b55219c51df42fd516321f317465badf6d459d
+DIST oauth-2.0.3.tgz 49413 BLAKE2B 
581ba50a3add230364ed5c161b76073b1dd7c301eaf4cd048ed97039deb45fea73da56f0d0b69186d8f6fb20a55724ba5892d80bd7aae343b15534d3c82b6346
 SHA512 
3e0ce5ce01533bfd304c0c34465cc184fbd0af1a25f5192860e6394c86dc948688cc8d4b419b48676481cef3a685ba70ac612a8c516da26d0dfe9efdef7e98d9

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.3.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.3.ebuild
new file mode 100644
index 000..13247d2fb7c
--- /dev/null
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PHP_EXT_NAME="oauth"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
+
+inherit php-ext-pecl-r3
+
+# Really only build for 7.0
+USE_PHP="php7-0 php7-1 php7-2 php7-3"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
+LICENSE="BSD"
+SLOT="7"
+IUSE="+curl examples"
+
+DEPEND="php_targets_php7-0? ( dev-lang/php:7.0[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-1? ( dev-lang/php:7.1[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-2? ( dev-lang/php:7.2[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-3? ( dev-lang/php:7.3[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+"
+RDEPEND="${DEPEND} php_targets_php5-6? ( 
${CATEGORY}/${PN}:0[php_targets_php5-6(-)?] )"
+
+src_prepare() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3; then
+   # Disable tests that depend on header order
+   rm "${S}/tests/bug16946.phpt" "${S}/tests/overflow_redir.phpt" 
|| die
+   php-ext-source-r3_src_prepare
+   else
+   eapply_user
+   fi
+}
+
+src_configure() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3; then
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-oauth
+   $(use_with curl)
+   )
+
+   php-ext-source-r3_src_configure
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3; then
+   php-ext-pecl-r3_src_install
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2018-04-06 Thread Brian Evans
commit: ae67dc262a42bbbfe720eff3f552ed257530ed69
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Apr  6 17:31:30 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Apr  6 17:31:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae67dc26

dev-php/pecl-oauth: Revbump for 7.2 support

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 ...cl-oauth-2.0.2-r1.ebuild => pecl-oauth-2.0.2-r2.ebuild} | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.2-r1.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild
similarity index 67%
rename from dev-php/pecl-oauth/pecl-oauth-2.0.2-r1.ebuild
rename to dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild
index 988ba351a82..987a87b85ee 100644
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.2-r1.ebuild
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -6,12 +6,12 @@ PHP_EXT_NAME="oauth"
 PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 
-USE_PHP="php5-6 php7-0 php7-1"
+USE_PHP="php5-6 php7-0 php7-1 php7-2"
 
 inherit php-ext-pecl-r3
 
 # Really only build for 7.0
-USE_PHP="php7-0 php7-1"
+USE_PHP="php7-0 php7-1 php7-2"
 
 KEYWORDS="~amd64 ~x86"
 
@@ -24,11 +24,13 @@ DEPEND="php_targets_php7-0? ( dev-lang/php:7.0[hash]
dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
php_targets_php7-1? ( dev-lang/php:7.1[hash]
dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
+   php_targets_php7-2? ( dev-lang/php:7.2[hash]
+   dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
 "
 RDEPEND="${DEPEND} php_targets_php5-6? ( 
${CATEGORY}/${PN}:0[php_targets_php5-6(-)?] )"
 
 src_prepare() {
-   if use php_targets_php7-0 || use php_targets_php7-1 ; then
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2; then
local PATCHES=( "${FILESDIR}/${PV}-compare_segfault.patch" )
php-ext-source-r3_src_prepare
else
@@ -37,7 +39,7 @@ src_prepare() {
 }
 
 src_configure() {
-   if use php_targets_php7-0 || use php_targets_php7-1 ; then
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2; then
local PHP_EXT_ECONF_ARGS=(
--enable-oauth
$(use_with curl)
@@ -48,7 +50,7 @@ src_configure() {
 }
 
 src_install() {
-   if use php_targets_php7-0 || use php_targets_php7-1 ; then
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2; then
php-ext-pecl-r3_src_install
fi
 }



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/, dev-php/pecl-oauth/files/

2017-03-04 Thread Brian Evans
commit: 10363c109a4155fb7702eaa88819f00586b243aa
Author: Brian Evans  gentoo  org>
AuthorDate: Sun Mar  5 01:44:06 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Sun Mar  5 01:44:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10363c10

dev-php/pecl-oauth: Revbump to fix dependencies and add php7-1

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-php/pecl-oauth/files/1.2.3-prce.h-check.patch  | 26 
 dev-php/pecl-oauth/files/1.2.3-withcurl.patch  | 71 ++
 .../pecl-oauth/files/2.0.2-compare_segfault.patch  | 48 +++
 dev-php/pecl-oauth/pecl-oauth-1.2.3-r5.ebuild  | 56 +
 dev-php/pecl-oauth/pecl-oauth-2.0.2-r1.ebuild  | 54 
 5 files changed, 255 insertions(+)

diff --git a/dev-php/pecl-oauth/files/1.2.3-prce.h-check.patch 
b/dev-php/pecl-oauth/files/1.2.3-prce.h-check.patch
new file mode 100644
index 000..995ef51f28c
--- /dev/null
+++ b/dev-php/pecl-oauth/files/1.2.3-prce.h-check.patch
@@ -0,0 +1,26 @@
+From f12e2bd72b238da2dbf3bd0f882d977073cca282 Mon Sep 17 00:00:00 2001
+From: John Jawed 
+Date: Thu, 24 Jul 2014 15:19:18 +
+Subject: [PATCH] Bug #67658 (configure does not detect missing pcre.h)
+
+git-svn-id: https://svn.php.net/repository/pecl/oauth/trunk@334377 
c90b9560-bf6c-de11-be94-00142212c4b1
+---
+ config.m4 | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/config.m4 b/config.m4
+index 48e2608..53a5ea8 100644
+--- a/config.m4
 b/config.m4
+@@ -14,6 +14,8 @@ if test "$PHP_OAUTH" != "no"; then
+   PHP_NEW_EXTENSION(oauth, oauth.c provider.c, $ext_shared)
+   CFLAGS="$CFLAGS -Wall -g"
+ 
++  AC_CHECK_HEADERS(pcre.h)
++
+   AS_IF([test "x$with_curl" != "xno"],
+   [
+ AC_MSG_CHECKING(for cURL in default path)
+-- 
+2.1.4
+

diff --git a/dev-php/pecl-oauth/files/1.2.3-withcurl.patch 
b/dev-php/pecl-oauth/files/1.2.3-withcurl.patch
new file mode 100644
index 000..5069ae92b14
--- /dev/null
+++ b/dev-php/pecl-oauth/files/1.2.3-withcurl.patch
@@ -0,0 +1,71 @@
+From 1b68ce035883f1ae186d82682fbbc5ea7d1834b3 Mon Sep 17 00:00:00 2001
+From: John Jawed 
+Date: Fri, 18 Jan 2013 20:28:05 +
+Subject: [PATCH] Bug 64025 (patch via mattsch at gmail dot com)
+
+git-svn-id: https://svn.php.net/repository/pecl/oauth/trunk@329234 
c90b9560-bf6c-de11-be94-00142212c4b1
+---
+ config.m4 | 40 ++--
+ 1 file changed, 26 insertions(+), 14 deletions(-)
+
+diff --git a/config.m4 b/config.m4
+index 832c577..48e2608 100644
+--- a/config.m4
 b/config.m4
+@@ -5,27 +5,39 @@ dnl
+ PHP_ARG_ENABLE(oauth, for oauth support,
+ [  --enable-oauth  Include oauth support])
+ 
++AC_ARG_WITH([curl],
++AS_HELP_STRING([--without-curl], [Ignore presence of cURL and disable 
it]))
++
+ if test "$PHP_OAUTH" != "no"; then
+   PHP_SUBST(OAUTH_SHARED_LIBADD)
+ 
+   PHP_NEW_EXTENSION(oauth, oauth.c provider.c, $ext_shared)
+   CFLAGS="$CFLAGS -Wall -g"
+ 
+-  AC_MSG_CHECKING(for cURL in default path)
+-  for i in /usr/local /usr; do
+-if test -r $i/include/curl/easy.h; then
+-  CURL_DIR=$i
+-  AC_MSG_RESULT(found in $i)
+-  break
+-fi
+-  done
++  AS_IF([test "x$with_curl" != "xno"],
++  [
++AC_MSG_CHECKING(for cURL in default path)
++have_curl=no
++for i in /usr/local /usr; do
++  if test -r $i/include/curl/easy.h; then
++have_curl=yes
++CURL_DIR=$i
++AC_MSG_RESULT(found in $i)
++break
++  fi
++done
++  ],
++  [have_curl=no])
+ 
+-  if test -z "$CURL_DIR"; then
+-AC_MSG_RESULT(cURL not found, cURL support disabled)
+-  else
+-PHP_ADD_LIBRARY(curl,,OAUTH_SHARED_LIBADD)
+-AC_DEFINE(OAUTH_USE_CURL, 1, [Whether cURL is present and should be used])
+-  fi
++  AS_IF([test "x$have_curl" = "xyes"],
++  [
++PHP_ADD_LIBRARY(curl,,OAUTH_SHARED_LIBADD)
++AC_DEFINE(OAUTH_USE_CURL, 1, [Whether cURL is present and should be 
used])
++  ],
++  [AS_IF([test "x$with_curl" = "xyes"],
++ [AC_MSG_ERROR([cURL requested but not found])
++  ])
++  ])
+ 
+   PHP_ADD_EXTENSION_DEP(oauth, hash)
+ fi
+-- 
+2.1.4
+

diff --git a/dev-php/pecl-oauth/files/2.0.2-compare_segfault.patch 
b/dev-php/pecl-oauth/files/2.0.2-compare_segfault.patch
new file mode 100644
index 000..f0b8d7ae216
--- /dev/null
+++ b/dev-php/pecl-oauth/files/2.0.2-compare_segfault.patch
@@ -0,0 +1,48 @@
+From f1a5b6dea1982dab03c810edd321ca57907d41fe Mon Sep 17 00:00:00 2001
+From: Adam Saponara 
+Date: Fri, 24 Feb 2017 17:20:51 -0500
+Subject: [PATCH] Fix bug #74163: Segfault in oauth_compare_value
+
+Credit to @russpos for finding this bug
+---
+ oauth.c  | 4 ++--
+ tests/oauth_sbs.phpt | 4 
+ 2 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/oauth.c b/oauth.c
+index 62522bd..198e2cb 100644
+--- a/oauth.c
 b/oauth.c
+@@ -374,8 +374,8 @@ static int oauth_strc

[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2017-03-04 Thread Brian Evans
commit: 84f5c3e99feea3c88658b032ec7313c7d7ac36f2
Author: Brian Evans  gentoo  org>
AuthorDate: Sun Mar  5 01:44:46 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Sun Mar  5 01:44:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84f5c3e9

dev-php/pecl-oauth: Drop old

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-php/pecl-oauth/pecl-oauth-1.2.3-r4.ebuild | 28 
 dev-php/pecl-oauth/pecl-oauth-2.0.2.ebuild| 31 ---
 2 files changed, 59 deletions(-)

diff --git a/dev-php/pecl-oauth/pecl-oauth-1.2.3-r4.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-1.2.3-r4.ebuild
deleted file mode 100644
index 24f520b752a..000
--- a/dev-php/pecl-oauth/pecl-oauth-1.2.3-r4.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PHP_EXT_NAME="oauth"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php5-6"
-
-inherit php-ext-pecl-r3
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
-LICENSE="BSD"
-SLOT="0"
-IUSE="examples"
-
-for target in ${USE_PHP}; do
-   slot=${target/php}
-   slot=${slot/-/.}
-   PHPUSEDEPEND="${PHPUSEDEPEND}
-   php_targets_${target}? ( dev-lang/php:${slot}[hash] )"
-done
-
-DEPEND="${PHPUSEDEPEND}"
-RDEPEND="${DEPEND}"

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.2.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.2.ebuild
deleted file mode 100644
index 900f15f52e8..000
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-PHP_EXT_NAME="oauth"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php5-6 php7-0"
-
-inherit php-ext-pecl-r2
-
-# Really only build for 7.0
-USE_PHP="php7-0"
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
-LICENSE="BSD"
-SLOT="7"
-IUSE="examples"
-
-for target in ${USE_PHP}; do
-   slot=${target/php}
-   slot=${slot/-/.}
-   PHPUSEDEPEND="${PHPUSEDEPEND}
-   php_targets_${target}? ( dev-lang/php:${slot}[hash] )"
-done
-
-DEPEND="${PHPUSEDEPEND}"
-RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2016-12-01 Thread Brian Evans
commit: d9bc0fd77a39e45351b89515c5926aff6a0fa7f7
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Dec  1 15:45:52 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Dec  1 15:46:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9bc0fd7

dev-php/pecl-oauth: Drop old

Package-Manager: portage-2.3.2

 dev-php/pecl-oauth/pecl-oauth-1.2.3-r3.ebuild | 29 ---
 1 file changed, 29 deletions(-)

diff --git a/dev-php/pecl-oauth/pecl-oauth-1.2.3-r3.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-1.2.3-r3.ebuild
deleted file mode 100644
index 0afc732..
--- a/dev-php/pecl-oauth/pecl-oauth-1.2.3-r3.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-PHP_EXT_NAME="oauth"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php5-6 php5-5 php5-4"
-
-inherit php-ext-pecl-r2
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
-LICENSE="BSD"
-SLOT="0"
-IUSE="examples"
-
-for target in ${USE_PHP}; do
-   slot=${target/php}
-   slot=${slot/-/.}
-   PHPUSEDEPEND="${PHPUSEDEPEND}
-   php_targets_${target}? ( dev-lang/php:${slot}[hash] )"
-done
-
-DEPEND="${PHPUSEDEPEND}"
-RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2016-12-01 Thread Brian Evans
commit: c9d8584078c2d8780b1c3267d9d97d694c45cd1e
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Dec  1 15:45:16 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Dec  1 15:46:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9d85840

dev-php/pecl-oauth: Revision bump to drop php 5.4 and 5.5

Package-Manager: portage-2.3.2

 dev-php/pecl-oauth/pecl-oauth-1.2.3-r4.ebuild | 29 +++
 1 file changed, 29 insertions(+)

diff --git a/dev-php/pecl-oauth/pecl-oauth-1.2.3-r4.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-1.2.3-r4.ebuild
new file mode 100644
index ..7d9bd3c
--- /dev/null
+++ b/dev-php/pecl-oauth/pecl-oauth-1.2.3-r4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+PHP_EXT_NAME="oauth"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
+LICENSE="BSD"
+SLOT="0"
+IUSE="examples"
+
+for target in ${USE_PHP}; do
+   slot=${target/php}
+   slot=${slot/-/.}
+   PHPUSEDEPEND="${PHPUSEDEPEND}
+   php_targets_${target}? ( dev-lang/php:${slot}[hash] )"
+done
+
+DEPEND="${PHPUSEDEPEND}"
+RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2016-06-29 Thread Brian Evans
commit: 62c458d82aa86554bf0b10bdbba6d3d3a698813a
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Jun 29 16:18:43 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Jun 29 16:18:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c458d8

dev-php/pecl-oauth: Version bump into new slot

Package-Manager: portage-2.3.0

 dev-php/pecl-oauth/Manifest  | 2 +-
 .../{pecl-oauth-2.0.0.ebuild => pecl-oauth-2.0.2.ebuild} | 9 ++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index d35b475..b9312d8 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1,2 +1,2 @@
 DIST oauth-1.2.3.tgz 45531 SHA256 
86bb5ee37afe672d4532ad784c7f711855c79f0dabf0acacafd5344ab6cf0195 SHA512 
ca61dbec8fa51679accb31eab90b8699c7780f2d60a83566ce05667148ee44b7dc70fd8235414d6a3a996b252ad4a236b3e8a549685fd7e890e0874029c455e1
 WHIRLPOOL 
20969ea78c25152ac8e32d0c726bd112bdc5cb2b8d2fc59401d2c43f3d8990ed51702235afb07f0b8af604a5cf7264661caff1a8fc6bc7db25e71d682583a69c
-DIST oauth-2.0.0.tgz 49031 SHA256 
f223a166e82ea51a241c229c5788e19dcafd8a1886ce2b7635cae29cb33c4f0e SHA512 
9d14297012a2e6c679e3377955b5d06e180c4d81926c1db6ec8cf503661b61e3290edcc9f5903c7e31e2316e98457f4758e3d0744dc2e0d3d1b26c6888e78cc2
 WHIRLPOOL 
072a8a495e27f2eb2ca308aa5e63c54c42ad19b487abb93860aeadb608f5237e7ae374543f7f8d78573d854b93262f39a9aad25728b811b2f9ab02c65510956b
+DIST oauth-2.0.2.tgz 49115 SHA256 
87ce1a5d585f439f0ead2683f2f7dca76d538df9143da681978356b5e1c6e8e8 SHA512 
b7aa9459542ec390a5420127d75607702ae6df6254f4e39acb62d35c6a39b8b7990499c279df07ce681081e455b55219c51df42fd516321f317465badf6d459d
 WHIRLPOOL 
5cec99d60d0b6f0f2b0f5d219a27fd144372451b38093d5722943fca5293c4c4d5edc82976a7125f4a473d1c8c796756a173988fddc24a6bec481c8038151c0c

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.0.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.2.ebuild
similarity index 81%
rename from dev-php/pecl-oauth/pecl-oauth-2.0.0.ebuild
rename to dev-php/pecl-oauth/pecl-oauth-2.0.2.ebuild
index a384846..6e1d041 100644
--- a/dev-php/pecl-oauth/pecl-oauth-2.0.0.ebuild
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.2.ebuild
@@ -7,15 +7,18 @@ PHP_EXT_NAME="oauth"
 PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 
-USE_PHP="php7-0"
+USE_PHP="php5-6 php7-0"
 
 inherit php-ext-pecl-r2
 
+# Really only build for 7.0
+USE_PHP="php7-0"
+
 KEYWORDS="~amd64 ~x86"
 
 DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
 LICENSE="BSD"
-SLOT="0"
+SLOT="7"
 IUSE="examples"
 
 for target in ${USE_PHP}; do
@@ -26,4 +29,4 @@ for target in ${USE_PHP}; do
 done
 
 DEPEND="${PHPUSEDEPEND}"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0 )"



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2016-01-14 Thread Brian Evans
commit: c7b6acb1a6e90a656fa1f5ab7cdf45ceb8ed20b4
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Jan 14 21:10:44 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Jan 14 21:35:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b6acb1

dev-php/pecl-oauth: Version bump for php-7

Package-Manager: portage-2.2.26

 dev-php/pecl-oauth/Manifest|  1 +
 dev-php/pecl-oauth/pecl-oauth-2.0.0.ebuild | 29 +
 2 files changed, 30 insertions(+)

diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
index 9f1fb3c..d35b475 100644
--- a/dev-php/pecl-oauth/Manifest
+++ b/dev-php/pecl-oauth/Manifest
@@ -1 +1,2 @@
 DIST oauth-1.2.3.tgz 45531 SHA256 
86bb5ee37afe672d4532ad784c7f711855c79f0dabf0acacafd5344ab6cf0195 SHA512 
ca61dbec8fa51679accb31eab90b8699c7780f2d60a83566ce05667148ee44b7dc70fd8235414d6a3a996b252ad4a236b3e8a549685fd7e890e0874029c455e1
 WHIRLPOOL 
20969ea78c25152ac8e32d0c726bd112bdc5cb2b8d2fc59401d2c43f3d8990ed51702235afb07f0b8af604a5cf7264661caff1a8fc6bc7db25e71d682583a69c
+DIST oauth-2.0.0.tgz 49031 SHA256 
f223a166e82ea51a241c229c5788e19dcafd8a1886ce2b7635cae29cb33c4f0e SHA512 
9d14297012a2e6c679e3377955b5d06e180c4d81926c1db6ec8cf503661b61e3290edcc9f5903c7e31e2316e98457f4758e3d0744dc2e0d3d1b26c6888e78cc2
 WHIRLPOOL 
072a8a495e27f2eb2ca308aa5e63c54c42ad19b487abb93860aeadb608f5237e7ae374543f7f8d78573d854b93262f39a9aad25728b811b2f9ab02c65510956b

diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.0.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-2.0.0.ebuild
new file mode 100644
index 000..a384846
--- /dev/null
+++ b/dev-php/pecl-oauth/pecl-oauth-2.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PHP_EXT_NAME="oauth"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php7-0"
+
+inherit php-ext-pecl-r2
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
+LICENSE="BSD"
+SLOT="0"
+IUSE="examples"
+
+for target in ${USE_PHP}; do
+   slot=${target/php}
+   slot=${slot/-/.}
+   PHPUSEDEPEND="${PHPUSEDEPEND}
+   php_targets_${target}? ( dev-lang/php:${slot}[hash] )"
+done
+
+DEPEND="${PHPUSEDEPEND}"
+RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-oauth/

2015-09-25 Thread Michael Orlitzky
commit: d5335c4e77eec4e81687b8db78f00ea9a48fc9de
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Sep 25 16:59:47 2015 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Sep 25 17:00:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5335c4e

dev-php/pecl-oauth: revbump to fix DOCS and add USE=examples.

Package-Manager: portage-2.2.20.1

 .../{pecl-oauth-1.2.3-r2.ebuild => pecl-oauth-1.2.3-r3.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-php/pecl-oauth/pecl-oauth-1.2.3-r2.ebuild 
b/dev-php/pecl-oauth/pecl-oauth-1.2.3-r3.ebuild
similarity index 96%
rename from dev-php/pecl-oauth/pecl-oauth-1.2.3-r2.ebuild
rename to dev-php/pecl-oauth/pecl-oauth-1.2.3-r3.ebuild
index e409572..0afc732 100644
--- a/dev-php/pecl-oauth/pecl-oauth-1.2.3-r2.ebuild
+++ b/dev-php/pecl-oauth/pecl-oauth-1.2.3-r3.ebuild
@@ -6,7 +6,6 @@ EAPI="5"
 PHP_EXT_NAME="oauth"
 PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
-DOCS="README"
 
 USE_PHP="php5-6 php5-5 php5-4"
 
@@ -17,7 +16,7 @@ KEYWORDS="~amd64 ~x86"
 DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
 LICENSE="BSD"
 SLOT="0"
-IUSE=""
+IUSE="examples"
 
 for target in ${USE_PHP}; do
slot=${target/php}