diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-php/pecl-http | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/pecl-http')
-rw-r--r-- | dev-php/pecl-http/Manifest | 10 | ||||
-rw-r--r-- | dev-php/pecl-http/files/pecl-http-gnutls.patch | 24 | ||||
-rw-r--r-- | dev-php/pecl-http/metadata.xml | 8 | ||||
-rw-r--r-- | dev-php/pecl-http/pecl-http-2.6.0-r1.ebuild | 69 | ||||
-rw-r--r-- | dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild | 72 | ||||
-rw-r--r-- | dev-php/pecl-http/pecl-http-2.6.0.ebuild | 57 | ||||
-rw-r--r-- | dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild | 69 | ||||
-rw-r--r-- | dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild | 76 | ||||
-rw-r--r-- | dev-php/pecl-http/pecl-http-3.1.0.ebuild | 57 |
9 files changed, 0 insertions, 442 deletions
diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest deleted file mode 100644 index 4bff6325af6a..000000000000 --- a/dev-php/pecl-http/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX pecl-http-gnutls.patch 1061 BLAKE2B f57588e2c8a7a285a68aab931e0df55cb69cb06c8753afb784542fac1ce757f7ae4e244d49b06ec33e233d01b36b3c89c82e7af3e3d73221ba65ef58ea11dde3 SHA512 a05b39188a66ed9a328f9b864008390e4703db15d15416168e31eed78e2da5239db25d98fe3f4d62c26db6a5dfae83f84db2a6f3fffce39b768a03261c308a90 -DIST pecl_http-2.6.0.tgz 217673 BLAKE2B a7147924cfc018c3e273d85666d9792ea614955d0aa20ac43171266d91d139dccdbf2472dec4d145b798ce99a541dba48f7bed6009fbdf2a7ad81ab322963788 SHA512 12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad -DIST pecl_http-3.1.0.tgz 214166 BLAKE2B 2f84fc9f5f7d465142e3482a9ee46b9dd80dd2b5ec58ad1d8d4fb18a665ebe70e4f872b8915c3a84484a3b1cd0709b39bf6170c6f1c6175aef7d43bac44aa3df SHA512 1c272aa476106bb61848f175f0ba6715b3d8928f70cdac1a673cc87c2dc780dff5434a3bc595d5e8a1ef7b847a1d2e214f9e9ae80b8b5d1f80a299febc85b0ea -EBUILD pecl-http-2.6.0-r1.ebuild 1920 BLAKE2B 82a6059834c91e0128a8f37d22e69619bf8f40fe61251f4b7d577e68cd698eca0854f1e43e463420be008d63e35d0aa4dc2c30d391ddd47cfab60a758686af6c SHA512 027af36906cc4f2763a5b8328b5ce2b2705a2c62a86b30cf8f160965ef8a5635971cf7135adde5afe8a72a48abfc29f338b3cd442797a347e15cc9bb9faa64a1 -EBUILD pecl-http-2.6.0-r2.ebuild 1903 BLAKE2B 6063b2a23da518f5806250798949951e3a8668cfd4bd0c517987e8d9f20ff6606f8f4e72c05d982233a095c1c43bd422057c028e35b75860ab4d5a74253f35b5 SHA512 913fe6b153f964e52389424158cbcb945227eae652597cb5e178256ea48410aaaf72fd15509a39fb074d7313a24ca324dde1808e831a3f677a4c3e471ec5b934 -EBUILD pecl-http-2.6.0.ebuild 1384 BLAKE2B 8731362ad89d7289d2c623cc49112727fc65737fed80c92e172b5618eecca4ff38ff49a798210b4b89925d333184135aabfdbb5a71fed76c2702d3267cda418f SHA512 56afa6c46fa8a95d5fa74dcc56527f82b51aaa01d187bb2cd21f8d8a135eb139635eb8a3f298beabd95e89e9c112dffe19a9f2e8ef34acf3dd4908c6d10ee6f1 -EBUILD pecl-http-3.1.0-r1.ebuild 2123 BLAKE2B a7b5367adac7f83908f8f4bd3efc828b64e570e87cf187e32a852d566c0bb34250cb08a7e91c729ba4f4210feb2d1a1da573faff04d56a8238f18d13ea3767be SHA512 e9d1bc26b6cb8eb453f8faf1520ee7fef6ec66780d3d9d81a5f787e244b04abdd9734a73f0c47ccd717ffea20a3511cc57651c4960299ced1636129ddd17d92e -EBUILD pecl-http-3.1.0-r2.ebuild 2352 BLAKE2B e1dd9f8daff81a591ae52ecbb2e1bd6a6374d17fdc6c68ff114b0c6b75ab39708b559e39d728bae485ece11e5f73e10049d300f558d5750c3f7c13c70ad93c7a SHA512 6eafd1b553d3d343835acbbd8096fb5ad61fe1a0eae606f1000e57cf3ff5b51d130d49ad53ee3fc9734e2871129c3578398abd000221436d0e3668c8acbac6bc -EBUILD pecl-http-3.1.0.ebuild 1587 BLAKE2B 1347611d4ad7f0ce44ef23370797cb37faad0d6261527fe8c28d935d9920c94ee06905396be0122f68a2ae4541169d10e8600bea3691a7d82090b8131f2275ac SHA512 f5d7f29153359c1a4a6991165e42a674c086e544c37fbdc23e580e2a6714734acbccb15081eedf92be3df79a21298ad5ee81032b75278c5ffc2bbfc59b0c6215 -MISC metadata.xml 239 BLAKE2B 9b7c5dcb74289073481cf07031b7a92f32496cc1097becb074d74a8fbb8133de429ce1baf284e446e44132943c8b32e6b824570f15828588e42ea49ef5661f00 SHA512 2181b874bfe8cd31e7730d8207e26cfd2f272eaf2d1b57ae0faff126347a5298fa1c506d9107e1da9736c8a0ed9c8c339e4d9509a8726b79dbe86e073c12dee0 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 4b58805946dc..000000000000 --- 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.000000000 -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.000000000 -0500 -+++ b/src/php_http_client_curl.c 2017-01-06 09:09:01.631772852 -0500 -@@ -21,7 +21,7 @@ - # include <openssl/ssl.h> - #endif - #if PHP_HTTP_HAVE_LIBCURL_GNUTLS --# include <gnutls.h> -+# include <gnutls/gnutls.h> - #endif - - typedef struct php_http_client_curl_handler { diff --git a/dev-php/pecl-http/metadata.xml b/dev-php/pecl-http/metadata.xml deleted file mode 100644 index b86acf66c756..000000000000 --- a/dev-php/pecl-http/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>php-bugs@gentoo.org</email> - <name>PHP</name> - </maintainer> -</pkgmetadata> 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 deleted file mode 100644 index 17aa145af9e9..000000000000 --- a/dev-php/pecl-http/pecl-http-2.6.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="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-2.6.0-r2.ebuild b/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild deleted file mode 100644 index 63cfe3ff8054..000000000000 --- a/dev-php/pecl-http/pecl-http-2.6.0-r2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# 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 -} - -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-2.6.0.ebuild b/dev-php/pecl-http/pecl-http-2.6.0.ebuild deleted file mode 100644 index 2cb44cf7081a..000000000000 --- a/dev-php/pecl-http/pecl-http-2.6.0.ebuild +++ /dev/null @@ -1,57 +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="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-r1.ebuild b/dev-php/pecl-http/pecl-http-3.1.0-r1.ebuild deleted file mode 100644 index df1e34b5a7e3..000000000000 --- 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 - 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? ( 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] )" -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-libidn2-dir ) - -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 - else - default_src_prepare - fi -} - -src_install() { - if use php_targets_php7-0 || use php_targets_php7-1 ; 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-r2.ebuild b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild deleted file mode 100644 index 9351232041c4..000000000000 --- a/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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 -} - -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." -} diff --git a/dev-php/pecl-http/pecl-http-3.1.0.ebuild b/dev-php/pecl-http/pecl-http-3.1.0.ebuild deleted file mode 100644 index c262cbac8549..000000000000 --- a/dev-php/pecl-http/pecl-http-3.1.0.ebuild +++ /dev/null @@ -1,57 +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 - 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? ( 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] )" -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-libidn2-dir ) - -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 - else - default_src_prepare - fi -} - -src_install() { - if use php_targets_php7-0 || use php_targets_php7-1 ; 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." -} |