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

2023-11-24 Thread Sam James
commit: cc47ffa05c9868de9e745e8f9fac895b865f8329
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 05:36:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 05:36:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc47ffa0

dev-php/pecl-http: cleanup curl_ssl_nss cruft

curl removed this upstream a few releases ago, and all releases are now gone 
from
::gentoo.

Signed-off-by: Sam James  gentoo.org>

 .../pecl-http/{pecl-http-4.2.2.ebuild => pecl-http-4.2.2-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-4.2.2.ebuild 
b/dev-php/pecl-http/pecl-http-4.2.2-r1.ebuild
similarity index 91%
rename from dev-php/pecl-http/pecl-http-4.2.2.ebuild
rename to dev-php/pecl-http/pecl-http-4.2.2-r1.ebuild
index 4b7e320a307b..db8ac9043284 100644
--- a/dev-php/pecl-http/pecl-http-4.2.2.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.2.2-r1.ebuild
@@ -18,14 +18,14 @@ KEYWORDS="amd64 x86"
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"
 SLOT="8"
-IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
+IUSE="ssl curl_ssl_gnutls +curl_ssl_openssl"
 
 COMMON_DEPEND="app-arch/brotli:=
dev-libs/libevent

>=dev-php/pecl-raphf-2.0.1:7[php_targets_php8-0(-)?,php_targets_php8-1(-)?]
net-dns/libidn2
sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] )
+   ssl? ( net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=] )
!ssl? ( net-misc/curl[-ssl] )
 "
 DEPEND="



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

2023-08-13 Thread Conrad Kostecki
commit: 4b9af5c094ed17c886da57dc91711b6b26f92903
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Aug 13 13:36:54 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Aug 14 05:57:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b9af5c0

dev-php/pecl-http: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/32290
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/pecl-http-3.2.4-curl-cookies.patch   | 242 -
 1 file changed, 242 deletions(-)

diff --git a/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch 
b/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch
deleted file mode 100644
index 2f3a7c73a240..
--- a/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch
+++ /dev/null
@@ -1,242 +0,0 @@
-diff --git a/autoconf/pecl/libbrotli.m4 b/autoconf/pecl/libbrotli.m4
-index f8916e2..575f635 100644
 a/autoconf/pecl/libbrotli.m4
-+++ b/autoconf/pecl/libbrotli.m4
-@@ -1,5 +1,11 @@
- 
- AC_DEFUN([PECL_CHECK_LIBBROTLI], [
-+  dnl config.m4 calls PECL_CHECK_DONE once more
-+  PECL_COUNT_CHECKS([+1])
-+  PECL_SAVE_ENV([CPPFLAGS], [libbrotli])
-+  PECL_SAVE_ENV([LDFLAGS], [libbrotli])
-+  PECL_SAVE_ENV([LIBS], [libbrotli])
-+
-   PECL_CHECK_LIBBROTLI_COMMON([$1], [$2])
-   PECL_CHECK_DONE(libbrotlicommon, [$PECL_VAR([HAVE_LIBBROTLI_COMMON])])
-   PECL_CHECK_LIBBROTLI_DEC([$1], [$2])
-diff --git a/autoconf/pecl/libcurl.m4 b/autoconf/pecl/libcurl.m4
-index 4d99207..8de9499 100644
 a/autoconf/pecl/libcurl.m4
-+++ b/autoconf/pecl/libcurl.m4
-@@ -160,6 +160,26 @@ AC_DEFUN([PECL_HAVE_LIBCURL_SSL], [dnl
-   fi
-   fi
-   ])
-+
-+  PECL_HAVE_CONST([curl/curl.h], [CURL_LOCK_DATA_SSL_SESSION], 
int, [
-+  AC_CACHE_CHECK([whether curl_share accepts 
CURL_LOCK_DATA_SSL_SESSION], PECL_CACHE_VAR([LIBCURL_SHARE_SSL]), [
-+  PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=
-+  AC_TRY_RUN([
-+  #include 
-+  int main(int argc, char *argv[]) {
-+  CURLSH *ch = curl_share_init();
-+  return curl_share_setopt(ch, 
CURLSHOPT_SHARE, CURL_LOCK_DATA_SSL_SESSION);
-+  }
-+  ], [
-+  PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=yes
-+  ], [
-+  PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=no
-+  ])
-+  ])
-+  if test "$PECL_CACHE_VAR([LIBCURL_SHARE_SSL])" = yes; 
then
-+  PECL_DEFINE([HAVE_LIBCURL_SHARE_SSL], [1])
-+  fi
-+  ])
-   ])
- ])
- dnl
-diff --git a/autoconf/pecl/pecl.m4 b/autoconf/pecl/pecl.m4
-index ffa45ac..d8735b0 100644
 a/autoconf/pecl/pecl.m4
