From 73c318acdaf6f8309d68bd266051e6dd1f1bd787 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Jun 2019 09:04:53 +0100 Subject: gentoo resync : 08.06.2019 --- dev-php/pecl-http/Manifest | 6 ++- dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild | 15 +++--- dev-php/pecl-http/pecl-http-3.2.0.ebuild | 15 +++--- dev-php/pecl-http/pecl-http-3.2.1.ebuild | 75 +++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 18 deletions(-) create mode 100644 dev-php/pecl-http/pecl-http-3.2.1.ebuild (limited to 'dev-php/pecl-http') diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest index 68eb00a33e20..1d3f55f8c140 100644 --- a/dev-php/pecl-http/Manifest +++ b/dev-php/pecl-http/Manifest @@ -2,11 +2,13 @@ AUX pecl-http-gnutls.patch 1061 BLAKE2B f57588e2c8a7a285a68aab931e0df55cb69cb06c 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 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-r2.ebuild 2141 BLAKE2B 1d7995c97a5d3b7060d7f2dc118af8224e41d9e7c50c46e9242b700e5145b7ddbbae4b5bbec9e14011fd4cfb944a44103fce4a4b03b29b7026ff30372ce0dc47 SHA512 bd399cc7134919e5b1c0a5f495901408a1957cf88185c7918300556b3bfd1c52651ca5a1a749b874b48e0797746fdb9c2fa533f1edc76e0fcdf751a806fb165f EBUILD pecl-http-3.1.0.ebuild 1587 BLAKE2B 1347611d4ad7f0ce44ef23370797cb37faad0d6261527fe8c28d935d9920c94ee06905396be0122f68a2ae4541169d10e8600bea3691a7d82090b8131f2275ac SHA512 f5d7f29153359c1a4a6991165e42a674c086e544c37fbdc23e580e2a6714734acbccb15081eedf92be3df79a21298ad5ee81032b75278c5ffc2bbfc59b0c6215 -EBUILD pecl-http-3.2.0.ebuild 2446 BLAKE2B 63a00ce99e238daeabcf0ddfd38c4bc89ec7c06ec502ccdc19b31a8b166a1566e5414e68ba769c96c76d718476257932cc2020f092c76e267bcb25678c04ca6f SHA512 843d0bc2e564526fe5e41dbeef3329974d6a73c05f6e31db3a0f3bed89a9bebe3a27e13b669996a700e2a1578e1244f64e112e7e9e7896555fce51badcf4787e +EBUILD pecl-http-3.2.0.ebuild 2278 BLAKE2B 116dabcfe280aa6493c26b27839f3aca896f53eb1a31d888b37ac9fed4465fc5bcc90fd53997172946be531ad8ffcd40546150ca12364e8b2c6822d802b93024 SHA512 254a844d59183d63de091c19b2df2d318b965cd49d8a236d8ea68c0c7dd57d6b16a03377ad5eeed9544b886a679c089fb8ce710cdd4960e0a2f663478b3b5817 +EBUILD pecl-http-3.2.1.ebuild 2278 BLAKE2B 60c7b681cee099c96937487432dc929da276f2da70a05a0d6650204323cbacb26c677f5cc1f7cfeaeb5a8f5f4ed98b2ffad21433079792bb7d7f58eabf8ef7cc SHA512 4c64162b73cca6d2f89eb40da5c42d19b2da6bb4ec55d636729e311a42acf31c9f6c91f536d86cf6ff08d2c5a0d716f3df080dafb12399ea4e69d9f7801d65d3 MISC metadata.xml 239 BLAKE2B 9b7c5dcb74289073481cf07031b7a92f32496cc1097becb074d74a8fbb8133de429ce1baf284e446e44132943c8b32e6b824570f15828588e42ea49ef5661f00 SHA512 2181b874bfe8cd31e7730d8207e26cfd2f272eaf2d1b57ae0faff126347a5298fa1c506d9107e1da9736c8a0ed9c8c339e4d9509a8726b79dbe86e073c12dee0 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 9351232041c4..3cdfdc24b15d 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 e10f0ddf53c7..b17e8e396289 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" PHP_INI_NAME="50-http" -USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3" +USE_PHP="php5-6 php7-1 php7-2 php7-3" inherit php-ext-pecl-r3 -USE_PHP="php7-0 php7-1 php7-2 php7-3" +USE_PHP="php7-1 php7-2 php7-3" KEYWORDS="~amd64 ~x86" @@ -24,13 +24,12 @@ 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?] + 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-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] )" @@ -40,7 +39,7 @@ RDEPEND="${DEPEND} 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 + 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 @@ -48,7 +47,7 @@ src_prepare() { } src_install() { - if use php_targets_php7-0 || 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 ; then php-ext-pecl-r3_src_install fi } diff --git a/dev-php/pecl-http/pecl-http-3.2.1.ebuild b/dev-php/pecl-http/pecl-http-3.2.1.ebuild new file mode 100644 index 000000000000..564462685ed2 --- /dev/null +++ b/dev-php/pecl-http/pecl-http-3.2.1.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 your code." +} -- cgit v1.2.3