-+++ b/autoconf/pecl/pecl.m4
-@@ -70,6 +70,12 @@ AC_DEFUN([PECL_RESTORE_ENV], [
-   $1=$PECL_SAVE_VAR([$2_$1])
- ])
- dnl
-+dnl PECL_COUNT_CHECKS(incdec)
-+dnl
-+AC_DEFUN([PECL_COUNT_CHECKS], [
-+  PECL_VAR([_checks])=$(($PECL_VAR([_checks])$1))
-+])
-+dnl
- dnl PECL_EVAL_LIBLINE(libline)
- dnl
- AC_DEFUN([PECL_EVAL_LIBLINE], [
-@@ -244,6 +250,7 @@ dnl
- dnl PECL_CHECK_CUSTOM(name, path, header, lib, version)
- dnl
- AC_DEFUN([PECL_CHECK_CUSTOM], [
-+  PECL_COUNT_CHECKS([+1])
-   PECL_SAVE_ENV([CPPFLAGS], [$1])
-   PECL_SAVE_ENV([LDFLAGS], [$1])
-   PECL_SAVE_ENV([LIBS], [$1])
-@@ -260,10 +267,10 @@ AC_DEFUN([PECL_CHECK_CUSTOM], [
-   done
-   ])
-   if test -n "$PECL_CACHE_VAR([$1_prefix])"; then
--  CPPFLAGS="-I$PECL_CACHE_VAR([$1_prefix])/include"
--  LDFLAGS="-L$PECL_CACHE_VAR([$1_prefix])/$PHP_LIBDIR"
--  LIBS="-l$4"
--  PECL_EVAL_LIBLINE([$LDFLAGS $LIBS])
-+  CPPFLAGS="$CPPFLAGS -I$PECL_CACHE_VAR([$1_prefix])/include"
-+  LDFLAGS="$LDFLAGS -L$PECL_CACHE_VAR([$1_prefix])/$PHP_LIBDIR"
-+  LIBS="$LIBS -l$4"
-+  dnl PECL_EVAL_LIBLINE([$LDFLAGS $LIBS])
-   
-   AC_CACHE_VAL(PECL_CACHE_VAR([$1_version]), [
-   pushd $PECL_CACHE_VAR([$1_prefix]) >/dev/null
-@@ -288,11 +295,11 @@ dnl
- dnl PECL_CHECK_CONFIG(name, prog-config, version-flag, cppflags-flag, 
ldflags-flag, libs-flag)
- dnl
- AC_DEFUN([PECL_CHECK_CONFIG], [
-+  PECL_COUNT_CHECKS([+1])
-   PECL_SAVE_ENV([CPPFLAGS], [$1])
-   PECL_SAVE_ENV([LDFLAGS], [$1])
-   PECL_SAVE_ENV([LIBS], [$1])
- 
--
-   AC_MSG_CHECKING([for $1])
-   ifelse($2, [$PKG_CONFIG $1], [
-   AC_CACHE_VAL(PECL_CACHE_VAR([$1_exists]), [
-@@ 

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

2023-07-27 Thread Michael Orlitzky
commit: 2e161be11e066c2e289a0d65e92e089f2dfe2cca
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Jul 27 18:34:29 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Jul 27 18:48:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e161be1

dev-php/pecl-http: drop 3.2.4-r1, 3.2.5, 4.2.1

Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-php/pecl-http/Manifest  |  3 --
 dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild | 75 
 dev-php/pecl-http/pecl-http-3.2.5.ebuild| 76 
 dev-php/pecl-http/pecl-http-4.2.1.ebuild| 77 -
 4 files changed, 231 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index 199b3a293893..db040afd7668 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,5 +1,2 @@
-DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
-DIST pecl_http-3.2.5.tgz 220593 BLAKE2B 
3dfeefa69b0566f15f1dda73e7e4da2723033424e704039fbb42177e4996b434ea3450e40aa16844fe52c9fabac96d16ba5154a0112f00ff3838cf7bde149938
 SHA512 
13e99cd567a708cba56150a2127d060cdc78f9f5908371e5fb5fb3f02f27f8aa1b48c5eb147f61e9b5c9d5f2c627049f846d810f0135072cc9e4cd967e2bfa1d
 DIST pecl_http-3.3.0.tgz 225653 BLAKE2B 
b8d3875b2716edda98a2f813e2f5947e65684da12be087b2ec51c405223574b2e44dee3ae0a653a538e9c3acafafcec1ff40778d45d8389b239a1ea4578c2831
 SHA512 
e774ba0514994f219cbd2d8bef872308be8617ea22894db72473042154842c62d918d4c0b87f8c592182fa81fd1487b672252d587857e1b306dce6d38e2f53fb
-DIST pecl_http-4.2.1.tgz 224452 BLAKE2B 
58d2e1159aa64b9893b2b8b67c8444801308084ac13a743760c25cb3d0456fb586f69dc6b9e77db53341e4e9e45ce68f954c47b4e2663afe86de67d63db5e8e2
 SHA512 
2ad7e57fae313a7b46ba88e528e124ac9d83804827131a6ef478ccf3cf5883dec2d928b8ceb377ee7f5947c76f24d640d77533a9946612419e526786a79877e6
 DIST pecl_http-4.2.2.tgz 224436 BLAKE2B 
26ef3bb38778f0374938ba3f3bddba37c3a2044c7b9ffe2aacbca2566251d26d37882bf66773b8ed62d46855e8f14ad9b577cdb1ef3db9eba9850c0b30e57284
 SHA512 
1203367d590c7d80ffe7a21e7ac352ba053e3daeb778bf99e08fc13582e665e1429f850e51e36304bdec15e6646b648f2c444b46fa263e5441d008ac41a00f4b

diff --git a/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
deleted file mode 100644
index 2a31f4ccc895..
--- a/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_INI_NAME="50-http"
-
-USE_PHP="php7-3 php7-4 php8-0"
-
-inherit php-ext-pecl-r3
-
-USE_PHP="php7-3 php7-4"
-
-KEYWORDS="amd64 x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
-
-# Patch gets cookies working with curl 7.77, but further interop work was done 
later
-# Just set min version for this short time to live branch
-COMMON_DEPEND="app-arch/brotli:=
-   dev-libs/libevent
-   dev-php/pecl-propro:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
-   
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
-   net-dns/libidn2
-   sys-libs/zlib
-   ssl? ( 
>=net-misc/curl-7.77[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=]
 )
-   !ssl? ( >=net-misc/curl-7.77[-ssl] )
-"
-DEPEND="
-   php_targets_php7-3? ( ${COMMON_DEPEND} 
dev-lang/php:7.3[hash(+),session(-),iconv(-)] )
-   php_targets_php7-4? ( ${COMMON_DEPEND} 
dev-lang/php:7.4[session(-),iconv(-)] )"
-RDEPEND="${DEPEND}
-   php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )"
-
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
-
-PATCHES=( "${FILESDIR}/${P}-curl-cookies.patch" )
-
-src_prepare() {
-   if use php_targets_php7-3 || use php_targets_php7-4 ; then
-   php-ext-source-r3_src_prepare
-   else
-   default_src_prepare
-   fi
-}
-
-src_install() {
-   if use php_targets_php7-3 || use php_targets_php7-4 ; then
-   php-ext-pecl-r3_src_install
-   fi
-}
-
-src_test() {
-   # Cannot use eclass function due to required modules
-   # All tests SKIP otherwise
-   for slot in $(php_get_slots); do
-   php_init_slot_env "${slot}"
-   # Link in required modules for testing
-   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
-   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
-   sed -i \
-   

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

2023-07-04 Thread Sam James
commit: e54e95dd1b9956c003c64adb21c7bf9d945c2bdc
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  5 04:19:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  5 04:19:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e54e95dd

dev-php/pecl-http: Stabilize 4.2.2 x86, #855344

Signed-off-by: Sam James  gentoo.org>

 dev-php/pecl-http/pecl-http-4.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/pecl-http/pecl-http-4.2.2.ebuild 
b/dev-php/pecl-http/pecl-http-4.2.2.ebuild
index ff96a103e233..6f8fca855057 100644
--- a/dev-php/pecl-http/pecl-http-4.2.2.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.2.2.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php8-0 php8-1"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2023-07-04 Thread Sam James
commit: cbfc58661282438ac878adb2e229effe670238c9
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  5 04:19:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  5 04:19:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbfc5866

dev-php/pecl-http: Stabilize 4.2.2 amd64, #855344

Signed-off-by: Sam James  gentoo.org>

 dev-php/pecl-http/pecl-http-4.2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-4.2.2.ebuild 
b/dev-php/pecl-http/pecl-http-4.2.2.ebuild
index da62a219af9e..ff96a103e233 100644
--- a/dev-php/pecl-http/pecl-http-4.2.2.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php8-0 php8-1"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2023-07-04 Thread Sam James
commit: e8bfdb6ac414342f16ed745f401ac37f26274d1c
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  5 04:19:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  5 04:19:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8bfdb6a

dev-php/pecl-http: Stabilize 3.3.0 x86, #909612

Signed-off-by: Sam James  gentoo.org>

 dev-php/pecl-http/pecl-http-3.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/pecl-http/pecl-http-3.3.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.3.0.ebuild
index a4cadcd0f467..7005edf002ee 100644
--- a/dev-php/pecl-http/pecl-http-3.3.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.3.0.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php7-4"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2023-07-04 Thread Sam James
commit: e1c7a08f41a26ebee2d71614280187a7814a7b39
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  5 04:19:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  5 04:19:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c7a08f

dev-php/pecl-http: Stabilize 3.3.0 amd64, #909612

Signed-off-by: Sam James  gentoo.org>

 dev-php/pecl-http/pecl-http-3.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-3.3.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.3.0.ebuild
index be789fd1c79e..a4cadcd0f467 100644
--- a/dev-php/pecl-http/pecl-http-3.3.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php7-4"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2022-06-30 Thread Brian Evans
commit: 2fdaa3ba3f1bb3e762a5a9ba08c195155649ee0c
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Jun 30 14:32:00 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Jun 30 14:32:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fdaa3ba

dev-php/pecl-http: Fix whitespace in metadata

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

 dev-php/pecl-http/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/pecl-http/metadata.xml b/dev-php/pecl-http/metadata.xml
index dc824b3a1b7c..a6713ca675f7 100644
--- a/dev-php/pecl-http/metadata.xml
+++ b/dev-php/pecl-http/metadata.xml
@@ -6,6 +6,6 @@
PHP


-   m6w6/ext-http
+   m6w6/ext-http

 



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

2022-06-30 Thread Brian Evans
commit: 5d307ddd727e8c573f8ff83683dabcdd2d151b58
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Jun 30 14:04:09 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Jun 30 14:04:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d307ddd

dev-php/pecl-http: Version bump for 3.3.0

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

 dev-php/pecl-http/Manifest   |  1 +
 dev-php/pecl-http/metadata.xml   |  3 ++
 dev-php/pecl-http/pecl-http-3.3.0.ebuild | 74 
 3 files changed, 78 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index b019015d7974..199b3a293893 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,4 +1,5 @@
 DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
 DIST pecl_http-3.2.5.tgz 220593 BLAKE2B 
3dfeefa69b0566f15f1dda73e7e4da2723033424e704039fbb42177e4996b434ea3450e40aa16844fe52c9fabac96d16ba5154a0112f00ff3838cf7bde149938
 SHA512 
13e99cd567a708cba56150a2127d060cdc78f9f5908371e5fb5fb3f02f27f8aa1b48c5eb147f61e9b5c9d5f2c627049f846d810f0135072cc9e4cd967e2bfa1d
+DIST pecl_http-3.3.0.tgz 225653 BLAKE2B 
b8d3875b2716edda98a2f813e2f5947e65684da12be087b2ec51c405223574b2e44dee3ae0a653a538e9c3acafafcec1ff40778d45d8389b239a1ea4578c2831
 SHA512 
e774ba0514994f219cbd2d8bef872308be8617ea22894db72473042154842c62d918d4c0b87f8c592182fa81fd1487b672252d587857e1b306dce6d38e2f53fb
 DIST pecl_http-4.2.1.tgz 224452 BLAKE2B 
58d2e1159aa64b9893b2b8b67c8444801308084ac13a743760c25cb3d0456fb586f69dc6b9e77db53341e4e9e45ce68f954c47b4e2663afe86de67d63db5e8e2
 SHA512 
2ad7e57fae313a7b46ba88e528e124ac9d83804827131a6ef478ccf3cf5883dec2d928b8ceb377ee7f5947c76f24d640d77533a9946612419e526786a79877e6
 DIST pecl_http-4.2.2.tgz 224436 BLAKE2B 
26ef3bb38778f0374938ba3f3bddba37c3a2044c7b9ffe2aacbca2566251d26d37882bf66773b8ed62d46855e8f14ad9b577cdb1ef3db9eba9850c0b30e57284
 SHA512 
1203367d590c7d80ffe7a21e7ac352ba053e3daeb778bf99e08fc13582e665e1429f850e51e36304bdec15e6646b648f2c444b46fa263e5441d008ac41a00f4b

diff --git a/dev-php/pecl-http/metadata.xml b/dev-php/pecl-http/metadata.xml
index 222c77f3742a..dc824b3a1b7c 100644
--- a/dev-php/pecl-http/metadata.xml
+++ b/dev-php/pecl-http/metadata.xml
@@ -5,4 +5,7 @@
php-b...@gentoo.org
PHP

+   
+   m6w6/ext-http
+   
 

diff --git a/dev-php/pecl-http/pecl-http-3.3.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.3.0.ebuild
new file mode 100644
index ..be789fd1c79e
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.3.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php7-4 php8-0 php8-1"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-4"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
+
+# Patch gets cookies working with curl 7.77, but further interop work was done 
later
+# Just set min version for this short time to live branch
+COMMON_DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   dev-php/pecl-propro:7[php_targets_php7-4(-)?]
+   >=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-4(-)?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
>=net-misc/curl-7.77[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=]
 )
+   !ssl? ( >=net-misc/curl-7.77[-ssl] )
+"
+DEPEND="php_targets_php7-4? ( ${COMMON_DEPEND} 
dev-lang/php:7.4[session(-),iconv(-)] )"
+RDEPEND="${DEPEND}
+   php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )
+   php_targets_php8-1? ( dev-php/pecl-http:8[php_targets_php8-1(-)] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps
+   --without-http-libidn-dir --without-http-libicu-dir
+   --without-http-libidnkit2-dir --without-http-libidnkit-dir )
+
+src_prepare() {
+   if use php_targets_php7-4 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-4 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" 

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

2022-04-12 Thread Brian Evans
commit: e1334ba4a790325be74941f734867def8bdcaa72
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Apr 12 13:15:59 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Apr 12 13:24:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1334ba4

dev-php/pecl-http: Add compile options to remove automatic deps

Limits IDNA implementation to net-dns/libidn2

Future customization with USE is possible, but it does not make sense
to have multiple IDNA implementations.  The code removes duplicate
calls even if many libraries are linked.

Closes: https://bugs.gentoo.org/837917
Signed-off-by: Brian Evans  gentoo.org>

 dev-php/pecl-http/pecl-http-3.2.5.ebuild | 4 +++-
 dev-php/pecl-http/pecl-http-4.2.2.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-3.2.5.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.5.ebuild
index 484ce862f8fe..9cadd35fc682 100644
--- a/dev-php/pecl-http/pecl-http-3.2.5.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.5.ebuild
@@ -38,7 +38,9 @@ RDEPEND="${DEPEND}
php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )
php_targets_php8-1? ( dev-php/pecl-http:8[php_targets_php8-1(-)] )"
 
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps
+   --without-http-libidn-dir --without-http-libicu-dir
+   --without-http-libidnkit2-dir --without-http-libidnkit-dir )
 
 PATCHES=( "${FILESDIR}/${PN}-3.2.4-curl-cookies.patch" )
 

diff --git a/dev-php/pecl-http/pecl-http-4.2.2.ebuild 
b/dev-php/pecl-http/pecl-http-4.2.2.ebuild
index d0642996b9c7..da62a219af9e 100644
--- a/dev-php/pecl-http/pecl-http-4.2.2.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.2.2.ebuild
@@ -36,7 +36,9 @@ DEPEND="
 RDEPEND="${DEPEND}
php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )"
 
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps
+   --without-http-libidn-dir  --without-http-libicu-dir
+   --without-http-libidnkit2-dir --without-http-libidnkit-dir )
 
 src_prepare() {
if use php_targets_php8-0 || use php_targets_php8-1 ; then



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

2022-04-11 Thread Brian Evans
commit: 2f311e91a4aef67caeecb4d944e82597b28bf916
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Apr 11 18:03:08 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Apr 11 18:03:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f311e91

dev-php/pecl-http: Version bump for 3.2.5 and 4.2.2.

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

 dev-php/pecl-http/Manifest   |  2 +
 dev-php/pecl-http/pecl-http-3.2.5.ebuild | 74 ++
 dev-php/pecl-http/pecl-http-4.2.2.ebuild | 77 
 3 files changed, 153 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index 5596f02b3b47..b019015d7974 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,2 +1,4 @@
 DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
+DIST pecl_http-3.2.5.tgz 220593 BLAKE2B 
3dfeefa69b0566f15f1dda73e7e4da2723033424e704039fbb42177e4996b434ea3450e40aa16844fe52c9fabac96d16ba5154a0112f00ff3838cf7bde149938
 SHA512 
13e99cd567a708cba56150a2127d060cdc78f9f5908371e5fb5fb3f02f27f8aa1b48c5eb147f61e9b5c9d5f2c627049f846d810f0135072cc9e4cd967e2bfa1d
 DIST pecl_http-4.2.1.tgz 224452 BLAKE2B 
58d2e1159aa64b9893b2b8b67c8444801308084ac13a743760c25cb3d0456fb586f69dc6b9e77db53341e4e9e45ce68f954c47b4e2663afe86de67d63db5e8e2
 SHA512 
2ad7e57fae313a7b46ba88e528e124ac9d83804827131a6ef478ccf3cf5883dec2d928b8ceb377ee7f5947c76f24d640d77533a9946612419e526786a79877e6
+DIST pecl_http-4.2.2.tgz 224436 BLAKE2B 
26ef3bb38778f0374938ba3f3bddba37c3a2044c7b9ffe2aacbca2566251d26d37882bf66773b8ed62d46855e8f14ad9b577cdb1ef3db9eba9850c0b30e57284
 SHA512 
1203367d590c7d80ffe7a21e7ac352ba053e3daeb778bf99e08fc13582e665e1429f850e51e36304bdec15e6646b648f2c444b46fa263e5441d008ac41a00f4b

diff --git a/dev-php/pecl-http/pecl-http-3.2.5.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.5.ebuild
new file mode 100644
index ..484ce862f8fe
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.2.5.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php7-4 php8-0 php8-1"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-4"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
+
+# Patch gets cookies working with curl 7.77, but further interop work was done 
later
+# Just set min version for this short time to live branch
+COMMON_DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   dev-php/pecl-propro:7[php_targets_php7-4(-)?]
+   >=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-4(-)?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
>=net-misc/curl-7.77[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=]
 )
+   !ssl? ( >=net-misc/curl-7.77[-ssl] )
+"
+DEPEND="php_targets_php7-4? ( ${COMMON_DEPEND} 
dev-lang/php:7.4[session(-),iconv(-)] )"
+RDEPEND="${DEPEND}
+   php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )
+   php_targets_php8-1? ( dev-php/pecl-http:8[php_targets_php8-1(-)] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+PATCHES=( "${FILESDIR}/${PN}-3.2.4-curl-cookies.patch" )
+
+src_prepare() {
+   if use php_targets_php7-4 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-4 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
+   Makefile || die
+   SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
+   # Clean up testing links
+   rm modules/propro.so modules/raphf.so || die
+   done
+}

diff --git a/dev-php/pecl-http/pecl-http-4.2.2.ebuild 
b/dev-php/pecl-http/pecl-http-4.2.2.ebuild
new file mode 100644
index ..d0642996b9c7
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-4.2.2.ebuild
@@ -0,0 +1,77 @@

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

2021-10-23 Thread Brian Evans
commit: a8d230d7140832d3202fda34103bd5d2218b0372
Author: Brian Evans  gentoo  org>
AuthorDate: Sat Oct 23 12:45:48 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Sat Oct 23 12:46:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d230d7

dev-php/pecl-http: Drop old

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

 dev-php/pecl-http/Manifest   |  1 -
 dev-php/pecl-http/pecl-http-3.2.1.ebuild | 75 
 2 files changed, 76 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index c4cb9ac5c0c..5596f02b3b4 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,3 +1,2 @@
-DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
 DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
 DIST pecl_http-4.2.1.tgz 224452 BLAKE2B 
58d2e1159aa64b9893b2b8b67c8444801308084ac13a743760c25cb3d0456fb586f69dc6b9e77db53341e4e9e45ce68f954c47b4e2663afe86de67d63db5e8e2
 SHA512 
2ad7e57fae313a7b46ba88e528e124ac9d83804827131a6ef478ccf3cf5883dec2d928b8ceb377ee7f5947c76f24d640d77533a9946612419e526786a79877e6

diff --git a/dev-php/pecl-http/pecl-http-3.2.1.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.1.ebuild
deleted file mode 100644
index 6ccd05d09da..000
--- a/dev-php/pecl-http/pecl-http-3.2.1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_INI_NAME="50-http"
-
-USE_PHP="php5-6 php7-1 php7-2 php7-3"
-
-inherit php-ext-pecl-r3
-
-USE_PHP="php7-1 php7-2 php7-3"
-
-KEYWORDS="amd64 x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
-
-DEPEND="app-arch/brotli:=
-   dev-libs/libevent
-   
dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
-   
dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
-   net-dns/libidn2
-   sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_nss=,curl_ssl_openssl=] )
-   !ssl? ( net-misc/curl[-ssl] )
-   php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
-   php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )
-   php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )"
-RDEPEND="${DEPEND}
-   php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
-
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
-
-src_prepare() {
-   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
-   php-ext-source-r3_src_prepare
-   else
-   default_src_prepare
-   fi
-}
-
-src_install() {
-   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
-   php-ext-pecl-r3_src_install
-   fi
-}
-
-src_test() {
-   # Cannot use eclass function due to required modules
-   # All tests SKIP otherwise
-   for slot in $(php_get_slots); do
-   php_init_slot_env "${slot}"
-   # Link in required modules for testing
-   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
-   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
-   sed -i \
-   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
-   Makefile || die
-   SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test
-   # Clean up testing links
-   rm modules/propro.so modules/raphf.so || die
-   done
-}
-
-pkg_postinst() {
-   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
-   ewarn "Please review the documentation and update your code."
-}



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

2021-10-23 Thread Agostino Sarubbo
commit: c0eeb62ddd9919de14c488cc4efe93a8c425628a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Oct 23 07:44:04 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Oct 23 07:44:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0eeb62d

dev-php/pecl-http: x86 stable wrt bug #814365

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild | 2 +-
 dev-php/pecl-http/pecl-http-4.2.1.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
index 2325b23a9e8..2a31f4ccc89 100644
--- a/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php7-3 php7-4"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"

diff --git a/dev-php/pecl-http/pecl-http-4.2.1.ebuild 
b/dev-php/pecl-http/pecl-http-4.2.1.ebuild
index dc45e3503ea..203c407dc9c 100644
--- a/dev-php/pecl-http/pecl-http-4.2.1.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.2.1.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php8-0"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2021-10-20 Thread Agostino Sarubbo
commit: e7e4d000da878e4afea9eb25c7688b5a2a32419a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Oct 21 04:40:26 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Oct 21 04:40:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e4d000

dev-php/pecl-http: amd64 stable wrt bug #814365

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild | 2 +-
 dev-php/pecl-http/pecl-http-4.2.1.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
index 94c0833cc07..2325b23a9e8 100644
--- a/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php7-3 php7-4"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"

diff --git a/dev-php/pecl-http/pecl-http-4.2.1.ebuild 
b/dev-php/pecl-http/pecl-http-4.2.1.ebuild
index 00f8de1189d..dc45e3503ea 100644
--- a/dev-php/pecl-http/pecl-http-4.2.1.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.2.1.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php8-0"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2021-09-27 Thread Brian Evans
commit: 0ad85af662930ce594c408c15893327641d2141d
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Sep 28 01:55:16 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Sep 28 01:56:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ad85af6

dev-php/pecl-http: Fix respecting flags using backported patch

Closes: https://bugs.gentoo.org/791013
Signed-off-by: Brian Evans  gentoo.org>

 .../files/pecl-http-3.2.4-curl-cookies.patch   | 243 -
 1 file changed, 237 insertions(+), 6 deletions(-)

diff --git a/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch 
b/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch
index 3c124b4624a..2f3a7c73a24 100644
--- a/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch
+++ b/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch
@@ -1,11 +1,242 @@
 a/src/php_http_client_curl.c   2021-01-13 10:34:34.0 -0500
-+++ b/src/php_http_client_curl.c   2021-09-22 10:38:58.854615743 -0400
-@@ -834,7 +834,7 @@
+diff --git a/autoconf/pecl/libbrotli.m4 b/autoconf/pecl/libbrotli.m4
+index f8916e2..575f635 100644
+--- a/autoconf/pecl/libbrotli.m4
 b/autoconf/pecl/libbrotli.m4
+@@ -1,5 +1,11 @@
+ 
+ AC_DEFUN([PECL_CHECK_LIBBROTLI], [
++  dnl config.m4 calls PECL_CHECK_DONE once more
++  PECL_COUNT_CHECKS([+1])
++  PECL_SAVE_ENV([CPPFLAGS], [libbrotli])
++  PECL_SAVE_ENV([LDFLAGS], [libbrotli])
++  PECL_SAVE_ENV([LIBS], [libbrotli])
++
+   PECL_CHECK_LIBBROTLI_COMMON([$1], [$2])
+   PECL_CHECK_DONE(libbrotlicommon, [$PECL_VAR([HAVE_LIBBROTLI_COMMON])])
+   PECL_CHECK_LIBBROTLI_DEC([$1], [$2])
+diff --git a/autoconf/pecl/libcurl.m4 b/autoconf/pecl/libcurl.m4
+index 4d99207..8de9499 100644
+--- a/autoconf/pecl/libcurl.m4
 b/autoconf/pecl/libcurl.m4
+@@ -160,6 +160,26 @@ AC_DEFUN([PECL_HAVE_LIBCURL_SSL], [dnl
+   fi
+   fi
+   ])
++
++  PECL_HAVE_CONST([curl/curl.h], [CURL_LOCK_DATA_SSL_SESSION], 
int, [
++  AC_CACHE_CHECK([whether curl_share accepts 
CURL_LOCK_DATA_SSL_SESSION], PECL_CACHE_VAR([LIBCURL_SHARE_SSL]), [
++  PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=
++  AC_TRY_RUN([
++  #include 
++  int main(int argc, char *argv[]) {
++  CURLSH *ch = curl_share_init();
++  return curl_share_setopt(ch, 
CURLSHOPT_SHARE, CURL_LOCK_DATA_SSL_SESSION);
++  }
++  ], [
++  PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=yes
++  ], [
++  PECL_CACHE_VAR([LIBCURL_SHARE_SSL])=no
++  ])
++  ])
++  if test "$PECL_CACHE_VAR([LIBCURL_SHARE_SSL])" = yes; 
then
++  PECL_DEFINE([HAVE_LIBCURL_SHARE_SSL], [1])
++  fi
++  ])
+   ])
+ ])
+ dnl
+diff --git a/autoconf/pecl/pecl.m4 b/autoconf/pecl/pecl.m4
+index ffa45ac..d8735b0 100644
+--- a/autoconf/pecl/pecl.m4
 b/autoconf/pecl/pecl.m4
+@@ -70,6 +70,12 @@ AC_DEFUN([PECL_RESTORE_ENV], [
+   $1=$PECL_SAVE_VAR([$2_$1])
+ ])
+ dnl
++dnl PECL_COUNT_CHECKS(incdec)
++dnl
++AC_DEFUN([PECL_COUNT_CHECKS], [
++  PECL_VAR([_checks])=$(($PECL_VAR([_checks])$1))
++])
++dnl
+ dnl PECL_EVAL_LIBLINE(libline)
+ dnl
+ AC_DEFUN([PECL_EVAL_LIBLINE], [
+@@ -244,6 +250,7 @@ dnl
+ dnl PECL_CHECK_CUSTOM(name, path, header, lib, version)
+ dnl
+ AC_DEFUN([PECL_CHECK_CUSTOM], [
++  PECL_COUNT_CHECKS([+1])
+   PECL_SAVE_ENV([CPPFLAGS], [$1])
+   PECL_SAVE_ENV([LDFLAGS], [$1])
+   PECL_SAVE_ENV([LIBS], [$1])
+@@ -260,10 +267,10 @@ AC_DEFUN([PECL_CHECK_CUSTOM], [
+   done
+   ])
+   if test -n "$PECL_CACHE_VAR([$1_prefix])"; then
+-  CPPFLAGS="-I$PECL_CACHE_VAR([$1_prefix])/include"
+-  LDFLAGS="-L$PECL_CACHE_VAR([$1_prefix])/$PHP_LIBDIR"
+-  LIBS="-l$4"
+-  PECL_EVAL_LIBLINE([$LDFLAGS $LIBS])
++  CPPFLAGS="$CPPFLAGS -I$PECL_CACHE_VAR([$1_prefix])/include"
++  LDFLAGS="$LDFLAGS -L$PECL_CACHE_VAR([$1_prefix])/$PHP_LIBDIR"
++  LIBS="$LIBS -l$4"
++  dnl PECL_EVAL_LIBLINE([$LDFLAGS $LIBS])
+   
+   AC_CACHE_VAL(PECL_CACHE_VAR([$1_version]), [
+   pushd $PECL_CACHE_VAR([$1_prefix]) >/dev/null
+@@ -288,11 +295,11 @@ dnl
+ dnl PECL_CHECK_CONFIG(name, prog-config, version-flag, cppflags-flag, 
ldflags-flag, libs-flag)
+ dnl
+ AC_DEFUN([PECL_CHECK_CONFIG], [
++  PECL_COUNT_CHECKS([+1])
+   PECL_SAVE_ENV([CPPFLAGS], [$1])
+   PECL_SAVE_ENV([LDFLAGS], [$1])
+   

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

2021-09-22 Thread Brian Evans
commit: e86e1147c388c52fc38373db284139edcf7e4087
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Sep 22 14:36:23 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Sep 22 14:36:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e86e1147

dev-php/pecl-http: Version bump for 4.2.1

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

 dev-php/pecl-http/Manifest   |  1 +
 dev-php/pecl-http/pecl-http-4.2.1.ebuild | 77 
 2 files changed, 78 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index dc929ad0735..ec99a7a950a 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -2,3 +2,4 @@ DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850b
 DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
 DIST pecl_http-4.0.0.tgz 218259 BLAKE2B 
c9f5973686fd4db95a24dd4c50f217b93becc6a439066a395b0b7fec6e977154e5ae8f2261414458aed8e4a9d1281f44da2ecc67a05127610579f5be91196a88
 SHA512 
268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79
 DIST pecl_http-4.1.0.tgz 220349 BLAKE2B 
71152ee20930843636d90547339270fecf5569cb9a252a516c8150a134bf75fcb88b4fcfd129af1ca1366f4df775653b4dcdddbf0eb02426625550c1b1a0b483
 SHA512 
653c1dd8ec6dc738ce2dbf235a3c92522858e17ab9c0d00dd75a51bcfeb836f3fb02a6040b8b67d8d6839055286599958db844891686ca70c36031500be0bc1c
+DIST pecl_http-4.2.1.tgz 224452 BLAKE2B 
58d2e1159aa64b9893b2b8b67c8444801308084ac13a743760c25cb3d0456fb586f69dc6b9e77db53341e4e9e45ce68f954c47b4e2663afe86de67d63db5e8e2
 SHA512 
2ad7e57fae313a7b46ba88e528e124ac9d83804827131a6ef478ccf3cf5883dec2d928b8ceb377ee7f5947c76f24d640d77533a9946612419e526786a79877e6

diff --git a/dev-php/pecl-http/pecl-http-4.2.1.ebuild 
b/dev-php/pecl-http/pecl-http-4.2.1.ebuild
new file mode 100644
index 000..00f8de1189d
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-4.2.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php7-3 php7-4 php8-0"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php8-0"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="8"
+IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
+
+COMMON_DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   >=dev-php/pecl-raphf-2.0.1:7[php_targets_php8-0(-)?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] )
+   !ssl? ( net-misc/curl[-ssl] )
+"
+DEPEND="
+   php_targets_php8-0? ( ${COMMON_DEPEND} 
dev-lang/php:8.0[session(-),iconv(-)] )"
+RDEPEND="${DEPEND}
+   php_targets_php7-3? ( dev-php/pecl-http:7[php_targets_php7-3(-)] )
+   php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+src_prepare() {
+   if use php_targets_php8-0 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+
+   # Respect LDFLAGS, bug 727134
+   export EXTRA_LDFLAGS="${LDFLAGS}"
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   local slot
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=raphf/' 
\
+   Makefile || die
+
+   SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
+
+   # Clean up testing links
+   rm modules/raphf.so || die
+   done
+}
+
+src_install() {
+   if use php_targets_php8-0 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}



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

2021-09-22 Thread Brian Evans
commit: f6d3bb9bff656134a7312c9a1442e576006a7503
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Sep 22 14:48:43 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Sep 22 14:48:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d3bb9b

dev-php/pecl-http: Revbump for 3.2.4-r1 to fix curl cookie issues

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

 .../files/pecl-http-3.2.4-curl-cookies.patch   | 11 
 dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild| 75 ++
 2 files changed, 86 insertions(+)

diff --git a/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch 
b/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch
new file mode 100644
index 000..3c124b4624a
--- /dev/null
+++ b/dev-php/pecl-http/files/pecl-http-3.2.4-curl-cookies.patch
@@ -0,0 +1,11 @@
+--- a/src/php_http_client_curl.c   2021-01-13 10:34:34.0 -0500
 b/src/php_http_client_curl.c   2021-09-22 10:38:58.854615743 -0400
+@@ -834,7 +834,7 @@
+   } else {
+   storage->cookiestore = NULL;
+   }
+-  if (CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEFILE, 
storage->cookiestore)
++  if (CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEFILE, 
storage->cookiestore ? storage->cookiestore : "")
+   ||  CURLE_OK != curl_easy_setopt(ch, CURLOPT_COOKIEJAR, 
storage->cookiestore)
+   ) {
+   return FAILURE;

diff --git a/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
new file mode 100644
index 000..94c0833cc07
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.2.4-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php7-3 php7-4 php8-0"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-3 php7-4"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
+
+# Patch gets cookies working with curl 7.77, but further interop work was done 
later
+# Just set min version for this short time to live branch
+COMMON_DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   dev-php/pecl-propro:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
+   
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
>=net-misc/curl-7.77[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=]
 )
+   !ssl? ( >=net-misc/curl-7.77[-ssl] )
+"
+DEPEND="
+   php_targets_php7-3? ( ${COMMON_DEPEND} 
dev-lang/php:7.3[hash(+),session(-),iconv(-)] )
+   php_targets_php7-4? ( ${COMMON_DEPEND} 
dev-lang/php:7.4[session(-),iconv(-)] )"
+RDEPEND="${DEPEND}
+   php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+PATCHES=( "${FILESDIR}/${P}-curl-cookies.patch" )
+
+src_prepare() {
+   if use php_targets_php7-3 || use php_targets_php7-4 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-3 || use php_targets_php7-4 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
+   Makefile || die
+   SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
+   # Clean up testing links
+   rm modules/propro.so modules/raphf.so || die
+   done
+}



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

2021-09-22 Thread Brian Evans
commit: 920cb943c2481e188a6075ce11d5db79ab219e56
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Sep 22 14:51:03 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Sep 22 14:51:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=920cb943

dev-php/pecl-http: Drop old

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

 dev-php/pecl-http/Manifest |  2 -
 .../files/pecl-http-4.1.0-use-getenv.patch | 25 ---
 dev-php/pecl-http/pecl-http-3.2.4.ebuild   | 71 ---
 dev-php/pecl-http/pecl-http-4.0.0.ebuild   | 69 ---
 dev-php/pecl-http/pecl-http-4.1.0.ebuild   | 79 --
 5 files changed, 246 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index ec99a7a950a..c4cb9ac5c0c 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,5 +1,3 @@
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
 DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
-DIST pecl_http-4.0.0.tgz 218259 BLAKE2B 
c9f5973686fd4db95a24dd4c50f217b93becc6a439066a395b0b7fec6e977154e5ae8f2261414458aed8e4a9d1281f44da2ecc67a05127610579f5be91196a88
 SHA512 
268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79
-DIST pecl_http-4.1.0.tgz 220349 BLAKE2B 
71152ee20930843636d90547339270fecf5569cb9a252a516c8150a134bf75fcb88b4fcfd129af1ca1366f4df775653b4dcdddbf0eb02426625550c1b1a0b483
 SHA512 
653c1dd8ec6dc738ce2dbf235a3c92522858e17ab9c0d00dd75a51bcfeb836f3fb02a6040b8b67d8d6839055286599958db844891686ca70c36031500be0bc1c
 DIST pecl_http-4.2.1.tgz 224452 BLAKE2B 
58d2e1159aa64b9893b2b8b67c8444801308084ac13a743760c25cb3d0456fb586f69dc6b9e77db53341e4e9e45ce68f954c47b4e2663afe86de67d63db5e8e2
 SHA512 
2ad7e57fae313a7b46ba88e528e124ac9d83804827131a6ef478ccf3cf5883dec2d928b8ceb377ee7f5947c76f24d640d77533a9946612419e526786a79877e6

diff --git a/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch 
b/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch
deleted file mode 100644
index c3ad7d96836..000
--- a/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-commit a4f66fb42bb5203e9d1897a6cf554aa702ce0380
-Author: Thomas Deutschmann 
-AuthorDate: Tue May 18 19:55:47 2021 +0200
-Commit: Thomas Deutschmann 
-CommitDate: Tue May 18 19:55:47 2021 +0200
-
-tests: use getenv() to access environment variable
-
-Fixes
-
-  Warning: Undefined array key "PATH" in 
pecl-http-4.1.0/work/php8.0/tests/skipif.inc on line 56
-
-diff --git a/tests/skipif.inc b/tests/skipif.inc
-index 51272fb..76c3bd7 100644
 a/tests/skipif.inc
-+++ b/tests/skipif.inc
-@@ -53,7 +53,7 @@ function skip_http2_test($message = "skip need http2 
support") {
-   if (!(http\Client\Curl\FEATURES & http\Client\Curl\Features\HTTP2)) {
-   die("$message (FEATURES & HTTP2)\n");
-   }
--  foreach (explode(":", $_ENV["PATH"]) as $path) {
-+  foreach (explode(":", getenv("PATH")) as $path) {
-   if (is_executable($path . "/nghttpd")) {
-   return;
-   }

diff --git a/dev-php/pecl-http/pecl-http-3.2.4.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.4.ebuild
deleted file mode 100644
index 0a717e5377d..000
--- a/dev-php/pecl-http/pecl-http-3.2.4.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_INI_NAME="50-http"
-
-USE_PHP="php7-3 php7-4 php8-0"
-
-inherit php-ext-pecl-r3
-
-USE_PHP="php7-3 php7-4"
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
-
-COMMON_DEPEND="app-arch/brotli:=
-   dev-libs/libevent
-   dev-php/pecl-propro:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
-   
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
-   net-dns/libidn2
-   sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] )
-   !ssl? ( net-misc/curl[-ssl] )
-"
-DEPEND="
-   php_targets_php7-3? ( ${COMMON_DEPEND} 
dev-lang/php:7.3[hash(+),session(-),iconv(-)] )
-   php_targets_php7-4? ( 

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

2021-05-19 Thread Brian Evans
commit: 47b1312114c913e9264b2887feb5763b3768e096
Author: Brian Evans  gentoo  org>
AuthorDate: Wed May 19 15:07:58 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed May 19 15:08:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b13121

dev-php/pecl-http: Restore helper target USE on 4.1.0

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

 dev-php/pecl-http/pecl-http-4.1.0.ebuild | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-4.1.0.ebuild 
b/dev-php/pecl-http/pecl-http-4.1.0.ebuild
index 33b34cd83be..9ffc9765e46 100644
--- a/dev-php/pecl-http/pecl-http-4.1.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.1.0.ebuild
@@ -9,10 +9,12 @@ PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 PHP_INI_NAME="50-http"
 
-USE_PHP="php8-0"
+USE_PHP="php7-3 php7-4 php8-0"
 
 inherit php-ext-pecl-r3
 
+USE_PHP="php8-0"
+
 KEYWORDS="~amd64 ~x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
@@ -28,9 +30,11 @@ COMMON_DEPEND="app-arch/brotli:=
ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] )
!ssl? ( net-misc/curl[-ssl] )
 "
-DEPEND="${COMMON_DEPEND}
-   php_targets_php8-0? ( dev-lang/php:8.0[session(-),iconv(-)] )"
-RDEPEND="${DEPEND}"
+DEPEND="
+   php_targets_php8-0? ( ${COMMON_DEPEND} 
dev-lang/php:8.0[session(-),iconv(-)] )"
+RDEPEND="${DEPEND}
+   php_targets_php7-3? ( dev-php/pecl-http:7[php_targets_php7-3(-)] )
+   php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )"
 
 PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
 



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

2021-05-18 Thread Thomas Deutschmann
commit: 6f3b5fae4803d71534ec4832b5a12b73b3054301
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue May 18 16:37:00 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue May 18 18:37:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3b5fae

dev-php/pecl-http: bump to v4.1.0

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

 dev-php/pecl-http/Manifest |  1 +
 .../files/pecl-http-4.1.0-use-getenv.patch | 25 
 dev-php/pecl-http/pecl-http-4.1.0.ebuild   | 72 ++
 3 files changed, 98 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index 8fc2bb40c9a..dc929ad0735 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,3 +1,4 @@
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
 DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
 DIST pecl_http-4.0.0.tgz 218259 BLAKE2B 
c9f5973686fd4db95a24dd4c50f217b93becc6a439066a395b0b7fec6e977154e5ae8f2261414458aed8e4a9d1281f44da2ecc67a05127610579f5be91196a88
 SHA512 
268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79
+DIST pecl_http-4.1.0.tgz 220349 BLAKE2B 
71152ee20930843636d90547339270fecf5569cb9a252a516c8150a134bf75fcb88b4fcfd129af1ca1366f4df775653b4dcdddbf0eb02426625550c1b1a0b483
 SHA512 
653c1dd8ec6dc738ce2dbf235a3c92522858e17ab9c0d00dd75a51bcfeb836f3fb02a6040b8b67d8d6839055286599958db844891686ca70c36031500be0bc1c

diff --git a/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch 
b/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch
new file mode 100644
index 000..c3ad7d96836
--- /dev/null
+++ b/dev-php/pecl-http/files/pecl-http-4.1.0-use-getenv.patch
@@ -0,0 +1,25 @@
+commit a4f66fb42bb5203e9d1897a6cf554aa702ce0380
+Author: Thomas Deutschmann 
+AuthorDate: Tue May 18 19:55:47 2021 +0200
+Commit: Thomas Deutschmann 
+CommitDate: Tue May 18 19:55:47 2021 +0200
+
+tests: use getenv() to access environment variable
+
+Fixes
+
+  Warning: Undefined array key "PATH" in 
pecl-http-4.1.0/work/php8.0/tests/skipif.inc on line 56
+
+diff --git a/tests/skipif.inc b/tests/skipif.inc
+index 51272fb..76c3bd7 100644
+--- a/tests/skipif.inc
 b/tests/skipif.inc
+@@ -53,7 +53,7 @@ function skip_http2_test($message = "skip need http2 
support") {
+   if (!(http\Client\Curl\FEATURES & http\Client\Curl\Features\HTTP2)) {
+   die("$message (FEATURES & HTTP2)\n");
+   }
+-  foreach (explode(":", $_ENV["PATH"]) as $path) {
++  foreach (explode(":", getenv("PATH")) as $path) {
+   if (is_executable($path . "/nghttpd")) {
+   return;
+   }

diff --git a/dev-php/pecl-http/pecl-http-4.1.0.ebuild 
b/dev-php/pecl-http/pecl-http-4.1.0.ebuild
new file mode 100644
index 000..7697b703d5f
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-4.1.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php8-0"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="8"
+IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
+
+COMMON_DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   >=dev-php/pecl-raphf-2.0.1:7[php_targets_php8-0(-)?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] )
+   !ssl? ( net-misc/curl[-ssl] )
+"
+DEPEND="${COMMON_DEPEND}
+   php_targets_php8-0? ( dev-lang/php:8.0[session(-),iconv(-)] )"
+RDEPEND="${DEPEND}"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+PATCHES=( "${FILESDIR}"/${P}-use-getenv.patch )
+
+src_prepare() {
+   if use php_targets_php8-0 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   local slot
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+
+   # Link in 

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

2021-05-18 Thread Thomas Deutschmann
commit: b466026be8b09619a0a84a9c58869e6b702b21a3
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue May 18 18:37:13 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue May 18 18:37:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b466026b

dev-php/pecl-http: respect LDFLAGS

Closes: https://bugs.gentoo.org/727134
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/pecl-http/pecl-http-4.1.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-php/pecl-http/pecl-http-4.1.0.ebuild 
b/dev-php/pecl-http/pecl-http-4.1.0.ebuild
index 7697b703d5f..33b34cd83be 100644
--- a/dev-php/pecl-http/pecl-http-4.1.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.1.0.ebuild
@@ -42,6 +42,9 @@ src_prepare() {
else
default_src_prepare
fi
+
+   # Respect LDFLAGS, bug 727134
+   export EXTRA_LDFLAGS="${LDFLAGS}"
 }
 
 src_test() {



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

2021-05-01 Thread Sam James
commit: b877788fc35bff6d286a421a90af7229a34b917f
Author: Sam James  gentoo  org>
AuthorDate: Sat May  1 17:50:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  1 18:06:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b877788f

dev-php/pecl-http: drop obsolete LibreSSL support

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 dev-php/pecl-http/pecl-http-3.2.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-3.2.1.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.1.ebuild
index bb652b2134f..6ccd05d09da 100644
--- a/dev-php/pecl-http/pecl-http-3.2.1.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -20,7 +20,7 @@ KEYWORDS="amd64 x86"
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"
 SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
 
 DEPEND="app-arch/brotli:=
dev-libs/libevent
@@ -28,7 +28,7 @@ DEPEND="app-arch/brotli:=

dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
net-dns/libidn2
sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_nss=,curl_ssl_openssl=] )
!ssl? ( net-misc/curl[-ssl] )
php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )



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

2021-02-01 Thread Brian Evans
commit: acdc2ab32bc43c67e0e7ded2b93326ec7d9c7d3e
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Feb  1 15:44:29 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Feb  1 15:44:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acdc2ab3

dev-php/pecl-http: Drop old versions

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

 dev-php/pecl-http/Manifest |  2 -
 dev-php/pecl-http/pecl-http-3.2.3-r1.ebuild| 72 
 dev-php/pecl-http/pecl-http-3.2.3.ebuild   | 76 --
 dev-php/pecl-http/pecl-http-4.0.0_beta1.ebuild | 70 
 4 files changed, 220 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index d7a64d8c8cf..8fc2bb40c9a 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,5 +1,3 @@
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
-DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 
2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5
 SHA512 
e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666
 DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
 DIST pecl_http-4.0.0.tgz 218259 BLAKE2B 
c9f5973686fd4db95a24dd4c50f217b93becc6a439066a395b0b7fec6e977154e5ae8f2261414458aed8e4a9d1281f44da2ecc67a05127610579f5be91196a88
 SHA512 
268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79
-DIST pecl_http-4.0.0beta1.tgz 219277 BLAKE2B 
184ea0a92fc514f24fd31aaec7824ba80293a52d168d11b3b3a9cea410df1bc9a6a819c45f301b357a3d19246e3c36b56f238c264579509eadf00fb42ae32d91
 SHA512 
d3e487d10e18e8af1a750d171e4432dd30562e1fb8d8ae7cbb33a379e3d385d27a6ce1896ed8f727802eae1045505254cb68840395098310e22f6dc640c5c616

diff --git a/dev-php/pecl-http/pecl-http-3.2.3-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.3-r1.ebuild
deleted file mode 100644
index 209edf1ed14..000
--- a/dev-php/pecl-http/pecl-http-3.2.3-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_INI_NAME="50-http"
-
-USE_PHP="php7-2 php7-3 php7-4 php8-0"
-
-inherit php-ext-pecl-r3
-
-USE_PHP="php7-2 php7-3 php7-4"
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
-
-COMMON_DEPEND="app-arch/brotli:=
-   dev-libs/libevent
-   
dev-php/pecl-propro:7[php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]
-   
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]
-   net-dns/libidn2
-   sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
-   !ssl? ( net-misc/curl[-ssl] )
-"
-DEPEND="
-   php_targets_php7-2? ( ${COMMON_DEPEND} 
dev-lang/php:7.2[hash,session,iconv] )
-   php_targets_php7-3? ( ${COMMON_DEPEND} 
dev-lang/php:7.3[hash,session,iconv] )
-   php_targets_php7-4? ( ${COMMON_DEPEND} dev-lang/php:7.4[session,iconv] 
)"
-RDEPEND="${DEPEND}
-   php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )"
-
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
-
-src_prepare() {
-   if use php_targets_php7-2 || use php_targets_php7-3 || use 
php_targets_php7-4 ; then
-   php-ext-source-r3_src_prepare
-   else
-   default_src_prepare
-   fi
-}
-
-src_install() {
-   if use php_targets_php7-2 || use php_targets_php7-3 || use 
php_targets_php7-4 ; then
-   php-ext-pecl-r3_src_install
-   fi
-}
-
-src_test() {
-   # Cannot use eclass function due to required modules
-   # All tests SKIP otherwise
-   for slot in $(php_get_slots); do
-   php_init_slot_env "${slot}"
-   # Link in required modules for testing
-   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
-   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
-   sed -i \
-   

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

2021-02-01 Thread Brian Evans
commit: 16f87dc58f73087fd53ed669e6d2f7eee142116c
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Feb  1 15:43:00 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Feb  1 15:43:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16f87dc5

dev-php/pecl-http: Drop libressl from cURL options

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

 dev-php/pecl-http/pecl-http-3.2.4.ebuild | 8 
 dev-php/pecl-http/pecl-http-4.0.0.ebuild | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-3.2.4.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.4.ebuild
index f4816f1ac8c..0a717e5377d 100644
--- a/dev-php/pecl-http/pecl-http-3.2.4.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.4.ebuild
@@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~x86"
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"
 SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
 
 COMMON_DEPEND="app-arch/brotli:=
dev-libs/libevent
@@ -28,12 +28,12 @@ COMMON_DEPEND="app-arch/brotli:=

>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
net-dns/libidn2
sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] )
!ssl? ( net-misc/curl[-ssl] )
 "
 DEPEND="
-   php_targets_php7-3? ( ${COMMON_DEPEND} 
dev-lang/php:7.3[hash,session,iconv] )
-   php_targets_php7-4? ( ${COMMON_DEPEND} dev-lang/php:7.4[session,iconv] 
)"
+   php_targets_php7-3? ( ${COMMON_DEPEND} 
dev-lang/php:7.3[hash(+),session(-),iconv(-)] )
+   php_targets_php7-4? ( ${COMMON_DEPEND} 
dev-lang/php:7.4[session(-),iconv(-)] )"
 RDEPEND="${DEPEND}
php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )"
 

diff --git a/dev-php/pecl-http/pecl-http-4.0.0.ebuild 
b/dev-php/pecl-http/pecl-http-4.0.0.ebuild
index a65db6f2634..92ccc331b62 100644
--- a/dev-php/pecl-http/pecl-http-4.0.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-4.0.0.ebuild
@@ -20,18 +20,18 @@ KEYWORDS="~amd64 ~x86"
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"
 SLOT="8"
-IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+IUSE="ssl curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl"
 
 COMMON_DEPEND="app-arch/brotli:=
dev-libs/libevent
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php8-0(-)?]
net-dns/libidn2
sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=] )
!ssl? ( net-misc/curl[-ssl] )
 "
 DEPEND="
-   php_targets_php8-0? ( ${COMMON_DEPEND} dev-lang/php:8.0[session,iconv] 
)"
+   php_targets_php8-0? ( ${COMMON_DEPEND} 
dev-lang/php:8.0[session(-),iconv(-)] )"
 RDEPEND="${DEPEND}
php_targets_php7-3? ( dev-php/pecl-http:7[php_targets_php7-3(-)] )
php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )"



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

2021-01-20 Thread Brian Evans
commit: 97877865cc9af4b640997811164c4e9eda396dd9
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Jan 21 02:49:22 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Jan 21 02:49:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97877865

dev-php/pecl-http: Version bump for 3.2.4

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

 dev-php/pecl-http/Manifest   |  1 +
 dev-php/pecl-http/pecl-http-3.2.4.ebuild | 71 
 2 files changed, 72 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index 833083f5d43..d7a64d8c8cf 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,4 +1,5 @@
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
 DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 
2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5
 SHA512 
e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666
+DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 
996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49
 SHA512 
59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
 DIST pecl_http-4.0.0.tgz 218259 BLAKE2B 
c9f5973686fd4db95a24dd4c50f217b93becc6a439066a395b0b7fec6e977154e5ae8f2261414458aed8e4a9d1281f44da2ecc67a05127610579f5be91196a88
 SHA512 
268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79
 DIST pecl_http-4.0.0beta1.tgz 219277 BLAKE2B 
184ea0a92fc514f24fd31aaec7824ba80293a52d168d11b3b3a9cea410df1bc9a6a819c45f301b357a3d19246e3c36b56f238c264579509eadf00fb42ae32d91
 SHA512 
d3e487d10e18e8af1a750d171e4432dd30562e1fb8d8ae7cbb33a379e3d385d27a6ce1896ed8f727802eae1045505254cb68840395098310e22f6dc640c5c616

diff --git a/dev-php/pecl-http/pecl-http-3.2.4.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.4.ebuild
new file mode 100644
index 000..f4816f1ac8c
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.2.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php7-3 php7-4 php8-0"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-3 php7-4"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+COMMON_DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   dev-php/pecl-propro:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
+   
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-3(-)?,php_targets_php7-4(-)?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+"
+DEPEND="
+   php_targets_php7-3? ( ${COMMON_DEPEND} 
dev-lang/php:7.3[hash,session,iconv] )
+   php_targets_php7-4? ( ${COMMON_DEPEND} dev-lang/php:7.4[session,iconv] 
)"
+RDEPEND="${DEPEND}
+   php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+src_prepare() {
+   if use php_targets_php7-3 || use php_targets_php7-4 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-3 || use php_targets_php7-4 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
+   Makefile || die
+   SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
+   # Clean up testing links
+   rm modules/propro.so modules/raphf.so || die
+   done
+}



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

2021-01-20 Thread Brian Evans
commit: 36c08050933d9556f28968ab81ea19af723cec48
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Jan 21 02:42:07 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Jan 21 02:43:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c08050

dev-php/pecl-http: Version bump for 4.0.0

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

 dev-php/pecl-http/Manifest   |  1 +
 dev-php/pecl-http/pecl-http-4.0.0.ebuild | 69 
 2 files changed, 70 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index eb018948dc4..833083f5d43 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,3 +1,4 @@
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
 DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 
2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5
 SHA512 
e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666
+DIST pecl_http-4.0.0.tgz 218259 BLAKE2B 
c9f5973686fd4db95a24dd4c50f217b93becc6a439066a395b0b7fec6e977154e5ae8f2261414458aed8e4a9d1281f44da2ecc67a05127610579f5be91196a88
 SHA512 
268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79
 DIST pecl_http-4.0.0beta1.tgz 219277 BLAKE2B 
184ea0a92fc514f24fd31aaec7824ba80293a52d168d11b3b3a9cea410df1bc9a6a819c45f301b357a3d19246e3c36b56f238c264579509eadf00fb42ae32d91
 SHA512 
d3e487d10e18e8af1a750d171e4432dd30562e1fb8d8ae7cbb33a379e3d385d27a6ce1896ed8f727802eae1045505254cb68840395098310e22f6dc640c5c616

diff --git a/dev-php/pecl-http/pecl-http-4.0.0.ebuild 
b/dev-php/pecl-http/pecl-http-4.0.0.ebuild
new file mode 100644
index 000..a65db6f2634
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-4.0.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php7-3 php7-4 php8-0"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php8-0"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="8"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+COMMON_DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   >=dev-php/pecl-raphf-2.0.1:7[php_targets_php8-0(-)?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+"
+DEPEND="
+   php_targets_php8-0? ( ${COMMON_DEPEND} dev-lang/php:8.0[session,iconv] 
)"
+RDEPEND="${DEPEND}
+   php_targets_php7-3? ( dev-php/pecl-http:7[php_targets_php7-3(-)] )
+   php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+src_prepare() {
+   if use php_targets_php8-0 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php8-0 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=raphf/' 
\
+   Makefile || die
+   SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
+   # Clean up testing links
+   rm modules/raphf.so || die
+   done
+}



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

2020-12-10 Thread Brian Evans
commit: d28674007f0a0c168d3190be922f87a3f4b6ee22
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Dec 10 20:23:52 2020 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Dec 10 20:26:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2867400

dev-php/pecl-http: Add PHP 8 support in new slot

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

 dev-php/pecl-http/Manifest |  1 +
 dev-php/pecl-http/pecl-http-3.2.3-r1.ebuild| 72 ++
 dev-php/pecl-http/pecl-http-4.0.0_beta1.ebuild | 70 +
 3 files changed, 143 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index ae6d032c2f2..eb018948dc4 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,2 +1,3 @@
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
 DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 
2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5
 SHA512 
e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666
+DIST pecl_http-4.0.0beta1.tgz 219277 BLAKE2B 
184ea0a92fc514f24fd31aaec7824ba80293a52d168d11b3b3a9cea410df1bc9a6a819c45f301b357a3d19246e3c36b56f238c264579509eadf00fb42ae32d91
 SHA512 
d3e487d10e18e8af1a750d171e4432dd30562e1fb8d8ae7cbb33a379e3d385d27a6ce1896ed8f727802eae1045505254cb68840395098310e22f6dc640c5c616

diff --git a/dev-php/pecl-http/pecl-http-3.2.3-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.3-r1.ebuild
new file mode 100644
index 000..209edf1ed14
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.2.3-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php7-2 php7-3 php7-4 php8-0"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-2 php7-3 php7-4"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+COMMON_DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   
dev-php/pecl-propro:7[php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]
+   
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+"
+DEPEND="
+   php_targets_php7-2? ( ${COMMON_DEPEND} 
dev-lang/php:7.2[hash,session,iconv] )
+   php_targets_php7-3? ( ${COMMON_DEPEND} 
dev-lang/php:7.3[hash,session,iconv] )
+   php_targets_php7-4? ( ${COMMON_DEPEND} dev-lang/php:7.4[session,iconv] 
)"
+RDEPEND="${DEPEND}
+   php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+src_prepare() {
+   if use php_targets_php7-2 || use php_targets_php7-3 || use 
php_targets_php7-4 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-2 || use php_targets_php7-3 || use 
php_targets_php7-4 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
+   Makefile || die
+   SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
+   # Clean up testing links
+   rm modules/propro.so modules/raphf.so || die
+   done
+}

diff --git a/dev-php/pecl-http/pecl-http-4.0.0_beta1.ebuild 
b/dev-php/pecl-http/pecl-http-4.0.0_beta1.ebuild
new file mode 100644
index 000..af5bbf3e0b5
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-4.0.0_beta1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="http"

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

2019-12-12 Thread Thomas Deutschmann
commit: a4b3ae35742501bc83b4883c452e020eee170f17
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Dec 12 23:55:36 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Dec 13 00:06:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4b3ae35

dev-php/pecl-http: fix MissingUseDepDefault

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

 dev-php/pecl-http/pecl-http-3.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/pecl-http/pecl-http-3.2.3.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.3.ebuild
index 34a213da1df..df14e937eb7 100644
--- a/dev-php/pecl-http/pecl-http-3.2.3.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.3.ebuild
@@ -25,7 +25,7 @@ IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss 
+curl_ssl_openssl"
 DEPEND="app-arch/brotli:=
dev-libs/libevent

dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
-   
dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
+   
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
net-dns/libidn2
sys-libs/zlib
ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )



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

2019-12-05 Thread Brian Evans
commit: 3c42bb6d9828e2e9ffb4d4cf2d0c5511a80e8a55
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Dec  5 18:59:01 2019 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Dec  5 19:01:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c42bb6d

dev-php/pecl-http: Mark 3.2.1 stable on amd64/x86

Maintainer tested.

One Test failed but has in past.

client ssl [tests/client012.phpt]

Current stable fails required deps, dropped.

Closes: https://bugs.gentoo.org/667080
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Brian Evans  gentoo.org>

 dev-php/pecl-http/Manifest |  1 -
 dev-php/pecl-http/files/pecl-http-gnutls.patch | 24 -
 dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild| 69 
 dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild| 75 --
 dev-php/pecl-http/pecl-http-3.1.0.ebuild   | 57 
 dev-php/pecl-http/pecl-http-3.2.1.ebuild   |  4 +-
 6 files changed, 2 insertions(+), 228 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index 9bd5d5c37b8..5815a02fe4a 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,5 +1,4 @@
 DIST pecl_http-2.6.0.tgz 217673 BLAKE2B 
a7147924cfc018c3e273d85666d9792ea614955d0aa20ac43171266d91d139dccdbf2472dec4d145b798ce99a541dba48f7bed6009fbdf2a7ad81ab322963788
 SHA512 
12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad
-DIST pecl_http-3.1.0.tgz 214166 BLAKE2B 
2f84fc9f5f7d465142e3482a9ee46b9dd80dd2b5ec58ad1d8d4fb18a665ebe70e4f872b8915c3a84484a3b1cd0709b39bf6170c6f1c6175aef7d43bac44aa3df
 SHA512 
1c272aa476106bb61848f175f0ba6715b3d8928f70cdac1a673cc87c2dc780dff5434a3bc595d5e8a1ef7b847a1d2e214f9e9ae80b8b5d1f80a299febc85b0ea
 DIST pecl_http-3.2.0.tgz 218829 BLAKE2B 
bbd6f9fe8afb4324d928496e1fbcdd455e8bff5e45312ba65e5e9263719b098763203de055ea8a8ff6202ae4a434d37db25bb0975faacc956af4a0c6e8bfe8a1
 SHA512 
59738ee52370c68f7e74349d52738da845cfb83ae27b51a2caf3b048ba0b37c897702d7f5f8e0517df5612fd2e904d02e8e24c9e649a9e7cfdcdc04e9d19b113
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
 DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 
2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5
 SHA512 
e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666

diff --git a/dev-php/pecl-http/files/pecl-http-gnutls.patch 
b/dev-php/pecl-http/files/pecl-http-gnutls.patch
deleted file mode 100644
index 4b58805946d..000
--- a/dev-php/pecl-http/files/pecl-http-gnutls.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -aurN a/autoconf/pecl/libcurl.m4 b/autoconf/pecl/libcurl.m4
 a/autoconf/pecl/libcurl.m4 2016-12-12 04:04:21.0 -0500
-+++ b/autoconf/pecl/libcurl.m4 2017-01-06 09:07:17.575660038 -0500
-@@ -87,7 +87,7 @@
-   AC_REQUIRE([PECL_HAVE_LIBCURL_CA])dnl
-   PECL_HAVE_LIBCURL_FEATURE([SSL], [
-   PECL_HAVE_LIBCURL_SSLLIB([OpenSSL], [openssl/ssl.h 
openssl/crypto.h], [ssl crypto])
--  PECL_HAVE_LIBCURL_SSLLIB([GnuTLS], [gnutls.h gcrypt.h], [gnutls 
gcrypt])
-+  PECL_HAVE_LIBCURL_SSLLIB([GnuTLS], [gnutls/gnutls.h gcrypt.h], 
[gnutls gcrypt])
-   PECL_HAVE_LIBCURL_SSLLIB([NSS])
-   PECL_HAVE_LIBCURL_SSLLIB([SecureTransport])
-   PECL_HAVE_LIBCURL_SSLLIB([GSKit])
-diff -aurN a/src/php_http_client_curl.c b/src/php_http_client_curl.c
 a/src/php_http_client_curl.c   2016-12-12 04:04:21.0 -0500
-+++ b/src/php_http_client_curl.c   2017-01-06 09:09:01.631772852 -0500
-@@ -21,7 +21,7 @@
- # include 
- #endif
- #if PHP_HTTP_HAVE_LIBCURL_GNUTLS
--# include 
-+# include 
- #endif
- 
- typedef struct php_http_client_curl_handler {

diff --git a/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild
deleted file mode 100644
index df1e34b5a7e..000
--- a/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php5-6 php7-0 php7-1"
-
-inherit php-ext-pecl-r3
-
-USE_PHP="php7-0 php7-1"
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
-
-DEPEND="dev-libs/libevent
-   

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

2019-12-05 Thread Brian Evans
commit: 9b1be255b515a024865a6ae206ca66949e980b21
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Dec  5 19:01:37 2019 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Dec  5 19:01:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b1be255

dev-php/pecl-http: Drop old

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

 dev-php/pecl-http/Manifest   |  1 -
 dev-php/pecl-http/pecl-http-3.2.0.ebuild | 75 
 2 files changed, 76 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index 5815a02fe4a..bf0b8fdd6cf 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,4 +1,3 @@
 DIST pecl_http-2.6.0.tgz 217673 BLAKE2B 
a7147924cfc018c3e273d85666d9792ea614955d0aa20ac43171266d91d139dccdbf2472dec4d145b798ce99a541dba48f7bed6009fbdf2a7ad81ab322963788
 SHA512 
12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad
-DIST pecl_http-3.2.0.tgz 218829 BLAKE2B 
bbd6f9fe8afb4324d928496e1fbcdd455e8bff5e45312ba65e5e9263719b098763203de055ea8a8ff6202ae4a434d37db25bb0975faacc956af4a0c6e8bfe8a1
 SHA512 
59738ee52370c68f7e74349d52738da845cfb83ae27b51a2caf3b048ba0b37c897702d7f5f8e0517df5612fd2e904d02e8e24c9e649a9e7cfdcdc04e9d19b113
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
 DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 
2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5
 SHA512 
e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666

diff --git a/dev-php/pecl-http/pecl-http-3.2.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.0.ebuild
deleted file mode 100644
index b17e8e39628..000
--- a/dev-php/pecl-http/pecl-http-3.2.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_INI_NAME="50-http"
-
-USE_PHP="php5-6 php7-1 php7-2 php7-3"
-
-inherit php-ext-pecl-r3
-
-USE_PHP="php7-1 php7-2 php7-3"
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
-
-DEPEND="app-arch/brotli:=
-   dev-libs/libevent
-   
dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
-   
dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
-   net-dns/libidn2
-   sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
-   !ssl? ( net-misc/curl[-ssl] )
-   php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
-   php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )
-   php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )"
-RDEPEND="${DEPEND}
-   php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
-
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
-
-src_prepare() {
-   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
-   php-ext-source-r3_src_prepare
-   else
-   default_src_prepare
-   fi
-}
-
-src_install() {
-   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
-   php-ext-pecl-r3_src_install
-   fi
-}
-
-src_test() {
-   # Cannot use eclass function due to required modules
-   # All tests SKIP otherwise
-   for slot in $(php_get_slots); do
-   php_init_slot_env "${slot}"
-   # Link in required modules for testing
-   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
-   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
-   sed -i \
-   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
-   Makefile || die
-   NO_INTERACTION="yes" emake test
-   # Clean up testing links
-   rm modules/propro.so modules/raphf.so || die
-   done
-}
-
-pkg_postinst() {
-   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
-   ewarn "Please review the documentation and update your code."
-}



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

2019-12-02 Thread Thomas Deutschmann
commit: 993b0b847c3f40177c289ca3ee70d56c05f911fe
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Dec  2 14:10:14 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Dec  2 14:10:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993b0b84

dev-php/pecl-http: set SKIP_ONLINE_TESTS=yes

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

 dev-php/pecl-http/pecl-http-3.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/pecl-http/pecl-http-3.2.3.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.3.ebuild
index 9d6429e4456..34a213da1df 100644
--- a/dev-php/pecl-http/pecl-http-3.2.3.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.3.ebuild
@@ -64,7 +64,7 @@ src_test() {
sed -i \

's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
Makefile || die
-   NO_INTERACTION="yes" emake test
+   SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
# Clean up testing links
rm modules/propro.so modules/raphf.so || die
done



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

2019-11-28 Thread Thomas Deutschmann
commit: 819737304ba33c3c1cec4d5d580bca5b169c4f07
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Nov 28 22:25:40 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Nov 28 22:47:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81973730

dev-php/pecl-http: add PHP 7.4 support

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

 dev-php/pecl-http/pecl-http-3.2.3.ebuild | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-3.2.3.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.3.ebuild
index 564462685ed..9d6429e4456 100644
--- a/dev-php/pecl-http/pecl-http-3.2.3.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.3.ebuild
@@ -9,11 +9,11 @@ PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 PHP_INI_NAME="50-http"
 
-USE_PHP="php5-6 php7-1 php7-2 php7-3"
+USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4"
 
 inherit php-ext-pecl-r3
 
-USE_PHP="php7-1 php7-2 php7-3"
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
 
 KEYWORDS="~amd64 ~x86"
 
@@ -24,22 +24,23 @@ IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss 
+curl_ssl_openssl"
 
 DEPEND="app-arch/brotli:=
dev-libs/libevent
-   
dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
-   
dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
+   
dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
+   
dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
net-dns/libidn2
sys-libs/zlib
ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
!ssl? ( net-misc/curl[-ssl] )
php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )
-   php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )"
+   php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )
+   php_targets_php7-4? ( dev-lang/php:7.4[session,iconv] )"
 RDEPEND="${DEPEND}
php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
 
 PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
 
 src_prepare() {
-   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
+   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 || use php_targets_php7-4 ; then
php-ext-source-r3_src_prepare
else
default_src_prepare
@@ -47,7 +48,7 @@ src_prepare() {
 }
 
 src_install() {
-   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
+   if 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-http/

2019-11-17 Thread Thomas Deutschmann
commit: 3d9ea61a260dfb7a1bb9e351ebee00439b2c2d6c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Nov 17 20:41:10 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Nov 17 21:01:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9ea61a

dev-php/pecl-http: bump to v3.2.3

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

 dev-php/pecl-http/Manifest   |  1 +
 dev-php/pecl-http/pecl-http-3.2.3.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index bf2423cd5e4..9bd5d5c37b8 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -2,3 +2,4 @@ DIST pecl_http-2.6.0.tgz 217673 BLAKE2B 
a7147924cfc018c3e273d85666d9792ea614955d
 DIST pecl_http-3.1.0.tgz 214166 BLAKE2B 
2f84fc9f5f7d465142e3482a9ee46b9dd80dd2b5ec58ad1d8d4fb18a665ebe70e4f872b8915c3a84484a3b1cd0709b39bf6170c6f1c6175aef7d43bac44aa3df
 SHA512 
1c272aa476106bb61848f175f0ba6715b3d8928f70cdac1a673cc87c2dc780dff5434a3bc595d5e8a1ef7b847a1d2e214f9e9ae80b8b5d1f80a299febc85b0ea
 DIST pecl_http-3.2.0.tgz 218829 BLAKE2B 
bbd6f9fe8afb4324d928496e1fbcdd455e8bff5e45312ba65e5e9263719b098763203de055ea8a8ff6202ae4a434d37db25bb0975faacc956af4a0c6e8bfe8a1
 SHA512 
59738ee52370c68f7e74349d52738da845cfb83ae27b51a2caf3b048ba0b37c897702d7f5f8e0517df5612fd2e904d02e8e24c9e649a9e7cfdcdc04e9d19b113
 DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
+DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 
2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5
 SHA512 
e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666

diff --git a/dev-php/pecl-http/pecl-http-3.2.3.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.3.ebuild
new file mode 100644
index 000..564462685ed
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.2.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php5-6 php7-1 php7-2 php7-3"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-1 php7-2 php7-3"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   
dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
+   
dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+   php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
+   php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )
+   php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )"
+RDEPEND="${DEPEND}
+   php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+src_prepare() {
+   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-1 || use php_targets_php7-2 || use 
php_targets_php7-3 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
+   Makefile || die
+   NO_INTERACTION="yes" emake test
+   # Clean up testing links
+   rm modules/propro.so modules/raphf.so || die
+   done
+}
+
+pkg_postinst() {
+   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
+   ewarn "Please review the documentation and update 

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

2019-06-07 Thread Thomas Deutschmann
commit: d702110ac3891eb5da19294142b8571c3484ba4e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Jun  7 13:44:39 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Jun  7 14:08:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d702110a

dev-php/pecl-http: add PHP 7.3 support

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

 dev-php/pecl-http/Manifest  |  1 +
 dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild | 15 +++
 dev-php/pecl-http/pecl-http-3.2.0.ebuild| 15 +++
 .../{pecl-http-3.2.0.ebuild => pecl-http-3.2.1.ebuild}  | 17 -
 4 files changed, 23 insertions(+), 25 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index a065727cc7c..bf2423cd5e4 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,3 +1,4 @@
 DIST pecl_http-2.6.0.tgz 217673 BLAKE2B 
a7147924cfc018c3e273d85666d9792ea614955d0aa20ac43171266d91d139dccdbf2472dec4d145b798ce99a541dba48f7bed6009fbdf2a7ad81ab322963788
 SHA512 
12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad
 DIST pecl_http-3.1.0.tgz 214166 BLAKE2B 
2f84fc9f5f7d465142e3482a9ee46b9dd80dd2b5ec58ad1d8d4fb18a665ebe70e4f872b8915c3a84484a3b1cd0709b39bf6170c6f1c6175aef7d43bac44aa3df
 SHA512 
1c272aa476106bb61848f175f0ba6715b3d8928f70cdac1a673cc87c2dc780dff5434a3bc595d5e8a1ef7b847a1d2e214f9e9ae80b8b5d1f80a299febc85b0ea
 DIST pecl_http-3.2.0.tgz 218829 BLAKE2B 
bbd6f9fe8afb4324d928496e1fbcdd455e8bff5e45312ba65e5e9263719b098763203de055ea8a8ff6202ae4a434d37db25bb0975faacc956af4a0c6e8bfe8a1
 SHA512 
59738ee52370c68f7e74349d52738da845cfb83ae27b51a2caf3b048ba0b37c897702d7f5f8e0517df5612fd2e904d02e8e24c9e649a9e7cfdcdc04e9d19b113
+DIST pecl_http-3.2.1.tgz 221244 BLAKE2B 
b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3
 SHA512 
e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51

diff --git a/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
index 9351232041c..3cdfdc24b15 100644
--- a/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -9,11 +9,11 @@ PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 PHP_INI_NAME="50-http"
 
-USE_PHP="php5-6 php7-0 php7-1 php7-2"
+USE_PHP="php5-6 php7-1 php7-2"
 
 inherit php-ext-pecl-r3
 
-USE_PHP="php7-0 php7-1 php7-2"
+USE_PHP="php7-1 php7-2"
 
 KEYWORDS="~amd64 ~x86"
 
@@ -23,13 +23,12 @@ SLOT="7"
 IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
 
 DEPEND="dev-libs/libevent
-   
dev-php/pecl-propro:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?]
-   
dev-php/pecl-raphf:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?]
+   dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?]
+   dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?]
net-dns/libidn2
sys-libs/zlib
ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
!ssl? ( net-misc/curl[-ssl] )
-   php_targets_php7-0? ( dev-lang/php:7.0[hash,session,iconv] )
php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )"
 RDEPEND="${DEPEND}
@@ -40,7 +39,7 @@ PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libid
 PATCHES=( "${FILESDIR}/pecl-http-gnutls.patch" )
 
 src_prepare() {
-   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 ; then
+   if use php_targets_php7-1 || use php_targets_php7-2 ; then
php-ext-source-r3_src_prepare
else
default_src_prepare
@@ -48,7 +47,7 @@ src_prepare() {
 }
 
 src_install() {
-   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 ; then
+   if use php_targets_php7-1 || use php_targets_php7-2 ; then
php-ext-pecl-r3_src_install
fi
 }

diff --git a/dev-php/pecl-http/pecl-http-3.2.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.0.ebuild
index e10f0ddf53c..b17e8e39628 100644
--- a/dev-php/pecl-http/pecl-http-3.2.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -9,11 +9,11 @@ PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 

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

2018-12-17 Thread Thomas Deutschmann
commit: fece8024491332148bb4bc7150389950747f441e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Dec 18 00:29:12 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Dec 18 00:51:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fece8024

dev-php/pecl-http: bump to v3.2.0

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

 dev-php/pecl-http/Manifest   |  1 +
 dev-php/pecl-http/pecl-http-3.2.0.ebuild | 76 
 2 files changed, 77 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index d48ddbd2f18..a065727cc7c 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,2 +1,3 @@
 DIST pecl_http-2.6.0.tgz 217673 BLAKE2B 
a7147924cfc018c3e273d85666d9792ea614955d0aa20ac43171266d91d139dccdbf2472dec4d145b798ce99a541dba48f7bed6009fbdf2a7ad81ab322963788
 SHA512 
12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad
 DIST pecl_http-3.1.0.tgz 214166 BLAKE2B 
2f84fc9f5f7d465142e3482a9ee46b9dd80dd2b5ec58ad1d8d4fb18a665ebe70e4f872b8915c3a84484a3b1cd0709b39bf6170c6f1c6175aef7d43bac44aa3df
 SHA512 
1c272aa476106bb61848f175f0ba6715b3d8928f70cdac1a673cc87c2dc780dff5434a3bc595d5e8a1ef7b847a1d2e214f9e9ae80b8b5d1f80a299febc85b0ea
+DIST pecl_http-3.2.0.tgz 218829 BLAKE2B 
bbd6f9fe8afb4324d928496e1fbcdd455e8bff5e45312ba65e5e9263719b098763203de055ea8a8ff6202ae4a434d37db25bb0975faacc956af4a0c6e8bfe8a1
 SHA512 
59738ee52370c68f7e74349d52738da845cfb83ae27b51a2caf3b048ba0b37c897702d7f5f8e0517df5612fd2e904d02e8e24c9e649a9e7cfdcdc04e9d19b113

diff --git a/dev-php/pecl-http/pecl-http-3.2.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.2.0.ebuild
new file mode 100644
index 000..e10f0ddf53c
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.2.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-0 php7-1 php7-2 php7-3"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="app-arch/brotli:=
+   dev-libs/libevent
+   
dev-php/pecl-propro:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?]
+   
dev-php/pecl-raphf:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+   php_targets_php7-0? ( dev-lang/php:7.0[hash,session,iconv] )
+   php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
+   php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )
+   php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )"
+RDEPEND="${DEPEND}
+   php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+src_prepare() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 || use php_targets_php7-3 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   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
+}
+
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
+   Makefile || die
+   NO_INTERACTION="yes" emake test
+   # Clean up testing links
+   rm modules/propro.so modules/raphf.so || die
+   done
+}
+
+pkg_postinst() {
+   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
+   ewarn "Please review the documentation and update your code."
+}



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

2018-05-18 Thread Brian Evans
commit: d676eb38df8ab595af6c03def8b095672d297e79
Author: Brian Evans  gentoo  org>
AuthorDate: Fri May 18 20:09:27 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri May 18 20:11:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d676eb38

dev-php/pecl-http: Fix tests so they don't SKIP everything

The basic testing command ignores the requirements of other
extensions needed to run.  This adds the required ones.

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild | 13 +
 dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild | 17 +
 2 files changed, 30 insertions(+)

diff --git a/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild 
b/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild
index 3a3e49cd8b3..63cfe3ff805 100644
--- a/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild
+++ b/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild
@@ -53,6 +53,19 @@ src_install() {
fi
 }
 
+src_test() {
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
+   Makefile || die
+   NO_INTERACTION="yes" emake test
+   rm modules/propro.so modules/raphf.so || die
+   done
+}
+
 pkg_postinst() {
ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
ewarn "Please review the documentation and update your code."

diff --git a/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
index 68af2db5ec8..9351232041c 100644
--- a/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
@@ -53,6 +53,23 @@ src_install() {
fi
 }
 
+src_test() {
+   # Cannot use eclass function due to required modules
+   # All tests SKIP otherwise
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   # Link in required modules for testing
+   ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
+   ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
+   sed -i \
+   
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d 
extension=propro.so -d extension=raphf.so/' \
+   Makefile || die
+   NO_INTERACTION="yes" emake test
+   # Clean up testing links
+   rm modules/propro.so modules/raphf.so || die
+   done
+}
+
 pkg_postinst() {
ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
ewarn "Please review the documentation and update your code."



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

2018-01-29 Thread Brian Evans
commit: 5b0e8003dd4d143586da06130986656717d75682
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Jan 29 16:43:33 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Jan 29 16:44:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b0e8003

dev-php/pecl-http: Revbumps to use the new PHP_INI_NAME and php 7.2

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild | 59 +
 dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild | 59 +
 2 files changed, 118 insertions(+)

diff --git a/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild 
b/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild
new file mode 100644
index 000..3a3e49cd8b3
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php5-6 php7-0 php7-1 php7-2"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php5-6"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="2"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="php_targets_php5-6? (
+   dev-libs/libevent
+   dev-php/pecl-propro:0[php_targets_php5-6]
+   dev-php/pecl-raphf:0[php_targets_php5-6]
+   net-dns/libidn
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+   dev-lang/php:5.6[hash,session,iconv] )"
+RDEPEND="${DEPEND}"
+PDEPEND="
+   php_targets_php7-0? ( dev-php/pecl-http:7[php_targets_php7-0] )
+   php_targets_php7-1? ( dev-php/pecl-http:7[php_targets_php7-1] )
+   php_targets_php7-2? ( dev-php/pecl-http:7[php_targets_php7-2] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+
+src_prepare() {
+   if use php_targets_php5-6 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php5-6 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+pkg_postinst() {
+   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
+   ewarn "Please review the documentation and update your code."
+}

diff --git a/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
new file mode 100644
index 000..68af2db5ec8
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_INI_NAME="50-http"
+
+USE_PHP="php5-6 php7-0 php7-1 php7-2"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-0 php7-1 php7-2"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="dev-libs/libevent
+   
dev-php/pecl-propro:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?]
+   
dev-php/pecl-raphf:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?]
+   net-dns/libidn2
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+   php_targets_php7-0? ( dev-lang/php:7.0[hash,session,iconv] )
+   php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
+   php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )"
+RDEPEND="${DEPEND}
+   php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn-dir )
+
+PATCHES=( "${FILESDIR}/pecl-http-gnutls.patch" )
+
+src_prepare() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php7-0 || use php_targets_php7-1 || use 
php_targets_php7-2 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+pkg_postinst() {
+   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
+   ewarn "Please review the documentation and update your code."
+}



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

2017-10-09 Thread Brian Evans
commit: ad8c6bb045491eb367a2b892e200278c5c5a967b
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Oct  9 13:21:46 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Oct  9 13:21:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad8c6bb0

dev-php/pecl-http: Fix build failure for SLOT 7

When libidn and libidn2 are installed, the build tries to use both.
This causes an error in definitions.  Choosing libidn for now,
but it is simple enough to use the other.

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild | 2 +-
 dev-php/pecl-http/pecl-http-3.1.0.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild
index 39ea6b2346b..df1e34b5a7e 100644
--- a/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild
@@ -33,7 +33,7 @@ DEPEND="dev-libs/libevent
 RDEPEND="${DEPEND}
php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
 
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn2-dir )
 
 PATCHES=( "${FILESDIR}/pecl-http-gnutls.patch" )
 

diff --git a/dev-php/pecl-http/pecl-http-3.1.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
index 65164af8c53..c262cbac854 100644
--- a/dev-php/pecl-http/pecl-http-3.1.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
@@ -33,7 +33,7 @@ DEPEND="dev-libs/libevent
 RDEPEND="${DEPEND}
php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
 
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps 
--without-http-libidn2-dir )
 
 PATCHES=( "${FILESDIR}/pecl-http-gnutls.patch" )
 



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

2017-03-19 Thread Michael Orlitzky
commit: e4fc5bf05ab9573dec1ed05601a31cca0e19c8f5
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Mar 19 17:21:12 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Mar 19 17:32:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4fc5bf0

dev-php/pecl-http: new revisions to fix extension load order.

The http extension has dependencies on two other extensions, and needs
to be loaded after them. Our eclass currently can't handle that -- we
throw files into /etc/php/.../ext-active, and they get loaded in glob
order. For an ugly workaround, I've renamed the symlinks that get
installed in ext-active to "zzhttp.ini", but have left them pointing
to a file named "http.ini" in the "ext" directory.

That fixes the problem for pecl-http, but it would be nice to have a
long-term solution for the problem. I've made a note to that effect on
bug 586446, where we are tracking future improvements to the eclass.

Gentoo-Bug: 586446
Gentoo-Bug: 612054

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/pecl-http/pecl-http-2.6.0-r1.ebuild | 69 +
 dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild | 69 +
 2 files changed, 138 insertions(+)

diff --git a/dev-php/pecl-http/pecl-http-2.6.0-r1.ebuild 
b/dev-php/pecl-http/pecl-http-2.6.0-r1.ebuild
new file mode 100644
index 000..17aa145af9e
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-2.6.0-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6 php7-0 php7-1"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php5-6"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="2"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="php_targets_php5-6? (
+   dev-libs/libevent
+   dev-php/pecl-propro:0[php_targets_php5-6]
+   dev-php/pecl-raphf:0[php_targets_php5-6]
+   net-dns/libidn
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+   dev-lang/php:5.6[hash,session,iconv] )"
+RDEPEND="${DEPEND}"
+PDEPEND="
+   php_targets_php7-0? ( dev-php/pecl-http:7[php_targets_php7-0] )
+   php_targets_php7-1? ( dev-php/pecl-http:7[php_targets_php7-1] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+
+src_prepare() {
+   if use php_targets_php5-6 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php5-6 ; then
+   php-ext-pecl-r3_src_install
+
+   # Ensure that the http extension is loaded after its
+   # dependencies raphf and propro (bug 612054). Some day
+   # this should be possible through the eclass (bug 586446).
+   local slot, file, oldname, newname
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   for file in $(php_slot_ini_files "${slot}") ; do
+   # Prepend "zz" to the ini symlink name. This is 
sadly
+   # coupled to the naming convention in the 
eclass.
+   oldname="${ED}/${file/ext/ext-active}"
+   
newname="${oldname/${PHP_EXT_NAME}.ini/zz${PHP_EXT_NAME}.ini}"
+   mv "${oldname}" "${newname}" \
+   || die "failed to rename ${oldname} to 
${newname}"
+   einfo "renamed ${oldname} to ${newname}"
+   done
+   done
+   fi
+}

diff --git a/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild
new file mode 100644
index 000..39ea6b2346b
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6 php7-0 php7-1"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-0 php7-1"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="dev-libs/libevent
+   
dev-php/pecl-propro:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?]
+   
dev-php/pecl-raphf:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?]
+   net-dns/libidn
+   sys-libs/zlib
+   ssl? ( 

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

2017-03-19 Thread Michael Orlitzky
commit: 544a563030797c6660c9437f46dac4989d6b4af3
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Mar 19 16:13:59 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Mar 19 17:31:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=544a5630

dev-php/pecl-http: remove unused versions 2.5.6 and 3.0.1.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/pecl-http/Manifest   |  2 --
 dev-php/pecl-http/pecl-http-2.5.6.ebuild | 37 
 dev-php/pecl-http/pecl-http-3.0.1.ebuild | 48 
 3 files changed, 87 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index d8c5832bec8..b52eebe4f69 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,4 +1,2 @@
-DIST pecl_http-2.5.6.tgz 200469 SHA256 
8435eb9082b8fdc56b630e3d3d8e63617a3bc43d360f6f49fbd7b1856b266be4 SHA512 
a4ddb2e55b537a240dc79ad38665f9cb79ef56a70f50e0393ca19c36f744c21374ba801e31e68545516c4be98cff65587ee91b2b25f05dd587120afcb87dfe4a
 WHIRLPOOL 
d4d2158b610c959a558b450a79a77a7f9de53d6e75982e920c4b64d48731139223659af149b9894c2fee1a477005af34a57cb33a806429e11446d5162b031b89
 DIST pecl_http-2.6.0.tgz 217673 SHA256 
ddbf3eea3d1c7004a7dd83b5864aee5f87b1b6032bc281c08ccc62f83b9931ed SHA512 
12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad
 WHIRLPOOL 
976a3ba0f37e78f97c4cc4884e61b2c14cd8760e48be2da0743a3b7adc44198984ff748ebed63885f012a14c8e016a57247685a576cc90e57c6bfbba59a4e862
-DIST pecl_http-3.0.1.tgz 197372 SHA256 
4e45ea546e3245669887ec98187666ccb4aa3df15078335b1c02c824c8165031 SHA512 
344ae45987269d9505ffed6059be378005298d89c5e39bda6f771d8bf5a1998e91c214c03d32b9c78329c95e4928d35d3659dd3a1c70071aa5b2bd2763852098
 WHIRLPOOL 
76538ec0b94ef5d63808b625a8e73ab499c2afc78cd0f31823dcea4de66d865f7cf8387cc67eac1f19fec032a7ac7b7775685048ac0c6f76fadccfc1d932026c
 DIST pecl_http-3.1.0.tgz 214166 SHA256 
e3de67b156e7d5f6c2e5eb1e2b5f0acceb7004f1260d68c9f8b2c0f9629aabf0 SHA512 
1c272aa476106bb61848f175f0ba6715b3d8928f70cdac1a673cc87c2dc780dff5434a3bc595d5e8a1ef7b847a1d2e214f9e9ae80b8b5d1f80a299febc85b0ea
 WHIRLPOOL 
8a6cb8689001e794b590ad2b0b9c873a8fd805f37726e61c2b617d962a94b3cf87c2d280f665b42bce7d8583415718f505a4f826ac616bcead2bfe2c9295fa55

diff --git a/dev-php/pecl-http/pecl-http-2.5.6.ebuild 
b/dev-php/pecl-http/pecl-http-2.5.6.ebuild
deleted file mode 100644
index e98b33f2d39..000
--- a/dev-php/pecl-http/pecl-http-2.5.6.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php5-6"
-
-inherit php-ext-pecl-r3
-
-KEYWORDS="amd64 x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="2"
-IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
-
-DEPEND="dev-libs/libevent
-   dev-php/pecl-propro:0
-   dev-php/pecl-raphf:0
-   net-dns/libidn
-   sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
-   !ssl? ( net-misc/curl[-ssl] )
-   php_targets_php5-6? ( dev-lang/php:5.6[hash,session,iconv] )"
-RDEPEND="${DEPEND}"
-
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
-
-pkg_postinst() {
-   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
-   ewarn "Please review the documentation and update your code."
-}

diff --git a/dev-php/pecl-http/pecl-http-3.0.1.ebuild 
b/dev-php/pecl-http/pecl-http-3.0.1.ebuild
deleted file mode 100644
index c89dfa134c6..000
--- a/dev-php/pecl-http/pecl-http-3.0.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-USE_PHP="php5-6 php7-0"
-
-inherit php-ext-pecl-r3
-
-USE_PHP="php7-0"
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="7"
-IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
-
-DEPEND="dev-libs/libevent
-   dev-php/pecl-propro:7
-   dev-php/pecl-raphf:7
-   net-dns/libidn
-   sys-libs/zlib
-   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
-   !ssl? ( net-misc/curl[-ssl] )
-   php_targets_php7-0? ( dev-lang/php:7.0[hash,session,iconv] )"
-RDEPEND="${DEPEND}
-   php_targets_php5-6? ( dev-php/pecl-http:2 )"
-
-PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
-
-src_prepare() {
-   if use php_targets_php7-0 ; then
-   php-ext-source-r3_src_prepare
-   else
-   

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

2017-02-23 Thread Agostino Sarubbo
commit: ea9e6f4bfb84a2cbfe9a383ca0149806005489b8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Feb 23 16:29:17 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Feb 23 16:29:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9e6f4b

dev-php/pecl-http: x86 stable wrt bug #610408

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-php/pecl-http/pecl-http-2.6.0.ebuild | 2 +-
 dev-php/pecl-http/pecl-http-3.1.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-2.6.0.ebuild 
b/dev-php/pecl-http/pecl-http-2.6.0.ebuild
index 766de2c9a3..d21e1f4379 100644
--- a/dev-php/pecl-http/pecl-http-2.6.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-2.6.0.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php5-6"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"

diff --git a/dev-php/pecl-http/pecl-http-3.1.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
index bd00722e79..0eae0a222c 100644
--- a/dev-php/pecl-http/pecl-http-3.1.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php7-0 php7-1"
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2017-02-22 Thread Agostino Sarubbo
commit: 3aa27649e219ba284329d9e6c6143fa2fd810d02
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 22 15:04:16 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 22 15:04:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aa27649

dev-php/pecl-http: amd64 stable wrt bug #610408

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-php/pecl-http/pecl-http-2.6.0.ebuild | 4 ++--
 dev-php/pecl-http/pecl-http-3.1.0.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-php/pecl-http/pecl-http-2.6.0.ebuild 
b/dev-php/pecl-http/pecl-http-2.6.0.ebuild
index 2b2f983495..766de2c9a3 100644
--- a/dev-php/pecl-http/pecl-http-2.6.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-2.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php5-6"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"

diff --git a/dev-php/pecl-http/pecl-http-3.1.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
index 3c43ba0259..bd00722e79 100644
--- a/dev-php/pecl-http/pecl-http-3.1.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
@@ -15,7 +15,7 @@ inherit php-ext-pecl-r3
 
 USE_PHP="php7-0 php7-1"
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2017-01-06 Thread Brian Evans
commit: 4b7abacb9f6acf9e4ac48ff3991290a9ef54abfe
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Jan  6 14:21:23 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Jan  6 14:21:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7abacb

dev-php/pecl-http: Fix build failure with curl_ssl_gnutls USE

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/pecl-http/files/pecl-http-gnutls.patch | 24 
 dev-php/pecl-http/pecl-http-3.1.0.ebuild   |  4 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/dev-php/pecl-http/files/pecl-http-gnutls.patch 
b/dev-php/pecl-http/files/pecl-http-gnutls.patch
new file mode 100644
index ..4b58805
--- /dev/null
+++ b/dev-php/pecl-http/files/pecl-http-gnutls.patch
@@ -0,0 +1,24 @@
+diff -aurN a/autoconf/pecl/libcurl.m4 b/autoconf/pecl/libcurl.m4
+--- a/autoconf/pecl/libcurl.m4 2016-12-12 04:04:21.0 -0500
 b/autoconf/pecl/libcurl.m4 2017-01-06 09:07:17.575660038 -0500
+@@ -87,7 +87,7 @@
+   AC_REQUIRE([PECL_HAVE_LIBCURL_CA])dnl
+   PECL_HAVE_LIBCURL_FEATURE([SSL], [
+   PECL_HAVE_LIBCURL_SSLLIB([OpenSSL], [openssl/ssl.h 
openssl/crypto.h], [ssl crypto])
+-  PECL_HAVE_LIBCURL_SSLLIB([GnuTLS], [gnutls.h gcrypt.h], [gnutls 
gcrypt])
++  PECL_HAVE_LIBCURL_SSLLIB([GnuTLS], [gnutls/gnutls.h gcrypt.h], 
[gnutls gcrypt])
+   PECL_HAVE_LIBCURL_SSLLIB([NSS])
+   PECL_HAVE_LIBCURL_SSLLIB([SecureTransport])
+   PECL_HAVE_LIBCURL_SSLLIB([GSKit])
+diff -aurN a/src/php_http_client_curl.c b/src/php_http_client_curl.c
+--- a/src/php_http_client_curl.c   2016-12-12 04:04:21.0 -0500
 b/src/php_http_client_curl.c   2017-01-06 09:09:01.631772852 -0500
+@@ -21,7 +21,7 @@
+ # include 
+ #endif
+ #if PHP_HTTP_HAVE_LIBCURL_GNUTLS
+-# include 
++# include 
+ #endif
+ 
+ typedef struct php_http_client_curl_handler {

diff --git a/dev-php/pecl-http/pecl-http-3.1.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
index d74da59..3c43ba0 100644
--- a/dev-php/pecl-http/pecl-http-3.1.0.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -36,6 +36,8 @@ RDEPEND="${DEPEND}
 
 PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
 
+PATCHES=( "${FILESDIR}/pecl-http-gnutls.patch" )
+
 src_prepare() {
if use php_targets_php7-0 || use php_targets_php7-1 ; then
php-ext-source-r3_src_prepare



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

2016-12-28 Thread Brian Evans
commit: 8c772742f2ad83ae43d40c65b771fb93934e2e22
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Dec 28 21:18:43 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Dec 28 21:20:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c772742

dev-php/pecl-http: Version bumps and improve dependencies in new version

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/pecl-http/Manifest   |  2 ++
 dev-php/pecl-http/pecl-http-2.6.0.ebuild | 58 
 dev-php/pecl-http/pecl-http-3.1.0.ebuild | 56 ++
 3 files changed, 116 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index d3339f2..d8c5832 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,2 +1,4 @@
 DIST pecl_http-2.5.6.tgz 200469 SHA256 
8435eb9082b8fdc56b630e3d3d8e63617a3bc43d360f6f49fbd7b1856b266be4 SHA512 
a4ddb2e55b537a240dc79ad38665f9cb79ef56a70f50e0393ca19c36f744c21374ba801e31e68545516c4be98cff65587ee91b2b25f05dd587120afcb87dfe4a
 WHIRLPOOL 
d4d2158b610c959a558b450a79a77a7f9de53d6e75982e920c4b64d48731139223659af149b9894c2fee1a477005af34a57cb33a806429e11446d5162b031b89
+DIST pecl_http-2.6.0.tgz 217673 SHA256 
ddbf3eea3d1c7004a7dd83b5864aee5f87b1b6032bc281c08ccc62f83b9931ed SHA512 
12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad
 WHIRLPOOL 
976a3ba0f37e78f97c4cc4884e61b2c14cd8760e48be2da0743a3b7adc44198984ff748ebed63885f012a14c8e016a57247685a576cc90e57c6bfbba59a4e862
 DIST pecl_http-3.0.1.tgz 197372 SHA256 
4e45ea546e3245669887ec98187666ccb4aa3df15078335b1c02c824c8165031 SHA512 
344ae45987269d9505ffed6059be378005298d89c5e39bda6f771d8bf5a1998e91c214c03d32b9c78329c95e4928d35d3659dd3a1c70071aa5b2bd2763852098
 WHIRLPOOL 
76538ec0b94ef5d63808b625a8e73ab499c2afc78cd0f31823dcea4de66d865f7cf8387cc67eac1f19fec032a7ac7b7775685048ac0c6f76fadccfc1d932026c
+DIST pecl_http-3.1.0.tgz 214166 SHA256 
e3de67b156e7d5f6c2e5eb1e2b5f0acceb7004f1260d68c9f8b2c0f9629aabf0 SHA512 
1c272aa476106bb61848f175f0ba6715b3d8928f70cdac1a673cc87c2dc780dff5434a3bc595d5e8a1ef7b847a1d2e214f9e9ae80b8b5d1f80a299febc85b0ea
 WHIRLPOOL 
8a6cb8689001e794b590ad2b0b9c873a8fd805f37726e61c2b617d962a94b3cf87c2d280f665b42bce7d8583415718f505a4f826ac616bcead2bfe2c9295fa55

diff --git a/dev-php/pecl-http/pecl-http-2.6.0.ebuild 
b/dev-php/pecl-http/pecl-http-2.6.0.ebuild
new file mode 100644
index ..2b2f983
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-2.6.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6 php7-0 php7-1"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php5-6"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="2"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="php_targets_php5-6? (
+   dev-libs/libevent
+   dev-php/pecl-propro:0[php_targets_php5-6]
+   dev-php/pecl-raphf:0[php_targets_php5-6]
+   net-dns/libidn
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+   dev-lang/php:5.6[hash,session,iconv] )"
+RDEPEND="${DEPEND}"
+PDEPEND="
+   php_targets_php7-0? ( dev-php/pecl-http:7[php_targets_php7-0] )
+   php_targets_php7-1? ( dev-php/pecl-http:7[php_targets_php7-1] )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+
+src_prepare() {
+   if use php_targets_php5-6 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
+src_install() {
+   if use php_targets_php5-6 ; then
+   php-ext-pecl-r3_src_install
+   fi
+}
+
+pkg_postinst() {
+   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
+   ewarn "Please review the documentation and update your code."
+}

diff --git a/dev-php/pecl-http/pecl-http-3.1.0.ebuild 
b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
new file mode 100644
index ..d74da59
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6 php7-0 php7-1"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-0 php7-1"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="dev-libs/libevent
+   

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

2016-11-23 Thread Michael Orlitzky
commit: 69618933ba8a2d4622574ef1bd9d0bf72555bfb8
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Nov 24 02:02:38 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Nov 24 02:02:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69618933

dev-php/pecl-http: remove old masked versions.

This removal is in response to CVE-2016-5873. That vulnerability may
not in fact affect our pecl-http-1.x, according to Comment 2 on the
associated bug. However, php-5.5 is end-of-life and masked in the
tree, and the removed versions of pecl-http only support php-5.5. As
a result, their days were numbered anyway.

Gentoo-Bug: 587466

Package-Manager: portage-2.3.0

 dev-php/pecl-http/Manifest  |  1 -
 dev-php/pecl-http/pecl-http-1.7.6-r2.ebuild | 62 --
 dev-php/pecl-http/pecl-http-1.7.6-r3.ebuild | 69 -
 3 files changed, 132 deletions(-)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index 994e37b..d3339f2 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1,3 +1,2 @@
-DIST pecl_http-1.7.6.tgz 174722 SHA256 
e87207a7dcd713bef0eb3701b552e0d173fbd73dbd52f9d3968851112e899983 SHA512 
e548073e08d106c9ee633dc00c2728845e3a1403c065134a0e8111899b52dacb7175cea836e19da8cf2b7f42fe58c084602003bb79f16d529bc109c39a78bbca
 WHIRLPOOL 
778bd7f1a0bb1698c4a6a8745a40ea5c757ade6cfc027b99bd10f92cc3b111ceb7887a582216c8a303a2ce8edfc90c653b4c055b057691f873c2e3dbd78f740a
 DIST pecl_http-2.5.6.tgz 200469 SHA256 
8435eb9082b8fdc56b630e3d3d8e63617a3bc43d360f6f49fbd7b1856b266be4 SHA512 
a4ddb2e55b537a240dc79ad38665f9cb79ef56a70f50e0393ca19c36f744c21374ba801e31e68545516c4be98cff65587ee91b2b25f05dd587120afcb87dfe4a
 WHIRLPOOL 
d4d2158b610c959a558b450a79a77a7f9de53d6e75982e920c4b64d48731139223659af149b9894c2fee1a477005af34a57cb33a806429e11446d5162b031b89
 DIST pecl_http-3.0.1.tgz 197372 SHA256 
4e45ea546e3245669887ec98187666ccb4aa3df15078335b1c02c824c8165031 SHA512 
344ae45987269d9505ffed6059be378005298d89c5e39bda6f771d8bf5a1998e91c214c03d32b9c78329c95e4928d35d3659dd3a1c70071aa5b2bd2763852098
 WHIRLPOOL 
76538ec0b94ef5d63808b625a8e73ab499c2afc78cd0f31823dcea4de66d865f7cf8387cc67eac1f19fec032a7ac7b7775685048ac0c6f76fadccfc1d932026c

diff --git a/dev-php/pecl-http/pecl-http-1.7.6-r2.ebuild 
b/dev-php/pecl-http/pecl-http-1.7.6-r2.ebuild
deleted file mode 100644
index 3dde9ed..
--- a/dev-php/pecl-http/pecl-http-1.7.6-r2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-DOCS="docs/examples/tutorial.txt ThanksTo.txt KnownIssues.txt"
-
-# Does not compile with php5-6
-USE_PHP="php5-5 php5-4"
-
-inherit php-ext-pecl-r2 php-ext-source-r2
-
-KEYWORDS="amd64 x86"
-
-DESCRIPTION="Extended HTTP Support for PHP"
-LICENSE="BSD-2 MIT"
-SLOT="0"
-IUSE=""
-
-DEPEND="net-misc/curl
-   sys-libs/zlib
-   dev-libs/libevent
-   dev-lang/php[hash,session,iconv]
-   "
-RDEPEND="${DEPEND}"
-
-my_conf="--enable-http \
-   --with-http-curl-requests \
-   --with-http-zlib-compression \
-   --with-http-curl-libevent \
-   --with-http-magic-mime"
-
-src_install() {
-   php-ext-pecl-r2_src_install
-
-   php-ext-source-r2_addtoinifiles "http.etag.mode" "MD5"
-   php-ext-source-r2_addtoinifiles "http.force_exit" "1"
-   php-ext-source-r2_addtoinifiles "http.log.allowed_methods" ""
-   php-ext-source-r2_addtoinifiles "http.log.cache" ""
-   php-ext-source-r2_addtoinifiles "http.log.composite" ""
-   php-ext-source-r2_addtoinifiles "http.log.not_found" ""
-   php-ext-source-r2_addtoinifiles "http.log.redirect" ""
-   php-ext-source-r2_addtoinifiles "http.only_exceptions" "0"
-   php-ext-source-r2_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
-   php-ext-source-r2_addtoinifiles "http.persistent.handles.limit" "-1"
-   php-ext-source-r2_addtoinifiles "http.request.datashare.connect" "0"
-   php-ext-source-r2_addtoinifiles "http.request.datashare.cookie" "0"
-   php-ext-source-r2_addtoinifiles "http.request.datashare.dns" "1"
-   php-ext-source-r2_addtoinifiles "http.request.datashare.ssl" "0"
-   php-ext-source-r2_addtoinifiles "http.request.methods.allowed" ""
-   php-ext-source-r2_addtoinifiles "http.request.methods.custom" ""
-   php-ext-source-r2_addtoinifiles "http.send.inflate.start_auto" "0"
-   php-ext-source-r2_addtoinifiles "http.send.inflate.start_flags" "0"
-   php-ext-source-r2_addtoinifiles "http.send.deflate.start_auto" "0"
-   php-ext-source-r2_addtoinifiles "http.send.deflate.start_flags" "0"
-   php-ext-source-r2_addtoinifiles "http.send.not_found_404" "1"
-}

diff --git a/dev-php/pecl-http/pecl-http-1.7.6-r3.ebuild 

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

2016-11-19 Thread Agostino Sarubbo
commit: b28e532ad80242b3a0941e4db6273563f64a616e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov 19 13:55:17 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov 19 13:55:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28e532a

dev-php/pecl-http: x86 stable wrt bug #587466

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-php/pecl-http/pecl-http-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/pecl-http/pecl-http-2.5.6.ebuild 
b/dev-php/pecl-http/pecl-http-2.5.6.ebuild
index f42ddb7..8acbc17 100644
--- a/dev-php/pecl-http/pecl-http-2.5.6.ebuild
+++ b/dev-php/pecl-http/pecl-http-2.5.6.ebuild
@@ -13,7 +13,7 @@ USE_PHP="php5-6"
 
 inherit php-ext-pecl-r3
 
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2016-11-19 Thread Agostino Sarubbo
commit: 396f2d703b6273881cac8e2b409cec3f13304e96
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov 19 13:52:55 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov 19 13:52:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=396f2d70

dev-php/pecl-http: amd64 stable wrt bug #587466

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-php/pecl-http/pecl-http-2.5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/pecl-http/pecl-http-2.5.6.ebuild 
b/dev-php/pecl-http/pecl-http-2.5.6.ebuild
index c08fe56..f42ddb7 100644
--- a/dev-php/pecl-http/pecl-http-2.5.6.ebuild
+++ b/dev-php/pecl-http/pecl-http-2.5.6.ebuild
@@ -13,7 +13,7 @@ USE_PHP="php5-6"
 
 inherit php-ext-pecl-r3
 
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Extended HTTP Support for PHP"
 LICENSE="BSD-2 MIT"



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

2016-08-23 Thread Brian Evans
commit: 083c9b7fefedfa14e1fbde7d13b8a79aea3516e9
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Aug 23 20:14:14 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Aug 23 20:57:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083c9b7f

dev-php/pecl-http: Fix EAPI6 build error when php7-0 is off

Package-Manager: portage-2.3.0

 dev-php/pecl-http/pecl-http-3.0.1.ebuild | 8 
 1 file changed, 8 insertions(+)

diff --git a/dev-php/pecl-http/pecl-http-3.0.1.ebuild 
b/dev-php/pecl-http/pecl-http-3.0.1.ebuild
index 309a14e..1cb5bfc 100644
--- a/dev-php/pecl-http/pecl-http-3.0.1.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.0.1.ebuild
@@ -35,6 +35,14 @@ RDEPEND="${DEPEND}
 
 PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
 
+src_prepare() {
+   if use php_targets_php7-0 ; then
+   php-ext-source-r3_src_prepare
+   else
+   default_src_prepare
+   fi
+}
+
 pkg_postinst() {
ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
ewarn "Please review the documentation and update your code."



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

2016-07-13 Thread Brian Evans
commit: 893c877be82a2701c6a9936e47c9adf9517bc4e4
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Jul 13 14:40:44 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Jul 13 14:40:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=893c877b

dev-php/pecl-http: Version bumps to new slots

Package-Manager: portage-2.3.0

 dev-php/pecl-http/Manifest   |  2 ++
 dev-php/pecl-http/pecl-http-2.5.6.ebuild | 38 +
 dev-php/pecl-http/pecl-http-3.0.1.ebuild | 41 
 3 files changed, 81 insertions(+)

diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest
index 1529ed9..994e37b 100644
--- a/dev-php/pecl-http/Manifest
+++ b/dev-php/pecl-http/Manifest
@@ -1 +1,3 @@
 DIST pecl_http-1.7.6.tgz 174722 SHA256 
e87207a7dcd713bef0eb3701b552e0d173fbd73dbd52f9d3968851112e899983 SHA512 
e548073e08d106c9ee633dc00c2728845e3a1403c065134a0e8111899b52dacb7175cea836e19da8cf2b7f42fe58c084602003bb79f16d529bc109c39a78bbca
 WHIRLPOOL 
778bd7f1a0bb1698c4a6a8745a40ea5c757ade6cfc027b99bd10f92cc3b111ceb7887a582216c8a303a2ce8edfc90c653b4c055b057691f873c2e3dbd78f740a
+DIST pecl_http-2.5.6.tgz 200469 SHA256 
8435eb9082b8fdc56b630e3d3d8e63617a3bc43d360f6f49fbd7b1856b266be4 SHA512 
a4ddb2e55b537a240dc79ad38665f9cb79ef56a70f50e0393ca19c36f744c21374ba801e31e68545516c4be98cff65587ee91b2b25f05dd587120afcb87dfe4a
 WHIRLPOOL 
d4d2158b610c959a558b450a79a77a7f9de53d6e75982e920c4b64d48731139223659af149b9894c2fee1a477005af34a57cb33a806429e11446d5162b031b89
+DIST pecl_http-3.0.1.tgz 197372 SHA256 
4e45ea546e3245669887ec98187666ccb4aa3df15078335b1c02c824c8165031 SHA512 
344ae45987269d9505ffed6059be378005298d89c5e39bda6f771d8bf5a1998e91c214c03d32b9c78329c95e4928d35d3659dd3a1c70071aa5b2bd2763852098
 WHIRLPOOL 
76538ec0b94ef5d63808b625a8e73ab499c2afc78cd0f31823dcea4de66d865f7cf8387cc67eac1f19fec032a7ac7b7775685048ac0c6f76fadccfc1d932026c

diff --git a/dev-php/pecl-http/pecl-http-2.5.6.ebuild 
b/dev-php/pecl-http/pecl-http-2.5.6.ebuild
new file mode 100644
index 000..c08fe56
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-2.5.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="2"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="dev-libs/libevent
+   dev-php/pecl-propro:0
+   dev-php/pecl-raphf:0
+   net-dns/libidn
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+   php_targets_php5-6? ( dev-lang/php:5.6[hash,session,iconv] )"
+RDEPEND="${DEPEND}"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+
+pkg_postinst() {
+   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
+   ewarn "Please review the documentation and update your code."
+}

diff --git a/dev-php/pecl-http/pecl-http-3.0.1.ebuild 
b/dev-php/pecl-http/pecl-http-3.0.1.ebuild
new file mode 100644
index 000..309a14e
--- /dev/null
+++ b/dev-php/pecl-http/pecl-http-3.0.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6 php7-0"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php7-0"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP"
+LICENSE="BSD-2 MIT"
+SLOT="7"
+IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
+
+DEPEND="dev-libs/libevent
+   dev-php/pecl-propro:7
+   dev-php/pecl-raphf:7
+   net-dns/libidn
+   sys-libs/zlib
+   ssl? ( 
net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=]
 )
+   !ssl? ( net-misc/curl[-ssl] )
+   php_targets_php7-0? ( dev-lang/php:7.0[hash,session,iconv] )"
+RDEPEND="${DEPEND}
+   php_targets_php5-6? ( dev-php/pecl-http:2 )"
+
+PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps )
+
+pkg_postinst() {
+   ewarn "This API has drastically changed and is not compatible with the 
1.x syntax."
+   ewarn "Please review the documentation and update your code."
+}